@charset "UTF-8";

@font-face {
  font-family: 'beefdregular';
  src: url('webfontkit1/beefd-webfont.woff2') format('woff2'),
       url('webfontkit1/beefd-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'beefdregular', sans-serif;
  background-color: #2484c6;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

h1 {
  background-color: #165580;
  padding: 0.7em 1.5em;
  font-size: clamp(1.5rem, 6vw, 3rem);
  color: #ffca66;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  margin: 0 0 1rem 0;
}

footer {
  display: block;
  background-color: #165580;
  padding: 0.5em 0;
  text-align: center;
}

footer p {
  font-size: clamp(0.5rem, 1.5vw, 0.9rem);
  margin: 0;
  color: #c9c7c9;
}

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

.badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 2rem;
}

.badge-display {
  position: relative;
  background: url("square2.png") no-repeat center center;
  background-size: contain;
  width: clamp(300px, 60vw, 1000px);
  aspect-ratio: 1 / 1;
  z-index: 1;
  margin-bottom: 2rem;
}

.badge {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.red-badge {
  top: 25%;
  left: 4%;
  width: 40%;
  height: auto;
}

.red-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yellow-badge {
  top: 45%;
  left: 52%;
  width: 40%;
  height: auto;
}

.yellow-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.blue-badge {
  top: 45%;
  left: 80%;
  width: 40%;
  height: auto;
}

.blue-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.badge-icon {
  width: 100%;
  height: 100%;
}

.back {
  display: inline-block;
  background-color: #165580;
  color: #ffca66;
  padding: 0.5em 1.5em;
  text-decoration: none;
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-family: 'beefdregular', sans-serif;
  border-radius: 0;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.next {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5em 1em;
  font-size: clamp(0.6rem, 2vw, 1.75rem);
  background-color: #165580;
  color: #ffca66;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  font-family: 'beefdregular', sans-serif;
  border-radius: 0;
  text-align: center;
  cursor: pointer;
  z-index: 3;
  max-width: 70%;
  width: fit-content;
  white-space: nowrap;
  box-sizing: border-box;
  display: none;
}
