@font-face {
  font-family: "Montserrat_Medium";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/TLS/Fonts/Montserrat-VariableFont_wght.ttf")
    format("truetype");
}

@font-face {
  font-family: "Tinos_Bold";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/TLS/Fonts/Tinos-Bold.ttf")
    format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: Arial, sans-serif;
}

body {
  font-family: "Montserrat_Medium";
  color: #000000;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1470px;
  margin: 0 auto;
}

h1 {
  font-family: "Tinos_Bold";
  font-size: 50px;
}

h2 {
  font-family: "Tinos_Bold";
  font-size: 39px;
}

p {
  font-family: "Montserrat_Medium";
  font-size: 20px;
}

a {
  color: #000;
}

a:hover {
  color: #004d71;
}

/* Header Section */
header {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

header.scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-bar {
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo > a > img,
.logo {
  height: 47px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 68px;
  align-items: center;
}

nav a {
  text-decoration: none;
  font-size: 16px;
  color: #004d71;
}

nav a:hover {
  text-decoration: underline;
}

.btn-nav {
  margin-left: -11px;
  padding: 13px 40px;
  background-color: #004d71;
  font-size: 16px;
  color: #ffffff;
  text-transform: uppercase;
}

nav .btn-nav:hover {
  background-color: #000000;
  color: #ffffff;
  text-decoration: underline;
}

#burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

#burger div {
  width: 27px;
  height: 5px;
  background-color: #004d71;
  margin: 2px 0;
}

#burger:hover div {
  background-color: #000000;
}

/* Log Section */
.log-section {
  padding: 50px 0 50px 0;
  background-image: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/TLS/lp/media/log_box_image.png");
  background-size: cover;
}

.log-section-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1390px;
  max-width: 90%;
  padding: 30px 95px 30px 62px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid #004d71;
}

.log-section-content {
  flex: 1;
  max-width: 621px;
}

.log-section-content h1 {
  font-size: 53px;
  margin-bottom: 38px;
  margin-top: 26px;
  color: #000;
  line-height: 1.06;
}

.log-section-content p {
  font-size: 20px;
  margin-bottom: 28px;
}

.separator {
  width: 2px;
  height: 409px;
  background-color: #574840;
}

.log-box {
  width: 413px;
  max-width: 100%;
  background-color: transparent;
  text-align: start;
}

.log-box h2 {
  font-size: 39px;
  margin-bottom: 38px;
}

.log-box input {
  height: 52px;
  width: 100%;
  border: 1px solid lightgrey;
  border-radius: 0px;
  margin-bottom: 21px;
  padding: 22px;
  font-size: 16px;
}

.log-box .btn-login {
  display: block;
  width: 160px;
  height: 45px;
  margin-top: 9px;
  margin-bottom: 27px;
  padding: 13px 0;
  background-color: #004d71;
  font-size: 16px;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.log-box .btn-login:hover {
  background-color: #000000;
  color: #ffffff;
  text-decoration: underline;
}

div.password-field-container div.password-eye {
  right: -7px !important;
  bottom: 33px !important;
}

#new_user_session
  > div.password-field-container
  > div.password-eye.hide-icon.hidden {
  display: none;
}

.forgot-pass {
  color: #004d71;
}

.forgot-pass:hover {
  color: #000000;
}

#new_user_session > div.alert.alert-danger.errorExplanation > p {
  padding: 5px;
  font-size: 15px;
  color: #ff4545;
  font-weight: bold;
}

/* About Section */
.about {
  padding: 94px 0 159px 0;
  background-color: #f9f6e9;
}

.about-container {
  width: 1030px;
  max-width: 90%;
  margin: auto;
  text-align: center;
}

.about h2 {
  font-family: "Tinos_Bold";
  font-size: 50px;
  margin-bottom: 42px;
}

.about p {
  font-size: 20px;
}

#about > div > p {
  margin-bottom: 25px;
}

#about > div > p:last-child {
  margin-bottom: 0;
}

/* Rewards Section */
.rewards {
  padding: 113px 0 133px 0;
  background-color: #ffffff;
}

.rewards > .container {
  display: flex;
  max-width: 1373px;
  flex-wrap: wrap;
}

.rewards > div > img {
  width: 100%;
  max-width: 677px;
}

.rewards > div > .content {
  flex: 1;
  padding: 126px 56px 148px 73px;
  background-color: #ffd5ca;
}

.rewards h2 {
  font-family: "Tinos_Bold";
  font-size: 50px;
  margin-bottom: 40px;
}

.rewards p {
  max-width: 570px;
  font-size: 20px;
  margin-bottom: 25px;
}

/* FAQ Section */
.faq {
  padding-top: 100px;
  padding-bottom: 143px;
  background-color: #f9f6e9;
}

.faq-container {
  width: 1370px;
  max-width: 90%;
  margin: 0 auto;
}

.faq-container > h2 {
  margin-bottom: 90px;
}

.faq-box {
  margin: 0 auto;
  padding: 0 77px;
  background-color: #fff;
  border: 1px solid #004d71;
}

.faq-item {
  border-bottom: 1px solid #787878;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-box > h3 {
  font-family: "Tinos_Bold";
  font-size: 34px;
  margin-top: 38px;
  text-decoration: underline;
}

.faq-question {
  cursor: pointer;
  margin: 56px 0;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  text-decoration: underline;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0px 22px 0px 3px;
  background-color: #ffffff;
  font-size: 20px;
}

#faqs > div > div > div > div.faq-answer > p {
  margin-bottom: 10px;
}

#faqs > div > div > div > div.faq-answer > p:last-child {
  margin-bottom: 0;
}

.faq-answer.open {
  max-height: 400px;
  padding: 0px 22px 50px 3px;
}

.faq-question img {
  height: 25px;
  transition: transform 0.4s ease;
}

.faq-question img.rotate {
  transform: rotate(180deg);
}

/* Contact Section */
.contact-section {
  padding-top: 87px;
  padding-bottom: 95px;
}

.form-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.form-info {
  text-align: center;
}

.form-info h2 {
  font-size: 43px;
  margin-bottom: 48px;
}

.form-info p {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Footer Section */
footer {
  background-color: #fdfaf5;
  color: #000000;
  padding-top: 137px;
  padding-bottom: 107px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #6c6c6c;
}

footer > .container {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.footer-left > p {
  font-size: 14px;
  text-align: start;
  display: none;
}

.footer-right > p {
  font-size: 14px;
  text-align: end;
}

/* Legals Pages */
.header-legals {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.legals-box {
  margin-top: 60px;
  margin-bottom: 80px;
  min-height: 100vh;
}

.legals-box h1 {
  font-size: 45px;
  margin-bottom: 30px;
}

.legals-box h2 {
  font-size: 30px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legals-box p {
  font-size: 16px;
  margin-bottom: 15px;
}

.legals-box ul {
  font-size: 16px;
  margin-bottom: 15px;
  margin-left: 40px;
}

.legals-box > table {
  width: 100%;
}

.legals-box > table > tbody > tr {
  text-align: center;
}

.legals-box > table > tbody > tr > th {
  padding: 20px;
}

.legals-box > table > tbody > tr > td {
  padding: 5px 10px;
}

/* Reg Page */
.container-reg > p {
  margin-bottom: 20px;
}

#new_user > .form-group {
  margin-bottom: 20px;
}

#user_title {
  cursor: pointer;
}

#user_title,
#user_fname,
#user_sname,
#email,
#passwordNew {
  width: 50%;
  padding: 10px;
  font-family: "Montserrat_Medium";
  font-size: 16px;
  border: 1px solid #b3b3b3;
  height: 50px;
}

#registration_submit {
  width: 160px;
  height: 45px;
  margin-top: 9px;
  margin-bottom: 27px;
  padding: 13px 0;
  background-color: #004d71;
  font-size: 16px;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

#registration_submit:hover {
  background-color: #000000;
  color: #ffffff;
  text-decoration: underline;
}

.home-reg-btn {
  padding: 12px 0;
  background-color: transparent;
  font-size: 16px;
  color: #004d71;
  text-transform: uppercase;
  border: 1px solid #004d71;
  text-decoration: none;
  margin-bottom: 20px;
  display: block;
  width: 120px;
  text-align: center;
}

.home-reg-btn:hover {
  background-color: #000000;
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 1499px) {
  /* Mobile Header Section */
  .logo > a > img,
  .logo {
    height: 35px;
  }

  nav ul {
    gap: 20px;
  }

  .btn-nav {
    margin-left: 0px;
  }

  /* Mobile Log Section */
  .log-section-container {
    padding: 5%;
    gap: 40px;
  }

  .log-box {
    width: 370px;
  }

  /* Mobile Rewards Section */
  .rewards > .container {
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
  }

  .rewards > div > img,
  .rewards > div > .content {
    width: 700px;
    max-width: 90%;
  }

  .rewards > div > .content {
    padding: 5%;
  }
}

@media (max-width: 992px) {
  /* Mobile General */
  h1 {
    font-family: "Tinos_Bold";
    font-size: 40px;
  }

  h2 {
    font-family: "Tinos_Bold";
    font-size: 39px;
  }

  p {
    font-family: "Montserrat_Medium";
    font-size: 16px;
  }

  /* Hide navigation links for mobile, and show burger menu */
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    text-align: center;
  }

  nav ul.active {
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #burger {
    display: flex;
  }

  /* Mobile Log Section */
  .log-section {
    padding: 5% 0 5% 0;
  }

  .log-section-container {
    justify-content: normal;
    flex-direction: column;
    width: 700px;
    padding: 20px;
    gap: 0;
  }

  .log-section-content {
    text-align: center;
  }

  .log-box {
    width: 500px;
    text-align: center;
  }

  .separator {
    width: 85%;
    height: 2px;
    background-color: #574840;
    margin: 10px auto 21px auto;
  }

  .log-section-content h1 {
    font-size: 40px;
    margin-top: 0;
  }

  .log-section-content h1,
  .log-section-content p,
  .log-box h2,
  .log-box .btn-login {
    margin-bottom: 21px;
  }

  .log-box .btn-login {
    margin: auto;
    margin-top: 0;
    margin-bottom: 21px;
  }

  /* Mobile About Section */
  .about {
    padding: 5% 0 5% 0;
  }

  .about h2 {
    font-size: 39px;
    margin-bottom: 21px;
  }

  .about p {
    font-size: 16px;
  }

  #about > div > p {
    margin-bottom: 10px;
  }

  #about > div > p:last-child {
    margin-bottom: 0;
  }

  /* Mobile Rewards Section */
  .rewards {
    padding: 5% 0 5% 0;
  }

  .rewards h2 {
    font-size: 39px;
    margin-bottom: 21px;
  }

  .rewards p {
    font-size: 16px;
    margin-bottom: 10px;
  }

  /* Mobile faq Section */
  .faq {
    padding: 5% 0 5% 0;
  }

  .faq-box {
    padding: 0 5%;
  }

  .faq-container > h2 {
    margin-bottom: 21px;
  }

  .faq-box > h3 {
    font-family: "Tinos_Bold";
    font-size: 28px;
    margin-top: 5%;
    text-decoration: underline;
  }

  .faq-question {
    margin: 5% 0;
    font-size: 20px;
  }

  .faq-answer {
    font-size: 16px;
    padding: 0px 3px 0px 3px;
  }

  .faq-answer.open {
    padding: 0px 3px 5% 3px;
    font-size: 16px;
  }

  .faq-question img {
    height: 15px;
  }

  /* Mobile Contact Section */
  .contact-section {
    padding: 5% 0 5% 0;
  }

  .form-container {
    flex-direction: column;
    align-items: center;
  }

  .form-info h2 {
    font-size: 39px;
    margin-bottom: 21px;
  }

  .form-info p {
    font-size: 16px;
  }

  .form-info a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Mobile Footer Section */
  footer {
    padding: 5% 0 5% 0;
  }

  .footer-left {
    width: 50%;
  }

  /* Legals Section */
  .legals-box h1 {
    font-size: 40px;
    margin-bottom: 30px;
  }

  /* Reg Page */
  #user_title,
  #user_fname,
  #user_sname,
  #email,
  #passwordNew {
    width: 100%;
  }
}

@media (max-width: 450px) {
  /* Mobile Log Section */

  .log-box .btn-login {
    display: block;
    width: 100%;
  }

  .log-box .btn-sign {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-bottom: 21px;
  }
}
