﻿/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(214, 210, 210);
}*/

.slider {
    position: relative;
    background: white;
    width: 1200px;
    min-height: 500px;
    margin: 0px 0px 0px -2px;
    overflow: hidden;
    border-radius: 10px;
}

    .slider .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        clip-path: inset(1% 99% 0 1%);
    }

        .slider .slide.active {
            clip-path: inset(0 0 0 0);
            transition: 2s;
        }

        .slider .slide img {
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.navigation {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider:hover .navigation {
    opacity: 1;
}

.prev-btn, .next-btn {
    z-index: 999;
    font-size: 2em;
    color: grey;
    background: rgb(255, 255, 255,0.8);
    padding: 10px;
    cursor: pointer;
}

.prev-btn {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.next-btn {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.navigation-visibility {
    z-index: 999;
    display: flex;
    justify-content: center;
}

    .navigation-visibility .slide-icon {
        z-index: 999;
        background: rgba(255, 255, 255, 0.5);
        width: 20px;
        height: 10px;
        transform: translateY(-50px);
        margin: 0 6px;
        border-radius: 2px;
        box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
    }

        .navigation-visibility .slide-icon.active {
            background: #013f73;
        }

@media (max-width: 900px) {
    .slider {
        width: 100%;
    }
}
