
/* ----section 1------------- */
.section1 {
  background-color: var(--four-color);
  color: var(--text2-color);
  min-height: 45px;
  display: flex;
  flex-wrap: wrap;
  /* hijos se acomodan en otra línea */
  justify-content: center;
  align-items: center;
  padding: 8px 60px;
}

.sec1__container {
  width: 25%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0;
}

.sec1__container--wide {
  width: 35%;
  margin: 0 auto;
}

.sec1__datoContainer {
  height: auto;
  margin: 0px 29px ;
  margin: 0px 0px ;
}

.sec1__parrafo--wide,
.sec1__datoContainer--wide {
  width: 98%;
  padding: 0;
  margin: 0;
}

.sec1__parrafo {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 auto;
  text-align: center;
  min-width: 100px;
}

.sec1__parrafo--price {
  width: 150px;
}

@media (max-width: 890px) {
  .section1 {
    padding: 8px 10px;
  }

  .sec1__container {
    width: 40%;
    width: auto;
    /* los hijos ocupan todo el ancho y se apilan */
    padding: 0px 0;
    gap: 20%;
  }

  .sec1__datoContainer--wide {
    width: 100%;
    width: auto;
    padding: 0;
    margin: 0;
  }

  .sec1__parrafo {
    min-width: 80px;
  }
}

@media (max-width: 570px) {
  .section1 {
    padding: 8px 40px;
  }

  .sec1__container {
    width: 100%;
    /* los hijos ocupan todo el ancho y se apilan */
    padding: 5px 0;
  }

  .sec1__parrafo {
    min-width: 80px;
  }
}


/* ----section 2------------- */
.section2 {
  background-color: var(--primary-color);
}

.sec2__container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  gap: 8px;
  flex-wrap: nowrap;
  flex-wrap: wrap;
  flex-wrap: wrap-reverse;
}

.card__contenImg {
  width: 380px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-bottom: 1px solid #ffffff;
  cursor: pointer;
  border-radius: 10px;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.sec2__container--hidden {
  position: fixed;
  top: 1px;
  width: 100%;
  height: 100vh;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.9);
  margin: 0px;
  z-index: 2;
  display: none;
}

.sec2__Xcontainer {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 3;
}

.sec2__X {
  font-size: 2.5rem;
  color: #ffffff;
  text-align: center;
  line-height: 50px;
  margin: 10px 13px;
}



@media (max-width: 890px) {
  
  .sec2__container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 11px;
    gap: 11px;
    flex-wrap: wrap;
  }
  
  .card__contenImg {
    width: 300px;
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    border-bottom: 1px solid #ffffff;
    cursor: pointer;
  }

  .sec2__container--hidden {
    top: 20px;
    height: 100vh;
    display: none;
  }

}

@media (max-width: 703px) {
  
  .sec2__container {   
    width: 100%;
    padding: 5px 0px; 
  }
  
  .card__contenImg {
    width: 430px;
    border-radius: 0px;
  }

  .card__img {
    border-radius: 0px;
  }  

  .sec2__container--hidden {
    top: 20px;
    height: 100vh;
    display: none;
  }
}

/* ------seccion 3------------------ */
.section3 {
  background-color: #8993b3;
  background-color: var(--second-color);
}

.sec3__container {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 15px;
  gap: 11px;
  flex-wrap: wrap;
}

.sec3__containerTitle {
  width: 100%;
  text-align: center;
  padding: 5px 5px;
}

.sec3__linea {
  width: 95%;
  height: 1px;
  background-color: var(--five-color);
  margin : 4px auto 1px auto;
}

.sec3__article {
  width: 380px;
  width: 100%;
  min-height: 80px;
  background-color: var(--primary-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed);
  padding: 8px 5px;
  display: flex;
  flex-direction: column;
}

.sec3__cardContainer {
  width: 97%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.sec3__cardContainer--wide {
  display: block;  
}

.sec3__card {
  width: 50%;
  height: 100%;
}

.sec3__card--wide {
  width: 100%;
  padding: 6px 0px;
}

.sec3__datoConteiner {
  min-height: 25px;
  display: flex;
  align-items: center;
}

.sec3__dato {
  font-weight: 500;
  color: var(--text3-color);
  margin: 0px 6px 0px 10px;  
  text-align: left;  
  font-size: 12px;
  text-transform: uppercase;
  padding: 0px 0px;
}

.sec3__datoBd {
  color: var(--text-color);
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 570px) {
  .sec3__container {
    width: 100%;
    /* los hijos ocupan todo el ancho y se apilan */
    padding: 8px 0;
  }

  .sec3__article {
    margin: 5px 10px;
  }

  .sec3__cardContainer {
    width: 97%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;    
    flex-direction: row;
  }

  .sec3__card {
    width: 100%;
    height: 100%;
  }  
}


/* ---------section 4 aside formulario------------- */
.section4 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--four-color);
  color: var(--text2-color);
  padding: 20px;
}

.sec4__container {
  width: 350px;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.sec4__container  h4 {
  padding: 12px;
}

.sec4__formContainer{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-direction: row;
  gap: 15px;
  margin: 0 auto;
  padding: 0 0%;
}

.sec4__formContainer, .sec4__input, .sec4__textarea {
    width: 100%;
    min-width: 100%;
    max-width: 330px;
}

.sec4__input, .sec4__textarea {
  margin: 5px 0px; 
  padding-left: 5px;
  border-radius: 4px;
  border: none;
  outline: 0px;   
}

.sec4__input {
  height: 30px;
  justify-content: center;
  font-weight: normal;   
  text-align: start;   
}

.sec4__textarea{    
  height: 8em;
  min-height: 8em;
  font-size: small; 
  text-align: start;   
}

.sec4__buttonContainer {
  width: 100%;
  display: flex;
  justify-content: right;
  align-items: center;
  padding: 5px 0px;
}

.sec4__button {
  width:100px;
  font-size: small;  
  height: 30px;
  background: #ffffff;
  color: #000000;   
  text-decoration: none;  
  border: 0px; 
  border-radius: 5px; 
  cursor: pointer; 
}

@media (max-width: 890px) {
  .sec4__formContainer, .sec4__input, .sec4__textarea {
    width: 100%;
  }
}

@media (max-width: 570px) {
  .sec4__formContainer, .sec4__input, .sec4__textarea {
    width: 100%;
  }
}

/* ------------------------------ */
.section5 {
  border: none;
  background-color: var(--four-color);
  color: var(--four-color);
}

