:root {
    --color_primario: #4682B4;
    --color_primario_suave: #3e90d4;
    --color_blanco: #fff;
    --altura_header: 80px;
    --padding_left_right: 2rem;
    --ancho_maximo: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Asegura que los márgenes y el padding no afecten el tamaño total de los elementos */
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

ol, ul {
    list-style: none;
}

/* Estilos del header y navbar */
.header {
    height: var(--altura_header);
    background-color: var(--color_primario);
    position: fixed;  /* Fijamos el navbar en la parte superior */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;  /* Asegura que el navbar esté por encima de otros elementos */
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 var(--padding_left_right);
}

.menu_hamburguesa {
    display: none;
}

.menu_hamburguesa:checked + .ul_links {
    height: calc(100vh - var(--altura_header));
}

.logo {
    color: var(--color_blanco);
}

.ul_links {
    width: 100%;
    background-color: var(--color_primario_suave);
    position: absolute;
    top: var(--altura_header);
    left: 0;
    height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    transition: all .3s;
}

.link {
    font-size: 3em;
    color: var(--color_blanco);
    font-weight: bold;
}

/* Ajustes para dispositivos más grandes */
@media (min-width: 768px) {
    .labe_hamburguesa {
        display: none;
    }

    .ul_links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 2rem;
    }

    .link {
        font-size: 1.2rem;
        transition: all .3s;
        padding: .2rem .7rem;
    }

    .link:hover {
        background-color: #5f1192;
    }
}

main {
    padding: 2rem;
    text-align: center;
}

h1 {
    color: #006400;
    margin-bottom: 2rem;
}

.turnos-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.turno-card {
    text-decoration: none;
    flex: 1;
    max-width: 400px;
}

.turno-box {
    background-color: #4682B4;
    color: white;
    padding: 4rem 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    margin: 10px;
}

.turno-box:hover {
    transform: scale(1.05);
}

.turno-box h2 {
    font-size: 1.8rem;
}
