.background-event {
  background-color: #e4e6fe;
  height: 100vh;
}

.background-event {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.background-event h1 {
  margin-top: 130px;
  color: #7466aa;
  font-weight: 600;
  font-size: 60px;
}

.gradientunderline {
  background-image: linear-gradient(120deg, #9595fb 0%, #efa8d5 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
  text-align: center;
}

.gradientunderline:hover {
  background-size: 100% 88%;
}

.event-items {
  display: flex;
  flex-direction: column;
}

.events {
  margin-top: 30px;
  display: flex;
  align-items: center;
  background-color: white;
  width: 80vw;
  max-width: 1000px;
  min-width: 300px;
  padding: 20px 0px;
  border-radius: 20px;
}

.events img {
  width: 200px;
  margin-left: 30px;
}

.events h2 {
  font-weight: 600;
  font-size: 40px;
}

.event-child {
  display: flex;
  flex-direction: column;
  margin-left: 40px;
  margin-right: 10px;
}

.event-learnmore {
  width: 200px;
  text-align: center;
  text-emphasis: none;
  text-decoration: none;
  color: white;
  padding: 10px 0px;
  background-color: #cfb4ff;
  border-radius: 20px;
}

.event-learnmore:hover {
  background-color: #7466aa;
  color: white;
}

@media only screen and (max-width: 800px) {
  .events {
    flex-direction: column;
  }
  .events img {
    margin-left: 0;
  }
  .event-child {
    align-items: center;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    align-items: center;
  }
}

footer {
  margin-top: 100px;
}
