@import "variables"; .main-image{ display: none; width: 100%; //display: flex; //justify-content: center; //overflow: hidden; img { width: 100%; max-width: 1280px; } //&__content { // min-width: 1280px; // width: 1280px; //} } @media (max-width: $mobile-width) { .main-image { display: none; } }