@font-face {
  font-family: "Poppins_SemiBold";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/branded_ex_plor/lp/fonts/Poppins-SemiBold.ttf")
    format("truetype");
}

@font-face {
  font-family: "Poppins_Regular";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/branded_ex_plor/lp/fonts/Poppins-Regular.ttf")
    format("truetype");
}

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins_Regular";
  min-height: 100vh;
}

a {
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.main-container {
  min-height: 100vh;
  background-color: #ffffff;
}

/* Header */
.logo-bar {
  width: 100%;
  min-height: 17.24vh;
  padding-top: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.logo-bar > .logo {
  height: 69px;
  margin-top: 1px;
}

.logo-bar > a > img {
  height: 69px;
}

.logo-bar.legals {
  background: url(https://clearstream-static.s3.eu-west-1.amazonaws.com/branded_ex_plor/lp/media/main_back.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
  min-height: unset;
  padding-top: 56px;
  padding-bottom: 57px;
}

/* Form container */
.form-container {
  width: 100%;
  min-height: 82.76vh;
  padding: 100px 0 50px 0;
  display: flex;
  justify-content: center;
  gap: 11.6%;
}

.left-box {
  max-width: 543px;
}

.form-container h1 {
  margin-left: -4px;
  margin-bottom: 24px;
  font-family: "Poppins_SemiBold";
  font-size: 46px;
  color: #000000;
  line-height: 1;
  letter-spacing: 1px;
}

.form-container h2 {
  margin-bottom: 29px;
  font-family: "Poppins_SemiBold";
  font-size: 24px;
  color: #000000;
  line-height: 1;
  letter-spacing: 0.1px;
}

.form-container p {
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 21px;
  color: #000000;
  letter-spacing: 0.1px;
}

.btn-sign,
.submit.btn.btn-secondary.btn-login,
#registration_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 228px;
  height: 48px;
  background-color: #000000;
  font-size: 18px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  border: 0;
  border-radius: 3px;
}

.btn-sign {
  margin-top: 31px;
  margin-bottom: 30px;
}

.btn-sign:hover,
.submit.btn.btn-secondary.btn-login:hover,
#registration_submit:hover {
  opacity: 0.8;
}

/* Log box  */
.right-log-box {
  width: 362px;
  max-width: 90%;
  min-height: 360px;
  height: 100%;
  background-color: #efefef;
  margin-top: 7px;
  padding: 42px 41px 33px 40px;
  text-align: start;
}

.right-log-box h2 {
  font-family: "Poppins_SemiBold";
  font-size: 22px;
  color: #000000;
  margin-bottom: 26px;
  letter-spacing: 0.4px;
}

#user_session_password,
#user_session_login {
  width: 100%;
  background-color: #ffffff;
  margin: 0;
  margin-bottom: 26px;
  padding: 15.3px 14px;
  font-size: 14px;
  color: #000000;
  border: 1px solid #000000;
  border-radius: 0;
}

#user_session_password::placeholder,
#user_session_login::placeholder {
  font-family: "Poppins_Regular";
  font-size: 14px;
  color: #000000;
}

#user_session_login:focus,
#user_session_login:focus-visible,
#user_session_password:focus,
#user_session_password:focus-visible {
  outline: none;
}

.submit.btn.btn-secondary.btn-login {
  width: 100%;
  margin-top: -2px;
  padding: 0;
  background-color: #000000;
  letter-spacing: 1.2px;
}

.password-eye.show-icon,
.password-eye.hide-icon.hidden {
  display: none;
}

.forgot-pass {
  display: block;
  font-size: 14px;
  color: #000000;
  text-align: left;
  margin-top: 21px;
  margin-left: 1px;
  letter-spacing: 0.15px;
}

.forgot-pass:hover {
  filter: brightness(130%);
}

#new_user_session > div.alert.alert-danger.errorExplanation > p {
  padding: 5px;
  font-size: 15px;
  color: #ff4545;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #000000;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

footer > .container-footer {
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 29.42%;
  padding: 51px 0 48px 0;
}

.footer-left {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-right {
  display: flex;
  justify-content: center;
  gap: 24px;
}

footer > .container-footer p,
footer > .container-footer a {
  font-size: 16px;
  color: #ffffff;
  transition: all 0.3s ease;
}

footer > .container-footer a {
  text-decoration: underline;
}

footer > .container-footer a:hover {
  opacity: 0.7;
}

/* Legals Styles */
.legals-container {
  min-height: 100vh;
}

.legals-box {
  width: 100%;
  padding: 76px 13.7% 200px 12.5%;
  background-color: #ffffff;
  color: #000000;
}

.legals-box h2 {
  font-family: "Poppins_SemiBold";
  font-size: 46px;
  margin-top: 21px;
}

.legals-box > h3 {
  font-family: "Poppins_SemiBold";
  font-size: 24px;
  margin-top: 15px;
  margin-bottom: 30px;
}

.legals-box p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.legals-box ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.legals-box ul {
  margin-left: 25px;
  margin-bottom: 15px;
}

.legals-box a {
  color: #000000;
  text-decoration: underline;
}

.legals-box td {
  padding-left: 20px;
  padding-right: 20px;
}

.home-btn-legal:hover {
  font-weight: bold;
}

/* Mobile Styles */

@media (max-width: 1500px) {
  .logo-bar {
    padding-left: 5%;
    padding-right: 5%;
  }

  .form-container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .legals-box {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 1000px) {
  .logo-bar {
    min-height: unset;
    padding: 20px 5% 20px 5%;
    justify-content: flex-start;
  }

  .logo-bar.legals {
    justify-content: center;
  }

  .logo-bar > a > img {
    height: 50px;
  }

  .form-container {
    padding: 100px 5% 100px 5%;
  }

  .left-box {
    max-width: 50%;
  }
}

@media (max-width: 992px) {
  .logo-bar.legals {
    padding-top: 35px;
    padding-bottom: 35px;
  }

  .form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: unset;
    padding: 50px 5% 100px 5%;
  }

  .form-container h1 {
    margin-bottom: 25px;
  }

  .form-container p {
    margin-bottom: 20px;
  }

  .left-box {
    max-width: 90%;
    align-items: center;
    text-align: center;
  }

  .btn-sign {
    margin: auto;
    margin-top: 46px;
    margin-bottom: 60px;
  }

  footer > .container-footer {
    justify-content: space-between;
    gap: 20px;
    padding: 51px 5% 48px 5%;
  }

  .footer-left {
    flex-direction: column;
    flex-wrap: wrap;
    gap: unset;
  }
}

@media (max-width: 500px) {
  .logo-bar > a > img,
  .logo-bar > .logo {
    height: 45px;
  }

  .form-container p {
    margin-bottom: 15px;
  }

  footer > .container-footer p,
  footer > .container-footer a {
    font-size: 13px;
  }
}
