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

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

.color-2 {
  background-color: #8E9E7F;
}

section {
  display: flex;
}

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

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

.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 {
  margin-top: 60px;
  font-family: playfair;
  font-size: 34px;
}

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

.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;
}

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

.article1 .container .img-right {
  width: 60%;
  height: 100%;
  z-index: 100;
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/main-logo-silhouette.png");
}

/* Article 2*/

.article2 {
  position: relative;
  display: block;
  margin-top: 40px;
  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 p {
  font-family: playfair;
  font-size: 17px;
  max-width: 450px;
  margin-right: 10px;
}

.img-right {
  opacity: 0;
  top: 25%;
  right: 0;
  position: absolute;
  width: 300px;
  height: 400px;
  z-index: 100;
  /* margin-top: 100px; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../../img/body-back-medicine.png);
  
}

.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: 0.20;
  }
}

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

@media (max-width: 380px) {
  .article1 .container .center-div h2 {
    font-family: playfair;
    font-size: 17px;
    padding: 0 20px;
  }
}

@media (max-width: 345px) {
  .article1 .container .center-div h2 {
    font-family: playfair;
    font-size: 17px;
    padding: 0 10px;
  }
}

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

@media (max-width: 1080px) {
  section {
    flex-direction: column;
  }
  .article2 {
    display: block;
    margin: 40px 0;
    width: 100%;
  }
  .img-right {
    top: -15%;
    width: 300px;
    height: 400px;
  }
}

@media (max-width: 500px) {
  .img-right {
    top: 5%;
    width: 70%;
    height: 90%;
  }
}


@media (max-height: 400px) {
  .article1 {
    height: 150vh;
  }
  .img-right {
    top: -10%;
  }
}

