/*JOST FONT*/
@font-face {
    font-family: jostMedium;
    src: url(../fonts/Jost/Jost-Medium.ttf);
}


/*FORT FONT*/
@font-face {
    font-family: forte;
    src: url(../fonts/forte/FORTE.ttf);
}

/*STYLES*/
.navbar{
    display: flex;
    justify-content: space-between;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 100%;
}

.navbar-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.name-company{
    display: flex;
    align-items: center;
    gap: 4px;
}

.font-a,
.font-j{
    font-family: forte;
    color: rgb(255, 1, 1);
    font-size: clamp(20px, 2vw, 24px);;
    white-space: nowrap;
}

.font-and{
    font-family:'Times New Roman', Times, serif;
    font-style: italic;
    color: rgb(51, 102, 255);
    font-size: clamp(16px, 2vw, 18px);
    white-space: nowrap;
}

.font-tech{
    font-family:'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: bold;
    color: rgb(31, 29, 84);
    font-size: clamp(20px, 2vw, 24px);
    white-space: nowrap;
}

.nav-options{
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-options li{
    white-space: nowrap;
}

.nav-options li a{
    font-family: jostMedium;
    font-size: clamp(14px, 2vw, 16px);
    color: rgb(31, 29, 84);
    text-decoration: none;
    position: relative;
}

.nav-options li:last-of-type a{
    padding-right: 0;
}

.nav-options li a::after{
    content: "";
    position: absolute; /* Cambiado de relative a absolute */
    left: 0;
    bottom: -2px; /* Ubica la línea debajo del texto */
    background-color: #1f1d54;
    opacity: 0.7;
    height: 1px; /* Mantén una altura fija */
    width: 0%;
    transition: width 0.3s ease; /* Animación suave */
}

.nav-options li a:hover::after{
    width: 100%;
}



/* Estilos para móvil */
@media (max-width: 768px) {
    .nav-options {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
    }

    .nav-options.show {
        display: block;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .nav-options li {
        display: block;
        margin: 1rem 0;
    }

    .nav-options li a {
        display: block;
        padding: 0.5rem 0;
        width: fit-content;
    }

    .name-company{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}