@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url('../ressources/font/material_font.woff2') format('woff2');
}

/*
vert mcs = #82aa37
bleu mcs = #003160
*/
:root {
    font-size: 18px;
}
body {
    padding: 0;
    margin: 0;
}
.main {
    height: 100vh;
    background-color: #004462;
    margin: 0;
    padding: 0;
}
.wrapper{
    width: 90%;
    height: 75vh;
    display: flex;
    position: absolute;
    flex-direction: column;
    transform: translate( -50%, -50% );
    top: 50%;
    left: 50%;
    border-radius: 5px;
    box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.8);
    font-family: sans-serif;
}

.wrapper .left-column {
    background-size: 100%;
    width: 100%;
    padding-top: 1vh;
    height: 40%;
    border-radius: 5px 0 0 5px;
    background-image: url("../ressources/fond-login.png");
    color: #fff;
    box-sizing: border-box;
}
.wrapper .right-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #01374f;
    border-radius: 0 5px 5px 0;
    height:60%;
    position: relative;
    box-sizing: border-box;
}

.left-column .logo {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    row-gap: 10px;
}
.logo img {
    max-height: 175px;
    max-width: 60%;
    margin: 0 auto;
}
.left-column .text {
    box-sizing: border-box;
    width: 80%;
    font-size: .8rem;
    line-height: 2rem;
    margin: 20px auto 0;
}
.logo {
    width: 80%;
    margin: auto;
}

.right-column form {
    display: grid;
    grid-template-rows: auto 3rem 1.75rem 1.2rem;
}
.right-column .connexion-infos {
    display: grid;
    flex-direction: column;
    row-gap: 15px;
}

.right-column .mdp-oublie,
.right-column .deja_connecte,
.right-column .connexion-infos {
    margin: 0 3.5vw;
}
.deja_connecte a::before,
.mdp-oublie a::before {
    font-family : "Material Symbols Outlined";
    content: "\e5cc";
    box-sizing: border-box;
    color: #fff;
    font-size: 1.2em;
}
.deja_connecte a,
.mdp-oublie a{
    text-decoration: none;
    color: #fff;
    font-size: .9rem;
    display: grid;
    grid-template-columns: 20px auto;
}

.connexion-infos button {
    border-radius: 8px;
    height: fit-content;
    padding: 10px 20px;
    border: none;
    background-color: #82aa37;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    position: absolute;
    bottom: 3.5vw;
}

.identification-input {
    position: relative;
    display: grid;
    grid-template-columns: 35px auto;
    background-color: #fff;
    border-radius: 8px;
    justify-items: center;
    align-items: center;
}
.identification-input .identification-icone{
    font-family : "Material Symbols Outlined";
    color: #7f7f7f;
    font-size: 1.5rem;
    width: 25px;
    z-index: 0;
}
.identification-input .identification {
    border: none;
    height: fit-content;
    box-sizing: border-box;
    width: 100%;
    color: #003160ff;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px;
    border-radius: 8px;
    background: none;
    z-index: 1;
}
.identification-input .input.focused{
    outline: solid 8px #82aa37;
    border-radius: 8px;
}
.identification-input .password-visibility,
.identification-input .password-hidden{
    border: none;
    background: none;
    font-family: 'Material Symbols Outlined';
    color: #000;
    position: absolute;
    right: 5px;
    font-size: 1.5rem;
    padding: 0;
    cursor: pointer;
    width: fit-content;
    height: 100%;
    top: 0;
    font-weight: unset;
    width: 30px;
    z-index: 2;
}
.identification-input .password-hidden{
    display: none;
}

.connection {
    cursor : pointer;
}
.login-error {
    color: #e05151;
    font-size: 0.9rem;
    font-weight:bold;
}

.login-info {
    color: #82aa37;
    font-size: 0.9rem;
    font-weight:bold;
}

@media screen and (min-width:760px) {
    
    
}

@media screen and (min-width:1024px) {
    
    .wrapper {
        width: 900px;
        height: 450px;
        min-height:326px;
        flex-direction: row;
    }
    .wrapper .left-column{
        height: 100%;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .wrapper .right-column {
        width: 50%;
        height: unset;
    }

    .logo,
    .text {
        width: 90%;
        font-size: 1.1em;
        margin: 0 auto;
    }
    .logo img {
        max-width: 100%;
    }
    .right-column form {
        padding: 0;
    }
    .right-column .connexion-infos {
        row-gap: 25px;
    }
    .input {
        height: 50px;
        font-size: 16px;
        border-radius: 5px;
    }
    .input input {
        font-size: 16px;
        padding-left: 10px;
    }
    .input label {
        width: 4vh;
    }
    .input label span::after {
        height: 4vh;
        border-right: solid 1px #6e6e6e77;
    }
    .input label::before {
        font-size: 3.5vh;
    }
    .connexion-infos button {
        border-radius: 5px;
        height: 50px;
        padding: 0 10px;
        font-size: 1.5em;
        margin-top: unset;
    }
    
    .right-column .deja_connecte{
        bottom: 18vh;
    }
    .right-column .mdp-oublie{
        bottom: 5vh;
    }
    .deja_connecte a::before, .mdp-oublie a::before{
        font-size: 1em;
    }
    .deja_connecte a, .mdp-oublie a{
        font-size: 0.9rem;
    }
    .connexion-infos button {
        font-size: 1.2em;
        position: relative;
        bottom: 0;
        width: 100%;
    }
    
    .input.focused{
        outline: solid 5px #82aa37;
    }
}