html {
    overflow:hidden;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

a {
    text-decoration: none;
    display: block;
}





.section-label{
    width: auto;
    height: auto;
    text-align: left;
    font-family: arial;
    font-size: 11px;
    display: inline-block;
    color: #857f7b;
    /* box-shadow: 0 0 3px rgba(0,0,0,0.14), 0 1px 3px rgba(0,0,0,.28); */
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    /* padding-left: 5px; */
    color: rgba(0,0,0,0.54);
    font: 500 13px Roboto,sans-serif;
    letter-spacing: .5px;
    margin-left: 12px;
    /* padding: 2px 0; */
    text-transform: uppercase;
}




/*  LOGIN PAGE  */
.login {
    background-size: 103% 102%;
    background-image: linear-gradient(10deg, pink, purple);
    width: 100%;
    height: 100%;
    /* margin-bottom: 33px; */
    display: flex;
    /* align-items: center; */
    justify-content: center;
    flex-direction: column;
}

.login h1 {
    text-align: center;
    font-variant: normal;
    color: white;
    width: auto;
    font-size: 50px;
}

.login fieldset {
    width: 92%;
    height: 320px;
    color: #FFFFFF;
    /* border-radius: 5px; */
    border-style: none;
    background: rgba(255, 255, 255);
    box-shadow: 0 0 10px rgb(0 0 0 / 50%);
    display: flex;
    flex-direction: column;
}

#email, #password {
    width: 80%;
    font-size: 1rem;
    /*margin-top: 10px;*/    
    box-sizing: border-box;
    padding: 10px;
    outline: none;
    border: #0a0a0a;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    margin: auto;
    background-color: rgb(255, 255, 255);
}



.btn-login {
    outline: none;
    border: none;
    padding: 10px;
    box-sizing: border-box;
    width: 25%;
  
    background-color: #052779;
    font-weight: 700;
    font-family: 'Arial';
    color: white;
    cursor: pointer;
    border-radius: 30px;
    margin: auto;
    top: 50px;
    margin-bottom: 0px;
    transition: ease-in 0.7s;
}

.btn-login:hover{
    background-color: #350e5a;
}



/*  CONTENT PAGE  */
.navigation {
    width: 100vw;
    height: 100%;
    color: white;
    background-image: linear-gradient(-22deg, rgb(3, 188, 235), rgb(20, 95, 207));
    font-size: 1.1rem;
    align-items: center;
    justify-content: space-between;
    display: inline-flex;
}

.navigation a {
    margin-left: 14px;
    color: rgb(255, 250, 250);
    font-size: 20px;
}



.menu {
    width: 45vh;
    margin-left: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu h1 {
    font-size: 30px;
}

.home, .products, .contact, .user {
    cursor: pointer;
}

.content {
    width: 100vw;
    height: 92vh;
    background: #FFFFFF;
    overflow: auto;
    align-items: center;
    justify-content: center;
    
}

.div-container {
    height: 70vh;
    width: 95%;
    border-radius: 5px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    /*display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;*/

}


.user {
    font-size: 40px;
    margin-right: 50px;
    position: relative;
}

.logout {
    display: none;
    width: 80px;
    padding: 6px;
    border-radius: 10px 0 10px 10px;
    font-size: 16px;
    background-color: #470950;
    color: white;
    position: absolute;
    right: 0;
    z-index: 1;
    transition: background 0.5s linear 0.1s , color 0.5s linear 0s;
}

.logout:hover {
    background: rgb(163, 157, 187);
    color: rgb(0, 0, 0);
}



.form-content {
    width: 600px;
    margin: auto;
    padding: 20px;
}

.form-content fieldset {
    width: 500px;
    height: 800px;
    /*border-radius: 5px;*/
    border-style: none;
    background: rgba(255, 255, 255);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 20px;
    align-items: stretch;

}

.form-content h1 {
    text-align: center;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 40px;
    line-height: 22px;
    margin-left: -32px;
    /* position: relative; */
    /* left: -76px; */
    /* font-size: 31px; */
}




/*  FOOTER  */
footer {
    height: 4vh;
    width: 100vw;
    bottom: 0;
    font-size: .8rem;
    color: #ccc;
    background: #3C4041;
    display: flex;
    align-items: center;
    justify-content: center;
}


.loader {
    display: none;
    position: fixed;
    right: 40%;
    bottom: 5%;
    z-index: 1;
    border: 16px solid #f3f3f300;
    border-radius: 50%;
    border-top: 16px solid rgb(73, 69, 69);
    border-bottom: 16px solid rgb(73, 69, 69);;
    width: 50px;
    height: 50px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 1s linear infinite;
}
  
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



@media only screen and (min-width:425px){
    .content {
        width: 100%;
        height: 100vh;
        
    }

    #nav_menu {
        width:100%;
    }
    
    
    .div-container {
        width: 100%;
    }

    

    
    .form-content{
       
    }

    .login {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .login fieldset {
        width: 95%;
        height: 100%;
        color: #FFFFFF;
        /* border-radius: 5px; */
        border-style: none;
        background: rgba(255, 255, 255);
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        display: flex;
        flex-direction: column;
    }

    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }

}

@media only screen and (min-width:600px){
    .content {
        width: 100%;
        height: 100vh;
    }

    #nav_menu {
        width:100%;
    }
    
    
    .div-container {
        width: 100%;
    }

    
    
    .form-content{
        
    }

    .login {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width:900px){
    .content {
        width: 100%;
        
    }

    #nav_menu {
        width:100%;
    }
    
    
    .div-container {
        width: 100%;
    }

    
    

    .login {
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width:1125px){
    .content {
        width: 100%;
        overflow: auto;
    }

    #nav_menu {
        width:100%;
    }
    
    
    .div-container {
        width: 100%;
    }

    
    .login {
        width: 100%;
        height: 102%;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        background-image: url(../img/supermarketcart_main.jpg);
        background-position: left center;
    }

    .login fieldset {
        width: 100%;
        height: 100vh;
        justify-content: center;
        color: #FFFFFF;
        /* border-radius: 5px; */
        border-style: none;
        background: rgba(255, 255, 255);
        box-shadow: 0 0 10px rgb(0 0 0 / 50%);
        display: flex;
        flex-direction: column;
    }

    .login h1 {
        position: fixed;
        right: 129px;
        top: 20px;
        text-align: center;
        font-variant: normal;
        color: #052779;
        width: auto;
        font-size: 50px;
    }


    #email, #password, #btn-login {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .navigation a {
        margin-left: 44px;
        color: rgb(255, 250, 250);
        font-size: 30px;
    }
}