@import url('https://fonts.googleapis.com/css2?family=Vollkorn+SC:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

html, body {
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: contain; /* Prevents back/forward navigation */
}

* {
    font-family: 'Vollkorn SC', serif;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f9fa;
    scroll-behavior: smooth;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: -webkit-fill-available;
    padding: 20px 40px;
    background-color: #fff4f4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;

}

.header-top {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.header .logo {
    display: grid;
    justify-items: center;
}

.header .logo a {
    text-decoration: none;
    color: #ff6f61;
    font-size: 3rem;
    font-weight: 600;
    font-family: 'Vollkorn SC';
    font-size: 11rem;
    letter-spacing: -18px;
}


@keyframes bounce {
    0% {
        transform: translateY(-200px);
        visibility: visible; /* Make it visible when animation starts */
    }
    30% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
    70% { transform: translateY(0); }
    85% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.header .logo img {
    animation: bounce 1s ease-out forwards;
    animation-delay: 0.2s; /* Optional delay */
    width: 200px;
    height: 200px;
    border: solid;
    border-radius: 600px;
    animation: bounce 2s ease-out;
    animation-delay: 1s; /* Delay the animation by 1 second */
}

.login {
    top: 2%;
    right: 3%;
    position: absolute;
}

.auth a {
    text-decoration: none;
    color: white;
    background-color: #ff6f61;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
    width: 80px;
    height: 80px;
    padding: 10px;
    position: absolute;
    right: 12px;
    text-align: center;
    line-height: 20px;
}

.auth a:hover {
    background-color: #e55b50;
}

.login-icon {
    position: absolute;
    top: 10px;
    right: 40px;
}

.menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 10px;
    width: 100%;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: contents;
    gap: 20px;
    position: relative;
}

.menu li {
    position: relative;
}

.menu > ul > li {
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s;
    border: solid;
    border-color: #ff6f61;
    margin-block: 10px;
    border-width: thin;
}


.menu > ul > li:hover {
    background-color: #ff6f61;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.menu > ul > li > a
{
    font-weight: bolder;
    font-size: 1.2rem;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 1000;
}

.submenu li {
    padding: 1px;
}

.submenu a {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.submenu a:hover {
    color: white;
    font-weight: 900;
}

footer {
    background-color: #333;
    color: #bbb;
    padding: 30px;
    text-align: center;
    font-size: 14px;
}

.global-footer {
    bottom: 0px;
    width: 100%;
}

footer a {
    color: #ff6f61;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.profile-picture {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6f61;
    transition: box-shadow 0.3s;
}

.profile-picture:hover {
    box-shadow: 0 0 10px #ff6f61;
}



 @media (max-width: 768px) {
    .menu ul {
        display: block;
        width: 100%;
        margin: 20px 0px 20px 0px;
    }

    .menu > ul > li {
        border: solid;
        border-color: deeppink;
        margin-block: 10px;
        border-width: thin;
    }
    .submenu a {
        color: #333;
        font-size: 20px;
        padding: 3px;
        border: solid;
        align-content: center;
        text-align: center;
        border-color: lightpink;
        box-shadow: 5px 10px 20px rgb(255 182 193);
        margin-bottom: .5rem;
        font-family: 'Vollkorn SC', serif;
    }

    .header .logo a {
        font-size: 4.5rem;
        letter-spacing: -10px;
    }

    .burger {
        display: flex;
        position: absolute;
        top: 10rem;
        right: 2rem;
    }

    .dashboard-header {
        margin-left: 0;
        top: 0;
        margin-top: 10px;
    }

    .profile-picture {
        width: 4rem;
        height: 4rem;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #ff6f61;
        transition: box-shadow 0.3s;
    }

    .site-logo img {
        width: 7rem;
        height: 7rem;
    }

    .burger span {
        width: 70px;
        height: 3px;
        background: black;
        border-radius: 2px;
        top: 300px;
    }

    .login-icon {
        top: 5px;
        right: 10px;
    }

    .auth a {
        width: 55px;
        height: 55px;
        padding: 10px;
        font-size: 12px;
        line-height: 13px;
        font-weight: bolder;
    }
}