@media only screen and (max-width: $small-mobile-max-width) { #footerContent{ flex-direction: column; div { border-bottom: #3d3d3d 1px solid; } } }