@import url("projects.css");

* {
    box-sizing: border-box;
    transition: all ease-in-out 250ms;
}

img {
    max-width: 100%;
}

.container {
    margin: 0 auto;
}

.clearfix::after,
section::after,
footer::after {
    content: "";
    display: block;
    clear: both;
}



/* typography
=================== */

h1 {
    font-weight: 300;
    font-size: 1.7rem;
    margin-top: 0;
}


p {
    margin-top: 0;
    line-height: 1.5;
}

.p1 {
        color: #fff;
        padding-top: 20px;
        padding-right: 100px;
        padding-bottom: 20px;
        padding-left: 100px;
}

p:last-of-type {
    margin-bottom: 0;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 1.5em;
    font-weight: 900;
    margin-top: 1em;
}

.title span {
    font-weight: 300;
    display: block;
    font-size: 0.9em;
    margin: 10px;
}

.title-cta {
    margin: 0 0 0.5em;
}

.unstyled-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media (min-width: 60rem) {
    p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .title {
        font-size: 3.7rem;
    }
}

/* Parallax
=================== */                              /* Das sollte wohl mal DAS werden https://www.w3schools.com/howto/howto_css_parallax.asp */

/*.parallax--bg {
    width: auto;
}*/

/* hero-home
=================== */

@media (min-width: 60rem) {
    .home-hero {
        height: 100vh;
        padding-top: 35vh;
    }
}

/* hero-home
=================== */




/* display flex */

.pointer {
    cursor: pointer;}

.gallery-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 1000px) {
    .gallery-item {
        width: 100%;
    }
}

/* Contact
=================== */


.gallery-description {
    display: none;
}

.modal-gallery-all {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    cursor:pointer;
}

.modal-gallery-txt-img-container {
    max-height: 100%;
    overflow-y: auto;
    height: fit-content;
    margin: auto;
}

.modal-gallery-all-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: fit-content;
    margin: auto;
    cursor:pointer;
}

.modal-all-img {
    width: 260px;
    max-width: 90%;
    margin: 20px;
}

.modal-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    padding: 15% 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-gallery-outer-cont {
    margin: auto;
    display: flex;
    flex-direction: column;
}

.modal-gallery-container {
    display: flex;
    justify-content: center;
}

.modal-gallery-image {
    max-width: 80%;
}

.modal-gallery-button-prev {
    visibility: hidden;
    pointer-events: none;
    margin: auto 20px;
    padding: 10px;
}

.modal-gallery-button-prev:hover {
    cursor: pointer;
}

.modal-gallery-button-next {
    margin: auto 20px;
    padding: 10px;
}

.modal-gallery-button-next:hover {
    cursor: pointer;
}

.modal-gallery-close {
    margin-left: auto;
}

.modal-gallery-close:hover {
    cursor: pointer;
}

/* CTA
=================== */

.cta {
    background-color: #f9f9ed;
    padding: 5em 0;
}

/* Footer
=================== */

footer {
    background: #232323;
    color: #f9f9ed;
    text-align: left;
    padding: 5em 0;
}

