@font-face {
    font-family: "Press Start 2P";
    src: local("Press Start 2P"), url("../fonts/PressStart2P-Regular.ttf");
}

body {
  background-image: url("../assets/cropped_background.png");
  background-size: cover;
  background-position: center, center;

  color: white;

  font-family: "Press Start 2P", sans-serif;
  font-size: 20px;

  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
}

header img {
  width: 85vw;
}

main {
  margin-top: 12vh;
}

h1 {
  text-align: center;
}

.boldened-p {
  font-size: 18px;
  padding-top: 0.5vh;
  padding-bottom: 0.5vh;
}

#event-countdown {
  font-size: 20px;
}

.event-information {
  display: grid;
  justify-content: center;
}

.event-schedule-container {
  display: grid;
  text-align: center;
}

.countdown-container {
  margin-top: 3vh;
  border: 1px solid white;
  border-radius: 7px;
  padding: 15px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: var(--palette-lightest);
    border: 1px solid var(--palette-light);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--palette-darkest);
}

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

.fade-in {
  animation: fadeIn 1.5s ease-in-out;
}

@media screen and (max-width: 500px) {
  body {
    width: 100vw;
  }
  header img {
    width: 95vw;
    margin-top: 3vh;
  }

  .event-schedule-container {
    padding: 2px;
  }
  .countdown-container {
    width: 85vw;
  }

  .boldened-p {
    font-size: 14px;
  }
  #event-countdown {
    font-size: 14px;
  }
  #main-logo-holder {
    width: 200px;
    height: 150px;
  }
}

