@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');

* { box-sizing: border-box; }

html { overflow-y: scroll; }

body {
    margin: 0px;
    background-color: #fcfbf9;
    font-family: "Playfair Display", serif;
    color: rgb(0, 0, 0);
    position: relative;
    min-height: 100vh;
}

/* Possible fonts:
    https://fonts.google.com/specimen/Seaweed+Script?category=Display&preview.text=Elena%20Chiorsac&preview.text_type=custom&subset=latin
    https://fonts.google.com/specimen/Babylonica?category=Handwriting&preview.text=Elena%20Chiorsac&preview.text_type=custom
    https://fonts.google.com/specimen/Birthstone+Bounce?category=Handwriting&preview.text=Elena%20Chiorsac&preview.text_type=custom
    https://fonts.google.com/specimen/Rouge+Script?category=Handwriting&preview.text=Elena%20Chiorsac&preview.text_type=custom
    https://fonts.google.com/specimen/Montez?category=Handwriting&preview.text=Elena%20Chiorsac&preview.text_type=custom
    https://fonts.google.com/specimen/Rouge+Script?preview.text=Elena%20Chiorsac&preview.text_type=custom
    https://fonts.google.com/specimen/Alex+Brush?preview.text=Elena%20Chiorsac&preview.text_type=custom
    https://fonts.google.com/specimen/Arizonia?preview.text=Elena%20Chiorsac&preview.text_type=custom
*/

h1 {
    color: #385d3f;
    font-size: 5rem;
    font-family: "Alex Brush", display;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

h2 {
    color: #3A5A40;
}

a {
    text-decoration: none;
}


.content {
    margin-top: 20px;
    padding-bottom: 70px;
    text-align: center;
}

.navbar {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
}

.nav-link {
    text-transform: uppercase;
    padding: 0.3rem;
    margin: 0.6rem;
    color: #3A5A40;
}

.nav-link:hover {
    color: #A3B18A;
}

.selected-nav-link {
    border-bottom: 1px solid #3A5A40;
}

.selected-nav-link:hover {
    border-bottom: 1px solid #A3B18A;
}

body {
    margin: 0;
    padding: 0;
}

/* .gallery {
    margin: 0;
    padding: 0;
    width: 100vw;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    justify-content: center;
    column-gap: 10px;
    row-gap: 10px;
    
    
} */

/* .column {
    flex: 25%;
    max-width: 24%;
    padding: 0 4px;
    justify-content: center;
    align-content: center;
} */

/* clear fix */
.gallery:after {
    content: '';
    display: block;
    clear: both;
}

.grid-sizer {
    width: 33.333%;
}

.gallery-item {
    width: 33.333%;
    float: left;
    padding: 0;
}

.gallery-image {
    display: block;
    max-width: 100%;
    transition: all ease-in-out 300ms;
    padding: 0;
}

/* .gallery-image {
    transition: all ease-in-out 300ms;

    padding: 0;
    width: 30%;
    margin: 10px 10px;
    grid-row-end: 1000px;
    position: relative;
    display:inline-block
} */

.gallery-image:hover {
    opacity: 50%;
}

footer {
    background-color: #3A5A40;
    position: absolute;
    margin-top: 50px;
    bottom: 0px;
    width: 100%;
    height: 1.5rem;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .grid-sizer, .gallery-item {
        width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .grid-sizer, .gallery-item {
        width: 100%;
    }
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 30px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
  }
  
  /* Modal Content (image) */
  .modal-content {
    margin: auto;
    display: block;
    height: 95%;
  }
  
  /* Add Animation */
  .modal-content, #caption {  
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
