*{
    margin: 0px;
    padding: 0px;
}
body{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-size: cover;
}
.Box{
    position: absolute;
    top: 100px;
    left: 500px;
    background-color: #F8FCFF;
    height: 70%;
    width: 30%;
    border: 1px solid black;
}
#SignIn{
    z-index: 1;
}
.first{
    margin-top: 20%;
    text-align: center;
}
.second{
    margin-top: 15%;
    text-align: center;
}
.field{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1%;
}
#username{
    margin-top: 10%;
}
#password,#confirm,#mail{
    margin-top: 5%;
}
#user,#pass,#email{
    height: 25px;
    width: 60%;
    border-radius: 2%;
}

#forgot{
    margin-top: 20px;
    margin-left: 22%;
    font-size: small;
}
#login,#reg{
    border-radius: 2%;
    height: 35px;
    width: 60%;
    margin-top: 10%;
    margin-left: 22%;
    font-size: large;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    background: rgb(228,28,73);
    background: linear-gradient(146deg, rgba(228,28,73,1) 46%, rgba(118,40,226,1) 100%);
    cursor: pointer;
}

.foot{
    text-align: center;
    margin-top: 7%;
    font-size: small;
}

a{
    text-decoration: none;
    color: black;
}

.hide{
    z-index: 0;
    animation: sliding 1s linear 0s 1 forwards;
}
.visible{
    z-index: 1;
    animation: rot 0.3s linear 1 forwards;
}

@keyframes sliding {
    0% {
        transform: translateX(200%) rotate(0deg);
    }
    100% {
        transform: translateX(0%) rotate(10deg);
    }
}
@keyframes rot {
    0%{
        transform: rotate(10deg);
    }
    100%{
        transform: rotate(0deg);
    }
    
}
#tosignin,#tosignup{
   background-color: transparent;
    border: none;
}