.button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    max-width: 960px;
    margin: 0 auto;
  }
  
  .button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
  }
  
  .button {
    position: relative;
    border: 2px solid white;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    animation: rotate-in 0.5s ease-in-out;
    transform-style: preserve-3d;
    transition: all 0.3s ease-in-out;
  }
  
  @keyframes rotate-in {
    from {
      opacity: 0;
      transform: rotateY(-90deg);
    }
    to {
      opacity: 1;
      transform: rotateY(0deg);
    }
  }
  
  .button:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transform-origin: center;
  }
  
  .button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .button:hover + span {
    margin-top: 30px;
    transform: scale(1.2) translateY(10px);
    transition: all 0.3s ease-in-out;
  }
  
  .button-container span {
    font-family: Gilroy, sans-serif;
    font-size: 30px;
    line-height: 30px;
    text-align: center;
    color: white;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease-in-out;
  }

  
  @media (max-width: 640px) {
    .button-row {
      flex-direction: column;
    }
    
    .button-container {
      margin: 10px;
      width: 100%;
    }
  }

  .slide-titler {
    background-color: #333;
    padding: 10px;
    border-radius: 20px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    z-index: 0;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
  }
  
  .slide-titler::before {
    content: "";
    position: absolute;
    left: -50%;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #7e0062;
    transform: skew(-45deg);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
    animation: slide-in 1s ease-in-out forwards;
    z-index: 1;
  }

  .slide-text {
    position: relative;
    z-index: 2;
  }
  
  @keyframes slide-in {
    0% {
      left: -50%;
    }
    100% {
      left: 0;
    }
  }

  h2 {
    text-shadow: 5px 5px 10px rgba(0,0,0,0.5);
  }