.fair > a {
  display: block;
  max-width: min(92vw, 1880px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4em;
  margin-top: 2em;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  text-decoration: none;
  color: var(--color-font);
}
@media screen and (min-width: 600px) {
  .fair > a {
    min-height: 180px;
    flex-wrap: unset;
    flex-direction: unset;
    justify-content: unset;
    align-items: unset;
  }
}
.fair > a figure {
  flex: 0 0 40%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
  padding-top: 2em;
  max-width: 100%;
}
@media screen and (min-width: 600px) {
  .fair > a figure {
    padding-top: 0;
    position: static;
    justify-content: center;
    align-items: center;
    flex-wrap: unset;
    max-width: unset;
    border-right: 11px solid var(--color-primary);
  }
}
.fair > a figure img {
  transition: all 400ms ease-in-out;
  margin: 0;
  position: relative;
  max-width: 100%;
}
@media screen and (min-width: 600px) {
  .fair > a figure img {
    position: static;
    max-width: unset;
  }
}
.fair > a:hover figure img {
  transform: scale(1.07);
}
.fair > a .text {
  flex: 0 0 60%;
  padding: 2em 3em;
  margin-left: 0;
  margin-right: 0;
}
@media screen and (min-width: 600px) {
  .fair > a .text {
    margin-left: auto;
    margin-right: auto;
  }
}
.fair > a .text h3::after {
  content: "";
  display: block;
  width: 130px;
  height: 0;
  border: 3px solid var(--color-primary);
  background-color: var(--color-primary);
}
.fair > a::after {
  content: "right";
  position: absolute;
  font-family: deister-icons;
  right: 0.8em;
  bottom: 0.5em;
  font-size: 1.8em;
  color: var(--color-primary);
  transition: right 200ms;
}

.form {
  position: relative;
}

.filter {
  position: absolute;
  right: 0;
  top: -4em;
  transform: translateY(-3em);
  display: flex;
  gap: 2px;
}
@media screen and (min-width: 600px) {
  .filter {
    top: 0;
  }
}
.filter::after {
  content: "down";
  font-family: deister-icons;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4em;
  position: absolute;
  right: 0;
  top: 0;
  line-height: 1.4em;
  color: var(--color-primary);
  z-index: -1;
}
.filter select {
  -moz-appearance: none;
  /* Firefox */
  -webkit-appearance: none;
  /* Safari and Chrome */
  appearance: none;
  font-family: inherit;
  width: 25ch;
  padding: 0.2em 3em 0.2em 1em;
  box-shadow: none;
  box-sizing: border-box;
  transition: all 200ms;
  font-family: Manrope, "Roboto Condensed", arial, sans-serif;
  font-size: 1.2em;
  background: none;
  border: 0;
  color: var(--switch);
  outline: 0;
  border-bottom: 1px solid var(--color-font);
}
@media screen and (min-width: 600px) {
  .filter select {
    width: 30ch;
  }
}

/*# sourceMappingURL=fairs.css.map */
