/* TOPBAR */


#topbar {
    width: 100%;
    height: 10%;
    background-color: var(--fg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#topbar div{
    width: 10%;
}

#topbar img {
    width: 100%;
    height: 100%;

}



#main_container{
    width: 100%;
    margin-top: 5%;
    margin-bottom: 5%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;


}

/* FORM */
#title{
    color: var(--hl_fg);
    font-family: "Bebas Neue";
    font-size: calc((1.5vw + 1.5vh));
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 0 10px 0 10px;
    background-color: var(--bg);
    z-index: 1;
}


#form_container{
    width: 800px;
    height: auto;

    border: 4px solid var(--hl_fg);
    border-radius: 35px;

    transform: translate(0, -24px);

}

#form_subtitle{
    width: 100%;

    margin-top: 30px;
    padding-top: 5px;
    padding-bottom: 10px;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;   

    font-family: "bebas neue";
    font-size: 20pt;

    border-bottom: 2px solid var(--hl_fg);

    color: var(--fg);


    z-index: 2;
}

#register_form{
    display: flex;
    padding: 30px;

    flex-direction: column;

    align-items: center;
    justify-content: center;
}

.g_input{
    transition: all 0.2s;

    width: 80%;
    height: 25px;
    margin-top: 10px;
    border: none;
    border-bottom: 2px solid var(--fg);
    padding: 0 5px 3px 5px;

    font-size: 12pt;
}

.g_input:focus{
    transition: all 0.2s;
    width: 85%;
    border-bottom: 2px solid var(--hl_fg);

}

.g_input:hover{
    transition: all 0.2s;
    width: 85%;
    border-bottom: 2px solid var(--hl_fg);

}



.h_subcontainer{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.g_label{
    color: var(--hl_fg);
    font-family: "bebas neue";
    font-size: 18pt;
}

.g_container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.h_container{
    width: 89%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.submit_button{
    transition: all 0.2s;

    margin-top: 30px;
    padding: 14px 50px 10px 50px;
    background: transparent;
    border: 3px solid var(--hl_fg);
    color: var(--fg);
    border-radius: 1000px;
    font-size: 20pt;
    font-family: "Bebas neue";
    cursor: pointer;
}

.submit_button:hover{
    transition: all 0.2s;
    background: var(--hl_fg);
    color: var(--bg);
}

.form_content_container{
    width: 100%;
    height: 100%;
}

#pass_input{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#pass_input i{
    transition: all 0.15s;
    justify-self: flex-end;
    position: absolute;
    margin-left: 70%;
    color: var(--fg);
    cursor: pointer;
}

#pass_input i:hover{
    transition: all 0.15s;
    color: var(--hl_fg);
}


input:-webkit-autofill { 
    -webkit-background-clip: text;
}

@media only screen and (max-width: 550px){
    #topbar div{
        width: 25%;
    }

    #form_container{
        width: 100%;

        margin: 0 30px 0 30px;
    }
    
    #main_container{
        width: calc(100% - 50px);
        margin: 25px 25px 25px 25px;
    }
    
    #title{
        font-size: calc(200%);
    }

    .g_label{
        font-size: 15pt;
    }

    .h_container{
        flex-direction: column;
        width: 100%;

    }
    
    .h_subcontainer{
        width: 100%;
        margin-bottom:50px
    }

    #pass_input i{
        margin-left: 60% !important;
    }
}