html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 70px;
}
body, h1{
    margin: 0;
    padding: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
h1 {
    font-size: 35px;
    text-align: center;
    padding: 20px;
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
body,p {
    font-size: 20px;
    line-height: 1.5;
    color: rgb(253, 253, 253);
}
main {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: justify;
    padding: 20px;
    flex: 1;
    box-sizing: border-box;
}

.info {
    flex: 1;
}

main, .info {
  flex: 1;
}
.menu {
    align-items: center;
    position: absolute;
    padding: 10px 20px;
    width: 98%;
    height: 120px;
    display: flex; 
    justify-content: center;
    background: black;
    top: 0;
    left: 0;
    z-index: -1000;
}
header{
    width: 100%;
}
html, main {
  min-height: 100%;
  margin: 0;
  padding: 0;
}
.logo-img{
    height: 119px;
    width: auto;
    margin-right: 0;
    position: absolute;
    left: 90px;
    top: 15px;
    display: block;
}
.titulo-info {
    font-size: 35px;
    text-align: center;
    width: auto;
    margin: 0;
    color: rgb(252, 245, 245);
}
main.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  max-width: 2000px;
  margin: 0 auto 20px auto;
}
div.gallery {
  width: 603px;
}

div.gallery img {
  width: 100%;                
  height: auto;
  display: block;
}

div.desc {
  padding: 15px;
  text-align: center;
}
img{
    width: 650px;
    height: 600px;
    
}
body {
 background-color: #0d1117; 
}

.tarjeta img{
    height: 450px;
    width: 410px;
    display: block;
    margin-left: -50%;
    border-radius: 8px 8px 3px 3px;
    box-shadow: #0072ff 0px 0px 10px, #00c6ff 0px 0px 20px;
}
.tarjeta article {
    background-color: rgba(109, 108, 108, 0.671);
    height: 0;
    overflow: hidden;
    transition: height 0.5s;
    padding: 0 10px;
    border-radius: 3px 3px 10px 10px;
    margin-left: -50%;
    box-shadow: #0072ff 0px 0px 10px, #00c6ff 0px 0px 20px;
}
.tarjeta:hover article {
    height: auto;
    width: 171.1%;
}
.tarjetaa img{
    height: 450px;
    width: 410px;
    display: block;
    margin-left: 190%;
    border-radius: 8px 8px 3px 3px;
    box-shadow:  #7700ff 0px 0px 20px, #e27a04ef 0px 0px 40px;
}
.tarjetaa article {
    background-color: rgba(109, 108, 108, 0.671);
    height: 0;
    overflow: hidden;
    transition: height 0.5s;
    padding: 0 10px;
    margin-left: 190%;
    border-radius: 3px 3px 10px 10px;
    box-shadow: #7700ff 0px 0px 20px, #e27a04ef 0px 0px 40px;
}
.tarjetaa:hover article {
    height: auto;
    width: 171.1%;
}

footer {
    background-color: black;
    text-align: center;
    padding: 10px;
    margin-top: -10%;
    width: 99%;
}
footer a{
    text-decoration: none;
    color: rgb(255, 254, 254);
}
footer p {
    color: white;
}
footer h2 {
    color: white;
}
footer h4 {
    color: white;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.content-foo h4, .content-foo p {
    margin: 5px;
    text-align: center;
}
ul{
    padding-left: 0;
    list-style: none;
}
a{
    text-decoration: none;
}
img{
    width: 15px;
    height: 15px;
}
.translate{
    
    display: flex;
    justify-content: flex-end;
    width: 99%;
    margin: 0 auto;
    z-index: 900;
    border-radius: 10px;
}
.idioma{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
    position: absolute;
    background-color: rgb(240, 240, 240);
    z-index: 900;
    border-radius: 10px;
}
.idioma:hover{
    background-color: rgb(228, 228, 228);

}
.idiomas{
    position: absolute;
    top: 35px;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    border-radius: 10px;
}
.idiomas li{
    width: 101%;

}
.idiomas li a{
    display: block;
    padding: 10px;
    font-size: 10px;
    color: rgb(85, 85, 85);
    background-color: rgb(255, 254, 254);
}
.idiomas li a:hover{
    background-color: rgb(219, 219, 219);
}
.idiomas li img{
    border-radius: 50%;
}

.toggle{
    visibility: visible;
}

.info{
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    padding: 20px;
}
.info div{
    width: 30%;
    height: 4px;
}
.texto1{
    font-size: 22px;
    line-height: 1.8;
    color: rgb(189, 188, 188);
    margin-bottom: 20px;
    padding: 0 90px;
    max-width: 1000px;
    margin: 10px auto;
}
.boton1{
    padding: 10px 15px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
    transition: 0.3s;
    position: relative;
    left: 50%;
    transform: translateX(-95%);
    width: 150px;
    margin-bottom: 10px;
}
.boton1:hover{
    background-color: rgba(78, 78, 78, 0.966);
    box-shadow: #0072ff 0px 0px 10px, #00c6ff 0px 0px 20px;
}
.boton3{
    padding: 10px 15px;
    background: linear-gradient(90deg, #7700ff, #e27a04ef);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(226, 122, 4, 0.4);
    transition: 0.3s;
    position: relative;
    left: 50%;
    transform: translateX(-95%);
    width: 150px;
    margin-bottom: 10px;
}
.boton3:hover{
    background-color: rgba(78, 78, 78, 0.966);
    box-shadow: #7700ff 0px 0px 20px, #e27a04ef 0px 0px 40px;
}

svg {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 900;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px #25d36699);
}
svg:hover {
    transform: translateY(-8px);
}
.btn-wa svg {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 900;
    background: rgba(3, 3, 3, 0.616);
    padding: 10px;
    border-radius: 50%;
    animation: latido-neon 3s infinite;
}
.btn-wa svg:hover {
    transform: translateY(-8px);
    background: rgba(3, 3, 3, 0.8);
}
.btn-wa h1 {
    position: fixed;
    bottom: 28px;
    right: 90px;
    z-index: 900;
    background: rgba(3, 3, 3, 0.616);
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    width: max-content;
    box-shadow: #25d36699 0px 0px 10px;
}
@keyframes latido-neon {
    0% {
        filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.6));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(37, 211, 102, 1));
        transform: scale(1.05); 
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.6));
        transform: scale(1);
    }
}

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 30px; }
  .logo-img { height: 100px; }
  .titulo-info { font-size: 30px; }
  .tarjeta img, .tarjetaa img {
    width: 100%;
    height: auto;
    max-width: 410px;
  }
  .texto1 { font-size: 20px; padding: 0 40px; }
  .boton1, .boton3 { width: 120px; padding: 8px 12px; }
}

/* Móvil mediano */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  h2 { font-size: 18px;
      line-height: 0%;
  }
  p { font-size: 12px;
    line-height: 1.2;
  }
  .logo-img { height: 60px; 
    left: 15px;
    top: 10px;
  }
  .titulo-info { font-size: 24px; }
  .texto1 { font-size: 18px; padding: 0 20px; }
  .boton1, .boton3 { width: 100px; padding: 6px 10px; }
  body, p { font-size: 18px; }
  .info {
    display: flex;            
    flex-direction: column;   
    align-items: flex-start;
    gap: 45%;                
  }

  .tarjeta, .tarjetaa {
    max-width: 100%;           
    margin: 0 50px;           
  }

  .tarjeta img, .tarjetaa img {
    width: 250%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
.tarjeta article {
    margin: 0 auto;
    width: 100%;             
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    
  }

  .tarjeta:hover article {
    max-height: 200px;        /* altura suficiente para mostrar contenido */
    width: 230%;              /* mantiene el mismo ancho en hover */
  }
.tarjetaa article {
    margin: 0 auto;
    width: 100%;              /* mismo ancho que la imagen */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    
  }
.tarjetaa:hover article {
    max-height: 200px;        /* altura suficiente para mostrar contenido */
    width: 230%;              /* mantiene el mismo ancho en hover */    
} 
svg {
    width: 40px;
    height: 40px;
    margin: 0 20px;
    transform: scale(0.9);            /* lo subes más arriba */
}
.btn-wa h1 {
    font-size: 12px;
    margin: 0 5px;  
    transform: scale(0.9);
    position: fixed;
    bottom: 155px;
}
.btn-wa svg {
    width: 40px;
    height: 40px;
    margin: 0 20px;
    transform: scale(0.9);
    bottom: 150px;              /* lo subes más arriba */
}
}
/* Móvil pequeño */
@media (max-width: 480px) {
  h1 { font-size: 20px; }
  .logo-img { height: 50px; }
  .titulo-info { font-size: 20px; }
  .texto1 { font-size: 16px; padding: 0 10px; }
  .boton1, .boton3 { width: 80px; padding: 5px 8px; }
  body, p { font-size: 16px; }
}
