@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');



header1 {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    overflow: hidden;
    scale: 1;
}

.slideron {
    position: absolute;
    inset: 100px 260px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

.itemize {
    position: absolute;
    width: 220px;
    height: 300px;
    list-style: none;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 20px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.responsive{
	margin-top: 7.5rem;
}

.itemize:nth-child(1),
.itemize:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 20px;
    opacity: 1;
}

.itemize:nth-child(3) {
    left: 60%;
}

.itemize:nth-child(4) {
    left: calc(60% + 250px);
}

.itemize:nth-child(5) {
    left: calc(60% + 500px);
}

.itemize:nth-child(6) {
    left: calc(60% + 600px);
    opacity: 0;
}

.infor {
    width: min(30vw, 400px);
    position: absolute;
    top: 90%;
    left: 2rem;
    transform: translateY(-50%);
    color: #fff;
    opacity: 0;
    display: none;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.infor h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

.infor p {
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0.5rem 0 1.5rem;
}

.itemize:nth-of-type(2) .infor {
    display: block;
    animation: animate 0.6s ease-in-out 0.3s forwards;
}

@keyframes animate {
    0% {
        filter: blur(5px);
        transform: translateY(calc(-50% + 75px));
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

nav1 {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    user-select: none;
}

nav1 .btt {
    background: #000;
    color: #fff;
    font-size: 1.2rem;
    margin: 0 0.3rem;
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s ease;
}

@media screen and (max-width: 992px) {
    .slideron {
        inset: 40px 40px 200px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }
	.responsive{
		margin-top: 15rem;
	}
	
    .itemize {
        width: 100px;
        height: 100px;
        top: initial;
        bottom: -170px;
    }

    .itemize:nth-child(1),
    .itemize:nth-child(2) {
        top: initial;
        bottom: 0px;
    }

    .itemize:nth-child(3) {
        left: 0;
    }

    .itemize:nth-child(4) {
        left: 120px;
    }

    .itemize:nth-child(5) {
        left: 240px;
    }

    .infor {
        left: 1rem;
        padding: 0.5rem;
        width: min(70vw, 400px);
    }

    .infor h2 {
        font-size: 2rem;
    }
}
#prev_btn, #next_btn{
	background-color: aliceblue;
}





