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

body {

    font-family: sans-serif;
    background: linear-gradient(to bottom, #ffd7df 0%, #f4b3c2 50%, #d87890 100%);
    background-attachment: scroll; 
    margin: 0;
    padding: 0;
}

header {
    background-color: #164e32; 
    width: 100%;               
    padding: 15px 40px;           
    color: white;              
    text-align: center;
    }

#logo {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px 14px;
    display: inline-block;
    max-width: 180px;    
    margin-bottom: 1.5rem;     
    }


.navegacion-menu {
    list-style: none;     
    display: flex;        
    flex-direction: row;
    align-items: center;        
    justify-content: center;  
    gap: 40px;
    }

.navegacion-menu a {
    text-decoration: none; 
    color: #ffffff;        
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;      
    border-radius: 10px;     
    display: inline-block;
    transition: background-color 0.2s ease-in-out;
    white-space: nowrap;
    }

.navegacion-menu a:hover {
    background-color: #ff7bb5;
    }

.presentacion {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr; 
    align-items: center;
    position: relative;
    }

.presentacion-foto {
    width: 115%; 
    z-index: 1;   
    position: relative;
    }

.presentacion-foto img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    }

.presentacion-recuadro {
    background-color: #164e32;
    color: #ffffff;
    padding: 30px 20px; 
    margin-left: -40px; 
    z-index: 2;         
    position: relative; 
    display: flex;
    flex-direction: column;
    gap: 15px;
    }

.presentacion-recuadro h1 {
    font-size: 28px; 
    line-height: 1.2;
    font-weight: bold;
    color: #ff7bb5;
    }

.presentacion-recuadro p {
    font-size: 15px;
    line-height: 1.4;
    }

.contenedor-catedra {
    position: relative; 
    background-color: transparent; 
    padding: 40px;
    overflow: visible; 
    }

.titulo-catedra {
  color: #164e32; 
  text-align: center;
  font-family: inherit; 
  margin-bottom: 20px;
}

.texto-catedra {
  color: #1A301F;
  line-height: 1.6;
  margin-bottom: 40px; 
}

.foto-grande {
  display: block; 
  width: 100%; 
  max-width: 400px;
  height: auto; 
  margin: 0 auto; 
  margin-top: 215px; 
}

.foto-pequena-inclinada {
    position: absolute; 
    width: 230px; 
    height: auto;
    top: 250px; 
    right: 35px; 
    transform: rotate(15deg); 
    z-index: 10; 
    display: block;
    background-color: white;
    padding: 8px 8px 24px 8px; 
    box-shadow: 4px 8px 20px rgba(0,0,0,0.25);
}

.texto-nota {
    font-family: 'Courier New', Courier, monospace; 
    font-size: 13px;
    font-weight: bold;
    color: #000000; 
}

.flecha-nota {
    width: 70px;
    height: auto;
    display: block;
}

.indicador-docente {
    position: absolute;
    top: 270px;       
    left: 60px;     
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.indicador-docente .flecha-nota { 
    align-self: flex-end;
    margin-left: 50px;
}

.indicador-comision {
    position: absolute;
    bottom: -20px;     
    left: 30%;        
    z-index: 15;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.texto-comision {
    margin-top: 60px;
}


.redes-contenedor {
    background-color: #164e32; 
    color: #ffffff;            
    padding: 30px 20px;        
    border-radius: 20px;       
    width: 90%;
    max-width: 1200px;               
    box-sizing: border-box;    
    margin: 30px auto;         
    display: flex;
    flex-direction: column;
    align-items: center;       
    justify-content: center;   
    gap: 20px;                
}

.redes-contenedor h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.redes-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;                 
}

.redes-logos div a {
    display: inline-block;
    transition: transform 0.2s ease-in-out; 
}

.redes-logos div a:hover {
    transform: scale(1.15); 
}

.redes-logos img {
    width: 40px;               
    height: 40px;
    object-fit: contain;
    display: block;
}

.seccion-gustos {
    margin-top: 50px; 
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.titulo-gustos {
    color: #164e32; 
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.contenedor-scroll-gustos {
    display: flex;
    gap: 25px; 
    overflow-x: auto; 
    padding: 20px 10px; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
}

.contenedor-scroll-gustos::-webkit-scrollbar {
    height: 8px;
}

.contenedor-scroll-gustos::-webkit-scrollbar-thumb {
    background-color: #1A301F;
    border-radius: 10px;
}

.contenedor-scroll-gustos::-webkit-scrollbar-track {
    background-color: transparent;
}

.tarjeta-gusto {
    flex: 0 0 200px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    filter: opacity(0.85); 
}

.imagen-gusto {
    width: 100%;
    height: 200px; 
    object-fit: cover; 
    border-radius: 25px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
    transition: box-shadow 0.3s ease;
}

.nombre-gusto {
    color: #000000;
    font-size: 16px;
    margin: 12px 0 4px 0;
    font-weight: bold;
}

.categoria-gusto {
    color: #3b3b3b; 
    font-size: 13px;
    margin: 0;
    font-weight: normal;
}

.tarjeta-gusto:hover {
    filter: opacity(1) brightness(1.1); 
    transform: translateY(-5px); 
}

.tarjeta-gusto:hover .imagen-gusto {
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.712); 
}

.seccion-academica {
    margin-top: 10px; 
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.titulo-academico {
    color: #164e32; 
    text-align: center;
    margin-bottom: 40px;
    font-size: 24px;
}

.contenedor-tarjetas-materias {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 40px; 
}

.tarjeta-materias {
    background-color: #164e32; 
    border-radius: 30px; 
    padding: 35px 25px;
    width: 100%;
    max-width: 380px; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); 
    text-align: center;
    box-sizing: border-box;
}

.tarjeta-materias h3 {
    color: #ff7bb5; 
    font-size: 22px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.3;
}

.lista-materias {
    list-style: none; 
    padding: 0;
    margin: 0;
}

.lista-materias li {
    color: #ffffff;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4); 
}

.lista-materias li:last-child {
    border-bottom: none;
}

.instituciones {
    background-color: #ffd7df; 
    border-radius: 20px; 
    padding: 35px 25px;
    width: 100%;
    max-width: 480px; 
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-align: center; 
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instituciones figure{
    background-color: #ffffff; 
    border-radius: 12px;
    width: 65%; 
    height: 110px;
    padding: .5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.8rem auto; 
    box-sizing: border-box;
}

.instituciones figure img{
    max-width: 95%;
    max-height: 95%;
    object-fit: contain; 
    display: block;
}

.instituciones h3,
.instituciones h4,
.instituciones h5,
.instituciones ul li {
    color: #164e32; 
    margin: 8px 0;
}

.instituciones h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.instituciones ul {
    padding: 0;
    margin: 15px 0;
}

.instituciones ul li {
    font-size: 15px;
    line-height: 1.4;
}

.boton-sitio {
    display: inline-block; 
    background-color: #164e32; 
    color: #ffffff; 
    text-decoration: none; 
    padding: 10px 24px;
    border-radius: 25px; 
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#logo .boton-sitio {
    background-color: transparent;
    padding: 0;
    margin: 0;
    display: block;
}

#logo .boton-sitio:hover {
    background-color: transparent;
    transform: none; 
}

.boton-sitio:hover {
    background-color: #ff9fb3; 
    color: #164e32;
    transform: scale(1.05); 
}

.instituciones:hover {
    transform: translateY(-6px); 
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15); 
}

ul, li {
    list-style: none;
}

li {
    display: list-item;
    unicode-bidi: isolate;
}

.academicos {
    margin-top: 30px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    }

.academicos > ul{
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 30px; 
    padding: 0;
    margin: 0;
}

footer {
    background-color: #164e32; 
    color: #ffffff; 
    text-align: center;
    padding: 60px 40px 40px 40px; 
    width: 100%;
    box-sizing: border-box;
    margin-top: 100px; 
}

.copyright-footer {
    font-size: 16px;
    font-weight: bold;
    margin: 0px 0 25px 0;
    letter-spacing: 0.5px;
}

.texto-legal-footer {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8); 
    max-width: 800px; 
    margin: 0 auto; 
}

.contenedor-equipo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; 
    width: 100%;
    margin-top: 30px;
}

.card-equipo {
    background-color: #ffd7df; 
    border-radius: 20px;
    padding: 30px 20px;
    width: 100%;
    max-width: 280px; 
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); 
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-equipo a {
    display: inline-block;
    margin-bottom: 15px;
}

.card-equipo img {
    width: 120px;
    height: 120px;
    border-radius: 50%; 
    object-fit: cover; 
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease; 
}

.card-equipo h4, 
.card-equipo h5 {
    color: #164e32; 
    margin: 5px 0;
}

.card-equipo h4 {
    font-size: 18px;
    font-weight: bold;
}

.card-equipo h5 {
    font-size: 14px;
    font-weight: normal;
}

.card-equipo:hover {
    transform: translateY(-6px); 
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15); 
    }

    .seccion-propuesta {
    background-color: #ffffff; 
    border: 3px solid #164e32; 
    border-radius: 30px; 
    padding: 40px 20px; 
    margin: 50px auto; 
    max-width: 900px; 
    width: 90%; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); 
    box-sizing: border-box;
}

.contenedor-pantallas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; 
    margin-top: 30px;
}

.contenedor-pantallas div {
    flex: 1;
    min-width: 280px; 
    max-width: 380px; 
}

.contenedor-pantallas img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
}