/* styles.css */
body {
    
    font-family: Arial, sans-serif;
    margin: 0 auto;
    align-items: center;
    align-content: center;
    align-self: center;
    background-color: #f4f4f4;
    text-align: center;
    width: 100%;
    padding: 0;
    font-size: 35px;
}

h1, h2 {
    color: #333;
    text-align: center;
    text-size-adjust: auto;
    font-size: 3rem;

}


.menu {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.menu-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu-item {
    margin: 0 25px;
  
}
.menu-item img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;   
}
.menu-item a img {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.menu-item a img:hover {
    transform: scale(1.1)
    
}
p {
    color: #ac0606;
    text-align: center;
    text-size-adjust: auto;
    font-size: 25px;   
}
.pgrande {
    color: #333;
    text-align: center;
    text-size-adjust: 150%;   
}
a {
    font-size: 45px;
    text-align: center;
    text-size-adjust: 100%; 
    display: inline-block;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: #1505ac;
    width: fit-content;
}

.tree .centrar-persona {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    border: 7px solid #000000;
}
.tree .abp {
    
    align-items: center;
    border: 7px solid #2d29f7;
}
.tree .abm {
    
    align-items: center;
    border: 7px solid #ff0055;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    align-items: center;
}

table, th, td {
    border: 2px solid #ccc;
}
.link {
    text-size-adjust: 300%;   
}

th, td {
    padding: 10px;
    text-align: center;
}

div {
    align-self: center;
    align-content: center;

}


ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

li {
    margin-bottom: 5px;
    align-items: center;
}
.contenedor {
    /* position:relative; */
    width: 100%;
    display: flex;
    justify-content: center;
  
}
.contenedor-hijo { 
    flex: 1; /* Los hijos ocuparán el mismo ancho */ 
    margin: 10px; /* Espacio entre los contenedores */ 
    padding: 20px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    background-color: #f0f0f0; 
    text-align: center; /* Alinea el texto al centro */
    font-size: 30px;

}   
.contenedor-hijo h2 { 
    flex: 1; /* Los hijos ocuparán el mismo ancho */ 
    margin: 10px; /* Espacio entre los contenedores */ 
    padding: 20px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
    background-color: #f0f0f0; 
    text-align: center; /* Alinea el texto al centro */
    font-size: 35px;

}  
.contenedorlista {
    position:relative;
    width: 100%;
    text-size-adjust: 150%;
    justify-content: center;
    text-shadow: #070000;
  
}

.imagen {
   
    width: auto;
    height: 250px;

}
img {
    /* display: block; */
    margin-top: 5px;
    align-content: space-around;
    align-items: normal;
    text-align: center;
    object-fit: cover;
    border-radius: 15px;
}
.foto {
    display: block;
    margin-top: 50px;
    align-items: center;
}

.texto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
}
.myOption {
    font-size: 50px;
    initial-value: "Selecciona una persona";

}
select {
    width: 350px;
}


.desplegable {
    padding:5px 15px; 
    background:#ccc; 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 2px; 
    font-size: 30px;
}   
.desplegable2 {
    padding:5px 15px; 
    background:#ccc; 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
    font-size: 30px;
    margin-left: 20px;
}     

.boton1 {
  border-radius: 10px; /* Bordes redondeados */
  box-shadow: 2px 2px 2px #888888; /* Sombra */
  background-color: #4CAF50; /* Color de fondo */
  color: white; /* Color del texto */
  padding: 10px 20px; /* Espacio interno */
  text-align: center; /* Alineación del texto */
  font-size: 16px; /* Tamaño de la fuente */
  cursor: pointer; /* Cambia el cursor al pasar por encima */ 
}


.image-container {
    position: relative;
    display: inline-block;
}


.hover-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: rgb(69, 44, 44);
    padding: 5px 10px;
    border-radius: 5px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-container:hover .hover-text {
    visibility: visible;
    opacity: 1;
}
