.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 15px;
    width: calc(5 * 235px + 4 * 15px);
    margin: auto;
  }
  
  .item {
    background-color: rgb(17, 17, 17);
    color: #fdfdfd;
    width: 235px;
    height: 322px;
    font-family: "ouroboros";
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .item:hover {
    background-color: #951919;
  }
  
  .glyph {
    font-size: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
  }
  
  .explanation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: Arial, sans-serif;
    font-size: 18px;
    pointer-events: none;
  }
  

  .show-explanation .explanation {
    opacity: 1;
  }
  
  .show-explanation .glyph {
    transform: scale(0.5);
    opacity: 0.2;
  }
  
  
  @font-face {
    font-family: "ouroboros";
    src: url("trickster-outline.otf") format("opentype");
  }

.textglyphescard h1{
    padding-top: 50px;
    font-size: 48px;
    color: white;
    font-family: "ouroboros"; 
    letter-spacing: 2px;
}