/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Rubik", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}


:root {
    --primary-color: hsl(255, 60%, 60%);
    --bg-color-dark: hsl(255, 60%, 94%);
    --bg-color: hsl(255, 60%, 100%);

    --text-color-muted: #505050;
    --text-color: #1f1f1f;
    --main-frame-padding:40px;
}


body{
    background-color: var(--bg-color);
}

.hero__section {
    padding: var(--main-frame-padding);
}

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

    margin-bottom: 50px;
}

.logo__container__image {
    width: 150px;
    height: auto;
}

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


.hero__section__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;

    text-align: center;

    color: var(--text-color);

    margin-bottom: 0px;
}

.hero__section__text > h1 {
    font-size: 26px;
    font-weight: 700;
}

.hero__section__text > h2 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero__section__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__section__image > img {
    max-height: 500px;

    margin-bottom: 0px;
}

.form__section__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.form__section__image > img {
    max-height: 500px;
}

.cta__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta__container__dark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-top: 24px;
}


.cta__button {
    display: inline-block;
    justify-content: center;
    align-items: center;

    background-color: var(--text-color);
    color: var(--bg-color);

    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;

    margin-bottom: 24px;

    transition: all 0.5s;
}

.cta__button:hover {
    background-color: hsl(0, 0%, 18%);
    cursor: pointer;
}

.cta__button__dark {
    display: inline-block;
    justify-content: center;
    align-items: center;

    color: var(--text-color);
    background-color: var(--bg-color);

    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;

    transition: all 0.5s;
}

.cta__button__dark:hover {
    background-color: hsl(0, 0%, 87%);
    cursor: pointer;
}

.under__button__disclaimer {
    text-align: center;
    font-size: 10px;
    color: var(--text-color);
    opacity: 50%;
    font-weight: 400;
}

.benefits__section {
    background-color: var(--text-color);
    padding: var(--main-frame-padding);
    padding-bottom: calc(var(--main-frame-padding) + 16px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    color: var(--bg-color);
    width: 100%;
}

.benefits__section > h2 {
    font-size: 20px;
    font-weight: 700;

    text-align: center;

    margin-bottom: 16px;
}

.benefits__section > p { 
    font-size: 16px;
    font-weight: 400;
    margin: 14px 0;

    margin-right: auto;

    text-align: justify;
    line-height: 24px;
}

.benefits__section > p > b {
    font-weight: 700;
}

.benefits__content {
    margin-bottom: 24px;
}

.form__section {
    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    padding: var(--main-frame-padding);

    
    color: var(--text-color);
}

.form__section > .form__text > h2 {
    font-size: 28px;
    font-weight: 800;

    text-align: center;

    margin-bottom: 32px;
}

.form__section > .form__text > p {
    font-size: 10px;
    text-align: center;
    opacity: 50%;
}

.form__section > .form__text > form {
    width: 100%;

    margin-bottom: 8px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__section > .form__text > form > input {
    width: 100%;
    height: 56px;
    padding: 24px 16px;
    border-radius: 8px;
    font-size: 18px;

    color: var(--text-colorv);

    border: 2px solid #aaaaaa;

    transition: all 0.5s;
}

.form__section > .form__text > form > .form__button {
    border: none;
}

.form__section > .form__text > form > input[type=submit] {
    display: inline-block;
    justify-content: center;
    align-items: center;

    background-color: var(--text-color);
    color: var(--bg-color);

    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;

    margin-bottom: 24px;
}

.form__section > .form__text > form > input[type=submit]:hover {
    background-color: hsl(0, 0%, 29%);
    cursor: pointer;
}

.form__section > .form__text > form > input:focus {
  border-color: var(--text-color)!important;
  outline: none;
  box-shadow: none;
}


.form__section > .form__text > form > input::placeholder {
  opacity: 50%;
  font-weight: 400;
}

.checkbox__container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;

  margin-top: 8px;
}

.checkbox__container input[type="checkbox"] {
  /* Hide the native checkbox */
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #585858;
  border-radius: 6px;
  background-color: white;
  position: relative;
  cursor: pointer;
  transition: border 0.3s, background-color 0.3s;
}

.checkbox__container input[type="checkbox"]:checked {
  background-color: var(--text-color);
  border-color: var(--text-color);
}

.checkbox__container input[type="checkbox"]::before {
  content: "✓";
  color: var(--bg-color);
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: -2px;
  left: 3px;
  opacity: 0;
  transition: opacity 0.3s;
}

.checkbox__container input[type="checkbox"]:checked::before {
  opacity: 1;
}

.checkbox__container > label {
    font-size: 16px;
}

.thank-you__section {
    padding: var(--main-frame-padding);
    padding-bottom: 0px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 8px;

    text-align: center;

    color: var(--text-color);
    
}

.thank-you__section > h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.thank-you__content {
    margin-bottom: 0px;
}

.thank-you__section > p { 
    font-size: 16px;
    font-weight: 400;
    margin: 12px 0;

    margin-right: auto;

    text-align: justify;
    line-height: 24px;
}

.thank-you__section > p > b {
    font-weight: 700;
}


footer > p {
    color: var(--bg-color);
    background-color: var(--text-color);

    display: flex;
    flex-direction: column-reverse;
    align-items: center;

    font-size: 12px;
    font-weight: 300;
    padding: 16px;
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

.desktop-width-small {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 600px) {

    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }

  body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .desktop-width {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  #thank-you {
    width: 100%;
  }

  .thank-you__section {
    width: 600px;
  }

  .thank-you__section > p {
    margin-right: auto;
  }

  footer {
    width: 100%;
  }

  .benefits__container{
    background-color: var(--text-color);
  }

    .hero__section {
        padding: var(--main-frame-padding);
        margin-bottom: 64px;
    }

  .hero__section__container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.hero__section__container > div.hero__section__image > img {
    height: 700px;
}

.hero__section__container > .hero__section__image {
    height: 600px;
    width: auto;
}

.hero__section__image > img {
    max-height: 1200px;

    margin-bottom: 0px;
}

  .hero__section__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 8px;

    text-align: left;

    color: var(--text-color);

    width: 700px!important;

    margin-bottom: 32px;
    }

    .hero__section__text > h1 {
        font-size: 64px;
        font-weight: 700;
        line-height: 1;

        margin-top: 16px;
        margin-bottom: 16px;
    }

    .hero__section__text > h2 {
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 1px;
    }

    
    .cta__container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;

         margin-top: 32px;
    }

    .cta__container__dark {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        margin-top: 24px;
    }

    .cta__button {
        display: inline-block;
        justify-content: center;
        align-items: center;

        background-color: var(--text-color);
        color: var(--bg-color);

        padding: 20px 40px;
        border-radius: 12px;
        font-size: 24px;

        margin-bottom: 24px;
    }

    .cta__button__dark {
        display: inline-block;
        justify-content: center;
        align-items: center;

        color: var(--text-color);
        background-color: var(--bg-color);

        padding: 20px 40px;
        border-radius: 12px;
        font-size: 18px;
        font-weight: 700;

        margin-top: 16px;
        margin-bottom: 24px;
    }

    .under__button__disclaimer {
        text-align: center;
        font-size: 14px;
        color: var(--text-color);
        opacity: 50%;
        font-weight: 400;
        max-width: 500px;
    }

    .benefits__section > h2 {
        font-size: 40px;
        font-weight: 700;

        text-align: center;

        margin-bottom: 24px;
        margin-top: 24px;
    }

    .benefits__section > p { 
        font-size: 20px;
        font-weight: 400;
        margin: 14px 0;

        margin-right: auto;

        text-align: justify;
        line-height: 36px;
    }

    .benefits__section > p > b {
        font-weight: 700;
    }

    .benefits__content {
        margin-bottom: 24px;
    }

    .form__section {
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: center;

        gap: 32px;
    }

    .form__section > .form__button {
        align-items: start;
    }

    .form__section > .form__text > h2 {
        font-size: 30px;
        font-weight: 800;

        text-align: left;

        margin-bottom: 32px;
        margin-top: 16px;
    }

    .form__section > .form__text > p {
        font-size: 12px;
        text-align: left;
        opacity: 50%;

        margin-bottom: 48px;
    }

    .form__section > .form__text > form {
        width: 500px;

        margin-bottom: 8px;

        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .form__section {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .form__text {
        align-items: start;
        justify-content: start;

        text-align: left;
    }

    .form__section__image > img{
        height: 700px;
        max-height: 1200px;
    }

    .form__section > .form__text > form > input {
        width: 100%;
        height: 56px;
        padding: 24px 16px;
        border-radius: 8px;
        font-size: 18px;

        color: var(--text-colorv);

        border: 2px solid #a1a1a1;

        transition: all 0.5s;
    }

    .form__section > .form__text > form > .form__button {
        border: none;
    }

    .form__section > .form__text > form > input[type=submit] {
        display: inline-block;
        justify-content: center;
        align-items: center;

        background-color: var(--text-color);
        color: var(--bg-color);

        padding: 16px 32px;
        border-radius: 12px;
        font-size: 16px;

        margin-bottom: 16px;
    }    


}
