
.inner-wrapper .hero {
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    height: calc(var(--window-height) - var(--bottom-menu-height));
}

.inner-wrapper .hero .darken {
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 35%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--menu-height);
}

.inner-wrapper .hero .logo {
    /* width: 100%; */
    max-width: 40vw;
    max-height: 30vh;
}

.inner-wrapper .hero .title {
    font-family: 'Ragam', sans-serif;
    font-size: 2em;
    color: white;
    text-align: left;
    margin: 20px 0;
    line-height: 1.2em;
}

.inner-wrapper .hero .inner {
    height: 100%;
    align-content: center;
}

.intro.container {
    
}

.infoblock .row {
    margin-top: 120px;
    margin-bottom: 120px;
}

.infoblock .colorbg {
    background-color: #0a2d2c;
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
}

.infoblock .colorbg.contrast {
    background-color: #e0dcce;
    color: #0a2d2c;
}

.infoblock .title {
    font-family: 'contralto-small';
    font-size: 2.3em;
    margin-bottom: 30px;
    font-weight: 600;
    padding: 0px 30px;;
}

.infoblock .text {
    font-family: 'elza', sans-serif;
    font-size: 1.1em;
    line-height: 1.3em;
    padding: 0px 30px;
}

.infoblock .text p {
    margin-bottom: 20px;
}

.infoblock .gallery {
    display: flex;
    flex-wrap: wrap;
}

.infoblock .gallery .gallery-flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row;
}

.infoblock .gallery>.gallery-item {
    width: 100%;
    aspect-ratio: 1.2;
}

.infoblock .gallery .gallery-flex .gallery-item:nth-child(1) {
    flex: 1.5;
    aspect-ratio: 1.5;
}

.infoblock .gallery .gallery-flex .gallery-item:nth-child(2) {
    flex: 1;
}

.infoblock .gallery .gallery-item img {
    height: 100%;
    width: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.endpage-gallery {
    display: flex;
    gap: 10px;
}

.endpage-gallery img {
    flex: 1;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.endpage-gallery img:nth-child(2) {
    aspect-ratio: 1;
    flex: 1.8;
}

@media (min-width: 992px) {
    .inner-wrapper .hero {
        height: var(--window-height);
    }

    .inner-wrapper .hero .logo {
        width: 25%;
    }

    .inner-wrapper .hero .title {
        font-size: 5em;
    }

    .intro.container {
        margin-top: 100px;
    }

    .infoblock .colorbg {
        padding: 60px 60px;
    }

    .infoblock .gallery {
        margin-top: 0px;
        /* margin-left: calc(-1 * (100vw - var(--container-width)) / 2); */
        height: 100%;
    }

    .infoblock .gallery .gallery-item:nth-child(1) {
        width: 100%;
    }

    .infoblock .gallery>.gallery-item {
        aspect-ratio: 1.7;
    }

    .infoblock .gallery .gallery-flex {
        width: auto;
        flex-direction: column;
        flex: 1;
    }
    
    .infoblock .gallery .gallery-flex .gallery-item:nth-child(1) {
        width: 100%;
        height: 70%;
    }

    .infoblock .title {
        padding: 0px 0px 0px 0px;
    }

    .infoblock .text {
        padding: 0px 0px 0px 0px;
    }

    .infoblock {
        --container-width: 80vw;
        max-width: var(--container-width);
    }

    .endpage-gallery img {
        aspect-ratio: 1.4;
    }

    .endpage-gallery img:nth-child(2) {
        flex: 1;
        aspect-ratio: 1.4;
    }
}

@media (min-width: 1200px) {
    .infoblock .colorbg {
        padding: 60px 120px;
    }
}