:root {
    --prim-color: #060412;
    --sec-color: #366068;
    --accentuated-color: #b8d800;
}

@media (prefers-color-scheme: dark) {
    :root {
        --prim-color: #060412;
    }
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "tahoma";
    font-size: 0.9em;
    background-color: var(--prim-color);
    color: #FFFFFF;
}

.top-fixed {
    display: block;
    float: left;
    width: 100vw;
    height: 5vh;
    position: absolute;
    background-color: rgba(8, 8, 20, 0.75);
    top: 0;
    left: 0;
}

.top-fixed a {
    display: inline;
    float: right;
    text-decoration: none;
    color: #FFFFFF;
    margin-right: 5%;
    margin-top: 10px;
    font-size: 1.5em;
}

.top-fixed a:hover{
    color: #b8d800;
    cursor: pointer;
}

.top-fixed a:visited{
    text-decoration: none;
}

/*------------------*/
/*--- LOGIN PAGE ---*/
/*------------------*/

section.grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    justify-items: end;
    align-items: center;
    grid-gap: 0;
}

section.grid > div.left {
    grid-column:  1 / 2;
    grid-row: 1 / 2;
}

section.grid > div.right {
    grid-column:  2 / 4;
    grid-row: 1 / 2;
}

div.left {
    display: block;
    float: left;
    width: 70%;

}

form.userForm {
    display: block;
    float: left;
    margin-top: 15%;
    margin-left: 10%;
}

form.userForm input {
    margin-top: 2px;
}

form.userForm input.is-invalid {
    border: #ee6e05 1px solid;
}

form.userForm input.connexion, form.userForm input.connexion {
    width: 100px;
    margin: 20px 0 0 12%;
}

input[type="submit" i]:active {
    border-style: inset;
}

div.invalid-feedback {
    color: #ee6e05;
}

img.user {
    display: block;
    float: left;
    width: 196px;
    height: 196px;
    border-right: 1px solid #ee6e05;
}

section.right > div.grid-image {
    width: 100%;
    height: auto;
}

span.newAccount {
    display: block;
    float: left;
    width: 100%;
    margin-left: 15%;
    color: #000000;
    font-size: 0.85em;
    font-weight: bold;
}

span.forgottenPassword {
    display: block;
    float: left;
    width: 100%;
    margin-left: 14%;
}

/*---------------------*/
/*--- REGISTER FORM ---*/
/*---------------------*/

form.registerForm {
    display: block;
    float: left;
    width: 85%;
    padding: 0 5% 5% 5%;
    border-radius: 8px;
    box-shadow: rgba(3, 3, 8, 0.8) 5px 5px 20px 0px inset, 
    rgba(3, 3, 10, 0.5) -3px -3px 6px 1px inset;
    background-color: rgba(22, 22, 44, 0.9);
}

form.registerForm > h1 {
    padding-top: 0%;
}

form.registerForm input {
    margin-bottom: 2px;
}

form.registerForm input.register {
    display: block;
    float: left;
    width: 100px;
    margin-left: 25%;
    margin-top: 10%;
}

form.registerForm select {
    display: inline;
    float: left;
    width: 100%;
}


div.groups-left {
    display: block;
    float: left;
    width: 45%;
}

div.groups-right {
    display: block;
    float: right;
    width: 45%;
}

/*--------------*/
/*--- FOOTER ---*/
/*--------------*/
section.grid > section.footer {
    width: 100%;
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    text-align: center;
    border-top: #ee6e05 1px solid;
    margin-top: -10px;
}