html {
    font-size: 20px;
}

@media (min-width: 2000px) {
    html {
        font-size: 20px;
    }
}

body {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.steengoed-img,
.kroondomein-img {
    display: block;
    width: 100%;
}

.steengoed-img {
    max-width: 300px;
    margin: 0 auto;
}

/* --------------------
    lay out
-----------------------*/

.grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "hero-area"
    "project_huidig"
    "project_eerder";
}

@media (min-width: 1024px) and (orientation: landscape) {
    .grid {
        min-height: 100vh;
        grid-template-columns: 1fr 350px 674px 1fr;
        grid-template-areas:
        ". project_huidig hero-area ."
        ". project_eerder hero-area ."
    }
}

@media (min-width: 1366px) {
    .grid {
        grid-template-columns: 1fr 360px 646px 360px 1fr;
        grid-template-areas:
        ". project_huidig hero-area project_eerder ."
    }
}

@media (min-width: 1470px) {
    .grid {
        grid-template-columns: 1fr 415px 640px 415px 1fr;
        grid-template-areas:
        ". project_huidig hero-area project_eerder ."
    }
}

@media (min-width: 2000px) {
    .grid {
        grid-template-columns: 1fr 500px 1000px 500px 1fr;
        grid-template-areas:
        ". project_huidig hero-area project_eerder ."
    }
}

/* ------------grid-item------------- */

.grid-item {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    text-align: center;
    color: white;
}

.project_huidig,
.project_eerder {
    padding-left: 0;
    padding-right: 0;
}

/* ------------------------- */

.grid-item_hero {
    background-image: url(../img/peter-kleiend.jpg);
    background-size: cover;
    background-position-y: top;
    background-position-y: center;
    background-position-x: right;
    background-position-x: center;
    display: grid;
    padding-left: .5rem;
    padding-right: .5rem;
}

@media (min-width: 760px) and (orientation: portrait) {
    .grid-item_hero {
        background-image: url(../img/peter-landscape.jpg);
    }
}

/* ------------------------- */

.hero-area {
    grid-area: hero-area;
    height: 100vh;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: -1;
}

@media (min-width: 760px) and (orientation: portrait) {
    .hero-area {
        height: 50vh;
    }
}

/* ------------------------- */

.project_huidig {
    grid-area: project_huidig;
    background: #fff;
}

.project_eerder {
    grid-area: project_eerder;
    background: #ae0a0a;
    background: #fff;
}

/* ------------------------- */

.project-blok {
    display: block;
    text-decoration: none;
    background: transparent;
    width: 80%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.project-blok_white-fontcolor {
    color: #fff;
    color: #000000;
}

.project-blok_red-fontcolor {
    color: #ae0a0a;
}

.project-blok_black-fontcolor {
    color: #000000;
}

/* --------------------
    typography
-----------------------*/

.hero-title {
    justify-self: center;
    align-self: center;
    align-self: start;
    font-family: 'Abril Fatface', cursive;
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 1px;
    text-shadow: 8px 8px 100px #000;
    margin-top: 0;
    line-height: .7;
    text-transform: capitalize;
}

@media (min-width: 350px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 700px) {
    .hero-title {
        font-size: 5rem;
    }
}

@media (min-width: 700px) and (orientation: portrait) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
        align-self: start;
    }
}

@media (min-width: 1470px) {
    .hero-title {
        font-size: 3.3rem;
    }
}

@media (min-width: 2000px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* ------------------------- */

.project-title-fat,
.project-introtext,
.project-info,
.title_eerdere-projecten,
.kroondomein-img {
    margin-top: 0;
    margin-bottom: 2.5rem;
}

.project-info_steengoed {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid black;
}

.project-title-fat,
.project-title-thin,
.project-info,
.title_eerdere-projecten {
    font-family: 'Nunito Sans', sans-serif;
}

.project-title-fat {
    font-weight: 800;
    font-size: 2rem; 
    line-height: 1;
}

@media (min-width: 2000px) {
    .project-title-fat {
        font-size: 2.5rem;
    }
}

.project-title-thin {
    font-weight: 300;
    display: block;
    font-size: 1.6875rem;
    line-height: 1.2;
}

.project-introtext {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    font-size: 0.85rem; 
    line-height: 1.7;
}

.project_eerder .project-introtext {
    color: rgba(255,255,255,0.85);
    color: rgba(0,0,0,0.85);
}

.project-info {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .5px;
}

.title_eerdere-projecten {
    font-weight: 900;
    font-size: 1.1875rem;
    text-transform: uppercase;
    color: rgba(0,0,0,.9);
}
