@font-face {
  font-family: "4text_regular";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Channel_4/lp/fonts/4text.regular.lowercase.ttf")
    format("truetype");
}

@font-face {
  font-family: "4HeadlineX_Regular";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Channel_4/lp/fonts/4HeadlineX-Condensed-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "4HeadlineStandard_Bold";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Channel_4/lp/fonts/4HeadlineStandard-Bold.ttf")
    format("truetype");
}

@font-face {
  font-family: "4HeadlineX_Extraboldd";
  src: url("https://clearstream-static.s3.eu-west-1.amazonaws.com/Channel_4/lp/fonts/4HeadlineX-Condensed-Extrabold.ttf")
    format("truetype");
}

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "4text_regular";
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
  padding-right: var(--scroll-padding, 0px);
}

h1 {
  font-family: "4HeadlineX_Extraboldd";
}

h2 {
  font-family: "4HeadlineStandard_Bold";
}

a {
  color: #ffffff;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

li {
  margin-bottom: 10px;
}

li > b{
  display: block;
  margin-bottom: 10px;
}

.main-container {
  position: relative;
  min-height: 100vh;
  background-color: #000000;
}

/* Header */
.logo-bar {
  position: relative;
  width: 100%;
  padding: 35px 13.7% 40px 12.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000000;
  z-index: 1;
}

.logo-bar > .logo {
  height: 55px;
  margin-top: 1px;
}

.logo-bar > a > img {
  height: 55px;
}

.btn-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 143.17px;
  height: 37.55px;
  margin-bottom: 5px;
  background-color: #aaff89;
  color: #000000;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
}

.btn-nav:hover {
  border: 1px solid #b3ff95;
  box-shadow: 0 0 0 1px rgba(170, 255, 137);
  text-decoration: none;
}

/* Form container */
.form-container {
  position: relative;
  width: 100%;
  padding: 77px 13.7% 150px 12.5%;
  z-index: 1;
}

.form-container h1 {
  max-width: 745px;
  margin-left: -3px;
  margin-bottom: 9px;
  font-size: 120px;
  color: #ffffff;
  line-height: 0.89;
}

.change_latters {
  font-family: "4HeadlineX_Regular";
  font-weight: normal;
}

.form-container p {
  max-width: 633px;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #ffffff;
  z-index: 1;
}

.btn-sign,
.submit.btn.btn-secondary.btn-login,
#registration_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 183px;
  height: 48px;
  background-color: #aaff89;
  font-size: 18px;
  color: #000000;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
  border: 0;
}

.btn-sign {
  margin-top: 40px;
  margin-bottom: 0px;
}

.btn-sign:hover,
.submit.btn.btn-secondary.btn-login:hover,
#registration_submit:hover {
  border: 1px solid #b3ff95;
  box-shadow: 0 0 0 1px rgba(170, 255, 137);
  text-decoration: none;
}

.shapes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shapes {
  position: absolute;
  transition: transform 0.3s ease;
}

.shapes img {
  width: 100%;
}

.s1 {
  top: 20.837%;
  right: 8.489%;
  width: 24%;
}

.s2 {
  width: 13%;
  bottom: 1%;
  left: 6%;
}

/* Log box  */
.log-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: fixed;
  overflow-y: auto;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  background-color: #000000;
  z-index: 9999;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition:
    transform 0.5s ease-in-out,
    opacity 0.5s ease-in-out,
    visibility 0s linear 0.5s;
  will-change: transform, opacity;
  pointer-events: none;
}

.log-container.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition:
    transform 0.5s ease-in-out,
    opacity 0.5s ease-in-out,
    visibility 0s;
  pointer-events: auto;
}

.log-box {
  width: 359px;
  max-width: 90%;
  position: relative;
  margin: auto;
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: transparent;
  text-align: start;
  position: relative;
  transform: translateX(-12px);
  transition: transform 0.5s ease-in-out;
  z-index: 1;
}

.log-container.show .log-box {
  transform: translateX(0);
}

.s1_log {
  width: 9.8%;
  bottom: 5%;
  left: 2%;
}

.s2_log {
  width: 22.39%;
  bottom: 5.9%;
  right: 1.6%;
}

@media (prefers-reduced-motion: reduce) {
  .log-container,
  .log-container.show,
  .log-box {
    transition: none;
  }
}

.close-btn {
  width: 31px;
  height: 31px;
  position: absolute;
  right: 45px;
  top: 41px;
  background: url(https://clearstream-static.s3.eu-west-1.amazonaws.com/Channel_4/lp/media/log_close_icon.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 0;
  cursor: pointer;
  z-index: 1;
}

.log-box h2 {
  font-size: 52px;
  color: #ffffff;
  margin-bottom: 34px;
}

#user_session_password,
#user_session_login {
  width: 100%;
  margin: 0;
  margin-bottom: 20px;
  padding: 0;
  padding: 13px 0 13px 0;
  font-size: 18px;
  background: transparent;
  color: #ffffff;
  border: 0;
  border-bottom: 1px solid #ffffff;
  border-radius: 0;
}

#user_session_password::placeholder,
#user_session_login::placeholder {
  font-family: "4text_regular";
  font-size: 20px;
  color: #ffffff;
}

#user_session_login:focus,
#user_session_login:focus-visible,
#user_session_password:focus,
#user_session_password:focus-visible {
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #000000;
  transition: background-color 5000s ease-in-out 0s;
}

.submit.btn.btn-secondary.btn-login {
  width: 100%;
  margin-top: 27px;
  padding: 0;
}

div.password-field-container div.password-eye {
  color: #ffffff !important;
  right: -1em !important;
  bottom: 2em !important;
}

div.password-eye > svg {
  width: 20px !important;
}

.password-eye.show-icon.hidden,
.password-eye.hide-icon.hidden {
  display: none;
}

.forgot-pass {
  display: block;
  font-size: 18px;
  color: #ffffff;
  text-align: left;
  margin-top: 37px;
}

.forgot-pass:hover {
  transform: scale(1.01);
}

#new_user_session > div.alert.alert-danger.errorExplanation > p {
  padding: 5px;
  font-size: 15px;
  color: #ff4545;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #0e0e0e;
  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: space-between;
  padding: 37px 13.7% 37px 12.5%;
}

.footer-right > p {
  font-size: 14px;
  text-align: end;
  line-height: 1.3;
}

.footer-right > p > a {
  font-size: 14px;
  text-decoration: none;
}

.footer-right > p > a:hover {
  text-decoration: underline;
}

/* Legals Styles */
.legals-container {
  min-height: 100vh;
}

.legals-box {
  width: 100%;
  padding: 50px 13.7% 100px 12.5%;
  background-color: #ffffff;
  color: #000000;
}

.legals-box h2 {
  font-size: 42px;
  margin-top: 35px;
  margin-bottom: 60px;
}

.legals-box > h3 {
  font-family: "4HeadlineStandard_Bold";
  font-size: 24px;
  margin-top: 2px;
  margin-bottom: 37px;
}

.legals-box p {
  font-size: 16px;
  margin-bottom: 24px;
}

.legals-box ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.legals-box ul {
  margin-left: 25px;
  margin-bottom: 24px;
}

.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: 1600px) {
  .logo-bar > a > img,
  .logo-bar > .logo {
    height: 40px;
  }

  .form-container {
    padding-top: 60px;
  }

  .form-container h1 {
    font-size: 90px;
  }

  .form-container p {
    max-width: 90%;
    font-size: 17px;
    margin-bottom: 15px;
  }

  .s1 {
    top: unset;
    bottom: 5%;
    right: 5%;
    width: 15%;
  }

  .s2 {
    width: 12%;
    top: unset;
    bottom: 3%;
    left: 7%;
  }
}

@media (max-width: 1300px) {
  .logo-bar {
    min-height: unset;
    padding: 20px 5% 20px 5%;
  }

  .form-container {
    padding: 70px 5% 110px 5%;
  }

  .form-container h1 {
    font-size: 60px;
    margin-bottom: 30px;
  }

  .form-container p {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .close-btn {
    width: 25px;
    height: 25px;
    right: 35px;
    top: 35px;
  }

  .btn-sign {
    width: 160px;
    height: 40px;
  }

  .btn-sign {
    margin-top: 30px;
    margin-bottom: 0px;
  }

  footer > .container-footer {
    padding: 37px 5% 37px 5%;
  }

  .footer-left,
  .footer-right {
    width: 50%;
  }

  .legals-box {
    padding: 40px 5% 100px 5%;
  }
}

@media (max-width: 992px) {
  .form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 510px) {
  .logo-bar > a > img,
  .logo-bar > .logo {
    height: 30px;
  }

  .logo-bar .btn-nav {
    width: 100px;
    height: 33px;
  }

  .form-container h1 {
    font-size: 55px;
  }

  .form-container p {
    margin-bottom: 15px;
    font-size: 16px;
  }

  .s1 {
    top: 70%;
    right: 4%;
    width: 26%;
  }

  .s2 {
    width: 35%;
    top: 72%;
    left: 7%;
  }

  .s1_log {
    width: 15%;
    bottom: 8%;
    left: 2%;
  }

  .s2_log {
    width: 28%;
    bottom: 13%;
    right: 2%;
  }
}

@media (max-height: 550px) {
  .s1 {
    top: unset;
    bottom: 5%;
    right: 5%;
    width: 65px;
  }

  .s2 {
    width: 80px;
    top: unset;
    bottom: 5%;
    left: 5%;
  }

  .s1_log {
    display: none;
  }

  .s2_log {
    display: none;
  }
}

@media (max-height: 810px) and (max-width: 1600px) {
  .logo-bar {
    min-height: unset;
    padding: 20px 7% 20px 7%;
  }

  .form-container {
    padding: 50px 7% 110px 7%;
  }

  .s2 {
    display: none;
  }

  footer > .container-footer {
    padding: 37px 7% 37px 7%;
  }

.privacyButton {
    bottom: 20px !important;
  }
}

@media (max-height: 550px) {
  .s1 {
    top: unset;
    bottom: 5%;
    right: 5%;
    width: 65px;
  }

  .s2 {
    display: block;
    width: 80px;
    top: unset;
    bottom: 3%;
    left: 5%;
  }

  .s1_log {
    display: none;
  }

  .s2_log {
    display: none;
  }
}


