:root {
  --lightgrey: #F4F4F4;
}

/* header */
#albufeira {
  background: url('/img/albufeira-m.png');
  background-position: center 15% !important;
}
.persona {
  margin-left: 40px;
}
.header-img:before {
  right: -10%;
}
.header-txt img {
  margin-bottom: 90px;
}
.header-txt h1 {
  font-size: 70px;
}
.header-txt h3 {
  font-size: 25px;
  font-weight: 700;
  margin: 20px 0;
  font-style: italic;
}
.header-txt h6 {
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
}
.header-txt hr {
  background: var(--white);
  opacity: 1;
  width: 100%;
  height: 2px;
  margin: 35px 0 20px 0;
}
/* form */
.select-box, .time-toggle, .dropdown-menu.show {
  width: 100%;
}
#contactform h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--blue);
  text-wrap: balance;
  margin: -10px auto 30px auto;
  line-height: 1.1;
}
#contactform h3 span {
  font-size: 25px;
  font-weight: 700;
  font-style: italic;
  color: var(--lightblue);
}
.message-box h3 {
  margin-bottom: 20px;
}
.message-box p {
  margin: 10px auto 0 auto;
}
.message-box img {
  margin-top: 40px;
}
/* section2 */
.section2 {
  padding: 10px 0 80px 0;
}
.sec2-txt h3 {
  font-family: "Playfair Display";
  font-size: 35px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue);
}
.sec2-txt hr {
  opacity: 1;
  border: none;
  background: var(--lightblue);
  width: 160%;
  height: 1px;
  margin: 20px 0;
  margin-left: -80%;
}
.sec2-txt p {
  color: var(--blue);
  font-size: 23px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}
.sec2-txt button {
  width: 190px;
  height: 40px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  border: none;
  background: var(--lightblue);
  margin-top: 40px;
  transition: all 0.4s ease;
}
.sec2-txt button:hover {
  background: var(--blue);
  color: var(--white);
}
.offer-boxes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 0;
}
.box {
  background: var(--lightgrey);
  width: 48%;
  aspect-ratio: 14/9;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  text-wrap: balance;
  transition: all 0.4s ease;
}
.box:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px 0 rgba(1, 135, 232, 0.20);
}
.box img {
  height: 65px;
  margin-bottom: 20px;
}
.box p {
  color: var(--blue);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}
/* section 3 */
.section3 {
  text-align: center;
  background: var(--lightgrey);
  padding: 50px 0;
}
.sec3-txt h3 {
  font-family: "Playfair Display";
  font-size: 35px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue);
}
.sec3-txt hr {
  opacity: 1;
  border: none;
  background: var(--lightblue);
  width: 580px;
  height: 1px;
  margin: 20px auto;
}
.vat-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
}
.vant {
  width: 24%;
  text-wrap: balance;
}
.icon-box {
  width: 115px;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 10px;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px 0 rgba(1, 135, 232, 0.20);
}
.icon-box img {
  height: 60px;
}
.vant p {
  font-size: 17px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1.1;
  margin: 0;
}
.vant p span {
  font-weight: 700;
}
/* section 3 */
.section4 {
  padding: 80px 0 60px 0;
}
.sec4-video video {
  width: 100%;
}
.sec4-txt {
  text-align: right;
  text-wrap: balance;
}
.sec4-txt h3 {
  font-family: "Playfair Display";
  font-size: 35px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue);
}
.sec4-txt hr {
  opacity: 1;
  border: none;
  background: var(--lightblue);
  width: 200%;
  height: 1px;
  margin: 20px 0;
  margin-left: -10%;
}
.sec4-txt p {
  color: var(--blue);
  font-size: 23px;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}
.sec4-txt button {
  width: 250px;
  height: 40px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  border: none;
  background: var(--lightblue);
  margin-top: 40px;
  transition: all 0.4s ease;
}
.sec4-txt button:hover {
  background: var(--blue);
  color: var(--white);
}
/* Media Queries */
@media only screen and (max-width: 1400px) {
  .sec2-txt p, .sec4-txt p {
    font-size: 18px;
  }
  .box p {
    font-size: 15px;
  }
}
@media only screen and (max-width: 1200px) {
  .sec2-txt h3, .sec3-txt h3, .sec4-txt h3 {
    font-size: 28px;
  }
  .box {
    aspect-ratio: 11/9;
    justify-content: flex-start;
  }
  .time-toggle {
    padding: 0 20px;
  }
}
@media only screen and (max-width: 1080px) {
  .vant p {
    font-size: 15px;
  }
}
@media only screen and (max-width: 991px) {
  .header-txt img {
    margin-bottom: 45px;
  }
  .header-txt h1 {
    font-size: 60px;
  }
  .header-txt h3 {
    font-size: 28px;
  }
  .header-txt h6 {
    font-size: 18px;
  }
  .sec2-txt h3, .sec3-txt h3, .sec4-txt h3 {
    font-size: 24px;
  }
  .sec3-txt hr {
    width: 90%;
  }
  .sec2-txt p, .sec4-txt p {
    font-size: 16px;
  }
  .box {
    aspect-ratio: unset;
    padding: 15px 10px;
    height: 185px;
    justify-content: center;
  }
  .box p {
    font-size: 14px;
  }
}
@media only screen and (max-width: 768px) {
  .header {
    text-align: center;
    padding: 40px 0 100px 0;
  }
  .header-txt h3 {
    max-width: 100%;
  }
  .header-txt hr {
    width: 300px;
    margin: 30px auto 20px auto;
  }
  .persona {
    margin-left: 0;
  }
  #albufeira {
    background: url('/img/albufeira-m.png');
    background-position: center 15% !important;
  }
  .section2 {
    text-align: center;
  }
  .offer-boxes {
    margin-top: 40px;
  }
  .sec2-txt h3, .sec3-txt h3, .sec4-txt h3 {
    font-size: 32px;
  }
  .sec2-txt hr, .sec4-txt hr {
    width: 90%;
    margin: 20px auto;
  }
  .vat-box {
    gap: 40px 0;
    flex-wrap: wrap;
  }
  .vant {
    width: 49%;
  }
  .vant p {
    font-size: 16px;
  }
  .section4, .sec4-txt {
    text-align: center;
  }
  .sec4-video video {
    margin-bottom: 40px;
  }
}
@media only screen and (max-width: 475px) {
  .sec2-txt h3, .sec3-txt h3, .sec4-txt h3 {
    font-size: 26px;
    text-wrap: balance;
  }
  .box img, .icon-box img {
    height: 55px;
  }
  .vant p {
    font-size: 14px;
  }
  #contactform h3 span {
    font-size: 20px;
  }
  #contactform h3 {
    font-size: 18px;
  }
}
@media only screen and (max-width: 375px) {
  .box {
    width: 90%;
    height: 100px;
    margin: 0 auto;
    flex-direction: row;
    text-align: left;
    padding: 20px;
  }
  .box img {
    height: 45px;
    margin: 0 15px 0 0;
  }
  .icon-box {
    width: 90px;
  }
  .icon-box img {
    height: 45px;
  }
  #contactform h3 span {
    font-size: 18px;
  }
  #contactform h3 {
    font-size: 17px;
  }
  .header-txt h3 {
    font-size: 20px;
  }
}
@media only screen and (max-width: 345px) {
  .header-txt h1 {
    font-size: 50px;
  }
  .sec2-txt h3, .sec3-txt h3, .sec4-txt h3 {
    font-size: 23px;
  }
  #contactform {
    padding: 35px 25px;
  }
  #contactform h3 span {
    font-size: 16px;
  }
  #contactform h3 {
    font-size: 16px;
  }
}