@import url("initial.css");


/* ANIMATION */
.container-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.container-background {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: fadeInBackground 2s ease-in forwards;
  background-image: url("../img/main-logo-background.png");
  opacity: 0;
}

.container-silhouette {
  width: 60%;
  height: 100%;
  z-index: 100;
  margin-top: 70px;
  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");
}

@keyframes fadeInBackground {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*SECTION 2*/
.section2-title {
  color: #fff;
  opacity: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  margin-top: 10px;
  font-family: playfair;
  font-size: 2.5rem;
  text-align: center;
  background-color: rgb(255, 255, 255);
}

.section2-title-animation {
  opacity: 1;
  animation-name: section2-title;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes section2-title {
  100% {
    background-color: var(--secundary-color);
    color: rgb(255, 255, 255);
  }
}

.section2-first-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  flex-direction: column;
}

.section2-first-container .phrase{
  font-family: NorthwellClean;
  font-size: 2.9rem;
  text-align: center;
  line-height: 3.3rem;
}

.section2-first-container-position {
  display: flex;
  flex-direction: row;
}

.section2-first-img-container {

  display: flex;
}

.section2-first-img {
  margin-top: 20px;
  height: 410px;
  width: 300px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/clicking-front.jpg");
}

.section2-first-text {
  font-family: playfair;
  font-size: 18px;
  max-width: 450px;
  margin: 20px;
  text-align: center;
}

.icon-star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.signature {
  text-align: center;
}

.signature p {
  margin-bottom: 0;
}

/*SECOND CONTAINER*/
.section2-second-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 20px;
}

.section2-second-container-position {
  display: flex;
  flex-direction: row;
}

.section2-second-text {
  display: flex;
  flex-direction: column;
}

.section2-second-text .title {
  flex-grow: 4;
  display: flex;
}

.section2-second-text .title p {
  font-family: playfair;
  max-width: 450px;
  padding: 15px;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 20px 20px 0;
}

.section2-second-text .signature {
  display: flex;
  flex-grow: 1;
  align-items: end;
}

.section2-second-text .signature p {
  font-family: playfair;
  max-width: 450px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.section2-second-text p {
  text-align: center;
}

.section2-second-img-container {
  display: block;
}
.section2-second-img {
  height: 410px;
  width: 307px;
  margin-top: 20px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/backs-taking-product.jpeg");
}
.section2-second-signature-text {
  font-family: playfair;
  width: 100%;
  max-width: 740px;
}

/*SECTION 3*/
.section3-title {
  color: #fff;
  opacity: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  margin-top: 10px;
  font-family: playfair;
  font-size: 2.5rem;
  text-align: center;
  background-color: rgb(255, 255, 255);
}

.section3-title-animation {
  opacity: 1;
  animation-name: section3-title;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes section3-title {
  100% {
    background-color: var(--secundary-color);
    color: rgb(255, 255, 255);
  }
}

.section3-container {
  display: block;
  padding-bottom: 20px;
}

.section3-text {
  font-family: playfair;
  padding: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 20px 20px 0;
  text-align: center;
}

.section3-social-network-container {
  display: flex;
  justify-content: center;
}

.section3-first-container {
  padding: 10px;
  position: relative;
  width: 100%;
}

.section3-second-container {
  padding: 10px;
  position: relative;
  width: 100%;
}

.section3-third-container {
  padding: 10px;
  position: relative;
  width: 100%;
}

/*SECTION 4*/

.section4-title {
  color: #fff;
  opacity: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  margin-top: 10px;
  font-family: playfair;
  font-size: 2.5rem;
  text-align: center;
  background-color: rgb(255, 255, 255);
}

.section4-title-animation {
  opacity: 1;
  animation-name: section4-title;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes section4-title {
  100% {
    background-color: var(--secundary-color);
    color: rgb(255, 255, 255);
  }
}

/* Estilo del enlace */
a.link {
  text-decoration: none;
  cursor: pointer;
}

/* Estilo de la caja */
.section-2-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.section-2-box img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  object-fit: contain;
}

/* Estilo del overlay oscuro */
.section-2-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.section-2-overlay div {
  padding-left: 10px;
  font-family: playfair;
  font-size: 20px;
}

/* Efecto hover */
.section-2-box:hover .img {
  transform: scale(1.1);
}

@media (max-width: 1030px) {
  .container-silhouette {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 1150px) {
  .section2-second-img-container {
    display: none;
  }
}

@media (max-width: 850px) {
  .section2-first-container-position {
    flex-direction: column;
    align-items: center;
  }
  .section2-second-container-position {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .container-silhouette {
    width: 100%;
    height: 85%;
  }
  .section2-first-container-position {
    flex-direction: column;
    align-items: center;
  }
  .section2-second-container-position {
    flex-direction: column;
    align-items: center;
  }
  .section3-social-network-container {
    flex-direction: column;
    align-items: center;
  }

  .section3-first-container {
    order: 2;
    padding: 10px;
    position: relative;
    width: 100%;
  }
  
  .section3-second-container {
    order: 1;
    padding: 10px;
    position: relative;
    width: 100%;
  }
  
  .section3-third-container {
    order: 3;
    padding: 10px;
    position: relative;
    width: 100%;
  }
}
