body {
  background-image: url("../images/cardboards/afghan-fabric.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {

  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;
}

.container-title {
  background-image: url("../images/cardboard.jpg");
  background-size: cover;
  background-repeat: no-repeat;
display: inline-block;    
      /* center h1 vertically */
  width: 50%;                /* smaller box */
  height: 40%;               /* smaller box */            /* keeps it centered inside .container */
border: 0.2rem dashed white;
  border-radius: 1rem;
}

p {
  color: rgb(205, 41, 0);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin: 0;
}

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1vh;
  border-radius: 1rem;
  padding: 2%;
}

.sheet-item {
  background-image: url("../images/cardboard.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  aspect-ratio: 1 / 1.6;  /* stays perfectly square */
  border: 0.3rem dashed black;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5%;
}

.sheet-image {
  width: 70%;
  height: auto;
  object-fit: contain;

}

/* Hover effect */
.hvr-grow-rotate {
  display: inherit;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  transition: transform 0.3s;
}

.hvr-grow-rotate:hover,
.hvr-grow-rotate:focus,
.hvr-grow-rotate:active {
  transform: scale(1.1) rotate(4deg);
}