@import url(https://fonts.googleapis.com/css?family=Syne+Mono|Montserrat);

:root {
    --color-main: #D8C27E;
    --color-main-rollover: #ece1bf;
    --color-secondary: #77A2B2;
    --color-secondary-rollover: #adc7d1;
    --color-ternary: #C2AF9B;
    --color-black: #1B1F16;
    --color-white: #E6E5EA;
    --color-grey: #D0CBC8;

    --color-font: var(--color-black);
}

nav {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    height: 100px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: #fff;
}

@media (max-width: 769px) {
    #navbar {
        position: relative;
        justify-content: center;
        align-items: flex-start;
        overflow: hidden;
        height: auto;
    }
}

#navbar ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    line-height: 74px;
}

@media (max-width: 769px) {
   #navbar ul {
       display: flex;
       justify-content: center;
       flex-direction: column;
       line-height: 60px;
    }
}

li {
    font-family: Syne Mono, sans-serif;
    font-size: 35px;
    text-decoration: none;
    list-style: none;
    margin-right: 0;
}

a {
    color: #367449;
    text-decoration: none;
}

a:hover {
    color: #b9dfc5;
}

.nav-link {
    margin-right: 60px;
}

section {
    font-family: Montserrat, sans-serif;
    min-height: 100vh;
}

.welcome-section {
    margin-top: 100px;
    padding: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: #e8f4eb;
    color: #96cea8;

}

@media (max-width: 769px) {
    #welcome-section {
        margin-top: 0;
        padding: 60px 70px;
    }
}

h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0;
    font-weight: normal;
    font-size: 50px;
    text-align: center;
    color: #367449;
}

@media (max-width: 769px) {
    h1 {
        font-size: 40px;
    }
}

p {
    font-size: 30px;
    font-style: italic;
    text-align: center;
    text-decoration: none;
    color: #367449;
    line-height: 2;
}

@media (max-width: 769px){
    p {font-size: 27px;
    }
}

.portfolio-img {
    margin: 70px 0;
    max-width: 50%;
    max-height: 50%;
}

.projects-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #fff;
}

.project-intro {
    margin-top: 100px;
}

.projects-grid {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    grid-template-rows: repeat(2, minmax(100px, 1fr));
    grid-gap: 250px 150px;
    margin: 60px 140px;
}

@media (max-width: 999px) {
    .projects-grid {
        display: grid;
        box-sizing: border-box;
        grid-template-columns: minmax(300px, 1fr);
        grid-template-rows: minmax(300px, 1fr);
        grid-gap: 250px 150px;
        margin: 60px 140px;
    }
}

@media (max-width: px) {
}

.project_element {
    background-color: #f3f9f5;
    text-decoration: none;
    overflow: hidden;
}

.project-title {
    line-height: 2em;
    margin: 0;
    padding: 20px;
}

@media (max-width: 1388px) {
    .project-title {
        line-height: 1.5em;
    }
}
.project-img {
    height: 300px;
    width: 100%;
    transition: transform 1s;
}

@media (max-width: 999px) {
    .project-img {
        height: 300px;
        width: 100%;
    }
}
.project-img:hover {
    transform: scale(1.2);
}

.dogconnection .project-img {
    background-image: url(https://img.caro-privat.v2202010128842128575.happysrv.de/dog.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.zahlenteufel .project-img {
    background-image: url(https://img.caro-privat.v2202010128842128575.happysrv.de/zahlenteufel.png)
}

.kidz .project-img {
    background-image: url(https://img.caro-privat.v2202010128842128575.happysrv.de/kids1.jpg)
}

.ppub .project-img {
    background-image: url(https://img.caro-privat.v2202010128842128575.happysrv.de/ppub.jpg)
}

.contact-section {
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #e8f4eb;
    color: #96cea8;
}

.social-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.social-title {
}

.social-contact {

}
.social-icons {
    text-align: center;
    line-height: 20px;
}

@media (max-width: 769px) {
    .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
}

.icons {
    margin: 40px;
}

#footer {
    display: flex;
    position: relative;
    height: 130px;
    margin-top: 0;
    background-color: #102316;
    align-items: center;
    padding: 0 20px;
}

.copyright {
    font-family: Montserrat, sans-serif;
    font-style: normal;
    font-size: 20px;
    color: #b9dfc5;
    text-align: left;
}


/* old colors
bg + text + footer
#133d48 + #8acee1 #081b20

cool colors for generating new palette:
#00493b
#4C7F75 */