*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: gilroy;
    
}

html,body{
    height: 100%;
    width: 100%;
    animation: fade-in 2s;
}

body{
    overflow-x: hidden;
}

#page1{
    height: 100vh;
    width: 100vw;
    background-image:url("../topic_pic/log-pic.jpg");
    background-size:cover ;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#nav{
    width: 100%;
    padding: 5vh 3vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
}

#nav img{
    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: 20vw;
    position: absolute;
    right: -20vw;
    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;
}

#logbox{
    opacity: 0;
    height: 400px;
    width: 350px;
    font-size: 1.2vw;
    background: none;
    color: rgb(255, 255, 255);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(10px);
}

#log{
    height: 20%;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 25px 0px;
    border-radius: 10px;
    font-size: 3vh;
    font-weight: 700;
}

#user,#pass{
    border-radius: 5px;
    height: 30px;
    width: 100%;
    background:none;
    padding-left: 10px;
    font-size: 2vh;
    color: aliceblue;
}

#form{
    height: 60%;
    width: 100%;
    padding: 20px 20px;
    font-size: 2vh;
}

#but{
    height: 10%;
    width: 100%;
    padding: 20px 90px;
    display: flex;
    gap:20px;
}

#but>button{
    height: 30px;
    border: #ff7777;
    border-radius: 5px;
    background-color: #ff7777;
    width: 150px;
    color: #ffd7d7;
}

.reg{
    opacity: 0;
    font-size: 15px;
    color: #fff;
    font-weight: 100;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.reg a{
    font-size: 18px;
    font-weight: 600;
    font-family: cursive;
    color: #fff;
    text-decoration: none;
}

@keyframes fade-in{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
