body {
  font-family: 'Poppins';
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  text-align: center;
}

body {
  background-color: #34CDE3;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#english {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

p {
  color: white;
  margin-bottom: 1px;
  font-size: larger;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05); 
}

h1 {
  font-size: 3rem;
  margin-bottom: 1px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05); 
}

button {
  font-size: 1.5rem;
  padding: 1rem 2rem;
  background-color: white;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

button:hover {
  background-color: #625a62;
}

#card-display {
  margin: 1rem auto;
  position: relative;
  width: 300px;
  height: 450px;
  text-align: center;
}

#card-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

#guess-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

#result {
  font-size: 3rem;
  margin-top: 1rem;
  padding: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05); 
}

#higher-button:active {
  transform: translateY(5px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#lower-button:active {
  transform: translateY(5px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fa-solid {
  font-size: 50px;
  color: black;
}

#guess-buttons button {
  display: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
  }

  #card-display {
    width: 300px;
    height: 460px;
  }

  #card-image {
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  #result {
    font-size: 2rem;
  }
}
#reload-icon {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
}
