﻿:root {
    --theme-color: white;
    --primary-color: #072956;
    --primary-dark: #041a37;
    --bg-color: #072955;
    --text-inverse: #fff;
    --text-color: #000;
    --accent-color: rgb(0, 199, 135);
    --accent-hover: rgb(0, 179, 121);
    --gray-light: #efefef;
    --gray-muted: #9a99aa;
    --sombra: 0 0 13px 0 rgba(185, 185, 185, 0.25);
    --font-title: 'Montserrat', sans-serif;
}

/* ==========================================================================
   HEADER Y NAVBAR
   ========================================================================== */
.header {
    background-color: #072955eb;
    backdrop-filter: blur(12px);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 10px #ffffff3b;
    z-index: 10001;
}

.nav {
    display: flex;
    justify-content: center;
    max-width: 992px;
    margin: 0 auto;
}

.nav-link {
    color: var(--text-inverse);
    text-decoration: none;
    font-weight: 500;
    transition: .4s;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    padding: 0 40px;
    line-height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu-item {
    font-size: 18px;
    margin: 0 10px;
    line-height: 80px;
    text-transform: uppercase;
    width: max-content;
}

.nav-menu-link {
    padding: 8px 10px;
    border-radius: 3px;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    padding: 10px;
    transition: .4s;
}

.language-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-color);
    border-radius: 0 0 10px 10px;
    min-width: 160px;
    z-index: 1;
    transition: .4s;
}

.language-dropdown:hover .language-dropdown-content {
    display: block;
}

.language-dropdown-content a {
    color: var(--text-inverse);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 500;
    font-size: 18px;
}

    .language-dropdown-content a:hover {
        background-color: #034574;
        border-radius: 0 0 10px 10px;
    }

.nav-menu-link:hover, .nav-menu-link_active {
    background-color: var(--text-inverse);
    color: var(--bg-color);
    transition: .5s;
}

.nav-toggle {
    color: var(--text-inverse);
    background: 0 0;
    border: none;
    font-size: 30px;
    padding: 0 20px;
    line-height: 60px;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .header {
        height: 60px;
    }

    .logo {
        font-size: 25px;
        padding: 0 20px;
        line-height: 60px;
    }

    .nav {
        justify-content: flex-end;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        box-shadow: 0px 14px 34px -10px #ffffff3b;
        margin: 0;
        background-color: hsl(214deg 85% 18% / 99%);
        position: fixed;
        top: -40rem;
        border-radius: 0px 0px 30px 30px;
        backdrop-filter: blur(12px);
        width: 100%;
        padding: 20px 0;
        overflow-y: auto;
        transition: top .3s;
        /* height: calc(100% - 60px);*/
    }

    .nav-menu-item {
        line-height: 70px;
    }

    .nav-menu-link:hover, .nav-menu-link_active {
        background: 0 0;
        color: #83c5f7;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu_visible {
        top: 59px;
        transition: top 0.3s;
    }

    .nav-toggle:focus:not(:focus-visible) {
        outline: 0;
    }
}