
body {
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

#inputs {
  background: #7167ff;
  border: 2px solid #a463ff;
  padding: 6px;
  display: inline-block;
  margin-bottom: 10px;
}

.card {
  width: 190px;
  height: 254px;
  background: hsla(224, 100%, 54%, 0.61);
  transition: all 0.4s;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.705);
  font-size: 30px;
  font-weight: 900;
}

.card:hover {
  border-radius: 15px;
  cursor: pointer;
  transform: scale(1.2);
  box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.705);
  background: rgb(156, 95, 255);
}

.first-content {
  height: 100%;
  width: 100%;
  transition: all 0.4s;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  border-radius: 15px;
}

.card:hover .first-content {
  height: 0px;
  opacity: 0;
}

.second-content {
  height: 0%;
  width: 100%;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  transition: all 0.4s;
  font-size: 0px;
  transform: rotate(90deg) scale(-1);
  overflow: auto;
  padding: 10px;
  text-align: center;
}

.card:hover .second-content {
  opacity: 1;
  height: 100%;
  font-size: 1.8rem;
  transform: rotate(0deg);
}


#story {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

h4 {
    font-size: 6px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 8px;
}
