@font-face {
  font-family: "bg-black";
  font-weight: normal;
  src: url("./fonts/BrandonGrotesque-Black.otf") format("opentype");
}
@font-face {
  font-family: "bg-medium";
  font-weight: normal;
  src: url("./fonts/BrandonGrotesque-Medium.otf") format("opentype");
}
@font-face {
  font-family: "bg-bold";
  font-weight: normal;
  src: url("./fonts/BrandonGrotesque-Bold.otf") format("opentype");
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  max-width: 1400px;
  margin: 0 auto;
}

input::placeholder {
  overflow: visible;
  color: #6dc2ff;
}

.f-black {
  font-family: "bg-black";
}

.f-medium {
  font-family: "bg-medium";
}

.f-bold {
  font-family: "bg-bold";
}

/* HEADER SECTION */
/* social media icons, logo, cloud message */

header {
  background-color: #fff;
  width: 100%;
}

.s-header {
  max-width: 80%;
  margin: 0 auto;
  padding-top: 25px;
  padding-bottom: 50px;
  position: relative;
  width: 100%;
}

.social-media {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
  width: 100%;
}

.logo {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cloud {
  background-color: #2c3a90;
  border-radius: 57px;
  margin-bottom: -30px;
  padding: 30px 50px;
  position: relative;
  width: fit-content;
}

.cloud::after {
  content: "";
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 30px solid transparent;
  border-top-color: #2c3a90;
  border-bottom: 0;
  border-left: 0;
  margin-left: -10px;
  margin-bottom: -30px;
  z-index: 2;
}

.cloud-text {
  color: #fff;
  font-size: 36px;
  text-transform: uppercase;
}

/* main */

main {
  width: 100%;
  background-color: #3e94d1;
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

main::before,
main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
}

main::before {
  border-radius: 150px 0 0 0;
  background-color: #3e94d1;
  z-index: 3;
}

main::after {
  background-color: #fff;
  z-index: 2;
}

.width70 {
  max-width: 70%;
  margin: 0 auto;
}

.top-text-container {
  padding: 50px 0 70px;
  position: relative;
}

.top-text {
  color: #fff;
  font-size: 30px;
  line-height: 36px;
  position: relative;
  z-index: 3;
}

.content-container {
  position: relative;
}

.content-container__dots {
  position: absolute;
  top: 40%;
  left: 0;
  transform: translateX(-15%);
  display: flex;
}

.content-container__dots .dot--green {
  margin-right: 20px;
}

.content-container__circle {
  position: absolute;
  top: 20%;
  right: 0;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background-color: #68b357;
  transform: translateX(50%);
}

.content-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.content-grid::before {
  content: "";
  position: absolute;
  width: 27px;
  height: 79px;
  border-radius: 71px;
  background: rgba(255, 255, 255, 0.3);
  top: -70px;
  left: -50px;
  z-index: 10;
}

.top-text--pt {
  margin-top: 25px;
}

.list {
  list-style: none;
  z-index: 5;
}

.list__item {
  padding-bottom: 25px;
  position: relative;
}

.list__item-bullet {
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translate(-100%, -80%);
  width: 53px;
  height: 53px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #2c3a90;
  color: #fff;
  z-index: 12;
}

.form {
  width: 100%;
  max-width: 1200px;
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
  z-index: 5;
}

.form__input {
  text-transform: uppercase;
  padding: 10px 30px;
  border: none;
  background-color: #fff;
  color: #2c3a90;
  border-radius: 36px;
  min-width: 400px;
  text-align: center;
  font-size: 34px;
}

.form > div {
  position: relative;
}

.form > div::before {
  content: "";
  width: 36px;
  height: 36px;
  background-image: url("../../images/arrow.png");
  background-size: cover;
  position: absolute;
  display: block;
  top: 50%;
  transform: translateY(-50%);
  left: -36px;
}

.cta-container {
  width: 100%;
  position: relative;
}

.cta-container::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 30px;
  transform: translateX(-75%);
  background-color: #68b357;
  border-radius: 150px;
  width: 800px;
  height: 300px;
  z-index: 3;
}

.cta-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 300px;
}

.cta {
  margin-top: 70px;
  border: none;
  background-color: #2c3a90;
  border-radius: 36px;
  padding: 10px 30px;
  color: #fff;
  text-transform: uppercase;
  font-size: 34px;
  cursor: pointer;
  z-index: 4;
}

.two-dots {
  display: flex;
  padding-bottom: 30px;
  width: 100%;
  justify-content: flex-end;
}

.dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.dot--yellow {
  background-color: #f3c64b;
  margin-right: 50px;
}

.dot--green {
  background-color: #68b357;
}

/* footer */
.s-footer {
  background-color: #3e94d1;
}

.footer-container {
  background: #fff;
  border-radius: 75px 75px 0 0;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 90%;
  padding: 25px 40px;
}

.footer__text {
  color: #2e3c8a;
  font-size: 18px;
  margin-right: 5px;
}

.footer-container img {
  display: block;
  max-width: 100%;
}

.footer__support,
.footer__patreon {
  display: flex;
  align-items: center;
}

.footer__item {
  margin-right: 25px;
}

.footer__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* end */

@media (max-width: 1400px) {
  .cta-container::before {
    transform: translateX(-75%);
    border-radius: 150px;
    width: 600px;
    height: 200px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__patreon {
    margin-top: 25px;
  }

  .footer__support,
  .footer__patreon {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 1300px) {
  .cloud {
    padding: 20px 40px;
  }
  .cloud-text {
    font-size: 30px;
  }
}

@media (max-width: 1200px) {
  .form {
    flex-direction: column;
    align-items: center;
  }

  .form-input-container--from {
    margin-top: 25px;
  }
}

@media (max-width: 1020px) {
  .logo {
    flex-direction: column;
  }

  .logo > * {
    margin-left: auto;
    margin-right: auto;
  }

  .cloud {
    margin: 25px auto -35px;
  }

  .top-text {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
  }

  .list .top-text {
    text-align: left;
  }

  .list__item-bullet {
    width: 30px;
    height: 30px;
    transform: translate(-100%, -100%);
  }

  .content-container__circle {
    top: 10%;
    right: 0;
    width: 80px;
    height: 80px;
  }

  .content-container__dots .dot--green {
    margin-right: 10px;
  }

  .dot {
    width: 30px;
    height: 30px;
  }

  .dot--yellow {
    margin-right: 30px;
  }

  .footer__support,
  .footer__patreon {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .footer__text {
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .cloud {
    padding: 20px 30px;
  }
  .cloud-text {
    font-size: 24px;
    text-align: center;
  }

  .content-grid::before {
    width: 20px;
    height: 50px;
    left: -40px;
    top: -80px;
  }

  .form__input {
    text-align: left;
    font-size: 22px;
    padding: 10px 20px;
    min-width: auto;
    width: 100%;
  }

  .form > div::before {
    width: 24px;
    height: 24px;
    left: -24px;
  }

  .cta {
    font-size: 24px;
  }

  .cta-grid {
    min-height: 200px;
  }

  .cta-container::before {
    transform: translateX(-80%);
  }

  .footer-container {
    max-width: 100%;
  }

  .footer__logos img {
    margin-top: 10px;
  }

  .two-dots {
    padding-top: 15px;
  }
}

@media (max-width: 666px) {
  .footer__support .footer__logos a {
    max-width: 15%;
  }

  .footer__patreon .footer__logos a {
    max-width: 35%;
  }

  .footer__support .footer__item {
    margin-right: 10px;
  }
}
@media (min-width: 767px) {
  .list {
    max-width: 80%;
  }
}
