html {
  overflow: auto;
}

nav {
  background-color: rgb(20, 20, 20);
}

.eventDesc a {
  color: white;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.eventDesc a:hover {
  opacity: 1;
  text-decoration: underline;
}

.eventContent p {
  margin-bottom: 10px;
  margin-top: 0px;
}

.eventsThisWeekend {
  width: 800px;
  height: fit-content;
  display: grid;
  flex-direction: row;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.event {
  transition: transform 0.3s ease;
}

.event:hover {
  transform: scale(1.02);
}

.eventContainer {
  width: 100%;
  color: white;
  /*  border-bottom: 1px white solid;*/
  /*  padding-bottom: 20px;*/
}

.eventContent {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: nowrap;
}

.eventContainer img {
  width: 100%;
  height: auto;
}

.event img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.event a {
  color: white;
  text-decoration: none;
}

.eventHead {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.eventSub {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 0.6em;
}

.eventName {
  font-size: 3em;
  font-weight: 400;
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 0.9em;
  margin-top: 2px;
}

.eventDJs {
  font-size: 1em;
  font-weight: 100;
  margin-top: 5px;
  margin-bottom: 6px;
}

.eventDesc {
  font-weight: 200;
  margin-top: 10px;
  font-size: 1em;
  padding-right: 20px;
  font-family: 'Source Sans 3', sans-serif;
}

.eventDesc p:first-of-type {
  margin-top: 0px;
}

.eventDesc p:last-of-type {
  margin-bottom: 0px;
}

.eventDateCont {
  font-size: 1em;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  height: fit-content;
  margin-bottom: 16px;
}

.eventDate {
  text-wrap: nowrap;
  white-space: nowrap;
  margin-right: 10px;
  margin-bottom: 0px;
  width: fit-content;
}

.eventDateFiller {
  background-image: url("../../img/gridpattern.png");
  width: 100%;
  min-height: 100%;
  margin-bottom: 6px;
  margin-top: 3px;
  background-size: 2px 2px;
  filter: invert(100%);
}

.eventMain {
  display: flex;
  flex-direction: column;
  margin-top: 0px;
  width: 100%;
}

.eventLinks {
  display: flex;
  flex-direction: column;
  margin-top: 0px;
  width: 380px;
  gap: 10px;
}

.eventLinks a {
  width: 100%;
  text-transform: uppercase;
  text-align: center;
  border: 1px white solid;
  padding-top: 12px;
  padding-bottom: 10px;
  color: white;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.eventLinks a:hover {
  color: rgb(20, 20, 20);
  background-color: white;
}

.linkFiller {
  margin-top: 10px;
  min-width: 100%;
  height: 100%;
  background-image: url("../../img/gridpattern2.png");
  background-size: 3px 3px;
  filter: invert(100%);
}

.subEvents {
  display: grid;
  width: 800px;
  height: fit-content;
  gap: 10px;
  /* grid-template-columns: auto auto auto; */
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 80px;
}

.subEvent {
  display: flex;
  flex-direction: row;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.subEvent:hover {
  transform: scale(1.05);
}

.subEvent a {
  color: white;
  text-decoration: none;
  width: 100%;
}

.subEventBracketLeft {
  width: 3px;
  min-width: 3px;
  height: 100%;
  border-left: 1px white solid;
  border-top: 1px white solid;
  border-bottom: 1px white solid;
}

.subEventBracketRight {
  width: 3px;
  min-width: 3px;
  height: 100%;
  border-right: 1px white solid;
  border-top: 1px white solid;
  border-bottom: 1px white solid;
}

.subEventContent {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.subEventMain {
  height: 100%;
  padding: 10px 10px 2px 10px;
  color: rgb(20, 20, 20);
  background-color: white;
}

.subEventDateCont {
  font-size: 0.6em;
  text-transform: uppercase;
  width: 100%;
  display: flex;
  flex-direction: row;
}

.subEventDate {
  text-wrap: nowrap;
  margin-right: 5px;
  width: fit-content;
  white-space: nowrap;
}

.subEventDateFiller {
  background-image: url("../../img/gridpattern.png");
  width: 100%;
  min-height: 100%;
  margin-bottom: 5px;
  margin-top: 2px;
  background-size: 2px 2px;
}

.subEventName {
  margin-top: 2px;
  font-size: 0.8em;
  text-transform: uppercase;
  line-height: 1em;
}

.subEventSepa {
  width: 100%;
  border-bottom: 1px rgb(20, 20, 20) solid;
  height: 1px;
  margin-top: 2px;
  margin-bottom: 4px;
}

.subEventDJs {
  font-size: 0.6em;
  font-weight: 100;
  margin-bottom: 5px;
}

.subEvent img {
  width: 100%;
  height: auto;
  object-fit: cover;
  align-self: flex-end;
}

.subPastEvent {
  filter: grayscale(100%);
  opacity: 0.5;
}

.subPastEvent:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media only screen and (max-width: 1200px) {}

@media only screen and (max-width: 1000px) {}

@media only screen and (max-width: 840px) {


  .subEvents {
    width: 100%;
  }

  .eventsThisWeekend {
    width: 100%;
    gap: 10px;
    box-sizing: border-box;
  }

  .event {
    width: 100%;

  }

  .eventName {
    font-size: 2em;
  }

  h2 {
    font-size: 2em;
  }
}

@media only screen and (max-width: 720px) {
  .eventsThisWeekend {
    grid-template-columns: repeat(1, 1fr);
  }

  .subEvents {
    grid-template-columns: repeat(2, 1fr);
  }

  .eventContent {
    flex-direction: column;
  }

  .eventLinks {
    width: 100%;
  }

  .linkFiller {
    display: none;
  }

  .eventContainer {}

  .event {
    margin-bottom: 0px;
  }
}

@media only screen and (max-width: 500px) {

  .subEvent img {
    height: 100px;
  }

  .eventsThisWeekend {
    grid-template-columns: repeat(1, 1fr);
  }

  .subEvents {
    grid-template-columns: repeat(1, 1fr);
  }

  .eventDate {
    font-size: 0.8em;
  }

}
