.genre_type_container, .year_container { display: flex; flex-wrap: wrap; gap: 10px; } .genre_type_container { flex: 1 1 100%; } .year, .genre_year_container { flex: 1 1 calc(50% - 10px); } .totals_type.header.total, .genre_room_title, .genre_type_title { font-size: 1.8rem; font-weight: bold; background-color: black; color: white !important; border-radius: 5px; text-align: center; margin-bottom: 20px; margin-top: 20px; } .genre_type_title { color: rgba(255, 255, 255, 0.5) !important; margin-bottom: unset; margin-top: unset; } .genre_room_title { font-size: 2rem; margin-bottom: unset; flex: 1 1 100%; background-color: red; } .year, .genre_year_container { background: #80808029; padding: 5px; } .totals_type.year.total, .genre_year_title { font-weight: bold; text-align: center; } .genre_type_title { flex: 1 1 100%; } .genre, .totals_type.month { display: flex; flex-direction: row; gap: 5px; justify-content: space-between; } .genre .value, .totals_type.month .value { font-weight: bold; } .genre:not(:last-child), .totals_type.month:not(:last-child) { border-bottom: 1px dashed gray; } .genre_room_container { display: flex; flex-wrap: wrap; gap: 10px; }