* {
  padding: 0;
  margin: 0;
}

html,
body {
  overflow-x: hidden;
}

body {
  background: #FFF9E0;
  font-family: 'Montserrat', sans-serif;
}

.Baskervville {
  font-family: 'Baskervville', serif;
  font-style: italic;
}

.color-title {
  color: #652607;
}

.box__info {
  padding-bottom: 50px;
}

.txt-center {
  text-align: center;
}

.txt-r {
  text-align: right;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.s-center {
  display: flex;
  justify-content: center;
}

.f-column {
  display: flex;
  flex-direction: column;
}

.box__card {
  width: 100%;
}

.italic {
  font-style: italic;
}

.border__bottom {
  border-bottom: #652607 solid 1px;
}

.border__top {
  border-top: solid 1px #652607;
}

.border {
  border: solid 1px red;
}

.c-df {
  color: #FFF9E0;
}

.c-wt {
  color: #fff;
}

p {
  margin-top: 20px;
  font-size: clamp(14px, 4vw, 22px);
  line-height: 25px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

h2 {
  font-weight: 300;
  font-size: clamp(1.5rem, 5vw, 2.3rem);
}

h3 {
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 1.7rem);
}

h4 {
  margin-top: 20px;
  font-weight: 300;
  font-size: clamp(1.5rem, 5vw, 1.7rem);
}

.container__section {
  max-width: 85%;
  margin: 0 auto;
  display: flex;
}

.d-flex {
  display: flex;
}

.box__info {
  margin-top: 50px;

}

#mind {
  background: #652607;
  background-image: url(/assets/img/mind.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  height: 70vh;
}

#hero {
  background: #652607;
  background-image: url(/assets/img/heroimg1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  height: 100vh;
}

#line {
  background-image: url(/assets/img/backgroud.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: auto;
}

#mind .container__section {
  display: flex;
  align-items: center;
  justify-content: right;
}

#mind {
  border-bottom-right-radius: 90px;
  border-bottom-left-radius: 90px;
}

#mind .box__info {
  width: 50%;
}

#hero .box__info {
    margin-top: 65px;
  left: 0;
  width: 50%;
}

#mind .container__section,
#hero .container__section {
  height: 100%;
}

.button {
  padding: 15px;
  background: #FFC081;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  margin-top: 30px;
  cursor: pointer;
  transition: all ease-in-out .2s;

}

#button-border:hover{
  background: #e6ac73;
  color: #652607;
  border: #e6ac73 2px solid;
} 

.button:hover {
  background: #e6ac73;
}

#button-border {
  padding: 15px;
  background: none;
  border: solid 2px #FFC081;
  color: #FFC081;
}

.button__box {
  display: flex;
  gap: 20px;
}

#faq .box__info {
  gap: 30px;
  width: 40%;
}

.faq__box {
  padding: 15px;
}

footer .box__info {
  width: 100%;
  padding-bottom: 0;
}

.footer__bottom {
  gap: 20px;
  margin-top: 50px;
}

footer h5 {
  margin-top: 20px;
  margin-bottom: 20px;
}

#instituto p {
  width: 60%;
  text-align: center;
  color: #fff;
}

#instituto {
  padding-bottom: 50px;
  border-radius: 90px;
  background: #652607;
}

#espace .box__info img {
  margin-top: 20px;
}

#espace .box__info {
  padding-bottom: 50px;
}

#espace p {
  width: 55%;
  text-align: center;
  color: #652607;
}

#line .box__info {
  gap: 50px;
}

.card {
  color: #FFF9E0;
  width: 80%;
  padding: 50px 40px;
  background: #652607;
}

.card h5 {
  letter-spacing: 8px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.card h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: #FFF9E0;
}

#btn-imer button,
#btn-comuni button {
  width: 300px;
}

.swiper {
  width: 75%;
  height: 100%;
  position: relative;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  height: auto;
  border-radius: 8px;
}

.swiper-pagination {
  margin-top: 20px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  width: 30px;
  height: 30px;
  font-size: 16px;
  background-color: rgba(161, 70, 10, 0.295);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
}

.swiper-pagination-bullet {
  background: #888;
  opacity: 1;
}

#depoimentos h1 {
  margin-bottom: 50px;
}

#depoimentos .container__section {
  padding: 50px 0;
}

.swiper-pagination-bullet-active {
  background: #652607;
}

.swiper-slide img {
  width: 100%;
}

@media(max-width: 1240px) {
  .container__section {
    flex-direction: column;
    max-width: 90%;
  }

  .swiper-slide {
    height: 650px;
  }

  #hero {
    background: #652607;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.548)) center/cover, url("/assets/img/heroimg1.png"); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    height: auto;
    color: #fff;
  }

  #mind {
    height: auto;
    background-image: none;
  }

  #instituto p,
  #faq .box__info {
    width: 100%;
  }

  .box__card img {
    display: none;
  }

  #card-none-1,
  #card-none-2 {
    display: none;
  }

  .box__card p br {
    display: none;
  }

  .card .box__card {
    text-align: center;
  }

  .card {
    width: 90%;
    padding: 50px 20px;
  }

  #btn-imer button,
  #btn-comuni button {
    width: 100%;
  }

  #espace p {
    width: 100%;
  }

  .swiper {
    width: 100%;
  }

  #instituto {
    border-radius: 25px;
  }

  .button {
    width: 100%;
    font-size: medium;
  }

  #hero .box__info .button__box {
    flex-direction: column;
    gap: 0;
  }


  #mind .box__info {
    margin-top: 0;
  }

  #mind {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }

  #mind .box__info,
  #hero .box__info {
    width: 100%;
  }


  #depoimentos h1 br {
    display: none;
  }
}