* {
    padding: 0;
    margin: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

.background{
    margin: auto auto;
    background-repeat: no-repeat; 
    background-position: center;
    height: 100vh;
    width: 100vw;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.header {
    padding: 2rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

.login{
    height: 100vh;
    width: 100vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    resize: both;
    overflow: auto;
}
.box{
    background: rgba(58,59,59,0.8);
    color: white;
    width: 20rem;
    height: 28rem;
    padding: 4rem;
      
    text-align: center;
    display: block;
}


@media(max-width : 550px){
    .box{
        width: 100vw;
        height: 100vh;
        
        padding: 0;
        background: transparent;
        margin: 0 50px;
        overflow: visible;
    }

    .box h1 {
        margin-top: 100px;
    }

    .background{
        background: rgba(58,59,59,0.8); 
        overflow: auto;
        overflow-x: hidden; 
        margin: 0;
    }

    .login{
        margin: 0;
    }

    .header{
        position: absolute;
    }  
}

@media(max-height : 580px){
    .box{
        width: 60%;
        height: 100vh;        
        padding: 0;
        background: transparent;
        margin: 0 50px;
        overflow: visible;
    }

    .box h1 {
        margin-top: 100px;
    }

    .background{
        background: rgba(58,59,59,0.8); 
        overflow: auto;
        overflow-x: hidden; 
        margin: 0;
    }

    .login{
        margin: 0;
    }

    .header{
        position: absolute;
    }


    
    
}