body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  box-sizing: border-box;
  margin: 0;
  padding-top: 12px;
  background-color: var(--primary-bg-color);
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  white-space: nowrap;
}

.material-icons {
  font-size: 24px;
  color: var(--secondary-text-color);
}

@media (min-width: 501px) and (max-width: 900px) {
  .material-icons {
    font-size: 24px;
  }
}

@media (min-width: 901px) {
  .material-icons {
    font-size: 30px;
  }
}

.before-footer {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  padding: 0 0 62px 0;
  box-sizing: border-box;
}

@media (min-width: 501px) {
  .before-footer {
    padding: 0 0 86px 0;
  }
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.sticky-heaader {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 16px 0 32px 0;
  gap: 16px;
}

@media (min-width: 501px) and (max-width: 900px) {
  .sticky-heaader {
    margin: 16px 0 40px 0;
  }
}

@media (min-width: 901px) {
  .sticky-heaader {
    margin: 16px 0 50px 0;
  }
}

.search-bar {
  width: 92%;
  padding: 14px 14px;
  border: 2px solid var(--primary-text-color);
  border-radius: 12px;
  background-color: var(--primary-bg-color);
  box-sizing: border-box;
  font-size: 16px;
  margin: 0 0;
  color: var(--primary-text-color);
}

@media (min-width: 901px) {
  .search-bar {
    font-size: 18px;
  }
}

.search-bar::placeholder {
  color: var(--primary-text-color);
  font-size: 16px;
}

@media (min-width: 901px) {
  .search-bar::placeholder {
    font-size: 18px;
  }
}

.search-bar:focus {
  outline: 0 var(--primary-text-color) solid;
  font-size: 16px;
  color: var(--primary-text-color);
}

@media (min-width: 901px) {
  .search-bar:focus {
    font-size: 18px;
  }
}

.filter-and-sort {
  display: flex;
  flex-direction: column;
  width: 92%;
  gap: 14px;
  box-sizing: border-box;
}

.filter-and-sort h2, p {
  font-weight: 500;
  color: var(--secondary-text-color);
  font-size: 16px;
  box-sizing: border-box;
}

@media (min-width: 501px) and (max-width: 900px) {
  .filter-and-sort h2, p {
    font-size: 18px;
  }
}

@media (min-width: 901px) {
  .filter-and-sort h2, p {
    font-size: 22px;
  }
}

.filters {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  overflow: scroll;
  box-sizing: border-box;
  padding-right: 12px;
  gap: 12px;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  background-color: var(--secondary-bg-color);
  padding: 10px 14px;
  border-radius: 16px;
  box-sizing: border-box;
}

.filter:hover {
  cursor: pointer;
}

.apps-and-sort {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 501px) {
  .apps-and-sort {
    justify-content: space-around;
  }
}

.live {
  background-color: var(--secondary-bg-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 18px;
  border-radius: 8px;
  gap: 8px;
  box-sizing: border-box;
}

@media (min-width: 501px) and (max-width: 900px) {
  .live {
    gap: 10px;
  }
}

@media (min-width: 901px) {
  .live {
    gap: 12px;
  }
}

.live:hover {
  cursor: pointer;
}

.live .material-icons {
  color: var(--primary);
  font-size: 12px;
}

@media (min-width: 901px) {
  .live .material-icons {
    font-size: 14px;
  }
}

.apps {
  background-color: var(--secondary-bg-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 18px;
  border-radius: 8px;
  gap: 8px;
  box-sizing: border-box;
}

.apps:hover {
  cursor: pointer;
}

.sort {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.date-sort {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-bg-color);
  border-radius: 10px;
  padding: 8px 10px;
  gap: 8px;
  box-sizing: border-box;
}

.date-sort:hover {
  cursor: pointer;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin: 12px 0 0 0;
  gap: 10px;
  box-sizing: border-box;
}

.event-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 92%;
  box-sizing: border-box;
  background-color: var(--secondary-bg-color);
  border-radius: 12px;
  padding: 12px 8px;
  gap: 10px;
}

@media (min-width: 501px) and (max-width: 900px) {
  .event-card {
    width: 72%;
    gap: 12px;
  }
}

@media (min-width: 901px) {
  .event-card {
    width: 62%;
    gap: 14px;
  }
}

.event-card:hover {
  cursor: pointer;
}

.event-card p {
  color: var(--secondary-text-color);
  font-weight: normal;
  text-align: center;
  font-size: 15px;
  box-sizing: border-box;
}

@media (min-width: 501px) and (max-width: 900px) {
  .event-card p {
    font-size: 18px;
  }
}

@media (min-width: 901px) {
  .event-card p {
    font-size: 22px;
  }
}

.event-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 100%;
  box-sizing: border-box;
}

.event-meta p {
  color: var(--primary-text-color);
  font-size: 12px;
  box-sizing: border-box;
}

@media (min-width: 901px) {
  .event-meta p {
    font-size: 16px;
  }
}

.no-result {
  color: var(--primary-text-color);
  font-size: 16px;
  text-align: center;
  margin-top: 20px;
  box-sizing: border-box;
}

@media (min-width: 901px) {
  .no-result {
    font-size: 22px;
  }
}

footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: var(--secondary-bg-color);
  padding: 10px 0;
  width: 100%;
  box-sizing: border-box;
  bottom: 0;
  position: fixed;
  z-index: 100;
}

footer img {
  width: 24px;
  height: auto;
  cursor: pointer;
}

@media (min-width: 501px) and (max-width: 900px) {
  footer img {
    width: 32px;
    height: auto;
  }
}

@media (min-width: 901px) {
  footer img {
    width: 40px;
    height: auto;
  }
}