@font-face {
  font-family: Snell;
  src: url(/static/fonts/snell.otf) format("opentype");
}

body {
  background: linear-gradient(135deg, white, white);
  margin: 0;
  color: #000;
  font-family: "Snell", serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-direction: column;
}

form {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  flex-direction: column;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: large;
  border-style: solid;
}

.date {
  font-size: 20em;
  border-radius: 400px;
  background-color: #ffffff;
  margin: 5%;
  box-shadow: 0 1px 1px hsl(0deg 0% 0% / 0.075),
    0 2px 2px hsl(0deg 0% 0% / 0.075), 0 4px 4px hsl(0deg 0% 0% / 0.075),
    0 8px 8px hsl(0deg 0% 0% / 0.075), 0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.camera-ui {
  border: 10px solid #222;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(to bottom, #444, #222);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.viewfinder {
  width: 500px;
  height: 500px;
  overflow: hidden;
  border: 5px solid #555;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
  background: linear-gradient(to bottom, #444, #222);
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.controls {
  margin-top: 15px;
  text-align: center;
  background: none;
}

.retro-button {
  background: linear-gradient(to bottom, #444, #222);
  border-radius: 50%;
  padding: 15px;
  font-size: 24px;
  cursor: pointer;
}

.pictures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 80%;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pictures img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pictures img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.timeline-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-link {
  margin: 10px;
  text-decoration: none;
  color: #000;
  padding: 15px;
  font-size: x-large;
}

.nav-link>.current-link {
  text-decoration: underline;
  text-decoration-color: #000080;
  padding: 10px 15px;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: #000080;
  padding: 10px 15px;
}

#logo {
  position: absolute;
}

#hero-image {
  width: 100vw;
}

* {
  box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  color: white;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: black;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  border: 4px solid #FF9F55;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #333;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #333;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #333;
  border-width: 10px 10px 10px 0;
  border-color: transparent #333 transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: #333;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid #333;
    border-width: 10px 10px 10px 0;
    border-color: transparent #333 transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

canvas {
  border: 3px solid white;
  background: rgba(255, 255, 255, 0.1);
  display: block;
  margin: auto;
  max-width: 100%;
}

#scoreboard {
  margin-top: 20px;
}

.controls {
  margin-top: 10px;
}

.controls button {
  font-size: 20px;
  padding: 10px;
  margin: 5px;
}
