*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.page{
    height: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(./Images/bg.jpg);
    background-size: cover;
    position: absolute;
    background-position: center;
}


/* ---------------------------------------------Nav bar menu----------------------------------------------- */


.nav-bar{
    display: flex;
    align-items: center;
    padding: 40px 20px 30px 50px;
}

nav{
    flex: 1;
    text-align: right;
}

nav ul{
    display: inline-block;
    list-style: none;
}

nav ul li{
    display: inline-block;
    margin-right: 50px;
}

nav ul li a{
    text-decoration: none;
    font-size: 20px;
    color: white;
    font-weight: 600;
    font-family: sans-serif;
}

nav ul li button{
    font-size: 20px;
    color: white;
    outline: none;
    border: none;
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    font-family: sans-serif;
}

nav ul li button:hover{
    color: aqua;
}

nav ul li a:hover{
    color: aqua;
}

a{
    text-decoration: none;
    color: rgb(215, 221, 158);
    font-size: 28px;
}




/* ---------------------------------------------Login menu----------------------------------------------- */


.form-box{
    justify-content: center;
    align-items: center;
    width: 33%;
    height: 480px;
    position: relative;
    margin: 2% auto;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    overflow: hidden;
}

.button-box{
    width: 220px;
    margin: 30px auto;
    position: relative;
    box-shadow: 0 0 20px 9px #ff61241f;
    border-radius: 30px;
}

.toggle-btn{
    padding: 10px 30px;
    cursor: pointer;
    background: transparent;
    font-weight: 600;
    border: 0;
    outline: none;
    position: relative;
}

#btn{
    top: 0;
    left: 0;
    position: absolute;
    width: 110px;
    height: 100%;
    background: #f3c693;
    border-radius: 30px;
    transition: 0.5s;
}

.input-group-login{
    top: 150px;
    position: absolute;
    width: 280px;
    transition: 0.5s;
}

.input-group-register{
    top: 120px;
    position: absolute;
    width: 280px;
    transition: 0.5s;
}

.input-field{
    width: 100%;
    padding: 10px 0;
    margin: 5px 0;
    border-left: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #999;
    outline: none;
    background: transparent;
}

.submit-btn{
    width: 85%;
    padding: 10px 30px;
    cursor: pointer;
    display: block;
    margin: auto;
    font-weight: 600;
    background: #f3c693;
    border: 0;
    outline: none;
    border-radius: 30px;
}

.check-box{
    margin: 30px 10px 34px 0;
}

span{
    color: #777;
    font-size: 14px;
    bottom: 68px;
    position: absolute;
}

#login{
    left: 50px;
}

#login input{
    color: white;
    font-size: 15px;
}

#register{
    left: 450px;
}

#register input{
    color: white;
    font-size: 15px;
}