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.95);
    z-index: 2;
    border: 1px solid black;
    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;
}

.formcont {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 40%;
    width: 100%;
    height: 10%;
}

.form-container {
    perspective: 1000px;
    position: absolute;
    z-index: 2;
    top: 25%;
    left: 37.5%;
}

.form-content {
    width: 450px;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease-in-out;
}

.form-side {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.sign-in {
    transform: rotateY(0deg);
    z-index: 3;
}

.sign-up {
    transform: rotateY(-180deg);
    z-index: 2;
}

.forgot-password {
    transform: rotateY(180deg);
    z-index: 1;
}

.container {
    max-width: 350px;
    background: #F8F9FD;
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
    border-radius: 40px;
    padding: 25px 35px;
    border: 5px solid rgb(255, 255, 255);
    box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
    margin: 20px;
}

.heading {
    font-family: Arial;
    text-align: center;
    font-weight: 850;
    font-size: 30px;
    color: rgb(16, 137, 211);
}

.form .input {
    width: 95%;
    background: white;
    border: none;
    padding: 15px 12.5px;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: #cff0ff 0px 10px 10px -5px;
    border-inline: 2px solid transparent;
}

.form .input:focus {
    outline: none;
    border-inline: 2px solid #12B1D1;
}

.middletext {
    padding-top: 15px;
    justify-content: space-between;
    display: flex;
}


.middletext a {
    color: #0099ff;
    font-size: 11px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    transform: rotateY(180deg);
}

.form .login-button,
.form .signup-button,
.form .forgot-button {
    display: block;
    width: 100%;
    font-weight: bold;
    background: linear-gradient(45deg, rgb(16, 137, 211) 0%, rgb(18, 177, 209) 100%);
    color: white;
    padding-block: 15px;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 20px 10px -15px;
    border: none;
    transition: all 0.2s ease-in-out;
}

.form .login-button:hover,
.form .signup-button:hover,
.form .forgot-button:hover {
    transform: scale(1.03);
    box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 23px 10px -20px;
}

.form .login-button:active,
.form .signup-button:active,
.form .forgot-button:active {
    transform: scale(0.95);
    box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 15px 10px -10px;
}

.social-account-container {
    margin-top: 25px;
}

.social-account-container .title {
    display: block;
    text-align: center;
    font-size: 10px;
    color: rgb(170, 170, 170);
}

.social-account-container .social-accounts {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.social-account-container .social-accounts .social-button {
    background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(112, 112, 112) 100%);
    border: 5px solid white;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 12px 10px -8px;
    transition: all 0.2s ease-in-out;
}

.social-account-container .social-accounts .social-button .svg {
    fill: white;
    margin: auto;
}

.social-account-container .social-accounts .social-button:hover {
    transform: scale(1.2);
}

.social-account-container .social-accounts .social-button:active {
    transform: scale(0.9);
}

.agreement {
    display: block;
    text-align: center;
    margin-top: 15px;
}

.agreement a {
    text-decoration: none;
    color: #0099ff;
    font-size: 9px;
}

.back-to-login {
    text-align: center;
    margin-top: 20px;
}

.back-to-login a {
    text-decoration: none;
    color: #0099ff;
    font-size: 11px;
}

.confirmation-message {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #12B1D1;
    display: none;
}