/* Header */
header {
    width: 80%;
    max-width: 1080px;
    margin: 0 143px;
    padding: 54px 0;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 27px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    z-index: 100;
    width: 20.875%;
}

.logo img{
    max-width: 100%;
    height: auto;
    margin-left: 8px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: white;
    font-family: 'Founders Grotesk Regular', sans-serif;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 20px;
}

.nav-link:hover {
    color: #6CFFBB;
}

.nav-link.active{
    color: #6CFFBB;
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-right: -10px;
    margin-left: 30px;
}

.language-button {
    width: 43px;
    height: 41px;
    font-size: 18px;
    padding: 12px 10px 4px 10px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid white;
    color: white;
    cursor: auto;
    margin: 0;
    transition: all 0.3s ease;
}

.language-options {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    /* transition: all 0.3s ease; */
}

.language-options {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
  
.language-option {
    display: block;
    font-size: 18px;
    padding: 4px 8px;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    /* transition: color 0.3s ease; */
}
  

.language-selector:hover .language-options {
  opacity: 1;
  visibility: visible;
}


/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    font-size: 40px;
    width: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
    margin: 0;
}

.mobile-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: #05051C;
    padding: 50px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-container {
    position: relative;
}

.mobile-menu-close {
    cursor: pointer;
    position: absolute;
    right: 8px;
    font-size: 30px;
}

.mobile-menu-language {
    color: white;
    font-size: 25px;
    margin-bottom: 63px;
    position: relative;
    display: inline-block;
}

.mobile-menu-language .language-option {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-language:hover .language-option {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-link {
    color: white;
    text-decoration: none;
    font-size: 40px;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #6CFFBB;
}

.mobile-menu-link.active{
    color: #6CFFBB;
}

/* Media Queries */
@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    header{
        padding: 0;
    }

    .nav{
        padding: 52px 0;
    }

    .logo{
        width: 50%;
    }

    .logo img{
        margin: 0;
    }

    .mobile-menu-button {
        display: flex;
    }

    .language-selector{
        color: white;
        margin-bottom: 63px;
        position: relative;
        display: inline-block;
        margin-inline: 0;
    }

    .language-selector .language-button{
        width: auto;
        height: auto;
        font-size: 25px;
        padding: 0;
        border-radius: 0;
        border: none;
    }

    .language-selector .language-options{
        margin: 0;
    }

    .language-selector .language-option{
        font-size: 25px;
    }
}

/* Hover effects */
.language-selector:hover .language-options {
    opacity: 1;
    visibility: visible;
}



/* FOOTER */
footer{
    width: 80%;
    max-width: 1080px;
    padding: 200px 0 54px 0
}

footer .container-footer{
    display: flex;
    justify-content: space-between;
}

footer p{
    font-size: 18px;
}

footer p:first-child{
    display: flex;
    align-items: center;
    gap: 30px;
}

footer p:first-child span:nth-child(2){
    margin-left: 30px;
    margin-right: 70px;
}


@media (max-width: 980px) {

    footer{
        padding: 130px 0 50px 0;
    }

    footer .container-footer{
        flex-direction: column;
        gap: 10px;
    }

    footer p:first-child{
        gap: 10px;
    }
    
    footer p:first-child span:nth-child(2){
        margin-inline: 0;
    }
}