@import url("./main/article.css");
@import url("./main/count.css");

/* header */

.hero-section {
    height: 80vh;
}

.hero-section::before {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent),
        url("../images/group.jpg");
}

.cta-container {
    top: 35%
}

.form-section {
    background-image: url("../images/working_2.jpg");
}

.name {
    color: var(--theme-color-1);
}

.name::before {
    content: "- ";
}

.article-container {
    flex-direction: column;
    align-items: flex-start;
}

.article-image {
    width: 100%;
    aspect-ratio: 1.5/1;
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;
}

.article-container .info-container {
    max-width: 50em;
}
.container-blue .article-image img{
       -o-object-position: 0% 0%;
          object-position: 0% 0%;

}

/* Media query */

@media (min-width: 900px) {
    .container-blue {
        flex-direction: row;
        padding: 0;
        justify-content: space-between;
        align-items: center;
        gap: var(--gap);
    }
    .container-blue .article-image img{
        -o-object-position: center;
           object-position: center;
 
 }

    .container-blue .info-container {
        padding: var(--gap);
    }

    .container-blue .article-image {
        border-radius: 4em 0 0 4em;
        width: 100%;
        aspect-ratio: 4/5;
        max-width: 50em;
    }

    .article-image{
        aspect-ratio: 2/1;
    }

    .reverse {
        flex-direction: row-reverse;
    }

}

@media (min-width: 1200px) {
    .article-container {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .article-image {
        width: 100%;
        aspect-ratio: 1/1.2;
        max-width: 35em;
    }

    .container-blue .article-image {
        aspect-ratio: 1.2/1;
        max-width: 50em;
    }

    .reverse {
        flex-direction: row-reverse;
    }
}