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

body {
  font-family:
    Arial Black,
    Helvetica,
    sans-serif;
  background-color: #f4f4f4;
  overflow-x: hidden;
  max-width: 1200px;
  margin: auto;
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

a {
  text-decoration: none;
}

.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.bg-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nav-container {
  position: absolute;
  bottom: 15vh;
  left: 10px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 10;
  flex-wrap: wrap;
  align-items: stretch;
}

.btn-red,
.btn-blue {
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 25px;
  border: 1px solid transparent;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
  animation: hopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.btn-red {
  background-color: rgba(222, 4, 66);
}

.btn-blue {
  background-color: rgba(61, 38, 110);
}

.btn-red:hover {
  background-color: rgba(222, 4, 66, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-blue:hover {
  background-color: rgba(61, 38, 110, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.small {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.nav-container a:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-container a:nth-child(2) {
  animation-delay: 0.2s;
}
.nav-container a:nth-child(3) {
  animation-delay: 0.3s;
}
.nav-container a:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes hopIn {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(50px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 770px) {
  .bg-wrapper {
    position: relative;
    height: auto;
    min-height: auto;
  }

  .bg-image {
    height: auto;
    object-fit: contain;
  }

  .nav-container {
    position: relative;
    bottom: auto;
    left: auto;
    padding: 15px;
    width: 100%;
    background-color: #f4f4f4;
    flex-direction: column;
    align-items: stretch;
  }

  .btn-red,
  .btn-blue {
    width: 100%;
    animation-name: slideIn;
    animation-timing-function: ease-out;
    animation-duration: 0.5s;
  }
}
