@font-face {
  font-family: custom;
  src: url("fonts/custom.ttf");
}

body {
  font-family: custom;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #ede8d0;
  flex-direction: column;
  text-align: center;
}

h1 {
  z-index: 1;
  font-size: 4rem;
  color: #8d0000;
  margin: 10px 0;
}

p1 {
  font-size: 2.5rem;
  color: #8d0000;
}

.container {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.button {
  background-color: #ede8d0;
  display: block;
  width: 250px;
  padding: 18px;
  margin: 10px;
  text-align: center;
  text-decoration: none;
  font-size: 2rem;
  color: #8d0000;
  border-style: solid;
  border-color: #8d0000;
  border-width: 4px;
  border-radius: 8px;
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

.yes:hover {
  background: url("images/button.jpg") no-repeat center center;
  background-size: cover;
  color:#ede8d0;
}

.no {
  background-color: #8d0000;
  color: #ede8d0;
  position: absolute;
  top: 60%;
  margin-top: 5px;
}

.stop {
  transform: translate(0%, 200%);
}
.reload {
  transform: translate(0%, 205%);
}
img {
  position: absolute;
  max-width: 70%;
  height: auto;
  top:27%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

@media (max-width: 768px) {
  h1 {
    font-size: 6vw;
  }

  .button {
    width: 60vw;
    font-size: 5vw;
  }

  img {
    max-width: 80vw;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 8vw;
  }

  .button {
    width: 70vw;
    font-size: 6vw;
  }

  img {
    max-width: 85vw;
  }
}