#Content{
  padding: 1rem;
  padding-bottom: 4rem;
}
.Flexy{
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}
.Card {
  display: flex;
  flex-direction: column;
  margin-bottom: 5vh;
}
.Card {
  border: 2px solid #3f3f46;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
  transform: translateY(0) scale(1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.Card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  border-color: #a1a1aa;
}
.Character{
  background-image:url('/Images/SchoolBackdropRed.jpg');
}
.Portrait {
  max-height: 96vh;
  width: auto;
  max-width: 100%;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.Thumbnail{
  width: 100%;
  height: auto;
  display: block;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;  
}
.StatBlock{
  flex-grow:1;
  padding: 2%
}
.GridContainer{
  display: grid;
  grid-template-columns: repeat(3, 32%);
  grid-template-columns: repeat(2, 48%);
  grid-auto-rows: min-content;
  gap: 0% 2%;  
}
@media (min-width: 960px) {
  .GridContainer { grid-template-columns: repeat(4, 23.5%); }
  .Portrait{ max-width: 50%; }
}