/* section css ********************************************************************************/
section{
    background-color: var(--lighter_warm_gray);
    min-height: 100vh;
}

section .wrraper{
    margin: 35px 5%;
}

#info-message{
    width: 450px;
    box-sizing: border-box;
    padding: 15px;
    border-radius: 5px;
    background-color: white;
    color: var(--red);
    box-shadow: 0px 0px 5px 5px #80808029;
}

#info-message > .errorlist > li{
    margin: 10px 0px;
    text-transform: capitalize;
}

#info-message > .errorlist  .errorlist{
    margin: 5px 20px;
    list-style-type: disc;
}

header{
    display: flex;
    width: 450px;
    box-sizing: border-box;
    align-items: center;
}

header div:first-child{
    border-radius: 5px;
    display: flex;
    align-items: center;
    background-color: white;
    height: 60px;
    box-shadow: 0px 0px 5px 5px #80808029;
}

header div:first-child:hover{
    background-color: #f7f7f7;;
}

header div:first-child a{
    padding: 20px;
    font-size: 1.9em;
    color: var(--gray);
}

#logo{
    flex: 1;
    text-align: center;
}

#logo img{
    height: 80px;
}

section form{
    box-sizing: border-box;
    width: 450px;
    margin: 20px 0px;
    padding: 40px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 5px #80808029;
}

section form h1{
    color: var(--red);
    margin-top: 0px;
    font-size: 1.6em;
    text-align: center;
}

section form .form-field{
    margin-bottom: 10px;
}

section form input{
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin: 10px 0px;
    border: 2px solid var(--warm_light_gray);
    border-radius: 5px;
    font-size: 1em;
}

#reset-password{
    float: right;
}

small a{
    color: var(--gray);
}

small a:hover{
    color: var(--dark_gray);
}

section form input[type="submit"]{
    width: 100%;
    padding: 12px 20px;
    background-color: var(--red);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px 0px;
}

section form input[type="submit"]:hover{
    background-color: var(--hover_red);
}

section form p{
    padding: 20px 0px;
    margin: 23px 0px;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

#form-footer{
    margin-top: 35px;
}

#form-footer a:hover{
  color: gray;
}

#form-footer span{
    margin-right: 10px;
}

@media only screen and (max-width: 600px) {

    section .wrraper{
        width: 100%;
    }

    #info-message{
        width: 100%;
    }

    header{
        width: 100%;
    }

    section form{
        width: 100%;
        padding: 35px 17px;
    }

    #logo img{
        height: 60px;
    }

    header div:first-child a{
        font-size: 1.5em;
    }
}