:root {
    --primary-color: #e92a41;
    --secondary-color: #c2283a;
    --yellow-color: #ffff00;
}

@view-transition {
    navigation: auto;
  }

@font-face {
    font-family: BreeSerif;
    src: url("/fonts/BreeSerif-Regular.ttf")
      format("truetype");
  }
  
  @font-face {
    font-family: HatschSans;
    src: url("https://cdn.glitch.global/9a357997-c721-4619-8b51-c5bb42844312/HatschSans.otf?v=1679725680887")
      format("truetype");
  }
  
  @font-face {
    font-family: Roboto;
    src: url("/fonts/RobotoSlab-Regular.ttf")
      format("truetype");
  }

body {
    background-color: var(--primary-color);
    font-family: Roboto;
    color: white;
    padding: 0;
}

a {
    text-decoration: none;
    color: white;
}

ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

ul li {
    margin: 10px 0;
    width: 250px;
    height: 350px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: 0.2s ease;
    perspective: 1000px;
    background-color: #c2283a;
    
}

ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

ul li h1 {
    font-family: BreeSerif;
    font-size: 24px;
    text-align: center;
    margin: 10px 0;
    position: relative;
    z-index: 1;
    line-height: 1;
    justify-self: end;
}

ul li:hover {
    transform: scale(1.05);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.5);
}

ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}