  
*,
*::before,
*::after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  scroll-behavior: smooth;
  -webkit-scroll-behavior: smooth;
}

body {
  font-family: Arial, Verdana, Sans-Serif;
  font-size: 18px;
  line-height: 1.5;
  
  color: white;
  background-color: #001163;
  
}

h1, h2, h3, h4, h5, h6 {
  color: #960000;
  margin-bottom: 1rem;
}

cite {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.sidebar {
  /* ↓ The width when the sidebar _is_ a sidebar */
  flex-basis: 20rem;
  flex-grow: 1;
}

.not-sidebar {
  /* ↓ Grow from nothing */
  flex-basis: 0;
  flex-grow: 999;
  /* ↓ Wrap when the elements are of equal width */
  min-inline-size: 50%;
} 

.img-fill {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.4);
  box-shadow: 5px 5px 8px rgba(0,0,0,0.4);
}

.img-fit {
  object-fit: cover;
}

.img-responsive {
  width: 100%;
}

.mobile-on {display: none;}

.icon-small {
  width: 28px;
  height: 28px;
  margin: 0.3rem;
}

.icon {
  width: 48px;
  height: 48px;
  margin: 0.3rem;
}

.icon-round {
  border-radius: 50%;
}

.icon-square {
  border-radius: 4px;
}

a.btn {
  display: inline-block;
  margin-block: 1rem;
  padding: 14px 20px;
  font-weight: bold;
  color: white;
  background-color: #960000;
  
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 200ms ease-in;
}

a.btn:hover {
  background-color: #600000;
}

.text-black {
  color: black;
}

.text-red {
  color: #960000;
}

.text-blue {
  color: #001163;
} 

.bg-white {background-color: white}

.text-center {text-align: center;}

.pad-2rem {
  padding: 2rem;
}

.max-w-400 {
  max-width: 400px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.flex-item {
  flex: 1 1;
  min-width: 250px;
}

.flex-add {
  display: flex;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-gap-0 {
  gap: none;
}

.flex-gap-1 {
  gap: 1rem;
}

.flex-gap-2 {
  gap: 2rem;
}

.flex-gap-3 {
  gap: 3rem;
}

.flex-gap-4 {
  gap: 4rem;
}

.flex-gap-5 {
  gap: 5rem;
}

.hide {
  display: none;
}

header.scrolled {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  z-index: 5000;
  
  animation: fadein 0.5s;
}

header.scrolled > nav {
  margin: 0;
}

header.scrolled > nav ul li a, header.scrolled > nav ul li a span {
  font-size: 0.8rem;
}

nav {
  margin-top: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li {
  padding: 1rem;
  text-align: center;
}

nav ul li a {
  display: flex;
  flex-direction: column;
  
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  
  text-decoration: none;
  transition: opacity 200ms ease-in;
}

nav ul li a:hover {
  opacity: 0.7;
}

nav ul li a span {
  font-size: 1rem;
}

section {
  margin-inline: 5rem;
  padding: 2rem;
  color: #001163;
  background-color: #f1f1f1;
  border-top: 0.5px solid #bbb;
}

section.seperator {
  margin-top: 2rem;
}

section.last {
  margin-bottom: 6rem;
}

.event-card {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.4);
  border-radius: 6px;
  box-shadow: 5px 5px 8px rgba(0,0,0,0.4);
  overflow: hidden;
}

.event-card img {
  width: 100%;
  height: 40%;
  object-fit: cover;
}

.event-details {
  padding: 1rem;
}

.event-details p {
  margin-top: 5px;
}

.sponsor img {
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 200px;
}

#map {
  height: 600px;
  max-width: 100vw;
}

.marker-green::before {
  font-family: 'FontAwesome';
  content: "\f041";
  color: green;
  font-size: 3em;
}
.marker-red::before {
  font-family: 'FontAwesome';
  content: "\f041";
  color: red;
  font-size: 3em;
}
.marker-blue::before {
  font-family: 'FontAwesome';
  content: "\f041";
  color: #337ab7;
  font-size: 3em;
}
.marker-orange::before {
  font-family: 'FontAwesome';
  content: "\f041";
  color: #D28E00;
  font-size: 3em;
}

.marker-music::after {
  font-family: 'FontAwesome';
  content: "\f001";
  color: #8F0071;
  font-size: 1.5rem;
}
.marker-event::after {
  font-family: 'FontAwesome';
  content: "\f145";
  color: #ab2c25;
  font-size: 3em;
}

.marker-restrooms::after {
  font-family: 'FontAwesome';
  content: "\f183\f182";
  color: white;
  background-color: blue;
  font-size: 1.5em;
  padding: 1px;
}

@-webkit-keyframes fadein {
  from {opacity: 0;} 
  to {opacity: 1;}
}

@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {opacity: 1;} 
  to {opacity: 0;}
}

@keyframes fadeout {
  from {opacity: 1;}
  to {opacity: 0;}
}

@media screen and (max-width: 640px) {
  section {
    margin: 1rem;
    padding: 1rem;
  }
  
  nav ul li {
    flex: 1;
  }
}

@media screen and (max-width: 450px) {
  header.scrolled > nav ul li.mobile-off {display: none;}
  header.scrolled > nav ul li.mobile-on {display: block;}
  section.mobile-off {display: none;}
  .event {display: block;}
  a.btn {display: flex; flex-direction: column; align-items: center; gap: 1rem; overflow-wrap: anywhere;}
}