* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}



#home {
  padding-top: 50px;
  padding-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.cover-image {
    top: 650px;
}

/* Navbar container */
nav {
    position: fixed;
    width: 100%;
    z-index: 1;
    letter-spacing: 4px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12)
}

.nav-links {
    top: 23px;
    display: flex;
    justify-content: space-around;
    position: absolute;
    height: 94vh;
    right: 0px;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
}

#line {
    height: 2px;
    width: 30vh;
    background-color: black;
}

.nav-active {
    transform: translateX(0);
    background-color: rgba(0, 0, 0, 0.13);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}


nav li {
    list-style: none;
    opacity: 0;
}

nav a {
    text-decoration: none;
}

.burger {
    display: block;
    cursor: pointer;
}

.burger div {
    width: 17px;
    height: 3px;
    background-color: black;
    margin: 3px;
    transition: all 0.3s ease;
}

.toggle #line1 {
    transform: rotate(-45deg) translate(-2.5px, 6px);
}

.toggle #line2 {
    opacity: 0;
}

.toggle #line3 {
    transform: rotate(45deg) translate(-2.5px, -6px);
}

/* Front Cover Image  */
.cover-image {
    max-width: 100%;
    height: auto;
}

/* Footer  */
.footer {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: black !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    letter-spacing: 4px;
    position: fixed;
    bottom: 0px;
    height: 25px;
}

.footer p {
    margin-top: 0px;
}

/* Page  */

.content {
    padding: 8px 16px !important;
    max-width: 980px;
    margin: auto;
}

.title {
    padding-top: 16px !important;
    padding-bottom: 16px !important
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    min-height: 100vh;
    grid-gap: 2rem;
}

.img-container {
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.img-container img:hover {
    transform: scale(1.2);
}

.modal {
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease-out;
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.full-img {
    position: absolute;
    height: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    transition: all 0.25s ease-out;
}

.full-img.open {
    transform: translate(-50%, -50%) scale(1);
}

.modal p {
    color: white;
    font-size: 2em;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -5%);
}



@media only screen and (max-width: 600px) {
    .navbar {
        background-color: lightblue;
    }
}