@import url("../../css/initial.css");

.color-1{
  background-color: #997969;
}

.color-2 {
  background-color: #BF826B;
}

.color-3 {
  background-color: #D2B398;
}

.color-4 {
  background-color: #F6F0E6;
}

section {
  display: flex;
}

.article1 {
  height: 100vh;
  background-color: #d2b398;
  width: 100%;
}

/* Estilos para los divs hijos */
.article1 .container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  overflow: hidden;
}

.article1 .container .center-div {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 30px;
  animation: slideIn 1s ease-out;
}

@keyframes slideIn {
  from {
      transform: translateX(100vw);
  }
  to {
      transform: translateX(0);
  }
}

.article1 .container .center-div h1 {
  font-family: playfair;
  font-size: 34px;
}

.article1 .container .center-div h2 {
  font-family: playfair;
  font-size: 17px;
}

.article1 .container .center-div .info-text {
  font-size: 37px;
  font-family: NorthwellClean;
  padding: 40px 0;
  width: 300px;
}

.article1 .container .center-div p {
  font-family: playfair;
  font-size: 15px;
}

.article1 .container .center-div .icon-star {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.article1 .container .center-div .box-lines {
  width: 150px;
  height: 150px;
  bottom: 0;
  left: 0;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: white 1px solid;
  border-bottom: white 1px solid;
}

/* Article 2*/

.article2 {
  display: block;
  margin-top: 77px;
  width: 100%;
}

.article2 .container {
  max-width: 860px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: content-box;
  padding: 0;
}

.article2 .container .card-explain {
  display: flex;
  flex-direction: row;
  padding: 5px;
}

.article2 .container .card-explain .box-color {
  min-width: 85px;
  max-width: 85px;
  margin-right: 20px;
}

.article2 .container .card-explain .text-container {
  color: black;
}

.article2 .container .card-explain .text-container h2 {
  font-family: NorthwellClean;
  font-size: 40px;
}

.article2 .container .card-explain .text-container h3 {
  font-family: playfair;
  font-size: 18px;
  font-weight: 600;
}

.article2 .container .card-explain .text-container p {
  font-family: playfair;
  font-size: 17px;
  max-width: 450px;
  margin-right: 10px;
}

.img-right {
  opacity: 0;
  display: flex;
  top: 15%;
  right: 40px;
  position: absolute;
  width: 50%;
  height: 70%;
  z-index: 100;
  /* margin-top: 100px; */
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../../img/body-repair.svg);
}

.show-img-animation {
  animation-name: show-img;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes show-img {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* SCRIPT SHOW OR HIDE */
.show {
  display: block;
}


.hide {
  display: none;
}

@media (max-width: 400px) {
  .article1 .container .center-div {
    padding: 0;
  }
}

@media (max-width: 500px) {
  .article2 {
    height: auto;
  }
}

@media (max-width: 500px) {
  .article2 {
    height: auto;
  }
}

@media (max-width: 1080px) {
  section {
    flex-direction: column;
  }
  .article2 {
    margin: 30px 0;
  }
}

@media (max-height: 400px) {
  .article1 {
    height: 150vh;
  }
}
