* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* <!-- EVENTS SECTION ---------------------------------------------------------------------------------------------> */
.events {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10rem 3rem 10rem 3rem;
  color: white;
}

.mobile-overlay {
  display: none;
}

.events .content {
  text-align: right;
}

.events .content p {
  padding-left: 40%;
}

/* Events Buttons */
.events .buttons {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 1.5rem;
  padding-left: 6.25rem;
}

hr {
  border: 0.625rem solid white;
}

/* <!-- DONATION SECTION ---------------------------------------------------------------------------------------------> */
.donations {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 10rem 3rem 10rem 3rem;
  color: #1C449B;
  text-align: left;
}

.donations .buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.donations .buttons a {
  font-size: 6.25rem;
  padding: 1.5rem;
}

/* <!-- MEDIA QUERIES ---------------------------------------------------------------------------------------------> */
/* <!-- Laptop ----------------!> */
@media only screen and (min-width: 1025px) and (max-width: 1440px),
only screen and (min-width: 853px) and (max-width: 1280px) {
  .donations .buttons a {
    font-size: 5rem;
    padding: 1.25rem;
  }
}

/* <!-- Desktop/Laptop + Upscale (125% Scale) ----------------!> */
@media (max-width: 1536px) and (min-width: 1535px) and (min-resolution: 120dpi) and (max-resolution: 121dpi) {
  .events {
    padding: 8rem 3rem 8rem 3rem;
  }
}

/* <!-- Desktop + Scale (150% Scale) ----------------!> */
@media (max-width: 1280px) and (min-width: 1279px) and (min-resolution: 144dpi) and (max-resolution: 145dpi) {
  .events {
    padding: 6rem 3rem 6rem 3rem;
  }
}

/* <!-- Mobile ----------------!> */
@media only screen and (max-width: 767px),
only screen and (orientation: portrait) {

  /* <!-- Events Section -----> */
  .events {
    position: relative;
    padding: 7rem 1rem 7rem 1rem;
  }

  .mobile-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c449bc7;
    z-index: 1;
  }

  .events h1 {
    text-align: center;
    font-size: 4rem;
    z-index: 2;
  }

  .events .subheader {
    margin-bottom: 3.5rem;
    z-index: 2;
  }

  .events .content {
    margin-top: 0;
    padding: 0 1.25rem;
    z-index: 2;
  }

  .events .content p {
    padding-left: 0;
  }

  .details {
    display: flex;
    justify-content: center;
    margin-left: 0;
  }

  .events .buttons {
    display: grid;
    justify-content: center;
    width: 100%;
    margin-top: 3rem;
    padding-left: 0;
  }

  /* <!-- Donations Section -----> */
  .donations {
    padding: 7rem 1rem 7rem 1rem;
    text-align: center;
  }

  .donations .buttons {
    display: grid;
    grid-template-columns: 0;
    grid-template-rows: 1fr;
    margin-top: 1rem;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    justify-items: center;
    width: 100%;
  }

  .donations .buttons a {
    font-size: 2.5rem;
    padding: 1rem;
    margin: 0;
    width: 80vw;
  }
}
