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

* {
  font-family: 'Ubuntu', sans-serif;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.block {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: stretch;
  background: rgba(0, 0, 0, 0.55);
}

#block2 {
  background: rgba(0, 0, 0, 0.73);
}

#block2 .benefits-wrapper {
}

#block2 .row {
  padding: 55px 0;
}

#block3 {
  order: 3;
  padding: 150px 0;
}

.button {
  font-size: 24px;
  border-radius: 20px;
  font-weight: 700;
  padding: 0.75rem 2.5rem;
  text-transform: uppercase;
  box-shadow: 0 4px 4px 0 #00000040;
}

.hero {
  max-width: 550px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.2;
  text-shadow: 0 4px 5px #000000;
}

.hero p {
  font-size: 26px;
  line-height: 1.2;
  text-shadow: 0 4px 5px #000000;
}

.hero .button {
  font-size: 26px;
  width: 300px;
}

.benefit {
  padding: 150px 1.5rem 2.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  text-align: center;
  background-position: top 15px center;
  background-repeat: no-repeat;
  background-size: 120px 120px;
  border-radius: .75rem;
  align-self: stretch;
}

.benefit h2 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.benefit h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--csno-text);
}

#benefit1 {
  background-image: var(--csno-benefit1-background);
}

#benefit2 {
  background-image: var(--csno-benefit2-background);
}

#benefit3 {
  background-image: var(--csno-benefit3-background);
}

.registration {
  max-width: 400px;
  padding: 80px 62px;
  margin: 0 auto;
  border-radius: 0.75rem;
  border: 1px solid var(--csno-text);
  text-align: center;
  background: linear-gradient(180deg, rgba(4, 3, 2, 0.3) 15%, rgba(255, 188, 83, 0.3) 40.87%);
  box-shadow: 0 4px 4px 0 #000000;
}

.control {
  margin-bottom: 1rem;
  display: block;
  text-align: left;
}

.control label {
  color: #C9AA7ACC;
  font-size: 0.95rem;
  width: 100%;
}

.checkbox a {
  color: inherit;
}

.control-email {
  padding: 0;
  margin: 55px 0;
}

.control input[type=email] {
  width: 100%;
  border: none;
  font-size: 1.15rem;
  padding: 0.5rem 0.25rem;
}

.control-email label {
  display: none;
}

.invalid .checkbox {
  color: #ff0000;
}

.control-email .error {
  position: static;
  font-size: 0.95rem;
  color: #ff0000;
  background: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #ff0000;
}

.registration .button {
  margin-top: 30px;
  width: 100%;
}

hr {
  border: 1px solid var(--csno-text);
  width: 80%;
  margin: 0 auto;
}

.message {
  width: 90%;
  max-width: 400px;
  padding: 2.5rem;
  margin: 0 auto;
  border-radius: 0.75rem;
  border: 1px solid var(--csno-text);
  text-align: center;
  background: linear-gradient(180deg, rgba(4, 3, 2, 0.3) 15%, rgba(255, 188, 83, 0.3) 40.87%);
  box-shadow: 0 4px 4px 0 #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.message h1 {
  font-weight: 700;
  font-size: 30px;
}

.message h2 {
  font-weight: 700;
  font-size: 24px;
}

.message p {
  font-weight: 300;
  font-size: 18px;
}

@media (max-width: 767px) {
  body {
    background-size: cover;
    background-image: var(--csno-background-image-mobile);
  }

  #block2 {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero p {
    font-size: 18px;
  }


  .hero .button {
    font-size: 25px;
    width: 100%;
  }

  .registration {
    padding: 1.5rem;
  }

  .registration h1 {
    margin-bottom: 1rem;
  }

  hr {
    display: none;
  }
}