/**
Typo Elements
*/

.mrb-subtitle,
.mrb-h3 {
    font-size: 2rem;
    color: #B2503E;
}


/**
Buttons
*/

.button-light {
    color: #B2503E;
    background-color: #F3F1E9;
    border: 2px solid #F3F1E9;
}

.button-light:hover {
    color: #F3F1E9;
    background-color: #B2503E;
}


/**
Main
*/


/* oferta */

.mrb-h2 {
    margin: 0 auto;
    width: fit-content;
    transform: translateX(50px);
}

.mrb-flex {
    margin-top: 80px !important;
}

.mrb-flex .mrb-card {
    margin-bottom: 80px !important;
    padding: 0 !important;
    flex: 0 0 28% !important;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    gap: 30px;
    box-sizing: border-box;
}

.mrb-flex .mrb-card .mrb-image {
    width: 408px;
    height: 119px;
    object-fit: cover;
}


/* .mrb-flex .mrb-card p {
    font-size: .8rem !important;
} */


/* technologia */

.mrb-icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-left: 100px !important;
    box-sizing: border-box;
}

.mrb-icon-grid .mrb-card {
    margin: 50px 0;
    flex: 0 0 50% !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.mrb-icon-grid .mrb-card .icon {
    width: fit-content;
}

.technology-galley-container {
    padding-top: 50px;
}


/* video */

.mrb-video-container {
    padding: 180px 0;
}


/* technologia-kolumny */

#technologia-kolumny {
    display: flex;
    flex-direction: column;
    gap: 120px;
    .mrb-first-image,
    .mrb-second-image {
        height: 100%;
        object-fit: cover;
    }
    .mrb-first-image {
        aspect-ratio: 406 / 543;
    }
    .mrb-second-image {
        align-self: center;
        aspect-ratio:  259 / 320;
    }
}

.mrb-col-tech-container {
    padding: 50px !important;
}

.mrb-image-container {
    display: flex;
    justify-content: space-between;
}

.mrb-image-container .mrb-first-image,
.mrb-image-container .mrb-second-image {
    height: auto;
    object-fit: contain;
}

.mrb-image-container .mrb-first-image {
    flex: 0 0 55%;
    width: 55%;
}

.mrb-image-container .mrb-second-image {
    flex: 0 0 40%;
    width: 40%;
}

@media only screen and (max-width:1024px) {
    /* technologia */
    .mrb-technology>div {
        width: 100% !important;
    }
    .mrb-icon-grid {
        padding-left: 1rem !important;
    }
    /* technologia-kolumny */
    #technologia-kolumny {
        gap: 100px;
    }
}

@media only screen and (max-width:990px) {
    /* oferta */
    .mrb-flex .mrb-card {
        flex: 0 0 45% !important;
    }
    /* header */
    .mrb-lang-switch {
        padding: .45rem .45rem .35rem 1rem !important;
        display: flex;
        gap: 5px;
    }
    .mrb-lang-switch .link {
        display: block !important;
    }
}

@media only screen and (max-width:767px) {
    /* oferta */
    #technologia-kolumny .mrb-flex-row-tech:nth-of-type(2) .mrb-col-tech-container {
        order: 1;
    }
}

@media only screen and (max-width:550px) {
    /* oferta */
    .mrb-h2 {
        margin: 0;
        transform: translate(0);
    }
    .mrb-flex {
        margin-top: 40px !important;
    }
    .mrb-flex .mrb-card {
        margin-bottom: 50px !important;
        flex: 0 0 100% !important;
        gap: 15px;
    }
    .mrb-flex .mrb-card .mrb-image {
        width: 100%;
        height: auto;
    }
    /* .mrb-flex .mrb-card p {
        font-size: 1rem !important;
    } */
    /* technologia */
    .mrb-icon-grid .mrb-card {
        flex: 0 0 100% !important;
        align-items: center;
    }
    /* technologia-kolumny */
    #technologia-kolumny {
        gap: 30px;
    }
}


/**
Privacy Policy 
*/

#polityka-prywatnosci h1 {
    margin-bottom: 50px !important;
    font-size: 45px !important;
}

#polityka-prywatnosci p {
    max-width: 60vw;
    font-weight: 200 !important;
}

.mrb-body-wrapper {
    background-color: #B2503E !important;
}


/**
Header
*/

.mrb-lang-switch {
    padding: .45rem 1.5rem .35rem;
}

.mrb-lang-switch .link {
    padding: 0;
}


/**
Section Hero Images
*/
.section-hero-images {
    .image-left,
    .image-right {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .image-left {
        aspect-ratio: 410 / 500;
    }
    .image-right {
        aspect-ratio: 992 / 734;
    }
}

/**
Section Technology Gallery
*/
.section-technology-gallery {
    .image-1 {
        aspect-ratio: 259 / 320;
    }
    .image-2 {
        aspect-ratio: 696 / 450;
    }
    .image-1,
    .image-2 {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/**
Section Gallery
*/
.section--gallery {
    .image-small,
    .image-normal,
    .gallery-item__image {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    .image-small {
        aspect-ratio: 335 / 400;
    }
    .image-normal {
        aspect-ratio: 440 / 397;
    }
    .gallery-item__image {
        aspect-ratio: 2560 / 1440;
    }
}

/**
Section Image
*/
.section-image {
    .image {
        padding: 0;
        aspect-ratio: 1340 / 580;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}


/**
Socials
*/

.socials {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    .social-link {
        display: flex;
        transition: 200ms linear;
        &:hover {
            opacity: 0.7;
        }
        svg {
            width: 32px;
            height: 32px;
        }
    }
    @media screen and (max-width: 500px) {
        margin-top: 16px;
        gap: 16px;
        .social-link {
            svg {
                width: 28px;
                height: 28px;
            }
        }
    }
}