*,
*::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;
    width: 100%; */
}
.container{
    max-width: 80% !important;
    margin: 0 auto;
    display: block;
}
ul{
    list-style-type: none;
}
a{
    text-decoration: none !important;
}
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: 10px 0;
    min-height: 10vh;
}
.proba{
    height: 550px;
    background-color: rgb(226, 226, 226);
}
.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 h1{
    display: block;
    font-size: 1.7em;
    margin-bottom: 0;
    font-weight: bold;
}
.logo-box a{
    display: inline-block;
    color: #000;
}
#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;
    margin-bottom: 0;
}
nav ul li + li{
    margin-left: 30px;
}
nav>ul>li>a{
    position: relative;
    padding: 5px 0;
    color: #000;
    font-weight: bold;
    font-size: .9em;
    text-decoration: none !important;
}
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:last-child>ul>li>a::after {
    background-color: #3490dc !important;
}

nav>ul>li>a:hover::after,
nav>ul>li>a:focus::after{
    visibility: visible;
    transform: scaleX(1);
}
nav>ul>li>a:hover{
    color: #000;
}

.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);
    color: #fff;

}
.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%);
}


@media only screen and (max-width: 1200px){
    body{
        min-height: auto;
    }
    header{
        min-height: 5vh;
    }
    header>.container{
        padding: 0;
        justify-content: space-between;
        min-height: 5vh;
    }
    .navigation{
        padding: 10px 0;
    }
    nav{
        display: none;
        /*visibility: hidden;*/
    }
    nav:last-child {
        display: flex !important;
    }
    .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 .container{
        padding: 0;
    }
    .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;
        margin-bottom: 0;
    }
    .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;
    }
}

@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);
    }
}

@media only screen and (min-width: 1366px) {
    header{
        min-height: 5vh;
    }
    header > .container{
        min-height: 5vh;
    }
}

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

.ecu-input {
    display: none;
    /* justify-content: flex-end; */
}
.ecu-input-activ{
    display: flex;
}

.brand-input {
    display: none;
    /* justify-content: flex-end; */
}
.brand-input-activ {
    display: flex;
}

.model-input {
    display: none;
    /* justify-content: flex-end; */
}
.model-input-activ {
    display: flex;
}

.generation-input {
    display: none;
    /* justify-content: flex-end; */
}
.generation-input-activ {
    display: flex;
}

.engine-input {
    display: none;
    /* justify-content: flex-end; */
}
.engine-input-activ {
    display: flex;
}

.checkbox-option-container {
    margin: 0;
}
