.events {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

@media(max-width: 992px) {
  .events {
    gap: 3rem;
  }
}

.event {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

@media(max-width: 992px) {
  .event {
    flex-direction: column;
  }
}

.event-cover {
  width: 420px;
  border-radius: 8px;
}

@media(max-width: 992px) {
  .event-cover {
    width: min(100%, 380px);
    border-radius: 8px;
  }
}

.event-left {
  flex-grow: 1;
}

@media(max-width: 992px) {
  .event-left {
    margin: 0 auto;
  }
}

.event-right {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-width: 100%;
}

@media(max-width: 992px) {
  .event-right {
    padding-top: 0;
  }
}

.event-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: .5rem;
  text-align: left;
  padding-left: .4rem;
}

@media(max-width: 992px) {
  .event-title {
    font-size: 2rem;
    text-align: center;
    padding-left: 0;
  }
}

.event-body {
  max-height: 220px;
  padding: 0 .5rem;
  overflow: hidden;
  position: relative;

  /* Fade out content at the bottom */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

@media(max-width: 992px) {
  .event-body {
    max-height: 200px;
    padding: 0;
  }
}

.event-body .readMore-largeView {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  color: rgba(0,0,0,0.5);
  font-family: "Nunito", monospace;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  
  justify-content: center;
  align-items: center;
  display: none;
}

.event-body:hover .readMore-largeView {
  color: rgba(0,0,0,1);
  display: flex;
}

.event-body:hover .event-bodyContent {
  opacity: 0.25;
}

.readMore-smallView {
  justify-content: center;
  width: 100%;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: "Nunito", monospace;
  position: relative;
  top: -.5rem;
  display: none;
}

@media(max-width: 992px) {
  .readMore-smallView {
    display: flex;
  }
}

.event-bodyContent div h1,
.event-bodyContent div h2,
.event-bodyContent div h4,
.event-bodyContent div h3 {
  font-size: 1rem !important;
  margin-top: 1rem;
}

.event-bodyContent div *:first-child {
  margin-top: 0;
}

@media(max-width: 992px) {
  .event-bodyContent * {
    text-align: center;
  }
}

.projects-section .event-right a svg {
  color: #000;
}
.projects-section .project-text a svg {
  color: #fff;
}

.oldEvents {
  position: relative;
  z-index: 1;
}

.oldEvents::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -3rem;
  left: -60vw;
  right: -60vw;
  bottom: 0vh;
  background-color: hsla(222, 100%, 100%, 1);

  --tooth-width: 40px; 
  --tooth-height: 20px;
  background-image: url("https://www.transparenttextures.com/patterns/gray-lines.png");
  -webkit-mask: 
    conic-gradient(from -45deg at bottom, transparent 90deg, black 0) 
      top / var(--tooth-width) var(--tooth-height) repeat-x,
    linear-gradient(black, black) 
      bottom / 100% calc(100% - var(--tooth-height)) no-repeat;
  mask: 
    conic-gradient(from -45deg at bottom, transparent 90deg, black 0) 
      top / var(--tooth-width) var(--tooth-height) repeat-x,
    linear-gradient(black, black) 
      bottom / 100% calc(100% - var(--tooth-height)) no-repeat;
}

.oldEvents-title {
  position: relative;
  z-index: 1;
}