body {
    font-family: 'Merriweather', serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 400;
    color: dimgray;
    background-color: lightgray;
}

section {
    width: 100%;
}

.greenbg {
    background-color: #3d4649;
}

.container {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    display: grid;
}

nav {}

.language-switch {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    border: solid 1px white;
    font-size: .6rem;
    background: none;
    font-family: 'Open Sans', sans-serif;
    padding: .5rem;
    color: white;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    opacity: .4;
    transition: all .5s;
    cursor: pointer;
}

.language-switch:hover {
    opacity: 1;
}


nav ul {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 3rem;
    margin-bottom: 1rem;

}

nav ul h1 {
    color: lightgray;
    font-weight: 700;
}

nav ul a {
    font-size: .9rem;
    color: lightgray;
    text-decoration: none;
    opacity: .7;
    transition: all .5s;
}

nav ul a:hover {
    color: white;
}

.headcontainer {
    grid-template-columns: 60% 40%;
}

.pictureholder {
    aspect-ratio: 4 / 3;
    background-image: url(img/ricardofuentesnieva1.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.introholder {
    padding: 1rem;
    color: white;
    background-color: #799189;
    display: grid;
    align-items: center;
}

.introholder h1 {
    font-size: 1.4rem;
    font-weight: 100;
    text-align: center;
    padding: 2rem;
}

.threecolbody {
    grid-template-columns: 30% 70%;
    padding-top: 2rem;
    padding-bottom: 1rem;
    font-size: 1.2rem;
    background-color: whitesmoke;
}

.threecolbody ul.highlights {
    background-color: rgba(211, 211, 211, 0.295);
    color: gray;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    border: solid 1px rgba(211, 211, 211, 0.618);
}

.threecolbody ul.highlights li {
    margin-bottom: 1rem;
    font-size: .9rem;
}

.threecolbody h1,
.threecolbody h2 {
    font-size: 1.4rem;
    color: #3d4649;
    font-weight: 700;
}

.threecolbody h2 {
    font-size: 1rem;
}

.content {
    padding: 1rem;
}

.pgroup p {
    padding-top: 1rem;
    text-align: justify;
    hyphens: auto;
    color: grey;
    font-size: 1rem !important;


}

footer {
    font-family: 'Open Sans', sans-serif;

    font-size: .8rem;
}

footer .container {
    background-color: whitesmoke;
}

.subgrid {
    display: grid;
}

ul.social {
    list-style: none;
    padding: 0;
    display: flex;
    font-size: 1.2rem !important;
    margin: 0;
}

ul.social li {
    margin-right: 1rem;
}

ul.social a {
    color: grey;
    text-decoration: none;
    position: relative;
}

.klokcredit {
    justify-self: right;
    font-size: .7rem;
}

.klokcredit a {
    color: #3d4649;
    text-decoration: none;
}

.footercontent {
    border-top: solid 1px lightgrey;
    display: grid;
    padding: 1rem;
}

.sidepic {
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.sidepic.inequality {
    background-image: url(img/ricardofuentesnieva2.jpg);
}

.sidepic.publications {
    background-image: url(img/ricardofuentesnieva3.jpg);
}

.sidepic.resources {
    background-image: url(img/ricardofuentesnieva4.png);
}

.contentlist {
    margin-top: 2rem;
}

.contentlist li {
    display: grid;
    width: 100%;
    margin-bottom: 2rem;
    border-bottom: solid 1px lightgray;
    padding-bottom: 1rem;
}



.contentlist li p {
    padding-top: .5rem;
    font-size: .85rem !important;
}

.contentlist li .note {
    font-size: .8rem;
}

.contentlink {
    color: grey;
    font-size: .8rem;
    text-decoration: underline;
    margin-top: 1rem;
    font-weight: 700;
    transition: all .5s;
    display: inline-block;
}

.contentlink:hover {
    color: #3d4649;
}

@media (max-width: 600px) {
    .headcontainer {
        grid-template-columns: 100%;
    }

    .threecolbody {
        grid-template-columns: 100%;
    }

    .threecolbody ul.highlights {
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        z-index: 100;
        padding: 0;
        padding-top: 1rem;
        top: 0px;
        margin-top: 0px;
    }

    nav .social{
        display: none;
    }
}