@font-face {
  font-family: 'CodecPro-Regular';
  src: url('/font/CodecPro-Regular.woff2');
  font-display: swap;
}

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

body { font-family: 'CodecPro-Regular'; }

h1 { font-size: 2.4rem; line-height: 2.4rem; }

h2 {
    font-size: 1.75rem;
    line-height: 2rem;
    font-weight: 400;
}

h3 { font-size: 1.2rem; line-height: 1.4rem; font-weight: 400; }

button {
    padding: 25px;
    width: 100%;
    max-width: 620px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1.3rem;
    background-color: #c3f628;
    color: #00263a;
    cursor: pointer;
    transition: .5s background-color;
    font-family: 'CodecPro-Regular';
    font-weight: 600;
    letter-spacing: 0.1rem;
}

button:hover { background-color: white; }

input[type=text] {
    outline: 0;
    border-radius: 13px;
    padding: 13px 10px;
    width: 100%;
    border: 0.5px groove #dddddd;
    font-size: 1.05rem;
}

input[type=text]:focus { border: 0.5px groove #a3a3a3; }

img { width: 100%; height: 100%; }

@media (max-width: 550px) {
    h1 { font-size: 2rem; line-height: 2rem; }
    h2 { font-size: 1.4rem; line-height: 1.75rem; }
    h3 { font-size: 1.1rem; line-height: 1.3rem; }
    button { font-size: 1.2rem; line-height: 1.4rem;}
}

/* ================================= HEADER ================================= */

#root header section { background-color: #00263a; }

#root header section > div {
    display: flex;
    color: #fff;
    margin: 0 auto;
    max-width: 1420px;
}

#root .top-left { width: 55%; padding: 80px 50px 80px 80px; }

#root .top-left > h1, #root .top-left > h2, #root .top-action { padding-top: 40px; }

#root .top-left span { text-decoration: underline #c3f628; }

#root .top-logo { width: 250px; }

#root .top-right {
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 50px;
}

#root .top-right video { height: auto; width: 100%; max-width: 580px; }

@media (max-width: 1137px) {
    #root .top-left { padding: 50px; }
    #root .top-right { padding-right: 40px; }
}

@media (max-width: 995px) {
    #root .top-left {
        width: 100%;
        max-width: 730px;
        padding: 50px 20px 60px 20px;
        margin: 0 auto;
    }

    #root .top-logo { margin: 0 auto; }
    #root .top-left > h1, #root .top-left > h2, #root .top-action { padding-top: 40px; }
    #root .top-action { text-align: center; }
    #root .top-right { display: none; }
}

@media (max-width: 550px) {
    #root .top-logo { width: 230px; }
}

/* ================================= MAIN ================================= */

#root > main > section > div {
    background-color: white;
    padding: 90px 20px;
    margin: 0 auto;
    max-width: 1420px;
    display: flex;
    flex-direction: column;
    row-gap: 50px;
}

#root > main .section-dark > div { background-color: #00263a; color: #fff; }

#root main > section span { background-color: #c3f628; }

#root > main .section-dark span { color: #000; }

#root main > section button:hover { background-color: #00263a; color: white; }

#root main > .section-dark button:hover { background-color: white; color: #00263a; }

#root .section-title { display: flex; justify-content: center; }

#root .section-title h1 { text-align: center; max-width: 900px; }

#root .section-image { display: flex; justify-content: center; }

#root .section-image img { max-width: 500px; }

#root .section-image video { max-width: 600px; height: auto; width: 100%; }

#root .section-text img { max-width: 50px; margin-top: 10px; }

#root .section-text, #root .section-action { text-align: center; }

#root .section-cards {
    display: flex;
    justify-content: space-between;
    color:#000;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

#root .section-cards > div {
    background-color: #c3f628;
    width: 250px;
    cursor: pointer;
    transition: 1s transform;
}

#root .section-cards > div:hover { transform: scale(1.1); }

#root .section-cards h1 {
    font-size: 1.2rem;
    line-height: 1.5rem;
    text-align: center;
    padding: 10px 30px;
}

#root .section-cards p {
    font-size: 1rem;
    line-height: 1rem;
    text-align: center;
    padding: 0 20px 20px 20px;
}

#root .section-cards-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#root .faq-questions {
    padding-top: 50px;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 5px;
}

#root .faq-questions > div { width: 100%; }

#root .faq-question {
    background-color: #00263a;
    color: white;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    line-height: 1.5rem;
    align-items: center;
    cursor: pointer;
}

#root .faq-answer {
    font-size: 1rem;
    line-height: 1.1rem;
    padding: 30px;
    transition: .5s opacity, .5s margin;
}

#root .faq-question-icon { user-select: none; }

#root .faq-question-icon img { width: 20px; }

@media (max-width: 1114px) {
    #root .section-cards { justify-content: center; }

    #root .section-cards > div { width: 48%; }
}

@media (max-width: 575px) {
    #root .section-cards { gap: 40px; }
    #root .section-cards > div { width: 100%; }

    #root .faq-question {
        font-size: 1rem;
        line-height: 1.2rem;
        padding: 15px;
    }
}

/* ================================= FOOTER ================================= */

#root footer > section { background-color: #00263a; }

#root footer > section > div {
    padding: 90px 80px;
    color: white;
    margin: 0 auto;
    max-width: 1420px;
}

#root footer .footer-action { margin: 0 auto; text-align: center; }

#root footer .footer-action h1 {
    font-size: 3.2rem;
    max-width: 800px;
    line-height: 3.3rem;
    margin: 0 auto;
}

#root footer .footer-action span { background-color: #c3f628; color: #000; }

#root footer .footer-action-btn { padding-top: 50px; }

#root footer .footer-action-btn button { max-width: 470px; }

#root footer .footer-contact { text-align: center; }

#root footer .footer-contact a { text-decoration: none; color: white; }

#root footer .footer-contact > div { padding-top: 50px; }

#root footer .footer-contact h3 { font-size: 1.3rem; color: #c3f628; }

#root footer .footer-contact p { font-size: 1.3rem; padding-top: 15px; }

#root footer .footer-contact-icons {
    display: flex;
    padding-top: 15px;
    column-gap: 10px;
    justify-content: center;
}

#root footer .footer-contact-icons > div { width: 37px; height: 37px; }

@media (max-width: 995px) {
    #root footer > section > div { padding: 70px 20px 70px 20px; }
}

@media (max-width: 550px) {
    #root footer .footer-action { text-align: left; }

    #root footer .footer-action h1 { font-size: 2.2rem; line-height: 2.2rem; }

    #root footer .footer-contact h3, #root footer .footer-contact p { font-size: 1.2rem; }
}
