@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

.main {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.main::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.9) 5%, rgba(0, 0, 0, 0.2) 95%);
  z-index: 0;
}

.main__video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.main__content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 45px 15px;
}

.content__logos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logos__separator {
  margin: 45px 0;
  transform: rotate(90deg);
}

.content__text {
  margin: 75px 0 0 0;
  max-width: 800px;
}

.text__title {
  margin: 0 0 30px 0;
  color: #FFFFFF;
  text-align: center;
  font-size: 35px;
  font-weight: 300;
}

.text__description {
  margin: 0 auto;
  color: #FFFFFF;
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.content__form {
  margin: 45px 0 0 0;
  width: 100%;
}

.content__additional {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 60px 0 0 0;
}

.form__inner {
  display: flex;
  flex-direction: column;
}

.form__input {
  box-sizing: border-box;
  width: 100%;
  height: 45px;
  padding: 0 20px;
  border: none;
  border-radius: 25px;
  outline: none;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
}

/* The container */
.checkbox__container {
  display: block;
  position: relative;
  padding: 0 0 0 25px;
  margin: 15px 0 0 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: #FFFFFF;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox__container input {
  position: absolute;
  left: 0;
  top: 1px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  height: 18px;
  width: 18px;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #FFFFFF;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

/* When the checkbox is checked, add a blue background */
.checkbox__container input:checked ~ .checkmark {
  background-color: #007956;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show the checkmark when checked */
.checkbox__container input:checked ~ .checkmark:after {
  opacity: 1;
}

/* Style the checkmark/indicator */
.checkbox__container .checkmark:after {
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.form__button-container {
  width: 100%;
}

.form__button {
  width: 100%;
  height: 45px;
  margin: 20px 0 0 0;
  padding: 0 25px;
  border: none;
  border-radius: 25px;
  background-color: #007956;
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form__button:hover {
  background-color: #009368;
}

/*** Media width ***/

@media (min-width: 576px) {
  .content__logos {
    flex-direction: row;
  }

  .logos__separator {
    margin: 0 45px;
    transform: rotate(0);
  }

  .text__title {
    font-size: 40px;
  }

  .text__description {
    font-size: 20px;
  }

  .form__inner {
    flex-direction: row;
    justify-content: center;
  }

  .form__input {
    text-align: left;
  }

  .form__input-group {
    width: 350px;
  }

  .form__button-container {
    width: auto;
  }

  .form__button {
    width: auto;
    margin: 0 0 0 20px;
  }

  .content__additional {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .text__title {
    font-size: 45px;
  }

  .text__description {
    font-size: 22px;
  }
}

/*** Media height ***/
@media (min-height: 800px) {
  .content__text {
    margin: 90px 0 0 0;
  }

  .content__form {
    margin: 75px 0 0 0;
  }

  .content__additional {
    margin: 90px 0 0 0;
  }
}

@media (min-height: 900px) {
  .content__text {
    margin: 120px 0 0 0;
  }

  .content__form {
    margin: 90px 0 0 0;
  }

  .content__additional {
    margin: 120px 0 0 0;
  }
}

@media (min-height: 1000px) {
  .main__content {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .content__text {
    margin: 150px 0 0 0;
  }

  .content__form {
    margin: 120px 0 0 0;
  }

  .content__additional {
    margin: 150px 0 0 0;
  }
}
