*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.naranja{color: #E4824A;}

.swiper-slide {height: 70vh;}

.bg__01 {
    background-image: url("../img/contraportada_1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10rem 0;
    width: 400px;
    height: 500px;
    margin: 5rem auto;
  }
  
video.video__01 {
    max-width: 100%;
    width: 120px;
    height: 100px;
    object-fit: cover;
    scale: 9;
    filter: grayscale(1);
    top: 0;
    position: relative;
}

/* Estilo del contenedor principal */
.bg__02 {
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
    filter: grayscale(1);
}

/* Estilo del video */
#myVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;           /* Coloca el video detrás de otros elementos */
    transform: translate(-50%, -50%); /* Centra el video */
    object-fit: cover;     /* Cubre todo el contenedor sin distorsionar el video */
    filter: brightness(0.7); /* Ajusta el brillo si el video es muy brillante */
}

/* Estilo del contenido superpuesto */
.content {
    position: relative;    /* Mantén el contenido en el frente */
    z-index: 1;
    color: white;          /* Asegúrate de que el texto sea legible sobre el video */
    text-align: center;
    font-family: Arial, sans-serif;
}

.bg__03 {
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
}

.bg__03 video#myVideo{
    filter: grayscale(1);
}

section.header-contact {
  background-image: url("../img/contraportada_1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: grey;
  height: 50vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

form.page-form label {
  display: flex;
  margin-top: 1.5rem;
}

form.page-form input, textarea#id_asunto {
  width: 100%;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
}

.animated-bg {
    height: 100%;
    background: linear-gradient(135deg, #333335, #575757);
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
  }

  @keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .btn__contact_2 {
    background: white;
    color: rgba(0, 0, 0, 1);
    border-radius: 70px;
    padding: 2px 2rem;
    transition: all .5s ease;
    cursor: pointer;
}

.btn__contact_2:hover {
  background-color: rgba(163, 163, 163, 1);
}
