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

html,
body{
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    position: relative;
}
.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: 2;
    display: flex;
    align-items: center;
}
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;
}

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

.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;
    outline: none;
    border: none;
    margin: auto 1%;

}
.login-register:hover{
    background-color: rgb(199, 0, 0);
}
.user-small-screen{
    display: none;
}


.hero{
    height: 80vh;
}
.hero-slider{
    height: 100%;
    border-bottom: 3px solid rgba(255, 0, 0, .6) !important;
}
.slider-item{
    height: 80vh;
    width: 100%;
    border-bottom: 3px solid rgba(255, 0, 0, .6);
}
.slider-item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.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%);
}

/*
    SECTION
    PURCHASE
    STEPS
*/
.purchase-steps{
    background: #fff;
    text-align: center;
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.purchase-steps-subetitle{
    margin: 30px 0;
}

.card-holder{
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.card{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 300px;
    width: 100%;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(255,0,0,0.3);
    box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.1);
    padding: 40px;
}
.card * + *{
    margin-top: 10px;
}
.card svg{
    height: 70px;
}
.card>p{
    text-transform: uppercase;
    font-size: 16px;
}
.card>h3{
    font-size: 14px;
}
.heroicon-component-accent{
    fill: rgba(255, 0, 0, 0.1);
}
.heroicon-component-fill{
    fill: #fde6e6;
}
.heroicon-shadows{
    fill: rgba(255, 0, 0, 0.05);
}
.heroicon-outline{
    fill: rgba(255, 0, 0, 0.6);
}

.svg-box{
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fde6e6;
}


/*
    SECTION
    WHY
    US
*/

.why-us{
    background-color: #101010;
    color: #fff;
}

.why-us>.container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}
.why-us-text{
    width: 50%;
    padding-right: 20px;
}
.why-us-text h1 span{
    color: rgba(255, 0, 0, .8);
}
.why-us-image{
    width: 50%;
}
.why-us-text>p{
    margin: 20px 0;
}
.why-us-image img{
    width: 100%;
}

.why-us-box{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.box{
    display: grid;
    grid-template-columns: 30% 70%;
    border: 1px solid #fff;
    padding: 20px;
}
.box-icon{
    align-self: center;
    justify-self: center;
}
.box-text{
    align-self: center;
    justify-self: start;
    margin-left: 20px;
}
.box-icon i{
    font-size: 4em;
}

.box-text h3{
    font-size: 2em;
}
.box-text span{
    color: rgba(255, 0, 0, .8)
}

/*
    OUR
    TESTIMONIALS
    SECTION
*/
.testimonials-section{
    padding: 50px 0;
}
.testimonials-slider{
    display: flex;
}
.testimonials-info{
    text-align: center;
}
.testimonials-info h1{
    font-size: 1.5em;
}
.testimonials-description{
    width: 60%;
    margin: 20px auto;
}
.testimonials-slider .slick-slide > div{
    display: flex;
}
.testimonial-box{
    padding: 10px 0;
    margin: 0 auto;
}
.testimonial-box-content{
    max-width: 350px;
    min-width: 250px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.1);
    position: relative;
    padding: 10px 5px;
}


.testimonial-img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.testimonial-img::before{
    color: rgba(255, 0, 0, 0.1);
    content: "\f10d";
    font-family: fontawesome;
    font-size: 80px;
    left: -40px;
    line-height: 28px;
    position: absolute;
    top: 20px;
    z-index: -1;
}
.testimonial-img img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
}
.position{
    font-size: .8em;
    color: rgba(255, 0, 0, .8);
    line-height: 1.5em;
}


/*
    HAVE
    QUESTION
    SECTION
*/
.have-question{
    background-image: url('/images/carbon-fiber.jpg');
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    position: relative;
}
.have-question > .container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.have-question-text{
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    font-size: 1.5em;
}
.have-question-text a{
    color: #fff;
}
/* .dark-overlay{
    background: rgba(255, 0, 0, 0.1) none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
} */


/*
    SECTION
    RECENT
    TRANSFERS
*/
section.recent-transfers{
    /* background-color: #262626;
    color: #fff; */
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* min-height: 40vh; */
    padding: 50px 0;
}
.recent-transfers h1{
    text-align: center;
    font-size: 2em;
}
.files-box{
    margin-top: 40px;
    display: flex;
    justify-content: center;
}
.files-box > .file:nth-child(2){
    border-left: 1px solid rgba(255, 0, 0, .8);
    border-right: 1px solid rgba(255, 0, 0, .8);
}
.file{
    position: relative;
    padding: 10px 15px;
    flex: 0 1 33.3%;
    text-align: center;
}
.file * + *{
    margin-top: 5px;
}
.file-car-model{
    font-weight: 700;
    margin-bottom: 20px;
}



/*
    SECTION
    POPULAR
    BRANDS
*/
section.popular-brands{
    background-color: #eee;
}
.popular-brands>.container{
    display: flex;
    align-items: center;
    padding: 50px 0;
}
.popular-brands-arrow{
    border-right: 1px solid rgba(255, 0, 0, .8);
    display: inline-block;
    position: relative;
    font-size: .7em;
    padding: 10px;
    width: 100px;
}
.popular-brands-arrow::after{
    content: '';
    border-width: 12px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(255, 0, 0, .8);
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    z-index: 2;
}
.brands-slider{
    width: calc(100% - 124px);
    margin-left: 24px;
    display: flex;
    flex-direction: row;
}
.brands-slider .slick-slide > div{
    display: flex;
}
.brand-item{
    margin: 0 auto;
}
.brand-item-content{
    max-width: 120px;
    min-width: 80px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
.brand-item-content img{
    max-width: 100%;
}

/*
    FOOTER
*/
footer{
    background-color: #101010;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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 ul{
    list-style-type: none;
    margin-left: 50px;
}
.footer-info li{
    font-size: 14px;
}
.footer-info li + li{
    margin-top: 5px;
}
.footer-info a{
    display: inline-block;
    text-decoration: none;
    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 a:hover{
    text-decoration: underline;
}
.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;
}
@media only screen and (max-width: 1366px){
    .card-holder{
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us>.container{
        flex-direction: column;
        justify-content: space-around;
        padding: 50px 0;
    }
    .why-us-text{
        width: 100%;
        text-align: center;
        padding-right: 0;
    }
    .box-text{
        text-align: left;
    }
    .why-us-image{
        margin-top: 20px;
        width: 100%;
    }
    .box{
        grid-template-columns: 20% 80%;
    }
    .box-icon i{
        font-size: 3em;
    }

    .box-text h3{
        font-size: 2em;
    }

    .testimonials-holder{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .testimonial-box{
        max-width: 90%;
    }
    .slick-slide{
        margin: 0 auto;
    }

    .popular-brands>.container{
        flex-direction: column;
    }
    .popular-brands-arrow{
        border-right: 0;
        border-bottom: 1px solid rgba(255, 0, 0, .8);
        margin-bottom: 20px;
        text-align: center;
    }
    .popular-brands-arrow::after{
        display: none;
    }
    .popular-brands-arrow::before{
        content: "\f0dd";
        font-family: fontawesome;
        font-size: 80px;
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(255, 0, 0, .8);
        font-size: 40px;
        z-index: 2;
    }
    .brands-slider{
        margin-left: 0;
    }
}

@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;
        position: relative;
        padding-bottom: 3px;
    }
    .user-small-screen-menu-activ{
        max-height: 200px;
        opacity: 1;
        padding: 10px 0;
    }

    .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: 769px){
    .container{
        width: 90%;
    }
    .navigation{
        padding: 10px 0;
    }
    .burger{
        display: block;
    }


    .card svg{
        height: 50px;
    }
    .svg-box{
        width: 100px;
        height: 100px;
    }

    .why-us>.container{
        padding: 50px 0;
        flex-direction: column;
    }
    .why-us-text{
        width: 100%;
        padding-right: 0;
    }
    .why-us-box{
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .why-us-image{
        width: 100%;
    }

    /*
        TESTIMONIALS
        SECTION
    */
    .testimonials-description{
        width: 100%;
    }

    /*
        HAVE
        QUESTION
        SECTION
    */
    .have-question-text{
        font-size: 1em;
    }

    /*
        RECENT
        FILES
        SECTION
    */
    .files-box{
        flex-direction: column;
        align-items: center;
    }
    .files-box > .file:nth-child(2){
        border: none;
        border-top: 1px solid rgba(255, 0, 0, .8);
        border-bottom: 1px solid rgba(255, 0, 0, .8);
    }
    .file{
        text-align: center;
    }
    .file + .file{
        margin-top: 0px;
    }
    .file * + *{
        margin-top: 5px;
    }
    .file-car-model{
        margin-bottom: 10px;
    }
    .file p{
        font-size: .9rem;
    }

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

    .footer-info ul{
        margin-left: 0;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 500px){
    #logo{
        font-size: 1.3em;
    }
    .card-holder{
        grid-template-columns: 1fr;
    }
    .login-register{
        font-size: .5em;
    }

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

    .footer-info-logo{
        font-size: .7em;
    }
}

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