h1 {
            color: whitesmoke;
            text-align: center;
            margin-bottom: 30px;
   }
 body {
    font-family: Arial, sans-serif;
    justify-content: center;
    padding: 50px;
    color: whitesmoke;
  }

 .grid {
  clear: both;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}


  .box {
    border: 2px solid #333;
    border-radius: 8px;
    height: 150px;
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    font-size: 20px;
    font-weight: bold;
    background-color: #333;
    text-align: center;
  }

  /* Optional: hover effect */
  .box:hover {
    background-color: #334;
    cursor: pointer;
  }

  .grid a {
    text-decoration: none;
    color: black;
  }

  h2 {
    text-align: center;
  }

  .box a {
    text-decoration: none;
    color: whitesmoke;
  }

  .gallery {
    margin: 5px;
    border: 2px solid #333;
    margin-bottom: 25px;
  }

  .gallery img {
    width: 100%;
    height: auto;
  }

  .desc {
    padding: 20px;
    text-align: center;
  }

  p.copyright {
    width: 100%;
    text-align: center;
    clear: both;      /* ensures it starts below the floats */
    margin-top: 20px; /* now this works */
}
* {
  box-sizing: border-box;
}

.resp {
  padding: 0 6px;
  float: left;
  width: 25%; /* 4 columns default */
  margin-bottom: 12px;
}

/* 2 columns on medium screens */
@media only screen and (max-width: 700px) {
  .resp {
    width: 50%;
  }
}

/* 1 column on small screens */
@media only screen and (max-width: 500px) {
  .resp {
    width: 100%;
  }
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Optional: make images fill their container */
.resp img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Clear floats after each row */
.content-section::after {
  content: "";
  display: table;
  clear: both;
}
