.background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
}

.project-body {
    background-color: #101019;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

.slider {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    user-select: none;
    padding: 0 5vw;
    width: fit-content;
}

.slide {
    width: 50vw;
    height: 500px;
    margin: 0 5vw;
    position: relative;
    transition: all .7s ease;
}

.slide>.photo {
    width: inherit;
    height: inherit;
    transition: all 1s ease;
}

.slide>.photo>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide>.text {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    transition: all .4s ease;
}

.slide>.text h2 {
    font-size: 4rem;
    text-shadow: 4px 4px #000000;
}

.slide>.text p {
    font-size: 1.5rem;
    text-shadow: 3px 3px #000000;
}

.slide .photo::before {
    content: '';
    position: absolute;
    color: #fff;
    transform: rotate(-90deg);
    top: 40px;
    left: -60px;
}

.slide:nth-child(1) .photo::before {
    content: '01 /05';
}

.slide:nth-child(2) .photo::before {
    content: '02 / 05';
}

.slide:nth-child(3) .photo::before {
    content: '03 / 05';
}

.slide:nth-child(4) .photo::before {
    content: '04 / 05';
}

.slide:nth-child(5) .photo::before {
    content: '05 / 05';
}


.slider:active {
    cursor: grabbing;
}

@media only screen and (max-width: 800px) {
    .slide .photo::before {
        position: absolute;
        color: #fff;
        transform: rotate(0deg);
        top: -20px;
        left: 0px;
    }

    .slide>.photo {
        width: 50%;
        height: inherit;
        transition: none;
    }

    .slider {
        flex-direction: column;
        align-items: center;
        overflow: visible;
        height: 80%;
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .slide {
        width: 100%;
        height: auto;
        margin: 20px 0;
        transform: none !important;
    }

    .slide>.photo>img {
        height: 45vw !important;
        width: auto;
        align-items: center;
    }

    .slide>.text {
        text-align: center;
    }

    .slide>.text h2 {
        font-size: 20px;
    }

    .slide>.text p {
        font-size: 12px;
    }

    .slide>.photo {
        width: 100%;
        height: auto;

    }

    .slide>.photo>img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

@media only screen and (min-width: 1001px) and (max-width: 1460px) {
    .image-box .right {
        height: 90px;
        width: 90px;
    }

    .image-box .left {
        height: 90px;
        width: 90px;
    }

    .split-container {
        width: 90px;
        height: 90px;
    }

    .image-gallery {
        gap: 0px;
    }

    .image-box {
        box-shadow: 2px 2px 2px 3px darkgray;
    }

    .profile-image img {
        width: 260px;
        height: 360px;
    }

    body::after {
        height: 2rem;
        width: 2rem;
    }

    body::before {
        height: 2rem;
        width: 2rem;
        left: 95vw;
    }

    .image-container img {
        width: 350px;
        height: 450px;
    }

    .image-container {
        width: 350px;
        height: 450px;
    }
}

@media only screen and (min-width: 800px) and (max-width: 2000px) {

    .slider:active .slide {
        transform: scale(0.9);
        margin: 0 0;
    }
}
