/* ----------------------------------------------- Foro --------------------------------------------- */

.conten-imagen {
  position: relative;
  display: inline-block;
}

.txt-sobrepuesto {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 10px;
  font-size: 50px;
  border-radius: 10px;
}

/* ------------------------------------------ Botón Flotante ------------------------------------------------ */

.boton-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff00;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
  background-image: url(media/Logo_wpp.png);
  background-size: cover;
  background-position: center;
  padding: 0;
  z-index: 1000;
}

.boton-flotante:hover {
  background-size: 130%;
  background-position: center;
}

/* ---------------------------------------------- Index ---------------------------------------------------- */

.contenedor-inicio {
  position: relative;
  width: 100%;
  /* Puedes ajustar el tamaño según tus necesidades */
}

.img-contenedor {
  display: block;
  width: 100%;
  height: auto;
}

.txt-contenedor {
  position: absolute;
  text-align: center;
  font-size: 4rem;
  top: 80%;
  /* Ajusta la posición vertical del texto */
  left: 60%;
  /* Ajusta la posición horizontal del texto */
  transform: translate(-4%, 3%);
  /* Centra el texto */
  background-color: rgba(0, 0, 0, 0.5);
  /* Fondo semi-transparente */
  color: white;
  padding: 1px;
  border-radius: 10px;
}

.contenedor_video {
  background-color: #ececba;
  justify-content: center;
  padding: 10%;
}

.img_video {
  display: flex;
  justify-content: center;
  box-shadow: 3px 5px 3px#3E4042;
  border: 3px solid #b4b4b4;
}

/* ------------------------------------------- Quienes Somos ---------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: beige;
}

.presentacion {
  margin-left: 3%;
  margin-right: 3%;

  justify-content: center;

  background-color: rgb(247, 215, 173);
  padding: 10%;
}

.text1 {
  margin-right: 1rem;
  margin-left: 1rem;
  text-align: center;
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.contenedor2 {
  margin: 5%;
  justify-content: center;
  gap: 10%;
  text-align: center;
}

.contenedor2 p {
  margin-right: 1rem;
  margin-left: 1rem;
  text-align: center;
  font-size: 1.5rem;
}

h1 {
  text-align: center;
  font-size: 3rem;
}

.nuestro_escenario {
  margin-left: 10%;
  margin-right: 10%;
  box-shadow: 5px 15px 10px black;
}

.historia p {
  margin-right: 1rem;
  margin-left: 1rem;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.actualidad p {
  margin-right: 1rem;
  margin-left: 1rem;
  text-align: center;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.objetivos {
  background-color: burlywood;
  padding: 10%;
}

.objetivo1 {
  box-shadow: 5px 8px 10px black;
  padding: 5%;
  background-color: #dfd7bd;
  border-radius: 5%;
}

.objetivo2 {
  box-shadow: 5px 8px 10px black;
  padding: 5%;
  background-color: #dfd7bd;
  border-radius: 5%;
  margin-top: 3%;
}

.img1 {
  display: flex;
  justify-content: center;
  box-shadow: 3px 5px 3px#3E4042;
  border: 3px solid #b4b4b4;
}

.img2 {
  margin-left: 20%;
  width: 60%;
  box-shadow: 3px 5px 3px#3E4042;
  border: 3px solid #b4b4b4;
}

hr {
  margin-left: 16%;
  justify-content: center;
  border: 1px solid #b4b4b4;
  height: 2px;
  width: 70%;
}

.contenedor3 {
  margin: 5%;
  margin: 5%;
  justify-content: center;

  text-align: center;
}

.img4 {
  border: 3px solid #b4b4b4;
  margin-top: 10%;
}

.nuestro_escenario .historia {
  padding-bottom: 23px;
}

.historia .img4 img {
  display: inline-block;
  min-height: 294px;
}

.nuestro_escenario .historia .img4 {
  height: 300px;
}

.img5 {
  margin-top: 15%;
  border: 3px solid #b4b4b4;
}

.nuestro_escenario .actualidad .img4 {
  height: 297px;
}

.nuestro_escenario .actualidad .img5 {
  height: 295px;
}

.img6 {
  margin-top: 4%;
  border-radius: 5%;
}

.img7 {
  margin-top: 4%;
  border-radius: 5%;
}

/* --------------------------------------------- Servicios ---------------------------------------------------*/

.contenedor4 {
  margin-left: 3rem;
  margin-right: 3rem;
}

.text2 {
  background-color: #f1f1f1;
  text-align: center;
  font-size: 2rem;

  padding: 10%;
  border-left: 2px solid black;
  border-bottom: 2px solid black;
}

.img3 {
  margin-top: 5%;
  border: 3px solid #b4b4b4;
  box-shadow: 5px 8px 10px black;
}

button {
  margin-top: 2rem;
  padding: 10px 15px;
  background-color: #2e4a34;
  color: #f1f1f1;
  border-radius: 25px;
  transition: 2s;
  cursor: pointer;
}

button:hover {
  background-color: cyan;
  color: #181717;
}

.contenedor5 {
  display: flex;
  text-align: center;

  justify-content: center;

  padding: 2%;
}

.contenedor6 {
  text-align: center;
  justify-content: center;
  background-color: burlywood;
  padding: 5%;
}

.mensaje_contacto {
  h1 {
    color: #080808;
    margin-top: 30px;
    text-align: center;
  }

  h1:hover {
    color: aqua;
  }

  h1.linea {
    position: relative;
    z-index: 1;
    padding: 5%;
  }

  h1.linea:before {
    border-top: 2px solid #2e4a34;
    content: "";
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 95%;
    z-index: -1;
  }

  h1.linea span {
    background: #fff;
    padding: 0 15px;
  }
}

/* -------------------------------------------------Contacto ---------------------------------------------*/

.contenedor_contacto {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img_contacto {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.texto_contacto {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
  background-color: rgba(24, 24, 24, 0.132);
  /* Fondo semitransparente */
  width: 90%;
  max-width: 800px;
  box-shadow: 10px 8px 10px black;
}

.texto_contacto h1 {
  font-size: 8vw;
  margin: 0;
}

.icon_contacto {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #595945;
  padding: 5%;
  font-size: 3rem;
}

.icon_contacto img {
  margin-left: 44px;
  margin-right: 44px;
  width: 30%;
}

.icon_contacto img:hover {
  width: 50%;
  transform: translateY(-35px);
}

input {
  border: 0;
  background-color: #7ecbea;
  border-bottom: #423e3e solid 1px;
  font-size: 2rem;
}

input:focus {
  outline: none;
}

.ubicación {
  background-color: #7ecbea;
  padding: 5%;
  display: grid;
  align-content: center;
  justify-content: center;
  margin-top: 5%;
}
.ubicación iframe {
  width: 70%;
  height: 70%;
  margin-top: 15%;
  position: relative;
  left: 45px;
}
@media (width >800px) {
  .boton-flotante {
    /* display: none; */
    top: 450px;
    left: 240px;
    bottom: 20px;
    right: 20px;
  }

  /* ......Inicio.................................................... */
  .contenedor_video div iframe {
    width: 587px;
    height: 339px;
    position: relative;

    right: -29px;
    left: 247px;
    top: 53px;
  }

  /* --------------------------------------- Quienes Somos -----------------------------------------------*/

  .contenedor2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .text1 {
    margin-left: 10%;
    margin-right: 10%;
  }

  .contenedor3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
    font-size: 1.5rem;
  }

  .historia {
    margin: 5%;

    border: 1px solid #b4b4b4;
    padding-bottom: 5%;
    border-radius: 1%;
    background-color: rgb(231, 221, 207);
  }

  .actualidad {
    margin: 5%;
    border: 1px solid #b4b4b4;
    padding-bottom: 5%;
    border-radius: 1%;
    background-color: rgb(231, 221, 207);
  }

  .objetivo1 {
    box-shadow: 5px 8px 10px black;

    background-color: #dfd7bd;
    border-radius: 5%;
  }

  .objetivo2 {
    box-shadow: 5px 8px 10px black;

    background-color: #dfd7bd;
    border-radius: 5%;
    margin-top: 0%;
  }

  /* --------------------------------------------- Servicios ---------------------------------------------- */

  .button {
    display: grid;
    align-content: center;
    justify-content: center;
    padding: 15px 20px;
    gap: 10%;
  }

  .contenedor4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contenedor5 {
    display: flex;
    text-align: center;
  }

  /* ------------------------------------------contacto---------------------------------------------------- */

  .icon_contacto img {
    margin-left: 44px;
    margin-right: 44px;
    width: 50%;
  }

  .icon_contacto img:hover {
    width: 70%;
    transform: translateY(-35px);
  }
  .ubicación iframe {
    width: 100%;
    height: 100%;
    left: 0px;
  }

  .texto_contacto h1 {
    font-size: 6vw;
    margin: 0;
    color: #ffffff;
    /* Asegúrate de que el color del texto sea adecuado */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Añade sombra al texto */
  }
}

@media only screen and (max-width: 768px) {
  /* ------------------------------------------- Index --------------------------------------------------- */

  .img-contenedor {
    display: block;
    width: 100%;
    height: auto;
  }

  .txt-contenedor {
    position: absolute;
    text-align: center;
    font-size: 3rem;
    top: 30%;
    /* Ajusta la posición vertical del texto */
    left: 5%;
    right: 12%;
    font-style: italic;
    /* Ajusta la posición horizontal del texto */
    transform: translate(5%, -1%);
    /* Centra el texto */
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semi-transparente */
    color: white;
    padding: 1px;
    border-radius: 10px;
  }
}
