@font-face {
  font-display: swap;
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/urbanist-v17-latin-regular.woff2') format('woff2');
}

body, html {
  width: 100%;
  margin: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #162234;
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
}

header {
  position: relative;
  height: 200px;
  margin-bottom: 1rem;
  background-color: #0d1521;
  background-image: url("/img/banner.webp");
  background-position: left top;
  background-repeat: no-repeat;
  border-radius: 0px 0px 15px 15px;
}

header h1 {
  margin: 0px;
  color: #F1F2F6;
  text-align: center;
}

main {
  padding-left: 10px;
  padding-right: 10px;
}

footer {
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 1rem;
}

a {
  color: #97e3f5;
  text-decoration: none;
}

a:hover {
  color: #c0e7ef;
  text-decoration: none;
}

h1, h2, h3 {
  color: rgb(255, 20, 147);
}

h2 a {
  color: rgb(255, 20, 147);
}

.container {
  width: 100%;
  max-width: 800px;
  color: #FFF;
  line-height: 1.5;
}

.menu {
  position: absolute;
  bottom: 0px;
  width: 100%;
  background-color: #193052;
  text-align: center;
  font-size: 24px;
  border-radius: 15px;
}

.menu-item {
  height: 150%;
  margin-left: 5px;
  margin-right: 5px;
  color: #97e3f5;
}

.menu-item:hover {
  color: rgb(255, 20, 147);
}

.event-list-item {
  background-color: #2e476b;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 15px;
  border-radius: 15px;
}

.event-list-item h2 {
  margin: 0;
}

.event-list-info-wrapper {
  overflow: hidden;
  margin-top: 5px;
  margin-bottom: 10px;
}

.event-list-info-item {
  float: left;
  width: 50%;
}

.event-list-all-items {
  width: 100%;
  height: 40px;
  background-color: #193052;
  text-align: center;
  font-size: 24px;
  line-height: 40px;
  border-radius: 15px;
}

.event-list-all-items a:hover {
  color: rgb(255, 20, 147);
}

.event-info-wrapper {
  overflow: hidden;
}

.event-info-item {
  float: left;
  width: 33%;
}

.event-secondary-info-wrapper {
  overflow: hidden;
}

.event-calendar-info-item {
  float: left;
  width: 33%;
  display: flex;
}

.event-calendar-info-item a {
  color: #FFFFFF;
  padding-left: 2px;
}

.event-calendar-info-button {
  display: flex;
  align-items: center;
  padding: 5px;
  padding-right: 10px;
  background-color: #17c2e8;
  border-radius: 15px;
}

.event-calendar-info-button-icon {
  height: 24px;
  vertical-align: middle;
  margin-right: 4px;
}

.event-navigation-info-item {
  float: left;
  width: 66%;
  padding-top: 24px;
}

@media only screen and (max-width: 40em) {
  .event-info-item {
    float: none;
    width: 100%;
    margin-bottom: 5px;
  }

  .event-calendar-info-item {
    float: left;
    width: 100%;
  }

  .event-navigation-info-item {
    float: left;
    width: 100%;
    padding-top: 0px;
  }

}

.event-poster {
  width: 100%;
  max-width: 800px;
  height: auto;
}

.material-icons {
    display: inline-flex;
    vertical-align: text-bottom;
}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 20
}

.footer {
  float: left;
  background-color: #193052;
  padding: 5px;
  margin-bottom: 65px;
  border-radius: 15px
}

/* Archive page styles */
.past-event {
  opacity: 0.7;
}

.past-event:hover {
  opacity: 0.9;
}

.archive-summary {
  background-color: #193052;
  padding: 15px;
  border-radius: 15px;
  margin-top: 2rem;
  text-align: center;
}

.archive-summary p {
  margin: 0;
  color: #F1F2F6;
  font-weight: 500;
}

/* Tags overview styles */
.tags-overview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.tag-item {
  background-color: #2e476b;
  padding: 15px;
  border-radius: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.tag-item:hover {
  transform: translateY(-3px);
  background-color: #3a5a7d;
}

.tag-item h2 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
}

.tag-item h2 a {
  color: rgb(255, 20, 147);
  text-decoration: none;
}

.tag-item h2 a:hover {
  color: #ff69b4;
}

.tag-item p {
  margin: 0;
  color: #97e3f5;
  font-size: 0.9rem;
}

.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
}
