* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Unbounded', cursive;
    background-color: #e2e2e2;
}

.navbar {
    transition: all ease-in-out 0.5s;
}


#fb:hover {
    color: #1473EA !important;
    font-size: 18px;
}


ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

section.box {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 110px 100px; */
    width: 100%;
    /* height: 100vh; */
}

/* @media (max-width: 1000px) {
    section {
        padding: 100px 50px;
    }
}

@media (max-width: 600px) {
    section {
        padding: 125px 30px;
    }
} */

/* video {
    position: relative;
    padding-top: 30px;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
} */

header {
    position: relative;
    top: 0;
    left: 0;
    z-index: 20;
    min-width: 100%;
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    color: #fff;
    background-color: #fff;
}

header a {
    text-transform: capitalize;
    font-weight: 900;
}

header h2 {
    text-transform: uppercase;
}

header .nav {
    display: flex;
}

header .nav li {
    margin: 0 15px;
}

header .nav li:first-child {
    margin-left: 0;
}

header .nav li:last-child {
    margin-right: 0;
}

@media (max-width: 1000px) {
    header {
        padding: 20px 50px;
    }
}

@media (max-width: 700px) {
    header {
        flex-direction: column;
    }

    header h2 {
        margin-bottom: 15px;
    }

    header .nav li {
        margin: 0 7px;
    }
}

.box {
    position: relative;
    justify-content: center;
    min-height: 100vh;
    color: #fff;
    text-align: center;
}

.box video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: contrast(1.2) brightness(0.4) sepia(0.8);
}

.box h1 {
    margin-bottom: 15px;
    font-size: 65px;
    text-transform: uppercase;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

.box h3 {
    margin-bottom: 40px;
    font-size: 25px;
}

.box a.boxBtn {
    padding: 15px 35px;
    background: transparent;
    border-radius: 50px;
    color: #fff;
    text-transform: uppercase;
    border: 4px solid #fff;
    transition: all .5s;
}

.box a.boxBtn:hover {
    background: #fff;
    color: #000;
}

@media (max-width: 800px) {
    .box {
        min-height: 600px;
    }

    .box h1 {
        font-size: 32px;
    }

    .box h3 {
        font-size: 20px;
    }

    .box a.boxBtn {
        padding: 15px 40px;
    }
}


@media screen and (max-width:760px) {
    .scroll {
        color: #fff !important;
    }

    .scroll:hover {
        color: #ddd908;
    }

    .scroll .active {
        color: #fff !important;
    }

}

.main {
    position: relative;
    top: 100px;
}


.heading-btn {
    padding-left: 120px;
    opacity: 0;
    margin-top: 20px;
}

.main>section {
    /* min-height: 100vh; */
    padding-top: 100px;
    text-align: left;
}


.logo {
    max-height: 60px;
    width: auto;
}

.arcobaleno {
    font-family: 'Orbitron', sans-serif;
    font-size: 65px;
    color: #ffffff;
    z-index: 2;
    position: relative;
    top: 450px;
    left: 60px;
}


.caravan {
    font-family: 'Yesteryear', cursive;
    color: #ffffff;
    font-size: 200px;
    position: relative;
    top: 300px;
    z-index: 2;

}

.heading-btn {
    opacity: 0;
    z-index: 0;
    position: relative;
    top: -30px;
}

.custom-btn {
    width: 450px;
    height: auto;

}



.mlogo {
    max-width: 130px;
    height: auto;
    filter: grayscale(1)
}

.box-logo-mobile {
    display: none;
}

.nav-link {
    color: #fff !important;
    margin-right: 20px;
    font-size: 14px;
    font-weight: 400;
}

.scroll {
    color: #000 !important;
}

.scroll:hover {
    color: #b04308;
}

.scroll .active {
    color: #000 !important;
}


@media screen and (max-width:576px) {
    .mlogo {
        max-width: 80px;
        height: auto;
        filter: grayscale(1)
    }

    .offcanvas {
        background-color: rgb(96, 133, 234) !important;
    }


    .nav-link {
        color: #000 !important;
        margin-right: 20px;
        font-size: 14px;
        font-weight: 400;
    }

    .btn-nav {
        background-color: #fff;
        border: none;
        color: black;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        margin-right: 20px;
        cursor: pointer;
        border-radius: 16px;
    }

    /* 

    .nav-link:hover {
        color: #f2a517 !important;
    }


    .nav-link.active {
        color: #fff !important;
    } */

}

#marchi {
    width: 100%;
    background-color: white;
    opacity: 0.6;
    position: absolute;
    bottom: 0;
    padding: 0px;
    margin: 0px;
    z-index: 100;

}

.sub-bg {
    position: relative;
    top: 50px;
    width: 100%;
    height: 300px;
}

.sub-bg::before {
    content: "";
    position: absolute;
    background-image: url(../img/bg-sub.png);
    background-position: left 15% bottom 35%;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 300px;
    filter: brightness(60%) saturate(80%) sepia(0.8);
}

.sub-bg .page-title {
    color: #fff !important;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    top: 100px;
    left: 0;
    font-size: calc(24px + (46 - 14) * ((100vw - 300px) / (1600 - 300)));
}

.card-title {
    min-height: 100px;
}

.card:hover {
    -webkit-box-shadow: 4px 6px 5px 0px rgba(191, 178, 191, 1);
    -moz-box-shadow: 4px 6px 5px 0px rgba(191, 178, 191, 1);
    box-shadow: 4px 6px 5px 0px rgba(191, 178, 191, 1);
    transition: all ease-in-out .3s;
}

.form-signin {
    width: 100%;
    max-width: 350px;
    padding: 15px;
    margin: auto;
    background-color: #fff;
}

.carimg {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(1) contrast(120%);
}

.carousel {
    transition: transform 2s ease, opacity .5s ease-out
}


.carousel-caption {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 600px;
    text-align: left;
}

.logocar {
    max-height: 100px;
}

.carousel-caption p {
    font-size: calc(12px + 1vw)
}

@media screen and (max-width:760px) {
    .carousel-caption {
        position: absolute;
        top: 30%;
        left: 5%;
        max-width: 320px;
        text-align: center;
    }

    .logocar {
        max-height: 60px;
    }

    /* 
    .carousel-caption p {
        font-size: 18px;
    } */

}