*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: gilroy;
}

html,body{
    width: 100%;
    height: 100%;
    animation: fade-in 2s;
    
}

body{
    overflow-x: hidden;
    background-image: url(../topic_pic/reg.webp);
    background-size: cover;
}

.main{
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
}

#nav{
    width: 100%;
    padding: 5vh 3vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
}

#nav img{
    padding: 0 3%;
    width: 100px;
}

#nav #right{
    display: flex;
    align-items: center;
    gap: 40px;
}

#nav i{
    margin-top: 3px;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
}

#nav a{
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    letter-spacing: -1;
}

#menu{
    height: 100vh;
    width: 25vw;
    position: absolute;
    right: -25vw;
    top: 0;
    background-color: #00000066;
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 5vh;
    padding-left: 3vw;
    z-index: 5;
}

#menu a{
    color: #fff;
    font-size: 3vmax;
}

#menu i{
    font-size: 2vmax;
    position: absolute;
    top: 5%;
    right: 15%;
    cursor: pointer;
    color: #fff;
}

#right{
    color: #fff;
    font-size: 2.5vh;
}

#right a{
    text-decoration: none;
    color: #fff;
}

#right i{
    text-decoration: none;
    color: #fff;
    cursor: pointer;
}

.page{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2vh;
    color: #fff;
}

.box{
    color: #fff;
    width: 350px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(10px);
}

#head{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vmax;
    padding: 1.5vh 0;
}

#mid{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 0.9vmax;
    font-weight: 500;
    padding: 20px;
}

.in{
    width: 100%;
    font-size: 2vh;
}

#mid .in input{
    border-radius: 5px;
    height: 3.5vh;
    width: 100%;
    background:none;
    padding-left: 10px;
    font-size: 2vh;
    color: aliceblue;
}

#down{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 1.5vmax;
    gap: 2vmax;
}

#down>button{
    height: 30px;
    border: none;
    border-radius: 10px;
    background-color: #022137;
    width: 10vmax;
    color: #ffffff;
}

.log{
    font-size: 15px;
    color: #fff;
    font-weight: 100;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.log a{
    font-size: 18px;
    font-weight: 600;
    font-family: cursive;
    color: #fff;
    text-decoration: none;
}

@media (max-width:600px){
    #menu{
        width:50vw;
        position: fixed;
        right: -50vw;
    }
}
