body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.background {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: rgb(199, 199, 199);
}

.wallpaper {
    background-image: url('image/backhome.webp');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 2.5%;
    left: 2.5%;
    width: 95%;
    height: 720px;
    z-index: 1;
    border-radius: 30px;
    border: 2px solid black;
}


nav {
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    left: 10%;
    width: 80%;
    padding: 1px 30px;
    position: fixed;
    top: 40px;
    z-index: 2147483647;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 5%;
}

.navitems {
    display: flex;
    align-items: center;
}

.buttonb {
    background: rgb(255 255 255 / 16%);
    border: 0;
    width: 56px;
    height: 52px;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    opacity: 0.6;
    transform: scale(0.7);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.175s;
    margin-left: 20px;
}

.buttonb:hover {
    opacity: 1;
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    ;
}

.burger {
    transform: scale(1.3);
    height: 34px;
}

.burger svg {
    height: 36px;
    transform: translate(-1px, -1px);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.burger .line {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
    transition: stroke-dasharray 500ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 500ms cubic-bezier(0.4, 0, 0.2, 1);

}

.burger .line-top-bottom {
    stroke-dasharray: 12 63;
}

.is-closed.burger svg {
    transform: rotate(-45deg) translate(0);
}

.is-closed.burger svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}


.nav-menu {
    position: absolute;
    top: 20%;
    left: 81%;
    transform: translate(15%, -50%);
    width: 600px;
    max-width: 90%;
    max-height: 90%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 1s, opacity 0.3s ease, transform 0.3s ease;

}

.nav-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid #ccc;
}

.nav-menu a {
    font-family: arial;
    text-shadow: 1px 1px black;
    text-decoration: none;
    color: #12B1D1;
    font-weight: bold;
    display: block;
    width: 100%;
}

.logo {
    background-image: url(image/logo.png);
    background-size: cover;
    width: 110px;
    height: 90px;
    border-radius: 10%;
    left: 10px;
    margin-top: -25px;
}


.white {
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    z-index: 3;
    border: 1px solid black;
    border-radius: 20px;
    transition: transform 0.7s ease-in;
    padding: 20px;
    box-sizing: border-box
}

.white.scroll-up {
    transform: translateY(-75%);
}

.white.scroll-down {
    transform: translateY(75%);
}

.middletext{
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
    margin-top: 45px;
    font-size: 30px;
    font-weight:700;
    font-family: Arial, Helvetica, sans-serif;
}

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

.container .slide .item {
    width: 200px;
    height: 300px;
    position: absolute;
    left: -100%;
    top:50%;
    transform: translate(150%, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.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% + 660px);
    opacity: 0;
}



.item .content {
    position: absolute;
    top: 89%;
    left: 5%;
    width: 300px;
    text-align: left;
    color: #fffff0;
    text-shadow: 1px 1px 40px #0099ff;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}



.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 {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
    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;
}

.button button:hover {
    background: #ababab;
    color: #fff;
}