* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    background-image: linear-gradient(to right,
    rgb(167, 189, 193)0%,
    rgb(207, 223, 229) 40%,
    rgb(250, 248, 248)100%);
    /* background-color: rgb(250, 248, 248); */
    height: 200px;
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
}

/* BOTONES */
#menuDiv {
    width: 100%;
}   

#buttonDiv {
    display: flex;
    justify-content: space-evenly;
    height: 100%;
    margin: 20px 0;
}

.buttonMenu {
    border-radius: 8px;
    border: 1px solid #555c61;
    background: transparent;
    font-family:Arial, Helvetica, sans-serif;
    padding: 0 8px;
    margin-bottom: 20px;
    color: rgb(180, 198, 201);
    height: 25px;
    text-decoration: none;
}

.buttonMenu a {
    text-decoration: none;
    color: rgb(87, 158, 170);
}

.buttonMenu:hover {
    background-color: rgba(130, 179, 196, 0.2);
    color: rgb(120, 175, 190);
    border: 1px solid white;
    transition: background-color 0.3s ease;
}
/* FIN BOTONES */

#tituloLogo {
    display: flex;
    margin-left: 20px;
}

#tituloDivGrande {
    background-image: linear-gradient(to right,
    rgb(198, 230, 237)0%,
    rgb(198, 230, 237)65%,
    rgba(85, 36, 10, 0.156)80%,
    rgb(221, 225, 225)100%);
    background-color: rgb(221, 225, 225);
    width: 435px;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgb(78, 79, 79);
}

#tituloDiv {
    display: flex;
    Background-color: rgb(193, 195, 195);
    width: 300px;
    border-radius: 0px 5px 5px 0px;
    box-shadow: 2px 4px 6px rgb(78, 79, 79);

}

#tituloInicio {
    color:rgb(198, 230, 237);
    font-size: 7em;
    font-weight: bolder;
    padding: 5px 0 5px 10px;
    border-radius: 5px;
    text-shadow: -2px -2px 2px rgb(78, 79, 79);
    word-spacing: 2em;
}

#tituloMedio {
    color: rgb(198, 230, 237);
    font-size: 7em;
    font-weight: bolder;
    padding: 5px 10px 5px 0;
    border-radius: 5px;
    /* box-shadow: 2px 2px 2px rgb(78, 79, 79); */
    text-shadow: 4px -4px 2px rgb(78, 79, 79);
    word-spacing: 2em;
}

#tituloFin {
    color:rgb(250, 247, 244);
    font-size: 7em;
    font-weight: bolder;
    padding: 5px 10px 5px 0;
    border-radius: 5px;
    /* box-shadow: 2px 2px 2px rgb(78, 79, 79); */
    text-shadow: 4px 4px 2px rgb(78, 79, 79);
    word-spacing: 2em;
}

#logoDiv {
    display: flex;
    /* padding-top: 20px; */
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 152px;
    background-image: linear-gradient(to right,
    rgb(167, 189, 193)0%,
    rgb(207, 223, 229) 40%,
    rgb(250, 248, 248)100%);
    /* rgb(182, 185, 186) 100%); */
    /* background-color: rgb(250, 248, 248); */
    /* border-radius: 0 0 12px 0; */
    box-shadow: 2px 2px 4px rgb(78, 79, 79);
}

#logo {
    width: 230px;
    height: 230px;
    
}

/* RESPONSIVE DESIGN - Solo cambios para móvil */
@media (max-width: 768px) {
    
#tituloLogo {
    margin-left: 5px;
}
header {
    align-items: center;
    height: 120px;
}

#logoDiv {
    width: 63px;
    height: 63px;
    margin-bottom: 10px;
    /* Añadir funcionalidad de hamburguesa */
    cursor: pointer;
    transition: transform 0.2s ease;
}

#logoDiv:hover {
    transform: scale(1.05);
}

#logoDiv.active {
    transform: scale(0.95);
}

#logo {
    width: 100px;
    height: 100px;
    
}

#tituloDivGrande {
    font-size: 0.4em;
    width: 190px;
}

#tituloDiv {
    width: 130px;

}

#tituloMedio {
    padding: 5px 4px 5px 0;
}

#tituloFin {
    padding: 5px 10px 5px 0;
}

/* MENÚ MÓVIL DESLIZANTE DESDE LA IZQUIERDA */
#menuDiv {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, 
        rgba(167, 189, 193, 0.95) 0%,
        rgba(207, 223, 229, 0.95) 40%,
        rgba(250, 248, 248, 0.95) 100%);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

#menuDiv.menu-open {
    left: 0;
}

#buttonDiv {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 20px 20px;
    gap: 15px;
    height: auto;
    margin: 0;
}

.buttonMenu {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(87, 158, 170, 0.3);
    border-radius: 12px;
    text-align: center;
    font-size: 1.1em;
    height: auto;
    transition: all 0.3s ease;
}

.buttonMenu:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateX(5px);
    border-color: rgba(87, 158, 170, 0.6);
}

.buttonMenu a {
    color: rgb(60, 120, 140);
    font-weight: 500;
}

}

/* Breakpoint adicional para móviles muy pequeños */
@media (max-width: 480px) {
    #menuDiv {
        width: 250px;
    }
    
    #buttonDiv {
        padding: 70px 15px 15px;
    }
    
    .buttonMenu {
        padding: 12px 15px;
        font-size: 1em;
    }
}
