@font-face {
    font-family: Fieldwork;
    src: url(../../font/Fieldwork1GeoHair.otf);
    font-display: swap;
}

@font-face {
    font-family: FieldworkBold;
    src: url(../../font/Fieldwork7GeoLight.otf);
    font-display: swap;
}

:root {
    --appBgColor: #20a8d8;
    --appBgColor2: #29363d;
    --appBgColor3: #1B9DD5;
    --appColor: #ffffff;
    --appErrorColor: #DC4B3E;
    --appSuccessColor: #0DC143;
    --font-family : "Fieldwork";
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; 
}

body{
    font-family: arial;
    margin: 0;
    background-color: #E4E5E6;
    font-family: var(--font-family);
}

body main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-form{
    display: flex;
    width: 100%;
    flex-direction: row;
    
}


#loader{
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: var(--appBgColor);
}
  
.btn-link{
    font-weight: bold;
}

.input-group-text{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 5px;
}
.input-group-text .fa{
    font-size: 1.2em;
}

.bg-primary, .btn-primary{
    background-color: var(--appBgColor) !important;  
}

.btn-primary.active{
    background-color: var(--appBgColor3) !important;  
}

.btn-link{
    color: var(--appBgColor) !important;  
}



/* Portable */
@media only screen and (max-width: 992px) and (min-width: 769px) {
   
    body{
        background-size: 300% 300%;
    }

}


/* Tablette */
@media only screen and (max-width: 768px) and (min-width: 401px) {
    
    body{
        background-size: 200% 200%;
    }

    .login-form{
        width: 80%;
    }

    .login-form form input{
        width: 100%;
    }
    

}


/* Mobiles */
@media all and (max-device-width: 480px)
{   
    body{
        position: absolute;
        width: 100%;
        height:  100%;
        min-width: 100%;
        min-height:  100%;
    }

    #body{
        width: 100%;
        height: 100%;
        background-color: #fff;
    }

    #body .container{
        max-width: 100%;
        padding: 0px;
    }

    #body .container .content{
        width: 100%;
        padding: 0px;
        background-color: var(--appBgColor);
    }

    #body .container .content form{
        width: 100%;
        padding: 0px;
    }

    #body .container .content form .login-form{
        flex-direction: column;
        
    }

    #body .container .content form .login-form .card{
        width: 100% !important;
        height: 50% !important;
        border: none !important;
    }

    .text-right{
        text-align: center !important;
        margin-right: 0px  !important;
    }

}
