@media (orientation: portrait) { body { .item { flex-basis: 33%; } } }