*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background:linear-gradient(rgba(7, 7, 7, 0.5),rgb(43, 40, 40)),url(./images/background.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
section{
    width: 470px;
    /* height: 500px; */
    margin-top: 10%;
    background: black;
    font-family: 'poppins', sans-serif;
    padding: 20px 40px 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */

    /* align-items: center; */
}
.logo{
    width: 150px;
    height: 70px;
    overflow: hidden;
    position: absolute;
    top: 20px;
    left: 30px;
}
.logo img{
    width: 100%;
    height: 100%;
}
section h1{
    font-size: 30px;
    
}
section input{
    padding: 20px;
    margin-top: 20px;
    outline: none;
    border: none;
    /* background: gray; */
    color: black;
    font-size: 20px;
    font-weight: 600;
    border-radius: 7px;
}
#errors{
    color: red;
    padding: 10px 0 0 10px;
    text-transform: capitalize;
    transition: text 0.4s ease;
}
.successful{
    transition: 0.4s ease;
    color: green;
    text-transform: capitalize;
    padding: 10px 0 0 10px;
    font-weight: 200;
    font-size: 17px;
}
section #password{
    position: relative;
}

section button{
    background: red;
    border: none;
    outline: none;
    padding: 20px;
    border-radius: 7px;
    margin-top: 30px;

}
section button a{
    text-decoration: none;
    font-size: 20px;
    color: white;
    font-weight: 600;
    
}
section button a:hover{
    color: antiquewhite;
}
section .remember{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: gray;
    margin-bottom: 20px;
    text-align: center;
}
section .remember .log input{
    accent-color: gray;
}

section small{
    font-size: 19px;
    font-weight: 400;
    color: gray;
    margin-bottom: 25px;
}
section small a{
    text-decoration: none;
    color: white;
}
section small a:hover{
    text-decoration: underline;
}
section p{
    font-size: 18px;
    color: gray;
}
section p a{
    text-decoration: none;
}
@media (max-width: 480px){
    section{
        width: 300px;
        /* height: 500px; */
        margin-top: 25%;
        background: black;
        font-family: 'poppins', sans-serif;
        padding: 20px 30px 50px 30px;
        color: white;
        display: flex;
        flex-direction: column;
        /* justify-content: space-between; */
    
        /* align-items: center; */
    }
    .logo{
        width: 120px;
        height: 60px;
        overflow: hidden;
        position: absolute;
        top: 20px;
        left: 30px;
    }
    .logo img{
        width: 100%;
        height: 100%;
    }
    section h1{
        font-size: 22px;
        
    }
    section input{
        padding: 15px;
        margin-top: 15px;
        outline: none;
        border: none;
        /* background: gray; */
        color: black;
        font-size: 17px;
        font-weight: 500;
        border-radius: 7px;
    }
    section button{
        background: red;
        border: none;
        outline: none;
        padding: 15px;
        border-radius: 7px;
        margin-top: 30px;
    
    }
    section button a{
        text-decoration: none;
        font-size: 20px;
        color: white;
        font-weight: 450;
        
    }
    section button a:hover{
        color: antiquewhite;
    }
    section .remember{
        width: 100%;
        display: flex;
        align-items: flex-end; 
        color: gray;
        margin-bottom: 20px;
        font-size: 16px;
    }

    section .remember .log input{
        accent-color: gray;
    }
    /* .remember span{
        display: inline-block;
        align-self: center;
    } */
    section small{
        display: inline-block;
        font-weight: 400;
        color: gray;
        margin-bottom: 25px;

    }
    section small a{
        text-decoration: none;
        color: white;
    }
    section small a:hover{
        text-decoration: underline;
    }
    section p{
        font-size: 15px;
        color: gray;
    }
    section p a{
        text-decoration: none;
    }  
}