*{
    margin: 0;
    padding: 0;
}

html, body{
    height: 100%;
    background-color: #EAEAEA;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.logo{
  background-color: #009dff;
 p{
 text-align: center;

 .img1{
  width: 10%;
  padding-right: 200px;
  height: 10%;
 }
 }
}

.namebar{
    color: #fff;
    background-color: #2225de;
    text-align: center;
    padding: 8px;
}


.latbar {
  margin: 10px;
  top: auto;
  left: auto;
  position: absolute;
  width: 110px;
  border: 0px solid;
  box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1); /* sombra */
  padding: 20px;
  background-color: white;

ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

input[type="text"]{
  width: 110%;
  height: 20px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  resize: none;
}

input[type="checkbox"] {
    size: 20px;
    display:inline-block;
    text-align: justify;
}

li {
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    size: 10px;
    font-size: 20px;
}

h3{
    text-align: center;
  }
}
.main-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* se asegura que mínimo ocupe toda la pantalla */
}


.tarjetas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;

  width: 78vw;
  min-height: auto;     /* autoajustable en altura */
  max-height: none;     /* eliminamos la restricción */
  margin: 10px auto 20px 15%;

  background: white;    /* aseguramos que sea el cuadro blanco */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  box-sizing: border-box;
}    



.tarjeta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 180px;
  height: 220px;
  overflow: hidden;
  border: 2px solid #000000;
  background-color: rgb(255, 255, 255); 
  text-align: center;
  border-radius: 8px;
  box-sizing: border-box;
}



.tarjeta img {
  width: 120px;
  height: 110px;
  object-fit: cover;
  margin: 15px auto 10px auto;
  background-color: white;
}

.h3yp {
  flex-grow: 1;
  background-color: rgb(119, 238, 119); 
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  border: 1px solid black;
  height: 60px; 

  p{
    color: #808080;
  }

  h3{
    font-weight: bold;
  }
}

.contenedor{
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}


footer {
  border: 0px solid black;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px;
  background-color: #203864;
  color: black;
}

.footer-left {
  font-weight: bold;
}

.info{
  color: #4ECDC4;
  font-weight: 400;
}

footer h3{
  color: #BBBE64;
}

.footer-right a {
  font-weight: bold;
  font-size: large;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
}


.footer-right img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
 }
