body {
    margin: 0;
}

.image-carousel {
    width: 100%;
    height: 298px;
    background: #D9D9D9;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.container {
    height: 100%;
    display: grid;
    place-items: center;
}

.slide {
    border-radius: 10px;
    width: 100%;
    max-width: 150px;
    height: 72px;
    background-color: #ffffff;
    filter: drop-shadow(15px 25px 25px rgba(30, 30, 30, 0.25));
    position: absolute;
    transition: transform 300ms ease;
}

.slide.active {
    width: 100%;
    max-width: 215px;
    height: 110px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: -60px;
    gap: 5px;

}

.scroll {
    height: 10px;
    width: 10px;
    background-color: #ffffff;
    border-radius: 0.5px;
}

.scroll.start {
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
}

.scroll.end {
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
}

.scroll.active {
    background: #646464;
}

@media (min-width: 769px) {
    .image-carousel {
        width: 100%;
        height: 640px;
        background: #D9D9D9;
        margin: 50px 0;
        position: relative;
        overflow: hidden;
    }
    
    .container {
        height: 100%;
        display: grid;
        place-items: center;
    }
    
    .slide {
        border-radius: 10px;
        width: 100%;
        max-width: 427px;
        height: 214px;
        background-color: #ffffff;
        filter: drop-shadow(15px 25px 25px rgba(30, 30, 30, 0.25));
        position: absolute;
        transition: transform 300ms ease;
    }
    
    .slide.active {
        width: 100%;
        max-width: 640px;
        height: 320px;
    }
    
    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
    
    .pagination {
        display: flex;
        justify-content: center;
        margin-top: -110px;
        gap: 10px;
    }
    
}