/* navbar.css */
@import 'colors.css';
@import 'keyframes.css';

@import url('https://fonts.googleapis.com/css2?family=Jacques+Francois+Shadow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalnia+Glaze:wght@100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jacques+Francois+Shadow&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');

.navbar {
    background-color: var(--primary-background-color-dark);
    color: var(--primary-text-color-dark);
    padding: 0px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-color);
    background-size: 200%;
    animation: shine 15s infinite ease-in-out;
}

/* Logo con degradado dorado */
.navbar .logo {
    font-family: "Playfair Display", "Yeseva One","Jacques Francois Shadow","Kalnia Glaze","DM Serif Text","Jacques Francois Shadow", serif;
    /*font-family: "Yeseva One";
    font-family: "Jacques Francois Shadow";
    font-family: "Kalnia Glaze";
    font-family: "DM Serif Text";
    font-family: "Jacques Francois Shadow";
    font-family: "Playfair Display";*/

    font-size: 30px;
    font-weight: bold;

    /*revisar*/
    letter-spacing: 1.8vw;
    white-space: nowrap;
    transition: letter-spacing 0.2s ease;


    margin-left: 4%;
    background: var(--gradient-color);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 15s infinite ease-in-out; /* Animación de ida y vuelta */
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    margin-right: 4%;
}

.navbar .nav-links li {
    margin: 0 1vw;
    align-content: center;
    text-align: center;
}

.navbar .nav-links li a {
    color: var(--primary-text-color-dark);
    text-decoration: none;
}

.navbar .nav-links li a:hover {
    color: var(--primary-color);
    background: var(--gradient-color);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 15s infinite ease-in-out; /* Animación de ida y vuelta */
}

@media screen and (max-width: 1060px) and (orientation: landscape) {
    .navbar .nav-links li.quit-responsive{
        display: none;
    }
}

@media screen and (max-width: 910px) and (orientation: landscape) {
    .navbar .nav-links span.quit-responsive-2{
        display: none;
    }
}

/* Estilos para pantallas pequeñas */
@media screen and (max-width: 860px), (orientation: portrait) {

    .navbar .nav-links {
        display: none;
        flex-direction: column;
        background-color: var(--primary-background-color-dark);
        position: absolute;
        top: 30px;
        right: 0;
        width: 100%;
        text-align: center;
        margin-right: 0%;
    }

    .navbar .nav-links li {
        margin: 15px 0;
    }

    .navbar .hamburger {
        display: block;
        cursor: pointer;
        margin-right: 5%;
    }

    .navbar .hamburger div {
        width: 25px;
        height: 3px;
        background-color: var(--primary-text-color-dark);
        margin: 5px;
        transition: all 0.3s ease;
    }

    .navbar.active .nav-links {
        display: flex;
    }

    .navbar.active .hamburger .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .navbar.active .hamburger .line2 {
        opacity: 0;
    }

    .navbar.active .hamburger .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
