/* MOBILE */
@media screen and (max-width: 1550px) {
    .container {
        max-width: 1350px;
    }  
    #owl-carousel-home .owl-carousel-home-text {
        left: 5%;
        transform: translate(0, 0);
    }
    #news-home h6 {
        min-height: 70px;
    }  
    .video iframe {
        height: 800px;
    }
}

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1280px) {
    h3 {
        font-size: 30px;
    }
    .banner .icon-cart {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    .banner h1, .banner h2 {
        font-size: 30px;
    }
    .products-list .products-list-single > div {
        height: 450px;
    }
    .video iframe {
        height: 550px;
    }
}

@media screen and (max-width: 1024px) {
    h3 {
        font-size: 25px;
    }
    h4 {
        font-size: 23px;
    }
    header a {
        font-size: 16px;
    }
    #divisore {
        display: none;
    }
    .banner .banner-title {
        height: 75px;
        background-position: bottom;
    }
    .banner h1, .banner h2 {
        font-size: 25px;
    }
    .products-list .products-list-single > div {
        height: 580px;
    }
    #owl-carousel-home .owl-item {
        height: 500px;
    }
    #owl-carousel-home .owl-item > div{
        height: 100%;
    }
    #owl-carousel-home .owl-item img {
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (min-width: 993px) {
    nav ul li:hover .dropdown-menu {
        opacity: 1;
        z-index: 3;
        transition: all 0.3s ease;
    }
}

@media screen and (max-width: 992px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
    }
    header a {
        font-size: 20px;
    }
    main {
        margin-top: 90px;
    }
    .hidden {
        overflow: hidden;
    }
    .scroll {
        overflow: scroll;
    }
    #header-info {
        justify-content: space-between;
    }
    nav ul li {
        margin-bottom: 10px;
        margin-right: 0;
    }
    .nav-centrale {
        order: 3;
    }
    .navbar-toggler {
        border: unset;
    }
    .navbar-toggler-icon {
        background-image: url('../img/menu.png');
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    #navbarNav {
        position: fixed;
        left: 0;
        width: 100%;
        top: 94px;
        background-color: #FFFFFF;
        padding: 20px 0;
        height: 90vh;
    }
    .nav-item a {
        padding-left: 20px;
    }
    .nav-item i {
        display: block;
        margin-right: 20px;
    }
    nav .dropdown {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    nav .dropdown-menu { 
        padding: 0;
        margin: 0;
        height: 0;
        width: 100%;
        box-shadow: none;
        border: unset;
        border-radius: unset;
    }
    nav .dropdown-menu.show {
        height: fit-content;
        margin-top: 10px;
        padding-top: 15px;
        opacity: 1;
        transition: all 0.3s ease;
    }
    nav .dropdown-menu.small {
        width: 100%;
    }
    /*nav ul li:hover .dropdown-menu {
        opacity: 0;
        z-index: 0;
        transition: none;
    }*/

    nav .dropdown-menu li {
        width: 100%;
    }
    nav .sottomenu a {
        margin-bottom: 5px;
    }
    
    #owl-carousel-home .owl-nav {
        left: 50%;
        right: unset;
        transform: translateX(-50%);
    }
    #chi-siamo > div > div > div:first-child {
        order: 3;
    }
    #chi-siamo > div > div > div:nth-child(2) {
        order: 2;
    }
    #chi-siamo > div > div > div:last-child {
        order: 1;
    }
    .banner h2 {
        text-align: center;
        margin-top: 100px;
    }
    .banner a {
        text-align: center;
    }
    .banner .banner-title span {
        display: none;
    }
    .banner img { 
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    .banner .banner-product img {
        width: 55%;
        height: auto;
        object-fit: unset;
    }
    .banner .banner-image {
        height: 650px;
    }
    .banner .banner-title.banner-title-left {
        left: 50%;
        transform: translateX(-50%);
    }
    .banner .banner-product span {
        font-size: 15px;
    }
    .products-list .products-list-single > div {
        height: auto;
    }
}

@media screen and (max-width: 800px) {
    
}

@media screen and (max-width: 500px) {
    header > div > div > div:first-child {
        display: flex;
        align-items: center;
    }
    .container {
        max-width: 380px;
    }
    .logo {
        width: 133px;
    }
    #owl-carousel-home .owl-item {
        height: 780px;
    }
    #owl-carousel-home .owl-carousel-home-text h3 {
        font-size: 34px;
        width: 25%;
    }
    #icone > div > div > div {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: space-between;
    }
    #icone p {
        margin-left: 0;
        margin-top: 10px;
    }
    #prodotti .link-blue {
        display: none;
    }
    #prodotti > div > div > div {
        justify-content: center !important;
    }
    #owl-carousel-prodotti a p {
        width: 44%;
    }
    #owl-carousel-prodotti .owl-nav {
        border: unset;
        width: 100%;
        background: transparent;
        justify-content: space-between;
        bottom: 30px;
        position: absolute;
    }
    .line-carousel {
        bottom: 10px;
    }
    .banner .banner-product {
        height: 265px;
    }
    .banner .banner-product img {
        width: 70%;
    }
    .banner .icon-cart {
        width: 40px;
        height: 40px;
    }
    #news-home .link-blue {
        display: none;
    }
    .hero > div > div > div:first-child {
        text-align: center !important;
    }
    .video iframe {
        height: 345px;
    }
    .credits > p {
        font-size: 13px;
        text-align: center;
        width: 100%;
    }
    .credits > div {
        display: none;
    }
    footer > div > div > div:first-child {
        text-align: center;
    }
    footer > div > div > div:nth-child(2) {
        justify-content: space-evenly !important;
    }
}