body {
    width: 100%;
    height: auto;    
    background-image: url(img/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    font-family: 'Segoe UI', sans-serif;
    background-color: #414141;
}
.container {
    width: 100%;
    height: auto;
    margin-top: 200px;
}
.container.tarjeta {
    width: 50%;
    height: auto;
    margin: 400px auto 0px auto;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;    
}
.tarjeta {
    max-width: 100%;
    margin: auto;
}
.foto {
    width: 100%;
    height: auto;
    padding: auto;
    text-align: center;
    
}
.foto img{
    width: 70%;
    height: 70%;
    padding: inherit;
    border-radius: 150px 280px 150px 280px;
    border-top: solid aliceblue 8px;
    border-bottom: solid aliceblue 8px;
    box-shadow: 8px 16px 10px rgba(0, 0, 0, 0.65);
}
.nombre_cargo {
    width: 100%;
    height: auto;
    padding: auto;
    text-align: center;
    
}
.nombre img {
    width: 100%;
    height: auto;
    padding: auto;
    text-align: center;
}
.cargo h2 {
    font-size: 30px;
    text-align: center;
    color: white;
}
.cargo p {
    font-size: 22px;
    text-align: center;
    color: white;
}

.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/*redes sociales*/
.redes-sociales {
    width: 100%;
    height: 250px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.redes-sociales button {
    width: 100px;
    height: 100px;
    margin: 3px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.35);
}
.redes-sociales button img {
    width: 50px;
    height: 50px;
}
.button_save {
    width: 80%;
    height: 40px;
    margin: 10px auto 15px;
    padding: 5px;
    font-size: 20px;
    text-align: center;
    background-color: rgba(198, 152, 0, 0.73);
    border-radius: 20px;
}
.button_save a {
    width: 70%;
    height: 45px;
    margin: auto;
    padding: auto;
    text-align: center;
    border-radius: 20px;
    color: white;
    list-style: none;
    text-decoration: none;
}
/*Video de YouTube*/
.video {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.video iframe {
    width: 100%;
    height: auto;    
}
/*Galeria de imagenes para ampliar*/
.galeria {
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: none;    
}
.text-galeria {
    color: white;
    text-align: center;
}

.img-galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.boton-img {
  width: 47%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s;
}

.boton-img:hover {
  transform: scale(1.05);
}

.pantalla-completa {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 9999;
  flex-direction: column;
}

.pantalla-completa.activo {
  opacity: 1;
  visibility: visible;
}

#imagenExpandida {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

#cerrar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  user-select: none;
}
/*QR*/
.qr {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}
.qr img {
    width: 80%;
    height: auto;
}
/*footer*/
.footer {
    width: 80%;
    height: auto;
    margin: auto;
    padding: auto;
    text-align: center;
    color: white
}
/* Estilos para pantallas medianas (tabletas) */
@media (max-width: 768px) {
  
}

/* Estilos para pantallas pequeñas (móviles) */
@media (max-width: 480px) {
body {
    width: 100%;
    height: auto;
}
.container.tarjeta {
    width: 100%;
    height: auto;
    margin: 400px auto 0px auto;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;    
}
/*Video de YouTube*/
.video {
    width: 100%;
    height:auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*redes sociales*/
.redes-sociales {
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 3px;
    }
.redes-sociales button {
    width: 60px;
    height: 60px;
}
.img-galeria {
    padding: 1rem;
}
