@import url("https://fonts.googleapis.com/css?family=DM+Sans:400,500,700&display=swap");
@import 'animate.css';
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --yellow: #ffbc00;
  --black: #111111;
  --brown1: #1d0c0a;
  --brown2: #3a1913;
  --brown3: #57251d;
  --brown4: #743226;
  --brown5: #913e30;
  --brown6: #d38a59;
  --brown7: #F8EDB1;
  --txtSize: clamp(13px, 4vw + .6rem, 30px);
  --txtSizeFooter: clamp(7px, 1.5vw + .5rem, 17px);
  --fontTittle: clamp(7px, 1.5vw + .5rem, 17px);
  --fontGeneral: clamp(10px, .5vw + .9rem, 18px);
  --fonttype: "Plus Jakarta Sans", serif;
}

/* HEADER - NAV */

* {
  margin: 0;
  padding: 0;
  font-family: var(--fonttype);
}

body {
  background-color: var(--brown7);

}


.co-work{
  display: flex;
  padding: 0px 4% 0px 7% !important;

  width: 100%;
  margin: 0 auto;
  /* Centra el contenedor */
  padding: 20px;
  /* Espaciado interno */
  box-sizing: border-box;
  /* Incluye el padding en el ancho */
}

.co-work section img,
.co-mission section img{
  width: 400px;
}

@media (max-width: 880px) {
  .co-work section img,
.co-mission section img{
  width: 280px;
}
}
.co-work section:nth-child(2),
.co-mission section:nth-child(2){
  padding-left: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}
.co-mission section:nth-child(2){
  display: flex;
  justify-content: center;
  align-items: center;
  justify-items: center;
}
.co-mission section:nth-child(1){
  margin-left: 2%;
  display: flex;
  flex-direction: column;
  align-items: inherit;
}

@media (max-width: 700px) {
  .co-work,
  .co-mission {
    display: block;
  }
  .co-mission{
    margin-top: 0px !important;
  }
  .co-work section:nth-child(2){
    padding: 3rem 5% !important;
  }
  .co-mission{
    padding: 3rem 0% !important;
    flex-direction: column !important;
  }
  .co-work section:nth-child(2){
    width: 100% !important;
    padding:1rem 0px 0px 0px !important;
    margin: 0px !important;
  }
  .co-mission section:nth-child(2) {
    width: 100% !important;
    padding: 1rem 0px 0px 0px !important;
    margin: 0px !important;
}
}


.co-work p {
  font-size: clamp(20px, 3vw, 24px);
  /* Texto responsivo */
  text-align: left;
  /* Alineación a la izquierda */
  margin: 0 0 20px 0;
  /* Espaciado entre párrafos */
  line-height: 1.5;
  /* Mejora la legibilidad */
  font-weight: 200;
}

.co-work p b {
  font-weight: 500;
}


.co-work h1 {
  margin-bottom: .5rem !important;
  text-align: left;
  /* Alineación a la izquierda */
  margin: 0 0 20px 0;
  /* Espaciado entre párrafos */
  line-height: 1.5;
}

/* segundo co */
.co-mission {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  padding: 0px 7% 0px 7% !important;
  width: 100%;
  margin: 0 auto;
  margin-top: 3rem;
  /* Centra el contenedor */
  box-sizing: border-box;
  /* Incluye el padding en el ancho */
}



.co-mission p {
  font-size: clamp(20px, 3vw, 24px);
  /* Texto responsivo */
  text-align: right;
  /* Alineación a la izquierda */
  margin: 0 0 10px 0;
  /* Espaciado entre párrafos */
  line-height: 1.5;
  /* Mejora la legibilidad */
  font-weight: 400;
}

.co-mission p b {
  font-weight: 500;
}

.co-mission h1 {
  margin-bottom: .5rem !important;
  text-align: right;
  /* Alineación a la izquierda */
  margin: 0 0 20px 0;
  /* Espaciado entre párrafos */
  line-height: 1.5;
}

.co-mission p:last-child {
  margin-bottom: 0;
  /* Elimina el margen inferior del último párrafo */
}

.wave {
  width: 100%;
  fill: #d38a59;
  stroke: var(--brown2);
  stroke-width: 3;
  transform: rotate(180deg);
}
.wave1 {
  width: 100%;
  fill: #d38a59;
  stroke: var(--brown2);
  stroke-width: 3;
}

@media (max-width: 600px) {
  .slide-content p {
    padding-right: 5% !important;
  }
  .co-mission,
  .co-work {
    padding: 5% !important;
  }

}

/* DESDE AQUI COMIENZA CODIGO PARA DENTRO LA PAGINA */

.callOutBox {
  background-color: rgba(245, 222, 179, 0.449);
  text-align: center;
  margin: 0px 15%;
  margin-bottom: 40px;
  border: 6px dotted var(--brown3);
  border-radius: 50px;
  padding: 3% 7%;
  font-size: clamp(10px, .5vw + .9rem, 18px);

}

.carousel {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  margin-bottom: 40px;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Smooth animation */
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.slide-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.slide-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.slide-content p {
  padding-right: 30%;
  font-size: 1.2rem;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(to left,
      black,
      rgba(0, 0, 0, 0.745),
      rgba(0, 0, 0, 0.455),
      rgba(0, 0, 0, 0.108),
      rgba(0, 0, 0, 0));
  color: #333;
  border: none;
  padding: 300% 4% !important;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 50px;
}

.carousel-control button {
  color: var(--brown7);

}

.carousel-control:hover {

  transform: translateY(-50%) scale(1.1);
}

.prev {
  left: 0px;
  background: linear-gradient(to right,
      black,
      rgba(0, 0, 0, 0.745),
      rgba(0, 0, 0, 0.455),
      rgba(0, 0, 0, 0.108),
      rgba(0, 0, 0, 0)) !important;

}

.next {
  right: 0px;
}


/* CODIGO PARA LOS SLIDES */
/* primero */

.slide:first-child {
  background-image: linear-gradient(to left,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.692)), url("img/fajashilos.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: left;

}

.slide:first-child .slide-content h1 {
  font-size: clamp(13px, 4vw + 1.2rem, 60px);

}

.slide-content:first-child {

  padding-left: 9%;
  background: none;
  text-align: left;
  color: var(--brown7);
}

/* segundo */

.slide:nth-child(2) {
  background-image: linear-gradient(to left,
      rgba(0, 0, 0, 0.692),
      rgba(0, 0, 0, 0.692)), url("img/clouds.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: left;
}

/* tercero */
.slide:nth-child(3) {
  background-image: linear-gradient(to left,
      rgba(0, 0, 0, 0.449),
      rgba(0, 0, 0, 0.692)), url("img/hilando-reocortado1.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: left;
}

/* cuarto */
.slide:nth-child(4) {
  background-image: linear-gradient(to left,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.692)), url("img/fajashilos.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: left;

}

/* Responsive Design */
@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .carousel-control {
    display: none;
  }
}


/* SLIDERS DE A TRES */


.bdma {

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  font-family: 'DM Sans', sans-serif;
  transition: background .4s ease-in;
  background: radial-gradient(#490B10,
      #490B10,
      #F8EDB1,
      #F8EDB1);
  height: 84vh;

  &.blue {
    background-color: #428aa6;
  }
}

input[type=radio] {
  display: none;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;

  position: absolute;
  width: 61%;
  height: 100%;
  left: 0;
  right: 0;
  margin: auto;
  padding: 10px 2%;
  transition: transform .4s ease;
  cursor: pointer;
  border-radius: 20px;

}

.container {
  width: 100%;
  max-width: 1000px;
  max-height: 600px;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.cards {
  position: relative;

  width: 95%;
  height: 100%;
  margin-bottom: 90px;
}


#item-1:checked~.cards #song-3,
#item-2:checked~.cards #song-1,
#item-3:checked~.cards #song-2 {
  transform: translatex(-40%) scale(.8);
  opacity: .4;
  z-index: 0;
}

#item-1:checked~.cards #song-2,
#item-2:checked~.cards #song-3,
#item-3:checked~.cards #song-1 {
  transform: translatex(40%) scale(.8);
  opacity: .4;
  z-index: 0;
}

#item-1:checked~.cards #song-1,
#item-2:checked~.cards #song-2,
#item-3:checked~.cards #song-3 {
  transform: translatex(0) scale(1);
  opacity: 1;
  z-index: 1;

  img {
    box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
  }
}

.card p {
  color: #e9efff;
  font-size: clamp(17px, 2vw + .3rem, 25px);
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}

/* FOOTER */

.wrapper {
  width: 100%;
  height: 70vh;
  background-size: cover;
  background-position: center;
  animation: jaja 10s linear infinite;


  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes jaja {
  0% {
    background-image: url(img/ftGrupal.jpeg);
  }

  30% {
    background-image: url(img/ftConferencia.jpeg);
  }

  60% {
    background-image: url(img/ftOnu.jpeg);
  }

  100% {
    background-image: url(img/ftGrupal2.jpeg);
  }
}

.wrapper h1 {
  font-size: clamp(10px, 7vw + .7rem, 300px);
  text-align: left;
  color: var(--brown7);
  padding-left: 3%;
  font-family: "Plus Jakarta Sans", serif;
}


/* JOIN OUR COMUNITY */

.ContainerJoinComunity {
  background-color: var(--brown6);
  border: 25px var(--brown2) solid;
  border-radius: 80px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom: none;
  max-height: 3000px;
  width: 50%;
  padding: 1rem 30px;

  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  gap: 1.5rem;
}

.ContainerJoinComunity h2 {
  font-size: clamp(23px, 3vw + .6rem, 32px);
  font-family: var(--fonttype);
  font-weight: 300;
}

.ContainerJoinComunity p {
  font-size: clamp(13px, 2vw + .6rem, 22px);
  font-family: var(--fonttype);
  font-weight: 100;
}

form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}


input[type="email"] {
  background-color: #f8edb19b;
  color: var(--brown3);
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #490B10;
  border-radius: 4px;
  width: 70%;
  flex: 1 1 50%;
  font-size: clamp(5px, 1vw + .6rem, 18px);
}

.jocbutton {
  flex: 1 1 30%;
  padding: 10px;
  border: .5px solid #1d0c0a;
  background-color: var(--brown7);
  color: #1d0c0a;
  width: 30%;
  border-radius: 4px;
  cursor: pointer;
  font-size: clamp(5px, 1vw + .6rem, 18px);
}


.socialMedia a {
  color: var(--brown2);
  font-size: x-large;
  padding-left: 3%;
}

.cjoc {
  display: flex;
  justify-content: center;
}


.intagramContainer {
  display: flex;
  padding: 0px 10%;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5rem;

}
@media (max-width: 680px) {
  .intagramContainer{
    padding: 0px;
  }
  .intagramContainer{
    padding-bottom: 0px;

  }
  .intagramContainer iframe{
    width: 100%;
    height: 450px !important;
  }
}
@media (max-width: 450px){

  .intagramContainer iframe{
    height: 400px !important;
  }
}


/* heres why section */

.containerHeresWhy {
  font-size: 1.3rem;
  text-align: justify;
  width: auto;

  padding: 5% 10% 10% 10%;
  display: flex;
  flex-direction: column;
}

.containerHeresWhy h2 {

  color: #4E5D0F;
  font-size: 1.3rem;
  margin: 1.5rem 3px;
}

.containerHeresWhy section p {
  font-size: var(--fontGeneral);
}

.containerHeresWhy ul {
  font-size: var(--fontGeneral);
  margin-top: 1.5rem;
  display: block;
  margin-left: 7%;
  width: 93%;
  height: auto;
  list-style: decimal;
  text-align: justify;
}

.headerWhy {
  margin-bottom: 30px;
  font-size: clamp(10px, 1.5vw + .9rem, 80px);
  border-radius: 25px;
  color: #F8EDB1;
  align-content: center;
  height: 7rem;
  width: 100%;
  background-color: #4E5D0F;
  text-align: center;
}

.scrolling-text-container {
  white-space: nowrap;
  /* Evita que el texto se divida en varias líneas */
  overflow: hidden;
  /* Oculta el texto que se desborda */
  width: 100%;

  background-color: var(--brown6);
  /* Color de fondo opcional */
  padding: 20px 0;
  /* Espaciado vertical opcional */


}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  /* Inicia el texto fuera del contenedor */
  animation: scroll-text 5s linear infinite;
  /* Animación más rápida */
  font-size: var(--fontTittle);
  /* Tamaño del texto */
  color: var(--brown7);
  /* Color del texto */
  font-weight: 600;
}

@keyframes scroll-text {
  0% {
    transform: translateX(0%);
    /* Comienza justo fuera del contenedor */
  }

  100% {
    transform: translateX(-100%);
    /* Termina fuera del contenedor a la izquierda */
  }
}