:root {
    --white: 75vh;
}

body {
    font-family: 'Montserrat' !important;
    color: white !important;
    font-size: 22px;
    scroll-behavior: smooth;
}

a {
    cursor: pointer;
    color: unset !important;
    text-decoration: unset !important;
}


ul,
p {
    margin-bottom: 0 !important;
}

spacer {
    height: 5px;
    display: block;
}

.material-symbols-outlined {
    cursor: pointer;
    user-select: none;
    color: white;
    font-size: 70px !important;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 48;

}


.snaping {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    margin: 0;
    height: 100vh;
}

section {
    height: 100vh;
    background-size: cover;
    position: relative;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
}

.one {
    background-color: #234251;
}

.two {
    background-color: #73001d;
}

.three {
    background-color: #332F2E;
}

.four {
    background-color: #5a0016;
}

.five {
    background-color: #6a5033;
}

.six {
    background-color: #5B6555;
}

.seven {
    background-color: #4d535a;
}

.eight {
    background-color: #234251;
}

.nine {
    background-color: #1a0006;
}

.hero_title {
    font-size: 4rem;
}

.hero_desc {
    font-size: 1.5rem;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.potfolioContainer {
    display: flex;
    height: 100%;
    max-width: 100%;
    align-content: space-around;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.scrollView {
    display: flex;
    overflow: auto;
    flex-direction: row;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    position: relative;
}

.scrollViewItem {
    scroll-snap-align: center;
    background-size: cover;
    background-position: center;
}


@media only screen and (max-width: 851px) {
    .material-symbols-outlined {
        font-size: 30px !important;
    }

    .buttonIcon {
        font-size: 30px !important;
        vertical-align: -10px !important;
    }

    body {
        font-size: 13px !important;
    }

    .potfolioContainer {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3%;
    }

    .potfolioContainer.rev {
        flex-direction: column-reverse;
        justify-content: flex-end;
    }

    .col-sm-6 {
        width: 100% !important;
    }

    .mobilemargins {
        padding-right: 4vw;
        padding-left: 4vw;
    }

    .scrollView {
        margin-top: 10px;
        max-height: 43vh;
        max-width: 99.4vw;
    }

    .scrollViewItem {
        max-height: 42vh;
        max-width: 99.4vw;
        min-height: 42vh;
        min-width: 99.4vw;
    }

    section {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navArrow {
        display: none !important;
    }

    .previewImage {
        left: 4% !important;
        right: 4% !important;
        top: 4% !important;
        bottom: 4% !important;
    }

}

@media only screen and (min-width: 850px) {
    spacer {
        height: 10px !important;
    }

    .buttonIcon {
        font-size: 40px !important;
        vertical-align: -13px !important;
    }

    .potfolioContainer {
        flex-direction: row;
    }

    .padleft {
        padding-left: 10vw;
        padding-right: 1%;
    }

    .padright {
        padding-right: 10vw;
        padding-left: 1%;
    }

    .scrollView {
        max-height: 61vh;
        max-width: var(--white);
    }

    .scrollView.s3 {
        max-width: 36vh !important;
        max-height: 76vh !important;

    }

    .scrollView.s2 {

        margin-left: max(20%, (100% - var(--white)));
    }

    .scrollView.s4 {

        margin-left: max(20%, (100% - var(--white)));
    }

    .s3>.scrollViewItem {
        max-height: 75vh !important;
        min-height: 75vh !important;
        max-width: 36vh !important;
        min-width: 36vh !important;
    }

    .six>.potfolioContainer>.sliderRoot {
        margin-left: 15%;
        width: 35%;
    }

    .scrollViewItem {

        max-height: 60vh;
        max-width: var(--white);
        min-height: 60vh;
        min-width: var(--white);
    }

    .buttonLeft.rev {
        left: unset !important;
        right: 65px !important;
    }

    .buttonRight.rev {
        left: unset !important;
        right: 0 !important;
    }
}

.sliderRoot {
    position: relative;
}

.sliderRoot.padright {
    padding-left: 0 !important;
}

.sliderRoot.padleft {
    padding-right: 0 !important;
}

.buttonLeft {
    font-size: 50px !important;
    position: absolute;
    bottom: 1%;
    left: 0;
}

.buttonRight {
    font-size: 50px !important;
    position: absolute;
    bottom: 1%;
    left: 65px;
}

.preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #000000c0;
}

.previewImage {
    left: 9%;
    right: 9%;
    top: 9%;
    bottom: 9%;
    background-size: cover;
    position: absolute;
}

.previewDesc {
    text-align: center;
    font-size: 40px;
    width: 100%;
    bottom: 2%;
    position: absolute;
}

.closeButton {
    right: 3%;
    top: 3%;
    position: absolute;
}

img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
}

/* width */
::-webkit-scrollbar {
    width: 3px;
    height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f100;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #0006;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #fff8;
}


.s1>.img1 {
    background-image: url('images/t/1.jpg');
}

.s1>.img2 {
    background-image: url('images/t/2.jpg');
}

.s1>.img3 {
    background-image: url('images/t/3.jpg');
}

.s1>.img4 {
    background-image: url('images/t/4.jpg');
}

.s1>.img5 {
    background-image: url('images/t/5.jpg');
}

.s1>.img6 {
    background-image: url('images/t/6.jpg');
}


.s2>.img1 {
    background-image: url('images/fw/1.jpg');
}

.s2>.img2 {
    background-image: url('images/fw/2.jpg');
}

.s2>.img3 {
    background-image: url('images/fw/3.jpg');
}

.s2>.img4 {
    background-image: url('images/fw/4.jpg');
}




.s3>.img1 {
    background-image: url('images/d/1.jpg');
}

.s3>.img2 {
    background-image: url('images/d/2.jpg');
}

.s3>.img3 {
    background-image: url('images/d/3.jpg');
}




.s4>.img1 {
    background-image: url('images/inz/1.jpg');
}

.s4>.img2 {
    background-image: url('images/inz/3.jpg');
}

.s4>.img3 {
    background-image: url('images/inz/4.jpg');
}

.s4>.img4 {
    background-image: url('images/inz/6.jpg');
}

.s4>.img5 {
    background-image: url('images/inz/9.jpg');
}

.s4>.img6 {
    background-image: url('images/inz/11.jpg');
}