@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    overflow: hidden;
}

.carousel {
    height: 100vh;
}

.item .img-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: .4s ease;
    transition-delay: .6s;
    overflow: hidden;
}

.item .img-box::before {
    content: '';
    position: absolute;
    right: 22%;
    width: 500px;
    height: 100%;
    background: rgba(255, 255, 255, .8);
    border-radius: 50%;
    filter: blur(200px);
}

.item.active .img-box,
.item.previously-active .img-box {
    transition-delay: .2s;
}

.item.active .img-box {
    transform: translateY(0);
}

.item.back-active .img-box {
    transition: none;
}

.item:nth-child(1) .img-box {
    background: #7a5608;
}

.item:nth-child(2) .img-box {
    background: #827263;
}

.item:nth-child(3) .img-box {
    background: #b4848d;
}

.item:nth-child(4) .img-box {
    background: #6f6f6f;
}

.item:nth-child(5) .img-box {
    background: #2f533d;
}

.item:nth-child(6) .img-box {
    background: rgb(84, 30, 30);
}

.item:nth-child(7) .img-box {
    background: rgb(66, 65, 65);
}

.item:nth-child(8) .img-box {
    background: rgb(62, 19, 131);
}





.img-box img {
    position: absolute;
    width: auto;
    height: auto;
    max-width: 65%;
    max-height: 75%;
    left: 55%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, .25));
}






.item .info-box {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 280px;
    z-index: 1;
    overflow: hidden;
}

.item.active .info-box {
    z-index: 2;
}

.info-box .info-slider {
    transition: .7s cubic-bezier(0.68, -0.55, 0.1, 1);
}

.info-slider .info-item {
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    transform: translateY(calc(var(--i) * 100%));
}

.info-item h2 {
    font-size: 40px;
    line-height: 1;
}

.info-item p {
    font-size: 16px;
    margin: 15px 0 20px;
}

.info-item .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 47px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.thumb {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    list-style: none;
    z-index: 100;
}

.thumb li {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    margin: 15px 0;
    overflow: hidden;
}

.thumb li.selected {
    border: 3px solid #fff;
}

.thumb li.disabled {
    pointer-events: none;
}

.thumb li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}