body {
    margin: 0;
    padding: 2rem;
    font-family: sans-serif;
    background: linear-gradient(to bottom right, #fdfdfd, #ececff);
    text-align: center;
  }
  
  /* More balanced H1 */
  h1 {
    font-family: 'UnifrakturCook', cursive;
    font-size: 9rem;
    background: url('../images/happy_man.jpg') no-repeat center center;
    background-size: cover;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.1;
  }
  
  /* Flex container */
  .box-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  /* Image box styling */
  .box-row div {
    width: 220px;
    height: 320px;
    overflow: hidden;
    border-radius: 18px;
    border: 3px solid #555;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, filter 0.3s ease, rotate 0.3s ease;
    background: #fff;
  }
  
  /* Image styling */
  .box-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) brightness(1);
    border-radius: 14px;
  }
  
  /* Hover effect: slight scale and rotation */
  .box-row div:hover {
    transform: scale(1.03) rotate(-1deg);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.25));
  }
  
  .back-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    text-decoration: none;
    color: white;
    background-color: #333;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }
  
  .back-button:hover {
    background-color: #555;
  }
