@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{
    --form_color: rgb(90, 89, 89);
}


/* .montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
} */

#top_header{
    display: flex;
    align-items: center;
    background-color: aqua;
    height: 80px;
    padding: 0 20px;
}

#top_nav{
    flex: 1;
}

#top_nav ul{
    display:flex;
    align-items: center;
    justify-content: space-evenly;
}

#top_nav ul li{
    list-style: none;
}

#top_nav ul li a{
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: black;
    text-transform: uppercase;
}

#top_nav .active_link{
    font-weight: 700;
    text-decoration: solid;
    color: blue;
}

#logo{
    
    font-size: 25px;
    font-family: "Montserrat", sans-serif;
}

#avatar{
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#avatar span{
    background-color: darkgreen;
    border-radius: 50%;
    font-size: 32px;
    font-family: bold;
    color: white;
    font-family: "Montserrat", sans-serif;
    padding: 5px;

}

#main{
    min-height: calc(100vh - 80px - 60px);
    background-color: beige;
    padding: 20px;
}

#main_footer{
    background-color: aqua;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-family: "Montserrat", sans-serif;
}

/* *********************** LOGIN FORM ********************* */

#blanket{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    display:none;
    font-family: "Montserrat", sans-serif;
}

.wrapper{
    position: relative;
    width: 400px;
    background-color: rgba(255,255,255, 0.8);
    border-color: rgba(255,255,255,0.5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    overflow: hidden;
}


#frame{
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-400px);
    transition: 0.5s;
}

#close_popup{
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 35px;
    height: 35px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--form_color);
    color: white;
    border-radius: 0 20px;
    line-height: 35px;
    text-align: center;
    cursor: pointer;
    z-index: 150;
}

.form_box{
    width: 400px;
    padding: 40px;
}

.form_box h2{
    text-align: center;
    color: var(--form_color);
}

.form_box form{
    width: 320px;
}

.input_box{
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid var(--form_color);
    margin: 30px 0;
}

.input_box input{
    width: 100%;
    height: 115%;
    border: none;
    outline: none;
    font-size: 1em;
    color: var(--form_color);
    font-weight: bold;
    padding: 0 35px 0 5px;
    background-color: transparent;
}

.input_box label{
    position: absolute;
    top: 60%;
    left: 5px;
    font-size: 1em;
    color: var(--form_color);
    font-weight: 500;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.5s;
}

.input_box .icon{
    position: absolute;
    right: 5px;
    font-size: 1.2em;
    color: var(--form_color);
    line-height: 60px;
}

.input_box input:focus~label,
.input_box input:valid~label{
    top: -5px;
}

.login-register{
    font-size: 0.9em;
    color: var(--form_color);
    font-weight: 500;
    margin: 25px 0 10px 0;
}

.remember-forgot{
    margin-bottom: 20px;
    color: var(--form_color);
    font-weight: 500;
}

.btn{
    width: 100%;
    height: 45px;
    background-color: var(--form_color);
    color: white;
    font-size: 1em;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}


/* ************* ERROR MESSAGES ************** */

#error_cont{
    position: fixed;
    top: 80px;
    width: 96%;
    height: 20px;
    font-family: "Montserrat", sans-serif;
}

#error_cont p{
    text-align: center;
    font-weight: bold;
}

.error{
    color:red;
}

.success{
    color:green;
}

.warning{
    color:gold;
}

#avatar_image{
    max-height: 70px;
    max-width: 70px;
}