html,
body {
    max-width: 100%;
    overflow-x: hidden;
    border: 0;
    margin: 0;
}

@font-face {
    font-family: MontserratLight;
    src: url('./fonts/Montserrat-Light.ttf');
}

@font-face {
    font-family: MontserratRegular;
    src: url('./fonts/Montserrat-Regular.ttf');
}

h1 {
    font-family: MontserratRegular;
}

h2 {
    font-family: MontserratRegular;
    padding-left: 8vw;
    padding-right: 8vw;
}

h3 {
    font-family: MontserratRegular;
    padding-left: 8vw;
    padding-right: 8vw;
}

p {
    font-family: MontserratLight;
    padding-left: 8vw;
    padding-right: 8vw;
}

.top {
    display: grid;
    grid-template-columns: 4fr 1fr;
    grid-template-rows: 1fr;
    position: fixed;
    z-index: 10;
    background-color: white;
    height: 80px;
    top: 0px;
    left: 0px;
    padding-right: 8vw;
    padding-left: 8vw;
    width: 84vw;
    align-items: center;
}

.insta {
    grid-column: 2;
    text-align: right;
}

.title {
    grid-column: 1;
    text-align: left;
    align-items: center;
    font-size: min(2vw, 15px);
}

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

.insta img {
    width: 35px;
    height: 35px;
}

.wrapper {
    position: relative;
    padding-left: 8vw;
    padding-right: 8vw;
    padding-top: 80px;
    padding-bottom: 10px;
    width: 84vw;
    display: grid;
    grid-gap: 5px;
    grid-auto-rows: auto;
    float: left;
}

.bottom {
    grid-row-end: auto;
    border-radius: 6px;
    float: both;
    height: fit-content;
    background-color: rgb(70, 70, 70);
    color: white;
    border: 5;
    padding-left: 2vw;
    padding-right: 2vw;
}

.bottom a {
    text-decoration: none;
    color: white;
}
.project1 {
    height: 75vh;
    text-align: center;
    border-radius: 6px;
    float: both;
    background-image: url("/analog/1.jpg");
    background-size: cover;
    background-position: center center;
}

.project1 h2 {
    padding-top: 10vh;
    font-size: 40px;
    font-family: MontserratRegular;
}

.project1 p {
    font-size: 25px;
    font-family: MontserratLight;
}

.project2 {
    height: 75vh;
    text-align: center;
    border-radius: 6px;
    float: both;
    background-image: url("/landschaft/1.jpg");
    background-size: cover;
    background-position: center center;
}

.project2 h2 {
    padding-top: 10vh;
    font-size: 40px;
    font-family: MontserratRegular;
}

.project2 p {
    font-size: 25px;
    font-family: MontserratLight;
}

.project3 {
    height: 75vh;
    text-align: center;
    border-radius: 6px;
    float: both;
    background-image: url("/tiere/1.jpg");
    background-size: cover;
    background-position: center center;
}

.project3 h2 {
    padding-top: 10vh;
    font-size: 40px;
    font-family: MontserratRegular;
}

.project3 p {
    font-size: 25px;
    font-family: MontserratLight;
}
.gallery {
    position: static;
    display: grid;
    overflow: hidden;
    left: 0px;
    top: 0px;
    padding-left: 8vw;
    padding-right: 8vw;
    padding-top: 80px;
    padding-bottom: 80px;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    align-items: center;
}

.gallery img {
    display: block;
    width: 100%;
}

.gallery h1 {
    display: block;
    width: 100%;
    text-align: center;
    align-items: center;
}

.gallery p {
    align-self: center;
    width: auto;
    position: inherit;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: 10px;
}

.toppadding {
    position: static;
    padding-top: 80px;
    width: 100%;
    text-align: center;
}


#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}


/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* 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.9);
    /* Black w/ opacity */
}


/* Modal Content (image) */

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}


/* Caption of Modal Image */

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}


/* 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;
}


/* 100% Image Width on Smaller Screens */

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}