@font-face {
    font-family: 'Formula1Black';
    src: local('Formula1Black'),
         url("../fonts/Formula1-Black.f817b827ea06.ttf") format("truetype");
  }
  
  @font-face {
    font-family: 'Formula1Wide';
    src: local('Formula1Wide'),
         url("../fonts/Formula1-Wide.5d49e39d7227.ttf") format("truetype");
  }
  
  @font-face {
    font-family: 'Formula1Bold';
    src: local('Formula1Bold'),
         url("../fonts/Formula1-Bold.0819be9f7b49.ttf") format("truetype");
  }
  
  @font-face {
    font-family: 'Formula1Regular';
    src: local('Formula1Regular'),
         url("../fonts/Formula1-Regular.ea4e4ee44601.ttf") format("truetype");
  }

.global-header{
    height: 12rem;
    width: 100%;
}

.logo-header{
    height: 75%;
    width: 100%;
    background-color: black;
    display: grid;
    align-items: center;
}

.button-login{
    height: 25%;
    width: 100%;
    background-color: #38383f;
}

.button-login ul{
    height: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 3% 0 3%;
    list-style: none;
    list-style-type: none;
}

.button-login ul li{
    font-family: "Formula1Bold";
    font-size: 0.9rem;
    margin: 2%;
    display: inline;
}


.button-login ul li a{
    cursor: pointer;
    padding: 5px;
    border-bottom: 3px solid transparent;
    color: white;
    text-decoration: none;
}

.button-login ul li a:hover, .button-login ul li a:focus{
    border-bottom: white;
    color: lightgray;
}

.main-login-page{
    margin: 20px auto;
    padding: 10px 20px 0;
    min-height: 450px;
}

.login-container{
    max-width: 640px;
    margin: auto;
}

.gray-line-driver{
    border: none;
    height: 1px;
    background-color: hsl(240, 5%, 28%);
    margin-top: 0;
    margin-bottom: 20px;
}

.form-group{
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.form-group label{
    font-family: "Formula1Regular";
    font-size: 17px;
    letter-spacing: .2px;
    color: #15151e;
    font-weight: 400;
    padding-left: 2%;
    margin-bottom: 3%;
}

.form-group input{
    font-family: "Formula1Regular";
    font-size: 15px;
    color: #15151e;
    background: #f7f4f1;
    border: solid 2px #15151e;
    border-radius: 10px;
    display: block;
    width: 100%;
    padding: 15px 10px;
}


.actions{
    display: grid;
}

.reset-password{
    width: 35%;
    justify-self: right;
    margin-right: 0;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: "Formula1Regular";
    font-size: 17px;
    letter-spacing: .2px;
    border-bottom: solid 2px #e00;
    text-decoration: none;
    color:black;
}

.already-account{
    width: 40%;
    justify-self: right;
    margin-right: 0;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: "Formula1Regular";
    font-size: 17px;
    letter-spacing: .2px;
    border-bottom: solid 2px #e00;
    text-decoration: none;
    color:black;
}

.submit-button{
    width:25%;
    margin-left: 0;
    margin-top: 15px;
    color: white;
    background-color: #e00;
    appearance: none;
    border-radius: 5px;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    outline: 0;
    font-family: "Formula1Bold";
    font-size: 13px;
    letter-spacing: .5px;
    font-weight: 500;
    padding: 12px 15px;
}

.errorlist{
    font-family: "Formula1Regular";
    font-size: 0.8rem;
    color: red;
    font-weight: 600;
    list-style: none;
}
