@font-face {
  font-family: "Chaloops";
  font-style: normal;
  font-weight: 700;
  src: url("https://cdn5.onboard.org/assets/hofis/fonts/chaloops-bold.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 400;
  src: url("https://cdn5.onboard.org/assets/hofis/fonts/roboto-slab-400.woff2") format("woff2");
}

*,
::before,
::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto Slab", Arial, sans-serif;
}

.wrapper {
  width: 100%;
  margin: 0 auto 32px;
}

.filter-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

select.filter {
  width: 100%;
  min-height: clamp(92px, 9vw, 132px);
  padding: clamp(22px, 3vw, 34px) clamp(84px, 10vw, 130px) clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px);
  border: 2px solid #d8edef;
  border-radius: 28px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 24'%3E%3Cpath d='M4 4 20 20 36 4' fill='none' stroke='%23ed070d' stroke-width='7' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right clamp(28px, 4vw, 52px) center;
  background-size: clamp(26px, 3vw, 36px);
  box-shadow: 0 10px 22px rgba(117, 199, 207, 0.24);
  color: #1f2430;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select.filter::-ms-expand {
  display: none;
}

select.filter:focus {
  outline: none;
}

select.filter:focus-visible {
  border-color: #b9dde1;
  box-shadow: 0 10px 22px rgba(117, 199, 207, 0.3);
}

.filter {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.label {
  display: block;
  margin-bottom: 18px;
  color: #d3080b;
  font-family: "Chaloops", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 52px);
}

.select-wrap {
  position: relative;
}

.select-button {
  position: relative;
  width: 100%;
  min-height: clamp(92px, 9vw, 132px);
  padding: clamp(22px, 3vw, 34px) clamp(70px, 8vw, 108px) clamp(22px, 3vw, 34px) clamp(20px, 2.5vw, 30px);
  border: 2px solid #d8edef;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(117, 199, 207, 0.24);
  color: #1f2430;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.select-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(28px, 4vw, 52px);
  width: clamp(22px, 2.8vw, 34px);
  height: clamp(22px, 2.8vw, 34px);
  border-right: 9px solid #ed070d;
  border-bottom: 9px solid #ed070d;
  transform: translateY(-68%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.open .select-button::after {
  transform: translateY(-30%) rotate(-135deg);
}

.select-button:focus {
  outline: none;
}

.select-button:focus-visible {
  border-color: #b9dde1;
  box-shadow: 0 10px 22px rgba(117, 199, 207, 0.3);
}

.select-menu {
  width: 100%;
  margin: 12px 0 0;
  padding: 10px 0;
  list-style: none;
  border: 2px solid #d8edef;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(117, 199, 207, 0.24);
  overflow: hidden;
}

.select-option {
  width: 100%;
  padding: 16px clamp(22px, 3vw, 34px);
  border: 0;
  background: transparent;
  color: #1f2430;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  text-align: left;
}

.select-option:hover,
.select-option:focus-visible,
.select-option.active {
  background: rgba(237, 7, 13, 0.08);
  outline: none;
}

@media (max-width: 680px) {
  .filter-container {
    padding: 0 10px;
  }

  select.filter {
    font-size: 18px;
    background-position: right 22px center;
    background-size: 24px;
  }

  .filter {
    padding: 0 10px;
  }

  .select-button {
    font-size: 18px;
    padding: 20px 58px 20px 18px;
  }

  .select-option {
    font-size: 16px;
  }

  .select-button::after {
    border-right-width: 7px;
    border-bottom-width: 7px;
  }
}
