:root {
    --titulos: 'Montserrat', sans-serif;
    --colorFondo: #FBFFF1;
    --colorTitulos: #2D3142;
    --colorBoton: #E2A021;
    --colorSeleccion: #c98a1d;

}

* {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
}

body {
    background-color: #FBFFF1;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    height: 16vh;
    padding: 0 1rem;
}

.logo-nombre {
    width: 50vw;
    height: auto;
    display: flex;
    align-items: center;
    font-family: var(--titulos);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--colorTitulos);
    gap: 1.5rem;
}

.logo {
    width: 8vw;
    height: auto;
}

.menu {
    display: flex;
    gap: 7rem;
    align-items: center;
    margin-left: auto;
    font-family: var(--titulos);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--colorTitulos);
}

.menu-toggle {
    display: none;
}

.menu a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.menu a:hover {
    color: var(--colorBoton);
    border-bottom: 2px solid var(--colorBoton);
    transform: scale(1.1);
}

.btn-login {
    padding: 10px 5px;
    background-color: var(--colorBoton);
    transition: 0.3s;
    border-radius: 15px;
}

.menu .btn-login:hover {
    color: var(--colorFondo);
    border-bottom: none;
    box-shadow: 0 0 20px rgba(119, 104, 255, 0.6);
    background-color: var(--colorSeleccion);
}

main {
    display: flex;
    flex-direction: column;
    height: 80vh;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

main img {
    width: 26vw;
    height: auto;
}

main h2 {
    font-family: var(--titulos);
    font-weight: 900;
    font-size: 2rem;
    color: var(--colorTitulos);
}

main nav {
    display: flex;
    gap: 5rem;
}

main nav a {
    padding: 20px 25px;
    background-color: var(--colorBoton);
    transition: 0.3s;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
    font-family: var(--titulos);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--colorTitulos);
    transition: all 0.3s ease;
}

main nav a:hover {
    color: var(--colorFondo);
    box-shadow: 0 0 20px rgba(119, 104, 255, 0.6);
    background-color: var(--colorSeleccion);
    transform: scale(1.1);
}

main nav .btn-programar {
    background-color: rgba(0, 0, 0, 0.15);
}

main nav .btn-programar:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {

    .header {
        display: flex;
        height: 12vh;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        position: relative;
    }

    .logo-nombre {
        width: 80vw;
        height: auto;
        display: flex;
        align-items: center;
        font-family: var(--titulos);
        font-weight: 900;
        font-size: 0.8rem;
        color: var(--colorTitulos);
        gap: 1.5rem;
    }

    .logo {
        width: 23vw;
        height: auto;
    }

   .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background-color: var(--colorFondo);
        padding: 1.5rem 1rem;
        gap: 1rem;

        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        z-index: 1000; 
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 1.2rem;
    }

    .btn-login {
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        font-size: 2rem;
        background: none;
        cursor: pointer;
        z-index: 1001;
    }

    
    
main {
    display: flex;
    flex-direction: column;
    height: 80vh;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

main img {
    width: 60vw;
    height: auto;
}

main h2 {
    text-align: center;
    font-family: var(--titulos);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--colorTitulos);
}


main nav {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}


}