У меня проблема с этой 5 кнопкой в мобильном представлении. На моем рабочем столе все 5 кнопок встроены. И если он в мобильном телефоне, последние 2 кнопки должны быть в нижней части 3. Результат, который мне нужен, это нужно исправить, даже если он был изменен в меньшем размере. И кнопка заняла все пространство. Пожалуйста, смотрите изображение прилагается. Спасибо.
![enter image description here](https://i.stack.imgur.com/3fbAS.png)
HMTL
<div class="cont6">
<button type="button" onclick="location.href='#date_2019'">2019 AAA</button>
<button type="button" onclick="location.href='#date_2018'">2018 AAA</button>
<button type="button" onclick="location.href='#date_2017'">2017 AAA</button>
<button type="button" onclick="location.href='#date_2016'">2016 AAA</button>
<button type="button" onclick="location.href='#date_2015'">2015 AAA</button>
</div>
CSS
.cont6 { margin:0 2%; display:flex; justify-content:space-between; width:96%; }
.cont6 button {
background-color:#EEE;
border:1px solid #E5E5E5;
color:#BF0000;
font-weight:bold;
font-size:17px;
padding:1% 1% 1% 3%;
cursor:pointer;
}
.cont6 button:after { content:'\2BC6'; margin-left:40px; }
@media only screen and (max-width:640px){
.cont6 { width:auto; display:block; }
.cont6 button { margin-bottom:15px; margin-right:2%; font-size:16px; }
}