*,
*::before,
*::after{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body{
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    position: relative;
    
}
body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.container{
    width: 80%;
    margin: 0 auto;
    display: block;
}
ul{
    list-style-type: none;
}
a{
    text-decoration: none;
}
header{
    position: relative;
    min-height: 10vh;
    z-index: 5;
    display: flex;
    align-items: center;
    background: #fff;
}
header::after{
    content: '';
    height: 25px;
    width: 100%;
    background: linear-gradient(0deg,transparent 0,transparent 25%,rgba(0,0,0,.1));
    position: absolute;
    bottom: -25px;
}
header > .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px 0;
    min-height: 10vh;
}
.navigation{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-box{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.logo-box a{
    display: inline-block;
    color: #000;
}
.logo-box h1{
    font-size: 1.7em;
}
#logo span{
    color: rgba(255, 0, 0, .8);
}
header img{
    width: 150px;
    color: #000;
}


nav{
    display: flex;
    justify-content: center;
    max-width: 800px;
    height: 100%;
}
nav ul{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}
nav ul li + li{
    margin-left: 30px;
}
nav>ul>li>a{
    position: relative;
    padding: 5px 0;
    color: #000;
    font-weight: bold;
    font-size: .9em;
}
nav>ul>li>a::after{
    content: '';
    width: 100%;
    height: 3px;
    background-color: rgba(255, 0, 0, .8);
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: hidden;
    transform: scaleX(0);
    transition: .25s linear;
}
nav>ul>li>a:hover::after,
nav>ul>li>a:focus::after{
    visibility: visible;
    transform: scaleX(1);
}

.user{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.user-icon{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #101010;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.user-icon a{
    color: #fff;
}
.login-register{
    display: inline-block;
    color: #fff;
    background-color: rgb(255, 0, 0);
    padding: 10px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: .7em;
    font-weight: bold;
    transition: background-color .3s ease;
}
.login-register:hover{
    background-color: rgb(199, 0, 0);
}
.user-small-screen{
    display: none;
}

.burger{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: none;
}
.line{
    background-color: rgba(255, 0, 0, .8);
    height: 3px;
    width: 25px;
    transition: all 0.3s ease;
}
.line + .line{
    margin-top: 4px;
}
.burger-nav-links{
    position: absolute;
    right: 0;
    top: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    height: 100%;
    transform: translateX(100%);
    transition: transform .5s ease-in;
    font-size: 16px;
    box-shadow: inset 5px 0 4px -4px rgba(0,0,0,.46);
}
.burger-nav-links-active{
    transform: translateX(0%);
}
.burger-nav-links ul{
    list-style-type: none;
    width: 100%;
}
.burger-nav-links li{
    border-bottom: 1px solid rgba(0, 0, 0, .5);
    padding: 10px;
}
.burger-nav-links a{
    color: #000;
}
#first-nav-item{
    font-weight: bold;
    text-transform: uppercase;
}
.burger-line .line-one{
    transform: rotate(-45deg) translate(-5px, 5px);
}
.burger-line .line-two{
    opacity: 0;
}
.burger-line .line-three{
    transform: rotate(45deg) translate(-5px, -5px);
}
.body-wrapper{
    transition: transform .5s ease-in;
}
.body-wrapper-move{
    transform: translateX(-40%);
}

/* 
    MAIN    
*/
main{
    position: relative;
    min-height: 90vh;
    width: 100%;
    background: url('/images/bg-pettern-1.png') no-repeat left;
    border-bottom: 10px solid rgba(255, 0, 0, .8);
    display: flex;
    justify-content: center;
    align-items: center;
}
/*main>.container{*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    */
/*    !* height: 100%; *!*/
/*    !* position: relative; *!*/
/*}*/
main form{
    /*min-width: 500px;*/
    /*min-height: 400px;*/
    /*padding: 40px 20px;*/
    /* border: 1px solid rgba(255, 0, 0, .1); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* position: absolute;
    top: 50%;
    transform: translateY(-50%); */

}
main form > h1{
    width: 100%;
    border-left: 5px solid red;
    padding-left: 10px;
    margin-left: -17px;
    margin-bottom: 20px;
    border-radius: 5px;
    /* text-transform: uppercase; */
}
label{
    margin-bottom: 5px;
}
label + input {
    margin-bottom: 10px;
}
input{
    padding: 5px;
}

.button{
    background-color: rgb(255, 0, 0);
    padding: 10px 0;
    border: none;
    outline: none;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}
.button:hover{
    background-color: rgb(199, 0, 0);
}
.form_assets{
    margin-top: 10px;
}
.form_assets a{
    color: rgba(255, 0, 0, .4);
    font-size: .8em;
    font-weight: bold;
}
.form_assets a:hover{
    color: rgba(255, 0, 0, 1);
}
/* 
    FOOTER
*/
footer{
    background-color: #101010;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* position: fixed;
    width: 100%;
    bottom: 0; */
}

footer > .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-info{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.footer-info-logo{
    /* max-width: 30%; */
    text-align: center;
    font-size: .8em;
}
.footer-info-logo span{
    color: rgba(255, 0, 0, .8);
}
.footer-info-logo img{
    width: 100%;
}
.footer-info ul{
    list-style-type: none;
    margin-left: 50px;
}
.footer-info ul a:hover{
    text-decoration: underline;
}
.footer-info li{
    font-size: 14px;
}
.footer-info li + li{
    margin-top: 5px;
}
.footer-info a{
    text-decoration: none;
    color: #fff;
}

footer img{
    width: 20%;
}
.footer-soc-med{
    display: flex;
    margin: 20px 0;
}
.soc-med-icon{
    color: #fff;
    height: 40px;
    width: 40px;
    border: 2px solid rgb(199, 0, 0);
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: all .3s ease;
}
.soc-med-icon + .soc-med-icon{
    margin-left: 10px;
}
.soc-med-icon:hover{
    background-color: rgba(199, 0, 0);
}
.soc-med-icon a{
    display: inline-block;
    color: #fff;
    transition: color .5s ease;
}
.footer-copy{
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-align: center;
}
.footer-copy a{
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}
.footer-copy a:hover{
    text-decoration: underline;
}
.user-small-screen-menu>ul>li>a{
    position: relative;
    padding-bottom: 3px;
}
.user-small-screen-menu>ul>li>a::after{
    content: '';
    width: 100%;
    height: 3px;
    background-color: rgba(255, 0, 0, 1);
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: hidden;
    transform: scaleX(0);
    transition: .25s linear;
}
.user-small-screen-menu>ul>li>a:hover::after,
.user-small-screen-menu>ul>li>a:focus::after{
    visibility: visible;
    transform: scaleX(1);
}

@media only screen and (max-width: 1200px){
    header{
        min-height: 5vh;
    }
    header>.container{
        padding: 0;
        justify-content: space-between;
        min-height: 5vh;
    }
    .navigation{
        padding: 10px 0;
    }
    nav{
        display: none;
    }
    .burger{
        display: block;
        margin-bottom: 2px;
    }
    .user{
        display: none;
    }
    .user-small-screen{
        display: block;
        background-color: #101010;
        width: 100%;
        /* DODATO */
        height: auto;
    }
    .user-small-screen-top{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
    }
    .user-icon{
        border: 2px solid red;
        height: 30px;
        width: 30px;
    }
    .user-icon a{
        transition: all .3s ease;
    }
    .user-icon a:hover{
        color: red;
    }
    .user-small-screen-menu{
        max-height: 0px;
        opacity: 0;
        overflow: hidden;
        transition: all .5s ease;
    }
    .user-small-screen-menu ul{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .user-small-screen-menu ul li + li{
        margin-left: 15px;
    }
    .user-small-screen-menu a{
        color: #fff;
        display: inline-block;
    }
    .user-small-screen-menu-activ{
        max-height: 200px;
        opacity: 1;
        padding: 10px 0;
    }
    
}

@media only screen and (max-width: 769px){
    .container{
        width: 90%;
    }

    .navigation{
        padding: 10px 0;
    }
    .burger{
        display: block;
    }

    /* 
        FOOTER
        SECTION
    */
    .footer-info{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-info-logo{
        max-width: 200px;
        font-size: .7em;
    }
    .footer-info-logo img{
        width: 100%;
    }

    .footer-info ul{
        margin-left: 0;
        margin-top: 20px;
    }
}
@media only screen and (max-width: 500px){
    #logo{
        font-size: 1.3em;
    }

    .user-small-screen-menu ul{
        flex-direction: column;
    }
    .user-small-screen-menu ul li{
        width: 100%;
        font-size: .8em;
    }
    .user-small-screen-menu ul li + li{
        margin-left: 0;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 0, 0, .6);
    }
    .user-small-screen-menu>ul>li>a::after{
        content: none;
    }
    main{
        background-size: 350px;
    }
    
    main form{
        min-width: 300px;
        min-height: 300px;
    }
    .form_assets{
        flex-direction: column;
    }
    .form_assets a{
        margin-top: 10px;
    }
    .footer-info-logo{
        font-size: .6em;
    }

}

@media only screen and (min-width: 2000px){
    .container{
        width: 60%;
    }
    header{
        min-height: 5vh;
    }
    header > .container{
        min-height: 5vh;
    }
    main::after{
        width: 909px;
        height: 400px;
    }
    main {
        min-height: 94vh;
    }
}

@media only screen and (min-width: 2250px){
    .container{
        width: 60%;
    }
    header{
        min-height: 5vh;
    }
    header > .container{
        min-height: 5vh;
    }
    main::after{
        width: 1208px;
        height: 505px;
    }
}