@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("https://assets.retrogamebeurzen.nl/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;
}

a:focus-visible {
  outline: 2px solid #97e3f5;
  outline-offset: 2px;
  border-radius: 2px;
}

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

h2 a,
h3 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 {
  position: relative;
  background-color: #2e476b;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 15px;
  border-radius: 15px;
}

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

.event-list-item h2 a::after,
.event-list-item h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}

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

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

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.page-header h1 {
  margin: 0;
}

.country-filter {
  display: flex;
  align-items: center;
}

.country-filter select {
  height: 40px;
  background-color: #193052;
  color: #97e3f5;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-family: "Urbanist", sans-serif;
  padding-left: 10px;
  padding-right: 10px;
  cursor: pointer;
}

.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 {
  display: flex;
  align-items: center;
}

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

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

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

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

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

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

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

  .event-secondary-info-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

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

}

.event-poster-figure {
  margin: 0;
}

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

.event-poster-figure figcaption {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #97e3f5;
  text-align: center;
}


.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 {
  position: relative;
  background-color: #2e476b;
  padding: 15px;
  border-radius: 15px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.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 h2 a::after {
  content: '';
  position: absolute;
  inset: 0;
}

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

/* FAQ styles */
.faq {
  margin-top: 1rem;
}

.faq-item {
  background-color: #2e476b;
  border-radius: 15px;
  margin-bottom: 10px;
  padding: 10px 15px;
  cursor: pointer;
}

.faq-question {
  color: rgb(255, 20, 147);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
}

.faq-answer {
  margin-top: 10px;
  margin-bottom: 5px;
}

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

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

/* RSS copy widget */
.rss-copy-container {
  display: flex;
  gap: 10px;
  width: 100%;
}

.rss-url-input {
  flex: 1;
  min-width: 0;
  background-color: #2e476b;
  color: #F1F2F6;
  border: none;
  border-radius: 15px;
  padding: 10px 15px;
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
}

.rss-url-input:focus {
  outline: 2px solid #97e3f5;
  outline-offset: 2px;
}

.rss-copy-button {
  flex-shrink: 0;
  background-color: #17c2e8;
  color: #FFFFFF;
  border: none;
  border-radius: 15px;
  padding: 10px 18px;
  font-family: "Urbanist", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.rss-copy-button:hover {
  background-color: #0da8cc;
}

.rss-copy-button:focus-visible {
  outline: 2px solid #97e3f5;
  outline-offset: 2px;
}

.lang-switcher {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 10;
}

.lang-select {
  height: 40px;
  background-color: #193052;
  color: #97e3f5;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-family: "Urbanist", sans-serif;
  padding-left: 10px;
  padding-right: 10px;
  cursor: pointer;
}

.lang-select:focus-visible,
.country-filter select:focus-visible {
  outline: 2px solid #97e3f5;
  outline-offset: 2px;
}

.lang-noscript-link {
  display: block;
  margin-top: 4px;
  color: #97e3f5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
