@media only screen and (max-width: 992px) { .container{ max-width: 100% !important; } #slides-home{ height: 450px; #carouselHome{ height: 450px; .carousel-indicators{ top: 60px; right: 10px; } .carousel-item{ height: 450px; .content{ .text{ width: 32%; h1{ line-height: 42px; font-size: 42px; } p{ font-size: 18px; } } figure{ right: 47px; width: 63%; img{ } &.only-img{ position: relative; width: 100%; height: 100%; top: 0; right: 0; display: flex; align-items: center; justify-content: center; img{ width: auto; height: 100%; &.mobile{ display: none; } } } } } } } } } /* Tablets Sizes */ @media only screen and (min-width: 768px) and (max-width: 991px) { }