:root {
    --page-bg-color: var(--prune-950);
    --page-color: var(--parme-200);
}

/* first section */

.first-section {
    display: grid;
    text-align: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
    padding-bottom: 32px;
}

.first-section-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.first-section-title em {
    font-size: 1.6rem;
}

.first-section-content {
    text-wrap: balance;
}

.first-section-icons {
    display: grid;
    padding-top: 32px;
    margin: auto;
    width: 50vw;
    max-width: 400px;
    grid-template-columns: 1fr 1fr 1fr;

    fill: var(--parme-500);
}

.first-section-icons > svg {
    width: 100%;
}

.first-section-icons > svg:nth-child(2),
.first-section-icons > svg:nth-child(7) {
    fill: var(--lime-300);
}

.first-section-icons > svg:nth-child(6) {
    fill: var(--parme-200);
}

.first-section-icons > svg:nth-child(1),
.first-section-icons > svg:nth-child(5),
.first-section-icons > svg:nth-child(9) {
    background-size: contain;
    background-repeat: no-repeat;

    fill: var(--baltic-500);
}

.first-section-icons > svg:nth-child(1) {
    background-image: url("/static/website/images/img_sheet.d0b53b6a1322.webp");
    fill-opacity: 20%;
}

.first-section-icons > svg:nth-child(5) {
    background-image: url("/static/website/images/img_door.9303589c715a.webp");
    fill-opacity: 40%;
}

.first-section-icons > svg:nth-child(9) {
    background-image: url("/static/website/images/img_windy.0c742e68fac0.webp");
    fill-opacity: 50%;
}

@media only screen and (min-width: 640px) and (min-height: 500px) {
    .first-section {
        padding-top: 64px;
        padding-right: 90px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "item1 item2"
            "item3 item2"
            "item4 item2";
    }

    .first-section-title {
        grid-area: item1;
        margin-top: auto;
    }

    .first-section-icons {
        padding-top: 0;
        grid-area: item2;
        width: 70vw;
    }

    .first-section-content {
        grid-area: item3;
        margin-top: auto;
        margin-bottom: auto;
    }

    .first-section-button {
        grid-area: item4;
        margin-top: auto;
    }
}

/* second section */

.second-section {
    padding-top: 32px;
    padding-bottom: 32px;

    background-color: var(--parme-400);
    color: var(--prune-950);
}

.second-section-title {
    margin-bottom: 64px;
}

.second-section-content {
    position: relative;
}

.second-section-icons-col {
    display: none;
    flex-direction: column;
    gap: 100px;
    position: absolute;
    z-index: -1;
    width: 50%;
    right: 16px;

    opacity: 0.1;
}

@media only screen and (min-width: 640px) and (min-height: 500px) {
    .second-section-icons-col {
        display: flex;
        top: 8px;
    }

    .second-section-second-icon {
        display: none;
    }
}

@media only screen and (min-width: 640px) and (max-width: 800px) {
    .second-section-icons-col {
        display: flex;
        top: 8px;
    }
    .second-section-second-icon {
        display: block;
    }
}

/* third section */

.third-section {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 32px;
    padding-top: 32px;
}

.third-section-icons-col {
    display: none;
    flex-direction: column;
    gap: 200px;
    position: absolute;
    z-index: -1;
    width: 50%;
    top: 48px;
    right: 16px;

    fill: var(--parme-200);
    opacity: 0.1;
}

.button-container {
    display: flex;
    justify-content: center;
}

@media only screen and (min-width: 640px) and (min-height: 500px) {
    .third-section-icons-col {
        display: flex;
    }
    .third-section-icons-col svg:last-child {
        display: none;
    }
}

@media only screen and (min-width: 640px) and (max-width: 800px) {
    .third-section-icons-col svg:last-child {
        display: block;
    }
}
