.contact-button {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  text-align: center;
}

@media screen and ((max-width: 768px) and (orientation: portrait)) {
  .small {
    display: block;
    font-size: large;
  }
}

.img-container {
  aspect-ratio: 16/9;
  height: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.img-container img {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.img-container img.next {
  opacity: 1;
  z-index: 1;
}

.img-container img.prev {
  opacity: 1;
  z-index: 2;
}

.img-container img.fade-out {
  opacity: 0;
  transition: visibility 0s 3s, opacity 0.5s linear;
  visibility: hidden;
}

.cta {
  text-align: center;
}

.cta a,
.cta :visited {
  color: unset;
}

#events {
  max-width: 90vw;
}

.event {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#events:before {
  content: attr(aria-label);
  font-size: 120%;
  font-weight: bold;
}

.nowrap {
  white-space: nowrap;
}

aside {
  order: 1;
}

section {
  order: 0;
}

@media screen and (min-width: 1360px) {
  aside {
    position: fixed;
    right: 2vw;
  }

  #events {
    max-width: 15vw;
  }
}

iframe {
  border: none;
  aspect-ratio: 1/1;
  width: 100%;
  border: none;
  height: auto;
  overflow: hidden;
}
.social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.social-icons li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.social-icons img {
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.social-icons span {
  margin-left: 0.5rem;
}
