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

.background {
    position: absolute;
    z-index: 1;
    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: 2;
    border-radius: 30px;
    border: 2px solid black;
    
}

.white {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    height: 45%;
    background-color: rgba(255, 255, 255, 0.91);
    z-index: 2;
    border: 1px solid black;
    filter: blur(1px);
    border-radius: 20px;
}

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: absolute;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 5%;
    top: 40px;
}

.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;
}

.elements {
    z-index: 2;
    position: absolute;
    top:45%;
    left:50.1%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap:95px;
    align-items: center;
}


.card {
    overflow: hidden;
    width: 225px;
    height: 324px;
}

.content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 300ms;
    box-shadow: 0px 0px 10px 1px #000000ee;
    border-radius: 5px;
}

.front,
.back {
    background-color: #151515;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 5px;
    overflow: hidden;
}

.back {
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.back::before {
    position: absolute;
    content: ' ';
    display: block;
    width: 160px;
    height: 160%;
    background: linear-gradient(90deg, transparent, #12B1D1, #12B1D1, #12B1D1, #12B1D1, transparent);
    animation: rotation_481 5000ms infinite linear;
}

.back-content {
    position: absolute;
    width: 99%;
    height: 99%;
    background-color: #151515;
    border-radius: 5px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.card:hover .content {
    transform: rotateY(180deg);
}

@keyframes rotation_481 {
    0% {
        transform: rotateZ(0deg);
    }

    0% {
        transform: rotateZ(360deg);
    }
}

.front {
    transform: rotateY(180deg);
    color: white;
}

.front .front-content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.badgemiddle{
    background-color: #00000055;
        padding: 12px 12px;
        border-radius: 10px;
        backdrop-filter: blur(2px);
        width: fit-content;
}

.front-content .badge {
    background-color: #00000055;
    padding: 2px 10px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    width: fit-content;
}

.description {
    box-shadow: 0px 0px 10px 5px #00000088;
    width: 100%;
    padding: 10px;
    background-color: #00000099;
    backdrop-filter: blur(5px);
    border-radius: 5px;
}

.title {
    font-size: 11px;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
}

.title p {
    width: 50%;
}

.card-footer {
    color: #ffffff88;
    margin-top: 5px;
    font-size: 8px;
}

.front .img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #0099ff;
    position: relative;
    filter: blur(15px);
    animation: floating 2600ms infinite linear;
}

#bottom {
    background-color: #226fff;
    left: 50px;
    top: 0px;
    width: 150px;
    height: 150px;
    animation-delay: -800ms;
}

#right {
    background-color: gray;
    left: 160px;
    top: -80px;
    width: 30px;
    height: 30px;
    animation-delay: -1800ms;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(20px);
    }

    100% {
        transform: translateY(0px);
    }
}