*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
body {
    background-color: #EDF2EC;
}
nav {
    text-align: center;
    padding: 10px;
}
nav a {
    font-family: SpaceGrotesk-Regular;
    text-decoration: none;
    color: #6C7C59;
    font-weight: bold;
    padding: 10px;
    font-size: 18px;
}
nav a:hover {
    color: #4F7942;
    text-shadow: 2px 2px 7px #424141;
}
header {
    text-align: center;
}
header p {
    color: #4F7942;
    font-family: PlayfairDisplay-Regular;
    font-size: 20px;
    margin-top: 45px;
}
header img {
    width: 100px;
}
#top {
    background-color: #8F9779;
    margin-top: 20px;
    text-align: center;
    font-family: GravitasOne-Regular;
    padding: 20px;
}
#top h1 {
    font-size: 50px;
}
#gallery  {
    text-align: center;
    padding: 5px;
}
#gallery img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    aspect-ratio: 4/5;
    box-shadow: 10px 10px 15px #000000b1;
    margin-top: 20px;
}
#gallery figure:hover img {
  transform: scale(1.05);
  transition: transform 1s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
figcaption {
    font-family: SpaceGrotesk-Regular;
    color: #4F7942;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}
#gallery figure:hover {
  /* opacity: 0.5; */
  filter: drop-shadow(0 0 15px #4F7942);
}
dialog img {
    max-width: 90vw;
    max-height: 80vh;
    margin-top: 5px;
}
dialog form {
    text-align: right;
}
dialog button {
    padding: 5px;
    margin-top: 5px;
    margin-right: 5px;
    background-color: #EDF2EC;
    color: #4F7942;
}
dialog button:hover {
    background-color: #4F7942;
    color: #EDF2EC;
}
dialog {
    position: fixed;
    top: 5vh;
    max-width: 90vw;
    max-height: 90vh;
    margin: 0 auto;
}
footer p {
    padding: 5px;
    text-align: center;
}
footer {
    background-color: #6C7C59;
    padding: 15px;
    font-family: PlayfairDisplay-Regular;
    font-size: 20px;
    margin-top: 10px;
}

@media screen and (min-width: 1200px) {
    #gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 500px) {
    header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-self: center;
        gap: 40px;
        margin-left: 200px;
    }
}

@font-face {
    font-family: GravitasOne-Regular;
    src: url(../fonts/GravitasOne-Regular.ttf);
}

@font-face {
    font-family: PlayfairDisplay-Regular;
    src: url(../fonts/playfairdisplay/PlayfairDisplay-Regular.ttf);
}

@font-face {
    font-family: SpaceGrotesk-Regular;
    src: url(../fonts/spacegrotesk/SpaceGrotesk-Regular.ttf);
}