/*
Theme Name: Nicholas Harris Theme
Theme URI: https://nicholasharris.com
Author: Jordy Houtman
Author URI: https://www.jordyhoutman.com
Description: Basic WordPress theme for Sitepoint theme building tutorial
Text Domain: www.nicholasharris.com
Version: 1.0.0
License: GNU General Public License v2 or later
*/

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

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

html {
    font-size: 62.5%;
}

body    {
    font-family: 'Lato', Arial, Verdana, sans-serif;
    line-height: 2.4rem;
    overflow: auto;
    color: rgb(90, 85, 80);
    font-size: 1.5rem;
    letter-spacing: 0.07rem;
    /*background: rgba(234,228,215, 0.2);*/
}

ul {
    list-style-position: inside;
}


h1, h2, h3 { margin-top: 2.4rem; font-weight: 500; font-family: 'Vollkorn', serif; color: black; }
p { margin-top: 1.6rem; }

a {
    color: #282828;
    transition: color 0.3s ease-in-out;
}

a:hover { color: #9a798d }
.site-header {
    background: white;
    display: flex;
}

.logo {
    font-family: 'Lato', Arial, Verdana, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 2px;
    text-align: center;
    padding: 24px 0 0;
    width: 50%;
    max-width: 280px;
    min-width: 200px;
    margin: 20px 0;
}

.logo a {
    color: #8e703b;
    text-decoration: none;
}

.logo svg {
    width: 70%;
}

.logo a:hover {
    color: rgb(64,60,58);
}

.language-selector {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.language-selector--menu {
    display: flex;
    font-family: 'lato', sans-serif;
    font-size: 12px;
    list-style: none;

}

.language-selector--menu-item {
    padding: 0 0.5rem;
}

.language-selector--menu-item:first-child {
    border-right: 1px solid #666;
}

.language-selector--menu-link {
    color: #666;
    text-decoration: none;
}

.language-selector--menu-link:hover {
    color: #8e703b;
}

.language-selector--menu-link.is-selected {
    color: black;
}

.footer {
    margin-top: 2.4rem;
    position: relative;
    padding: 0.3rem;
    font-size: 1.1rem;
    color: rgba(0,0,0,0.8);
    background-color: rgb(217, 225, 221);
}

.hero-image {
    z-index: 5;
    background-position: 0 50%;
    background-size: cover;
    height: 520px;
    width: 50vw;
    position: relative;
}



.qualifications {
    background: #9a798d;
    padding: 80px 20px 20px;
    color: white;
    position: relative;
    z-index: 1;
    width: calc(50vw - 40px);
}

.qualifications h2 {
    color: white;
}

.subarticle {
    background: url(/wp-content/themes/nicholasharris/assets/background.jpg) 50% 50% no-repeat;
    padding: 40px;
    background-size: cover;
    z-index: 0;
    position: relative;
    width: 90vw;
    padding-right: calc(50vw - 40px);
}

.content-container__intro {
    position: absolute;
    right: 0;
    width: calc(100% - 40px);
    height: 100%;
    z-index: 4;
    background: #cec09f;
    padding-left: calc(50% + 40px) !important;
    padding-right: 20px;
    top: 5vw;
    bottom: 0;
    text-align: center;
}

.cta-button {
    background: #282828;
    transition-property: unset;
    border: 1px solid transparent;
    color: white;
    padding: 5px 10px;
    margin: 0 auto;
    display: inline-block;
    border-radius: 5px;
    text-decoration: none;
}

.cta-button:hover {
    background: #86bcca;
    color: black;
    border: 1px solid #282828;
}

.performance {
    position: absolute;
    z-index: 3;
    right: calc(-50vw + -24px);
    width: calc(50vw + 40px);
    top: 0;
    margin-top: 5vw;
    min-height: 300px;
    overflow: hidden;
    padding-top: 56.25%;
}

.performance > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.navigation-menu {
    display: flex;
    flex-direction: column;
    padding: 1rem 4rem 4rem;
    background: #FFF;
    list-style: none;
}

.navigation-menu li {
    margin: 0.4rem 0;
    padding: 0.4rem 0;
    font-weight: bold;
    line-height: 1;
}

.navigation-menu a {
    text-decoration: none;
    color: rgb(90,85,80);
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}

.navigation-menu a:hover {
    text-decoration: underline;
}

.current_page_item a {
    color: #9a798d;
}

.content-container {
    padding: 24px;
}



@media only screen and (min-width: 660px) {
    .navigation-menu {
        flex-direction: row;
        justify-content: center;
    }

    .navigation-menu li {
        margin: 0px 16px;
    }
}


.footer {
    background: white;
    position: relative;
    height: 80px;
    box-shadow: 6px 0px 40px rgba(0,0,0,0.2);
    padding: 10px 20px;
    margin-top: 0;
    display: flex;
}

.footer img {
    flex-grow: 0;
    flex-shrink: 0;
}

.footer-info {
    flex-grow: 1;
    margin-top: 20px;
    text-align: right;
    display: block;
}