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

body {
    background: #eaeaea;
    overflow: hidden;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 700px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}

.container .slide {
    position: relative;
    height: 100%;
}

.container .slide .item {
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    transition: 0.7s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}

.slide .item:nth-child(3) {
    left: 50%;
}

.slide .item:nth-child(4) {
    left: calc(50% + 220px);
}

.slide .item:nth-child(5) {
    left: calc(50% + 440px);
}

.slide .item:nth-child(n + 6) {
    left: calc(50% + 60px);
}

.item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eaeaea;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
    text-shadow: 0 5px 10px black;
}

.slide .item:nth-child(2) .content {
    display: block;
}

.content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content .redirect {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}

.button {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button {
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.redirect {
    background-color: rgba(201, 240, 241, 0.823);
    border: 1px solid #000;
    cursor: pointer;
    width: 30px;
    height: 15px;
    text-decoration: none;
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
    .container {
        width: 80%;
        height: 600px;
    }

    .slide .item {
        width: 180px;
        height: 270px;
    }

    .slide .item:nth-child(4) {
        left: calc(50% + 180px);
    }

    .slide .item:nth-child(5) {
        left: calc(50% + 360px);
    }

    .content .name, .content .des {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .container {
        width: 90%;
        height: 500px;
    }

    .slide .item {
        width: 150px;
        height: 225px;
    }

    .slide .item:nth-child(4) {
        left: calc(50% + 150px);
    }

    .slide .item:nth-child(5) {
        left: calc(50% + 300px);
    }

    .content {
        left: 50px;
        width: 250px;
    }

    .content .name, .content .des {
        font-size: 25px;
    }

    .button {
        bottom: 10px;
    }

    .button button {
        width: 35px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        height: 400px;
    }

    .slide .item {
        width: 120px;
        height: 180px;
    }

    .slide .item:nth-child(4) {
        left: calc(50% + 120px);
    }

    .slide .item:nth-child(5) {
        left: calc(50% + 240px);
    }

    .content {
        left: 30px;
        width: 200px;
    }

    .content .name, .content .des {
        font-size: 20px;
    }

    .button button {
        width: 30px;
        height: 25px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        height: 350px;
    }

    .slide .item {
        width: 100px;
        height: 150px;
    }

    .slide .item:nth-child(4) {
        left: calc(50% + 100px);
    }

    .slide .item:nth-child(5) {
        left: calc(50% + 200px);
    }

    .content {
        left: 20px;
        width: 150px;
    }

    .content .name, .content .des {
        font-size: 18px;
    }

    .button button {
        width: 25px;
        height: 20px;
    }
}