* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: url(../img/fondo.avif) no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
  }

/* root */

:root {
    --color-primario: #343863;
    --color-secundario: #ffffff;
    --color-terciario: #fbb70f;
  }

.logo{
    background-position: center;
    background-size: cover;
    filter: drop-shadow(0px 5px 10px #132264);
    animation: rotar 7s linear infinite;
    margin-bottom: 1em;
}

@keyframes rotar{
    from{
        transform: rotateY(0deg);
    }
    to{
        transform: rotateY(-360deg);
    }
}

.logo img {
    width: 60%;
} 

.perfil {
    width: 500px;
    text-align: center;
}

.perfil .header {
    background-color: var(--color-primario);
    height: 100%;
}

.perfil .header .imagen .user {
    display: block;
    width: 10em;
    height: 10em;
    border-radius: 50%;
    object-fit: cover; /* Asegura que la imagen cubra el área sin deformarse */
}

.perfil .header .imagen {
    display: inline-block;
    padding: 8px;
    border-radius: 50%;
}

.perfil .header .nombre {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}

.rol {
    color: #fff;
}

.perfil .header .descripcion {
    font-size: 18px;
    color: #fff;
}

.perfil .header .elementos{
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.perfil .header .elementos, a {
    color: #fff;
    width: 70%;
    font-size: 25px;
}

.botones {
    display: flex;
    flex-wrap: wrap;  /* Permite que los elementos se ajusten a la siguiente línea */
    justify-content: space-around;  /* Distribuye los botones de manera equidistante */
}

.btn {
    width: 45%;  /* Los botones ocupan el 45% del ancho del contenedor */
    padding: 10px;
    background-color: var(--color-primario);
    color: var(--color-terciario);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.5s;
    margin-bottom: 1em;
    border: var(--color-terciario) solid 1px;
}

#btn {
    width: 80% !important;  /* Los botones ocupan el 45% del ancho del contenedor */
}

.btn:hover {
    background-color: var(--color-primario);
    color: var(--color-secundario);
    border: var(--color-secundario) solid 1px;
}

.slider {
    border-radius: 5%;
    margin-top: 5%;
    margin-bottom: 2%;
}

.ubication-contenedor {
    margin-bottom: 2%;
    margin-top: 3%;
}

#ubication {
    padding-right: 5px;
}

.desc {
    font-size: 12px;
    color: var(--color-secundario);
    padding: 5px;
    font-weight: 550;
}

.slider {
    max-width: 80%;
    height: auto;
    object-fit: cover; /* o 'contain' dependiendo de cómo quieras que se ajusten */
  }

.subtitle .subtitle-text{
    color: var(--color-terciario);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: -0.5rem;
}

.rol {
    font-size: 16px;
}

p {
    color: var(--color-terciario);
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 0rem;
}

.desc {
    margin-top: 15px;
}

/* --------------QR-------------- */

/* Estilo para el contenedor del QR */
   #qr-container {
    display: none; /* Estará oculto al principio */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: var(--color-primario);
    border-radius: 25px;
    z-index: 9999;
}

/* Estilo para el botón de cerrar */
.close-btn {
    position: absolute;
    top: -15px;
    right: -10px;
    background-color: var(--color-terciario);
    color: var(--color-secundario);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 25px;
}

/* Estilo para el QR */
#qr-image {
    width: 100%
}

/* Checkbox oculto */
#qr-toggle {
    display: none;
}

/* Mostrar el contenedor QR cuando el checkbox está marcado */
#qr-toggle:checked + #qr-container {
    display: block;
}

.btn {
    transition: 0.3s ease-in-out;
}
  
.btn:hover {
animation: pulse 0.6s infinite alternate;
}
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 10px rgba(109, 118, 255, 0.6);
    }
    100% {
      transform: scale(1.1);
      box-shadow: 0 0 20px rgba(96, 135, 240, 0.9);
    }
  }

/* ----------Footer--------- */

.footer-copy {
    padding: 25px;
    text-align: center;
    font-size: 11px;
}

.footer-copy {
    background-color: black;
    padding: 15px 10px;
    text-align: center;
    color: var(--color-secundario);
    border-radius: 25px 25px 0 0;
    margin-top: 2%;
}