* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgb(126, 236, 255);
  border: 5px solid rgb(51, 121, 187);
}

.eventTitle {
  padding: 0px 0px 30px 0px;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  /* align-items: center; */
  justify-content: center;
}

.eventTitle h2 {
  align-self: center;
  font-size: 28px;
  font-weight: bold;
  /* background-color: lightcoral; */
}

.eventTitle hr {
  width: 35%;
  border: 1px solid rgb(0, 0, 0);
  margin-top: 10px;
  align-self: center;
  /* background-color: lightcoral; */
}
.padTitle {
  padding: 0px 0px;
}

.currentEvent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0px 0px 0px 0px;
  /* background-color: aqua;
   */
}

.upcomingEvent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0px 0px 0px 0px;
  /* background-color: lightgreen; */
}

.pastEvent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 0px 0px 0px;
  /* background-color: lightsalmon; */
}

.bannerImage {
  width: 30%;
  height: auto;
  padding: 0px 0px 0px 0px;
}

.eventImage {
  width: auto;
  height: 400px;
  padding: 20px 20px 20px 20px;
}
.textOverlay {
  position: relative;
  top: -390px;
  left: 50px;
  height: 40px;
  width: 350px;
  padding: 0px 20px;
  font-size: 30px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border-style: solid;
  border-width: 2px;
  border-color: rgb(0, 0, 0);
  border-radius: 5px;
}
.textOverlay2 {
  position: relative;
  top: -390px;
  left: 50px;
  height: 40px;
  width: 255px;
  padding: 0px 20px;
  font-size: 30px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border-style: solid;
  border-width: 2px;
  border-color: rgb(0, 0, 0);
  border-radius: 5px;
}
.buttonOverlay {
  position: relative;
  text-align: center;
  top: -80px;
  left: 215px;
  height: 40px;
  width: 150px;
  padding: 0px 0px;
  font-size: 16px;
  background-color: rgb(51, 121, 187);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.eventDescriptionContainer {
  display: inline-flexbox;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
  /* background-color: tomato; */
}

.eventName {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
}

.eventDescription {
  font-size: 20px;
  text-align: left;
  max-width: 600px;

  /* background-color: lightseagreen; */
}

.eventImageContainer {
  display: flex;

  flex-direction: column;
  /* background-color: magenta; */
}

.buttonNav2 {
  display: flex;
  justify-self: center;
  align-self: center;
  /* padding: 6px; */
  /* background-color: royalblue; */
}
/* .buttonNav button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: rgb(51, 121, 187);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
} */
.divider {
  display: flex;
  flex-direction: row;
  align-items: right;
  justify-content: right;
  width: 100%;
  height: 50px;
}

.blankDiv {
  width: 50%;

  /* background-color: turquoise; */
}

@media (min-width: 240px) {
  .banner {
    padding: 15px;
  }

  .eventTitle h2 {
    font-size: 18px;
    padding-top: 10px;
  }

  .eventTitle hr {
    width: 75%;
  }

  .currentEvent,
  .upcomingEvent,
  .pastEvent {
    flex-direction: column-reverse;
    padding: 10px;
  }

  .bannerImage {
    width: 100%;
    height: auto;
    padding: 0px;
  }

  .eventImage {
    width: 400px;
    height: auto;
    padding: 20px;
  }

  .buttonOverlay {
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: auto;
    padding: 10px;
  }

  .eventDescription {
    max-width: 100%;
    font-size: 18px;
    padding: 0px 20px 10px 20px;
    text-align: center;
  }
  .eventName {
    text-align: center;
    font-size: 32px;
  }
  .divider {
    width: 100%;
    height: 10px;
  }
  .eventTitle {
    padding: 0px 0px 10px 0px;
  }

  .pastEvent {
    padding: 0px 0px 60px 0px;
  }
  .buttonNav2 {
    visibility: hidden;
  }

  @media (min-width: 580px) {
    .banner {
      padding: 15px;
    }

    .eventTitle h2 {
      font-size: 18px;
      padding-top: 20px;
    }

    .eventTitle hr {
      width: 50%;
    }

    .currentEvent,
    .upcomingEvent,
    .pastEvent {
      flex-direction: column;
      padding: 10px;
    }

    .bannerImage {
      width: 60%;
      height: auto;
      padding: 0px;
    }

    .eventImage {
      width: 600px;
      height: auto;
      padding: 20px;
    }

    .buttonOverlay {
      top: -80px;
      left: 50%;
      transform: translateX(-50%);
      width: 120px;
      height: auto;
      padding: 10px;
    }

    .eventDescription {
      max-width: 550px;
      font-size: 18px;
      padding: 0px 0px 10px 0px;
      text-align: center;
      justify-self: center;
    }
    .eventName {
      text-align: center;
      font-size: 32px;
    }
    .divider {
      width: 100%;
      height: 10px;
    }
    .eventTitle {
      padding: 0px 0px 10px 0px;
    }
    .currentEvent {
      padding: 0px 0px 0px 0px;
    }
    .upcomingEvent {
      padding: 0px 0px 0px 0px;
    }
    .pastEvent {
      padding: 0px 0px 60px 0px;
    }
    .divider {
      padding: 25px 0px 0px 0px;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;

      height: 10px;
    }
    .blankDiv {
      width: 50%;
      height: 50px;

      /* background-color: turquoise; */
    }
    .blankDiv2 {
      width: 50%;
      height: 50px;

      /* background-color: turquoise; */
    }
    .buttonNav2 {
      display: flex;
      flex-direction: row;
      justify-content: center;
      width: 50%;
    }
    .buttonNav2 button {
      visibility: visible;
      height: 40px;
      width: 70px;
      margin-top: 10px;
      padding: 0px 0px 0px 0px;
      margin: 5px;
      font-size: 16px;
      background-color: rgb(51, 121, 187);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
  }
  @media (min-width: 1800px) {
    .banner {
      padding: 15px;
    }

    .eventTitle h2 {
      font-size: 28px;
    }

    .eventTitle hr {
      width: 55%;
    }

    .currentEvent,
    .upcomingEvent,
    .pastEvent {
      flex-direction: row;
      padding: 0px;
    }

    .bannerImage {
      width: 30%;
      height: auto;
      padding: 0px;
    }

    .eventImage {
      width: auto;
      height: 400px;
      padding: 20px;
    }

    .buttonOverlay {
      top: -80px;
      width: 150px;
      height: 40px;
    }

    .eventDescription {
      width: 700px;
      max-width: 600px;
      font-size: 20px;
      padding: 0px;
      text-align: left;
    }
    .eventName {
      text-align: left;
      font-size: 42px;
    }
    .divider {
      padding: 0px 0px 0px 0px;
      display: flex;
      flex-direction: row;
      justify-self: center;
      align-items: right;
      width: 100%;
      height: 50px;
      /* background-color: yellow; */
    }
    .blankDiv {
      width: 25%;
      height: 100%;
      /* background-color: turquoise; */
    }
    .blankDiv2 {
      width: 23%;

      /* background-color: turquoise; */
    }
    .blankDiv3 {
      width: 20%;

      /* background-color: turquoise; */
    }
    /* .buttonNav {
      display: flex;
      align-items: center;
      padding: 0px 0px 0px 0px;
      background-color: tomato;
    } */
    /* .buttonNav button {
      height: 35px;
      width: 120px;
      padding: 0px 0px;
      font-size: 16px;
      background-color: rgb(51, 121, 187);
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    } */
    .buttonNav2 {
      width: 35%;
      display: flex;
      align-content: right;
      justify-content: right;
    }
    .buttonNav2 button {
      visibility: visible;
      height: 40px;
      width: 70px;
      margin-top: 10px;
      padding: 0px 0px 0px 0px;
      margin: 5px;
      font-size: 16px;
      background-color: rgb(51, 121, 187);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
  }
  @media (min-width: 2200px) {
    .banner {
      padding: 15px;
    }

    .eventTitle h2 {
      font-size: 28px;
    }

    .eventTitle hr {
      width: 35%;
    }

    .currentEvent,
    .upcomingEvent,
    .pastEvent {
      flex-direction: row;
      padding: 0px;
    }

    .bannerImage {
      width: 30%;
      height: auto;
      padding: 0px;
    }

    .eventImage {
      width: auto;
      height: 400px;
      padding: 20px;
    }

    .buttonOverlay {
      top: -80px;
      width: 150px;
      height: 40px;
    }

    .eventDescription {
      max-width: 600px;
      font-size: 20px;
      padding: 0px;
      text-align: left;
    }
    .eventName {
      text-align: left;
      font-size: 42px;
    }
    .divider {
      padding: 0px 0px 0px 0px;
      display: flex;
      flex-direction: row;
      justify-self: center;
      align-items: right;
      width: 100%;
      height: 50px;
      /* background-color: yellow; */
    }
    .blankDiv {
      width: 25%;
      height: 100%;
      /* background-color: turquoise; */
    }
    .blankDiv2 {
      width: 23%;

      /* background-color: turquoise; */
    }
    .blankDiv3 {
      width: 28.5%;

      /* background-color: turquoise; */
    }
    /* .buttonNav {
      display: flex;
      align-items: center;
      padding: 0px 0px 0px 0px;
      background-color: tomato;
    } */
    /* .buttonNav button {
      height: 35px;
      width: 120px;
      padding: 0px 0px;
      font-size: 16px;
      background-color: rgb(51, 121, 187);
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    } */
    .buttonNav2 {
      width: 27%;
      display: flex;
      align-content: right;
      justify-content: right;
    }
    .buttonNav2 button {
      visibility: visible;
      height: 40px;
      width: 70px;
      margin-top: 10px;
      padding: 0px 0px 0px 0px;
      margin: 5px;
      font-size: 16px;
      background-color: rgb(51, 121, 187);
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
  }
}
