.herosection {
    overflow: hidden;
    margin-bottom: calc(var(--unit) * 6);
}

.herosection-container {
    box-sizing: border-box;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--site-padding);
    overflow: hidden;
    position: relative;
    max-height: 900px;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
}

.herosection-title {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: white;
    background-color: #00000017;
}

.herosection-description {
    max-width: 800px;
    margin: 0 auto calc(var(--unit) * 4) auto;
    padding: 0 calc(var(--unit) * 4);
}

@media screen and (min-width: 800px) {
    .herosection-description {
        margin-top: 0;
        margin-bottom: calc(var(--unit) * 6);
    }
}