body {
    font-family: "EB Garamond", serif;
    margin: 0;
    padding: 0;
    background-color:#f5f5f5;
    color: #202020; /* Dark grey text */
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased; /* for WebKit (Safari, Chrome) */
    -moz-osx-font-smoothing: grayscale; /* for Firefox on macOS */
  }

  .appear{
    margin: 50px 0;
    padding: 20px;
    text-align: center;
  }

  @media only screen and (max-width: 375px) {
    /* Check if this media query is affecting the color */
    .button {
      background-color: #f5f5f5;
      color: #202020;
    }
    
    .button:hover{
      background-color: #202020;
      color: white;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-auto-rows: minmax(100px, auto);
      grid-gap: 5px;
      padding: 10px;
      max-width: 1000px;
      margin: 0 auto;
      width: calc(100% - 10px);
    }

    .video-thumbnail {
      position: relative;
    }
    .video-thumbnail video {
      display: block;
      width: 100%;
    }
  }


  .eb-garamond- {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-style: normal;
  }
  
  .text {
    max-width: 100%;
    margin: 10px;
    color: #202020;
    font-family: Cormorant Unicase, serif; 
    text-align: left; 
  }

  .hover{
    color: #202020;
    text-decoration: none;
    font-weight: 700;
  }

  .hover:hover{
    color: #D61500;
  }
  
  /* Styles for buttons */
.button {
  background-color: rgb(245, 245, 245);
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "EB Garamond", serif;
  display: inline-block;
  margin-bottom: 50px;
  font-size: 1em;
  font-weight: 400;
}

/* Hover effect */
.button:hover {
  background-color: #202020; /* Dark grey background */
  color: white; /* White text */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(100px, auto);
  grid-gap: 10px;
  padding: 10px;
  max-width: 1000px;
  margin: 0 auto;
  width: calc(90% - 10px);
}

.gallery-item {
  overflow: hidden;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.gallery-item:hover{
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.gallery-item img,
.gallery-item video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumbnail {
  position: relative;
}
.video-thumbnail video {
  display: block;
  width: 100%;
}

.video-thumbnail::before {
  content: "\25B6";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.video-thumbnail:hover::before{
  opacity: 0;
}

.gallery-item:nth-child(1) { grid-column: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-item:nth-child(5) { grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 1;}