@font-face {
    font-family: "Montserrat";
    src:
        url("fonts/Montserrat-VariableFont_wght.ttf") format("opentype");
}

body {
    background: white;
    color: #cfb53b;
    font-family: 'Montserrat', sans-serif;
    justify-content: center;
}

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

header {
    background-color: #f0f0f0;
    justify-content: space-evenly;
    color: white;
    background: #cfb53b;
    align-items: stretch;
    line-height: 1.6;
}

header p {
    color: white;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 1.5em;
}

nav ul {
    list-style: none;
    padding-right: 20px;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: end;
}

nav li {
    padding: 0 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 50px;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

main p {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.gallery img {
    max-width: 100%;
    margin-bottom: 20px;
}

footer {
    justify-content: end;
    color: white;
    background: #cfb53b;
    align-items: stretch;
    padding: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .gallery {
        flex-direction: column;
    }
}

/** util classes **/

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


/** individual items **/
#body_container {
    max-width: 960px;
    height: 100%;
}


#title_container {
    flex: 4;
    justify-content: center;
    padding: 20px;
}


#sub_title {
    font-size: 3em;
    font-weight: 100;
    margin-top: -0.4em;
}

#title_location {
    font-size: 0.8em;
}

#navigation_menu {
    flex: 1;
    justify-content: flex-end;
    color: white;
}

#hero_image {
    height: 400px;
}

#header_text_container {
    flex: auto;
}

#cv h4 {
    margin-top: 3em;
    margin-bottom: 1em;
}

#instagram_logo {
    height: 1em;
    margin-right: 1em;
}

.footer_contact_line {
    justify-content: flex-end;
    align-items: center;

}

#cv_text {
/*    max-width: 500px;*/
flex: 1;
}

#cv_image img{
    margin-top: 100px;
    width: 300px;
}


/* Footer */

.footer_contact_line p {
    margin: 0px;
}

#footer_title_container {
    flex: 4;
    align-items: end;
}

#footer_title_container h2 {
    margin-right: 1em;
}

#footer_sub_title {
    font-size: 1.5em;
    font-weight: 100;
}

#footer_contact_container {
    justify-content: end;
}

#footer_contact_container a {
    color: white;
    text-decoration: none;
}