* {
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: #606c38;
}

.container {
  width: 80vw;
  margin: 5vh auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.title {
  margin-bottom: 0;
  color: #fefae0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 7em;
}

.upper {
  color: #bc6c25;
}

.subtitle {
  color: #dda15e;
  font-size: 2.5em;
}

.searchForm {
  width: 600px;
  display: flex;
  justify-content: center;
}

.input {
  width: 60%;
  height: 60px;
  border-radius: 10px;
  font-size: 1.5em;
  text-align: center;
  outline: none;
}

.btn {
  width: 100px;
  margin: 0 5px;
  background-color: #283618;
  border: none;
  border-radius: 10px;
  color: #fefae0;
  font-size: 1.2em;
  font-weight: 600;
}

.btn:hover {
  background-color: #fefae0;
  color: #283618;
}

#showbox {
  width: 70vw;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.cards {
  margin: 10px;
  padding: 10px;
  border: 1px solid #606c38;
  border-radius: 10px;
  background-color: #fefae0;
  text-align: center;
  box-shadow: 2px 5px 10px rgb(0, 0, 0, 0.6);
  transition: 0.3s ease-in;
}

.cards:hover {
  transform: translateY(-15px);
}

.show-name,
.score {
  display: block;
}

.show-name {
  margin-top: 10px;
  color: #606c38;
  font-size: 1.5em;
  font-weight: 700;
}

.score {
  color: #bc6c25;
  font-size: 1.2em;
  font-weight: 600;
}

.detail {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2, 2);
}
