@import url(../global.css);

.main-hero {
    background-position: center;
    background-size: cover;
    height: 100vh;
    padding: 128px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
    /* box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.6); */
}

.hero-header>h1 {
    width: 55%;
    font-family: Urbanist, sans-serif;
    font-size: 4.235rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
}

.hero-header>p {
    width: 60%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.618;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: #ffffff;
}

.document-container {
    margin-top: 24px;
    padding: 50px;
}

.document-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
    width: auto;
}

.document {
    background-color: var(--accentcolor);
    border-radius: 24px;
    width: auto;
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1 1 25%;
    gap: 32px;
}

.icon-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 32px;
}

.icon-box>h1 {
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1.618rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
}

@media screen and (max-width: 930px) {

    .main-hero {
        background-position: center;
        background-size: cover;
        align-items: center;
        padding: 64px 40px;
    }

     .hero-header>p {
        width: 100%;
    }

    .document-container {
        padding: 20px;
    }

    .document {
        background-color: var(--accentcolor);
        border-radius: 24px;
        width: auto;
        padding: 32px;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
}

@media screen and (max-width: 768px) {
    .hero-header>h1 {
        width: 100%;
        font-size: 2.617rem;
    }

    .hero-header>p {
        width: 100%;
        font-size: 1rem;
    }
}

@media screen and (max-width:430px) {
    .main-hero {
        padding: 20px;
    }
}