@font-face {
  font-family: 'CodecPro-Regular';
  src: url('/cfi-despnet-banner/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: #ffb114;
    color: #000000;
    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-image: url('/cfi-despnet-banner/img/face-007.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

#root .top-left { width: 47%; }

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

#root .top-logo {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 30px 10px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

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

#root .top-right { width: 53%; padding: 80px 0; }

#root .top-content {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 10px 10px;
    padding: 30px;
}

#root .top-content h1 {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.8rem;
}

#root .top-content h2 {
    font-size: 1.15rem;
    text-align: center;
    line-height: 1.4rem;
    padding-top: 15px;
    color: #adadad;
}

#root .top-content span { color: #ffb114; }

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

@media (max-width: 1005px) {
    #root .top-left { width: 0px; padding: 0; }
    #root .top-action { text-align: center; }

    #root .top-right {
        width: 100%;
        max-width: 700px;
        padding: 50px 5px;
        margin: 0 auto;
    }
}

@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 { padding: 20px 10px; }
    #root .top-logo img { width: 150px; }

    #root .top-content h1 { font-size: 1.45rem; }

    #root .top-content h2 { font-size: 1.05rem; }

    #root .top-action button { font-size: 1rem; padding: 15px; }
}

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

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

#root main > .section-dark { background-color: #140e0e; color: #fff; }

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

#root main > .section-dark span { color: #ffb114; background-color: initial; }

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

#root main > .section-dark button:hover { background-color: #fff; color: #000; }

#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 .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: #140e0e;
    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; }

#root section .testimonials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 50px 0 25px 0;
}

#root section .testimonials iframe {
    width: 320px;
    height: 180px;
    background-color: #fff;
}

@media (max-width: 575px) {
    #root .faq-question {
        font-size: 1rem;
        line-height: 1.2rem;
        padding: 15px;
    }
}

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

#root footer { background-color: #140e0e; }

#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 { color: #ffb114; }

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

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

#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: #ffb114; }

#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; }
}
