.events-main-container {
  padding-block: 100px;
  padding-inline: 10vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #333f48;
}

.heading-text {
  font-size: 19px;
  margin-right: 25px;
  color: #333f48;
}

.tabs-container {
  display: flex;
  align-items: center;
}

.tab-button {
  font-weight: 600;
  font-size: 18px;
  margin-inline: 14px;
  cursor: pointer;
  transition: all 0.2s ease-in;
  color: #333f48;
  text-decoration: none;
}

.tab-button:hover {
  color: skyblue;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-inline: 100px;
  justify-content: center;
}

.event-details {
  padding: 25px;
}

.event-image {
  height: 47%;
  width: 100%;
  object-fit: fill;
}

.event-card {
  min-width: 300px;
  max-width: 355px;
  border: 1px solid lightgray;
  cursor: pointer;
  transition: all 0.2s ease-in;
  margin-bottom: 25px;
  color: #333f48;
  flex-basis: 32%;
  height: 410px;
  position: relative;
}
.event-card:hover {
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}

.event-card-fail{
  min-width: 300px;
  max-width: 355px;
  border: 1px solid lightgray;
  cursor: pointer;
  transition: all 0.2s ease-in;
  margin-bottom: 25px;
  color: #333f48;
  flex-basis: 32%;
  height: 410px;
  position: relative;
  visibility: hidden;
}

.event-date {
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(51, 63, 72, 0.65);
  font-weight: 600;
  margin-top: 60px;
  position: absolute;
  bottom: 25px;
}

.event-sub-text-1 {
  margin-right: 3px;
}
.event-sub-text-2 {
  margin-left: 3px;
}

.event-details-container {
  display: flex;
  flex-direction: row;
  padding: 100px;
  padding-inline: 10vw;
  color: #333f48;
  justify-content: space-between;
}

.event-description {
  width: 45%;
  padding: 15px;
  height: 100%;
  padding-top: 128px;
}

.event-contact-form {
  width: 50%;
  padding: 15px;
  height: 100%;
}

.event-description-title {
  font-size: 40px;
  font-weight: 300;
}

.event-desc {
  font-size: 16px;
  color: #000;
  font-weight: 300;
}

.event-img {
  margin-top: 25px;
  align-self: center;
  height: 170px;
  width: 170px;
  border-radius: 50%;
}

.uppercase {
  text-transform: capitalize;
}

.active {
  color: skyblue;
}

.font-large {
  font-size: 25px;
}
.font-medium {
  font-size: 21px;
}

.view-card {
  height: 140px;
  border: 1px solid lightgray;
  margin-inline: 20px;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: 10px;
}

.view-card:hover {
  box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
}

.card-title {
  font-size: 26px;
}

.bullet-list {
  list-style-type: disc;
  width: 428px;
  align-self: center;
}

.container-knowledge {
  display: flex;
  justify-content: center;
  padding: 20px;
}
#loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: none;
}

#loading:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.8));

  background: -webkit-radial-gradient(
    rgba(20, 20, 20, 0.8),
    rgba(0, 0, 0, 0.8)
  );
}

#loading:not(:required) {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

#loading:not(:required):after {
  content: "";
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.why-choose-green {
  padding-block: 40px;
  background: url("../images/prospectus.gif") no-repeat center center/cover;
}

.read-more-text {
  font-size: 15px;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: rebeccapurple;
  color: rgb(0, 57, 92);
  text-underline-offset: 6px;
  margin-top: 10px;
}

.doc-type-text {
  color: black;
  font-size: 15px;
  position: absolute;
  bottom: 15px;
}

@media (min-width: 768px) {
  .card img {
    height: 13em;
  }
}

@media (max-width: 800px) {
  .event-description {
    width: 100%;
  }

  .event-contact-form {
    width: 100%;
  }

  .event-details-container {
    flex-direction: column;
    padding-block: 40px;
  }

  .event-description-title {
    font-size: 37px;
  }
}

@media (max-width: 688px) {
  .card-container {
    justify-content: center;
  }
  .tabs-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
  }
  .heading-text {
    margin-left: 14px;
    margin-bottom: 10px;
    /* align-self: center; */
  }
}

@media (max-width: 480px) {
  .event-img {
    height: 124px;
    width: 124px;
  }

  .event-details-container {
    padding-inline: 4vw;
  }

  .register-heading {
    font-size: 35px !important;
  }

  .form-area {
    padding-inline: 26px !important;
  }

  .bullet-list {
    width: 260px;
  }

  .container-knowledge {
    flex-direction: column;
    align-items: center;
  }

  /* .cards-wrapper {
    flex-direction: column;
  }

  .card {
    width: 94%;
    margin-bottom: 20px;
  } */
}
