body {
    margin: 0;
    user-select: none;
}

.navtop {
    display: flex;
    height: 90px;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
}

.logo img {
    height: 60px;
    width: 80%;
}

button {
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
}

.circle-wrapper {
    width: 50px;
    height: 50px;
    right: 1%;
    position: relative;
}

.c2 {
    margin-left: -17%;
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: spin 10s linear infinite;
    border: 3px dashed #fff;
}

@keyframes spin {
    100% {
        transform: rotateZ(360deg);
    }
}

.circle-wrapper .off {
    border: none;
    position: absolute;
    transform: translate(12%, -115%);
}

.off:hover {
    opacity: 0.8;
}

.menu {
    display: flex;
}

.menu div a {
    font-family: "Bebas Neue", sans-serif;
    font-size: 18px;
    color: white;
}

.menu div .first {
    color: #1ADDFF;
}

.menu div a:hover {
    color: #1ADDFF;
}

input[type=checkbox] {
    display: none;
}

.menubar {
    display: none;
    font-size: 24px;
    user-select: none;
}

.vertical {
    top: 0;
    margin-left: 88%;
    height: 100%;
    position: absolute;
    border-left: 1px solid rgb(255, 255, 255, 0.4);
    z-index: 90;
}

hr.row {
    width: 100%;
    margin-top: 6%;
    margin-left: 0;
    border: 1px solid rgb(255, 255, 255, 0.5);
    position: absolute;
    z-index: 90;
}

hr.row2 {
    width: 100%;
    margin-top: 41%;
    margin-left: 0;
    border: 1px solid rgb(255, 255, 255, 0.5);
    position: absolute;
    z-index: 90;
}

.title b {
    margin-left: 13%;
    margin-top: 39%;
    position: absolute;
    font-family: "Bebas Neue", sans-serif;
    font-size: 90px;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgb(255, 255, 255, 0.4);
    z-index: 90;
    user-select: none;
}

.page {
    position: absolute;
    z-index: 90;
    top: 50%;
    right: 2.5%;
    text-align: end;
    user-select: none;
}

.pa1 {
    font-family: "Rubik", sans-serif;
    color: #10a7e8;
    font-size: 38px;
    font-weight: 800;
}

.pa2 {
    font-family: "Rubik", sans-serif;
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-top: -20px;
}

/* carousel */
.carousel {
    height: 100vh;
    margin-top: -90px;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}

.carousel .list .item .light {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    filter: brightness(.5);
}

.carousel .list .item .content {
    position: absolute;
    top: 20%;
    width: 1200px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    text-shadow: 0 7px 10px #0004;
}

.carousel .list .item .tyy {
    position: absolute;
    top: -40%;
    width: 550px;
    max-width: 80%;
    transform: translateX(12%);
    filter: brightness(.6);
}

.carousel .list .item .author {
    font-weight: 700;
    font-family: "Rubik", sans-serif;
    letter-spacing: 10px;
    color: #1ADDFF;
}

.carousel .list .item .title {
    font-size: 5em;
    font-weight: bold;
    color: #fff;
    font-family: "Rubik", sans-serif;
}

.carousel .list .item .des {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    font-family: "Roboto Mono", monospace;
}

/* thumbail */
.thumbnail {
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 15px;
}

.thumbnail .item {
    width: 160px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
    background-color: #000;
    border-radius: 15px;
    filter: brightness(.8);
    border: 2px solid #fff;
}

.thumbnail .item img {
    width: 100%;
    margin-top: 10%;
}

.thumbnail .item .content {
    color: #fff;
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.thumbnail .item .content .title {
    font-weight: 500;
}

.thumbnail .item .content .description {
    font-weight: 300;
}

/* arrows */
.arrows {
    position: absolute;
    top: 75%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}

.arrows button:hover {
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1) {
    z-index: 1;
}

/* animation text in first item */
.carousel .list .item:nth-child(1) .content .tyy {
    opacity: 0;
    animation: showLogo .5s 1s linear 1 forwards;
}

@keyframes showLogo {
    to {
        opacity: 0.6;
    }
}

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .des {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}

@keyframes showContent {
    to {
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.carousel .list .item:nth-child(1) .content .tyy {
    animation-delay: 0.5s !important;
}

.carousel .list .item:nth-child(1) .content .author {
    animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .title {
    animation-delay: 1.4s !important;
}

.carousel .list .item:nth-child(1) .content .des {
    animation-delay: 1.6s !important;
}

/* create animation when next click */
.carousel.next .list .item:nth-child(1) .background {
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .3s linear 1 forwards;
}

@keyframes showImage {
    to {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1) {
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}

.carousel.prev .list .item img {
    z-index: 100;
}

@keyframes showThumbnail {
    from {
        width: 0;
        opacity: 0;
    }
}

.carousel.next .thumbnail {
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext {
    from {
        transform: translateX(150px);
    }
}

/* prev click */
.carousel.prev .list .item:nth-child(2) {
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}

@keyframes outFrame {
    to {
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

/*.carousel.prev .thumbnail .item:nth-child(1) {
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
} */

.carousel.next .arrows button,
.carousel.prev .arrows button {
    pointer-events: none;
}

.carousel.prev .list .item:nth-child(2) .content .tyy,
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .des {
    animation: contentOut .5s linear 1 forwards !important;
}

@keyframes contentOut {
    to {
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

@media screen and (max-width: 678px) {
    .carousel .list .item .content {
        padding-right: 0;
    }

    .carousel .list .item .content .title {
        font-size: 30px;
    }
}

@media (max-width: 1200px) {
    .menu {
        display: none;
        position: fixed;
        padding-top: 20px;
        margin-top: 10px;
        background-color: rgba(0, 0, 0, 0.9);
        left: 0;
        text-align: left;
        width: 100%;
        height: 120%;
        z-index: 10;
        border-top: 1px solid #c1c1c1;
    }

    .menu div {
        margin-top: 20px;
        text-align: start;
        margin-left: 2%;
    }

    .menu div a {
        color: white;
        font-family: 'Roboto', sans-serif;
        font-size: 20px;
        text-decoration: none;
    }

    .navtop button {
        display: none;
    }

    .menu div:hover {
        color: #068FFF;
    }

    input[type=checkbox]:checked~.menu {
        display: block;
    }

    .menubar {
        display: block;
    }

    .circle-wrapper {
        display: none;
    }
}

@media (max-width: 760px) {
    .menu div {
        margin-left: 5%;
    }
}