@font-face {
  font-family: "wallachia";
  src: url("fonts/Wallachia-PosterBold.otf");
}

@font-face {
  font-family: "continental";
  src: url("fonts/Continental-Regular.otf");
}

body {
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  overflow: hidden;
  font-family: "continental";
}

.landing-container {
  background-image: url("/landing/landing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
}

.overlay {
  background-color: rgba(255, 255, 255, 0);
  color: red;
  font-family: "continental";
  max-width: 100%;
}

.landing-header {
  display: flex;
  justify-content: space-between;
  font-family: "wallachia";
  font-size: 5.4rem;
  position: absolute;
  top: 5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  box-sizing: border-box;
}

.description {
  position: absolute;
  font-size: 1.3rem;
  width: 90%;
  line-height: 1;
  text-transform: uppercase;
  max-width: 100%;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

button {
  color: black;
  transition: opacity 5s ease;
  position: fixed;
  top: 10px;
  border-radius: 5rem;
  padding: 8px 16px;
  background-color: rgba(247, 247, 247, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid black;
  font-size: 2rem;
  font-family: "continental";
  cursor: pointer;
  z-index: 999;
}

button:hover {
  background-color: rgba(0, 0, 0, 0.2);
  color: #f7f7f7;
  border: 1px solid #f7f7f7;
}
button:active {
  background-color: rgba(0, 0, 0, 0.2);
  color: #f7f7f7;
  border: 1px solid #f7f7f7;
}

.restart {
  left: 50%;
  transform: translateX(-50%);
}

.info {
  left: 0.5rem;
}

.gallery {
  right: 0.5rem;
}

#canvas {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.image {
  position: absolute;
  width: 20%;
  height: auto;
  user-select: none;
  transition: transform 0.1s ease;
  user-select: none;
  -drag: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
}

#canvas {
  display: none;
}

@media (max-width: 768px) {
  .landing-container {
    background-image: url("/landing/landing-mobile.jpg");
  }

  #canvas {
    margin-top: -3rem;
  }
  .landing-header {
    font-size: 2rem;
    flex-direction: column;
    align-items: center;
  }

  .right {
    margin-top: -1rem;
  }

  .description {
    font-size: 0.85rem;
    line-height: 1;
    bottom: 8rem;
  }

  .image {
    width: 30%;
  }

  button {
    font-size: 1rem;
  }
}
