:root {
    --primary-color: #0A001B;
    --secondary-color: #F0EFF4;
    --third-color: #9E829C;
    --primary-font: "Dela Gothic One", serif;
    --secondary-font: "Montserrat", sans-serif;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: var(--secondary-font), sans-serif;
    text-decoration: none;
}

body {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Navigation styles */
#logo img {
    width: 200px;
    height: auto;
}

header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: #0a001b81;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    font-family: var(--primary-font);
    font-size: large;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.Menu {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    z-index: 2000;
    position: relative;
}

.Menu i {
    transition: transform 0.3s ease;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.Menu.open i {
    transform: rotate(90deg);
}

/* Language switcher styles */
.lang-switch-container {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.lang-switch {
    background: none;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.lang-switch:hover,
.lang-switch.active {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Common animations */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInEffect 0.5s ease-out forwards;
}

@keyframes fadeInEffect {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h1 {
    font-family: var(--primary-font);
    font-size: 2.5rem;
    margin: 20px 0;
}

p {
    font-size: 1.2rem;
    line-height: 1.5;
    font-family: var(--secondary-font);
    font-weight: 500;
}

/* Social media icons */
.media {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.media i {
    font-size: 2rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
}

@media (max-width: 900px) {
    .Menu {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(158, 130, 156, 0.2);
        border-radius: 5px;
        padding: 5px;
        margin-right: 10px;
    }

    nav {
        flex-direction: row;
        backdrop-filter: blur(10px);
        padding: 1rem;
    }

    nav.mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        backdrop-filter: blur(10px);
        background-color: #0a001bf0;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        min-height: 100vh;
        animation: slideIn 0.4s ease-out forwards;
    }

    @keyframes slideIn {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    nav ul {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }

    nav ul.mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        animation: fadeItems 0.5s ease-out forwards;
        animation-delay: 0.2s;
        opacity: 0;
    }

    @keyframes fadeItems {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    h1 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
        line-height: 1.3;
    }

    .lang-switch-container {
        display: none;
    }

    nav.mobile-menu .lang-switch-container {
        display: flex;
        margin-top: 20px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .Menu {
        width: 36px;
        height: 36px;
        font-size: 1.6rem;
        padding: 6px;
    }

    nav.mobile-menu {
        padding-top: 4rem;
    }
}