html {
    min-height: 100%;
    margin: 0;
}

body {
    display: grid;
    grid-template-columns: auto;
    min-height: 100%;
    margin: 0;
}

/*------------------------------FONTS------------------------------*/
.poppins-font,
h1,
h2,
h3,
button,
input {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: hsl(192, 100%, 9%);
}

h1 {
    font-size: 5rem;
    margin: 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.open-sans-font,
span {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
    "wdth" 100;
}

/*------------------------------COMMON-INHERITANCE------------------------------*/
/*!-COLOR-!*/
.btn-started-free,
#section-footer,
span
ion-icon,
#btn-subscribe {
    color: #FFFFFF;
}

.btn-started-free,
#btn-subscribe {
    background-color: hsl(322, 100%, 66%);
}

/*!-ALIGN-JUSTIFY-!*/
header,
#section-stats,
#section-footer {
    justify-content: space-between;
}

#article-build-community,
.article-span-illustration {
    align-items: center;
}

/*------------------------------FLEXBOX------------------------------*/
.flex-column,
/*!-MAIN-SECTION-!*/
main,
#article-build-community,
.section-span-illustration,
/*!-FOOTER-!*/
footer,
#article-footer,
#section-newsletter {
    display: flex;
    flex-direction: column;
}

.flex-row,
/*!-HEADER-SECTION-!*/
header,
/*!-MAIN-SECTION-!*/
#section-stats,
.article-span-illustration,
/*!-FOOTER-!*/
#section-footer,
.footer-row-area {
    display: flex;
    flex-direction: row;
}

/*------------------------------AREAS------------------------------*/
/*!-HEADER-SECTION-!*/
header {
    margin: 4rem;
}

#btn-header {
    padding-inline: 1rem;
    border-radius: 2rem;
    background-color: #FFFFFF;
    color: hsl(321, 100%, 78%);
    border-color: hsl(321, 100%, 78%);
    border-style: solid;
}

button {
    width: fit-content;
}

/*!-MAIN-SECTION-!*/
main {
    padding-inline: 10rem;
}

section {
    gap: 5vw;
}

#article-build-community {
    gap: 2rem;
    text-align: center;
}

.btn-started-free {
    font-size: 1rem;
    padding-inline: 4rem;
    padding-block: 1rem;
    border-radius: 2rem;
    border-style: none;
}

#screen-mockups {
    width: 60%;
    align-self: center;
}

.illustration {
    width: 40%;
}

#section-stats {
    margin: 10vw;
}

.span-stats {
    font-size: 1.3rem;
    color: #a3a3a3;
}

.section-span-illustration {
    gap: unset;
}

.article-span-illustration {
    padding-inline: 10vw;
    gap: 10%;
}

.bg-section {
    width: 100%;
}

#main-middle {
    margin-block: 6rem;
    padding: 0;
}

#main-footer {
    margin-block: 7rem;
}

/*!-FOOTER-!*/
#section-footer {
    padding-block: 6rem;
    padding-inline: 15vw;
    background-color: hsl(192, 100%, 9%);
}

#section-footer,
span {
    font-size: 14px;
}

#logo-footer {
    width: 12rem;
}

#article-footer,
.footer-row-area {
    gap: 1.5rem;
}

ion-icon {
    font-size: 2rem;
}

#section-newsletter {
    gap: 2rem;
}

input,
#btn-subscribe {
    border-radius: 0.5rem;
    border-style: none;
}

input {
    padding: 0.8rem;
    width: 15vw;
}

#btn-subscribe {
    padding-inline: 2rem;
    padding-block: 1rem;
}

/*------------------------------MEDIAS------------------------------*/
@media (max-width: 860px) {
    #section-stats,
    #article-span-ill-middle,
    #footer-input-btn {
        flex-direction: column;
    }

    .article-span-illustration,
    #section-footer {
        flex-direction: column-reverse;
    }

    #section-stats,
    #article-span-ill-middle,
    .article-span-illustration,
    #section-footer {
        text-align: center;
    }

    #section-footer {
        gap: 3rem;
    }

    #screen-mockups {
        width: 100%;
    }

    input {
        width: auto;
    }

    #btn-subscribe {
        align-self: flex-end;
    }
}