.wheel {
  width: 100vw;
  margin: 0;
  height: 60vh;
  /* max-height: calc(100vw / (16 / 9)); */
  overflow: hidden;
  display: flex;
  align-items: end;
}

.image {
  height: inherit;
  width: inherit;
  position: absolute;
  overflow: hidden;
  left: -100vw;
  transition: left 1s cubic-bezier(.8, 0, .2, 1);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.image .img {
  height: 100%;
  width: 100%;
  background-image: var(--img);
  background-size: cover;
  transform: scale(1.1);
  /* transform-origin: center 85%; */
  transform-origin: bottom;
  background-repeat: no-repeat;
  background-position: center 40%;
  overflow: hidden;
}

.image.active {
  left: 0;
}

.image.active .img {
  transform: scale(1.1);
  transition: transform 8s linear, left 1s cubic-bezier(.8, 0, .2, 1);
}

.image.next {
  left: 100vw;
  transition: none;
}

.image.next .img {
  transform: scale(1);
  transition: none;
}

.image.first .img {
  transform: scale(1) !important;
  transition: transform 8s linear;
}

.grad {
  width: 100vw;
  margin-top: -100px;
  height: 200px;
  background-image: linear-gradient(to bottom, transparent, black, transparent);
  position: relative;
  z-index: 1;
}

.wheelnav {
  width: 200px;
  height: 50%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
}

dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--transparent-white);
  transition: background 1s;
  cursor: pointer;
}

dot.active {
  background: var(--white);
}

.countdown {
  width: 60%;
  /* min-width: fit-content; */
  margin: 0 auto;
  text-align: center;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--bright);
}

.newest {
  height: max-content;
}

.newest .post {
  width: clamp(360px, 40%, calc(100vw - 20px));
  min-width: 360px;
  margin: 20px auto 0;
  box-sizing: border-box;
  min-height: fit-content;
  max-height: unset;
}

.posts h1 {
  text-align: center;
}

.posts>h1.singular {
  display: none;
}

.posts .list {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  width: calc(100vw - 60px);
  height: max-content;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.post {
  width: auto;
  height: 100%;
  max-height: 300px;
  padding: 15px;
  border: 2px solid var(--bright);
  /* box-shadow: 0 0 10px var(--bright); */
  background: white;
  cursor: pointer;
  overflow: hidden;
  transition: all .2s;
}

.post:hover {
  border: 2px solid var(--main-col);
}


.post h2 {
  margin: 0;
}

.post img {
  width: 100%;
  height: auto;
}

.more {
  display: block;
  width: 100vw;
  text-align: center;
  font-size: 25px;
  background: var(--main-col);
  color: white;
  text-decoration: none;
  margin-top: 30px;
  transition: all .25s;
}

.more:hover {
  color: black;
  text-shadow: 0 0 3px white;
}

.halle .banner {
  background-image: url(/grosse-halle.jpg);
  background-size: cover;
  background-position: center;
  width: 100vw;
  aspect-ratio: 5.2719665272;
}

.halle h1 {
  text-align: center;
}

.halle p {
  width: 50%;
  margin: 0 auto 30px;
}

@media screen and (max-width: 1136px) {
  .posts .list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .list .post:last-child {
    display: none;
  }
}

@media screen and (max-width: 813px) {
  .posts .list {
    grid-template-columns: 1fr 1fr;
  }

  .list .post:nth-last-child(2),
  .list .post:nth-last-child(3),
  .list .post:nth-last-child(4) {
    display: none;
  }
}

@media screen and (max-width: 672px) {
  .halle p {
    width: 80%;
  }
}

@media screen and (max-width: 568px) {
  .posts .list {
    grid-template-columns: 1fr;
  }

  .list .post:nth-last-child(5),
  .list .post:nth-last-child(6) {
    display: none;
  }
}

@media screen and (max-width: 384px) {
  .newest .post {
    width: calc(100vw - 20px);
    min-width: unset;
  }
}

@media screen and (max-width: 874px) {
  .countdown {
    width: calc(100vw - 20px);
  }

  timer {
    max-width: calc(100vw - 40px);
  }
}