* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

:root {
    --grey: #3c4146;
    --white: #fff;
    --lightgrey: #a0a5a8;
    --wp--preset--font-size--large: 2rem;
}

html {
    overflow-y: scroll;
    overflow-x: hidden;
}

.content a,
.context a,
a,
nav a {
    text-decoration: none;
    color: var(--white);
}

.content a:hover,
.context a:hover,
a:hover,
nav a:hover {
    opacity: 50%;
}

a:visited,
nav a:visited {
    color: var(--white);
}

body {
    background-color: var(--white);
    color: var(--grey);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flexbox;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    font-size: 2rem;
    line-height: 1.2 !important;
}

footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flexbox;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background-color: var(--white);
    padding: 1rem;
}

.site-header {
    background-color: var(--grey);
    color: var(--white);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flexbox;
    display: flex;
    height: 2rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.5;
}

#logo {
    height: 2rem;
    float: left;
    width: auto;
}

.box {
    width: 50vw;
    height: 50vw;
    order: 2;
    -moz-transition: opacity .1s ease-in-out;
    -o-transition: opacity .1s ease-in-out;
    -webkit-transition: opacity .1s ease-in-out;
    transition: opacity .1s ease-in-out;
    -webkit-animation: fadein 1s;
    -moz-animation: fadein 1s;
    -ms-animation: fadein 1s;
    -o-animation: fadein 1s;
    animation: fadein 1s;
}

.box:hover {
    opacity: 100%;
}

.box a:hover {
    opacity: 100%;
}

.box img {
    position: absolute;
    width: 50vw;
    height: 50vw;
    order: 2;
}

.box img.top {
    display: none;
}

.box img.top:hover {
    -moz-transition: opacity .1s ease-in-out;
    -o-transition: opacity .1s ease-in-out;
    -webkit-transition: opacity .1s ease-in-out;
    transition: opacity .1s ease-in-out;
    opacity: 0;
}

.box img.bottom:hover {
    -moz-transition: opacity .1s ease-in-out;
    -o-transition: opacity .1s ease-in-out;
    -webkit-transition: opacity .1s ease-in-out;
    transition: opacity .1s ease-in-out;
}

.container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: auto auto;
}

.content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flexbox;
    display: flex;
    flex-direction: column;
    margin: .5rem auto;
    margin-bottom: 1rem;
    max-width: 1440px;
    width: auto;
    position: relative;
    padding: 0 1rem;
}

.wp-block-image {
    width: calc(100% + 2rem);
    margin: 0 -1rem;
}

.wp-block-image img {
    width: 100%;
    margin: 0.5rem 0 1.5rem;
}

.context {
    display: block;
    margin: 0 1rem;
    width: auto;
}

.content h1 {
    font-weight: 400;
    line-height: 1;
    font-size: 2rem;
    margin: 1rem 0;
}

.content h2 {
    font-weight: 400;
    line-height: 1;
    font-size: 1rem;
    margin: 1rem 0;
}

.content-img {
    display: block;
    margin: 1rem auto;
    width: 100%;
}

.content p {
    font-weight: 300;
    margin: .5rem 0 1rem 0;
}

.content a {
    color: var(--grey);
    text-decoration: none;
}

.content a:active {
    color: #000000;
}

.content ul {
    list-style-type: none;
    margin: 0;
}

.context li {
    margin: 0 0 1rem 0;
}

.details,
.description {
    width: 100%;
    float: left;
}

.description h2 {
    margin: 1rem 0;
}

.icom {
    width: 24px;
    height: 24px;
}

.left {
    bottom: 0px;
    float: none;
    left: 0px;
    text-align: center;
    height: auto;
    width: 100%;
    margin: 1rem 0;
}

.right {
    bottom: 0px;
    float: none;
    right: 0px;
    text-align: center;
    height: auto;
    width: 100%;
    margin: 1rem 0;
}

.post-navigation a {
    color: inherit;
}

.left p,
.right p {
    margin: 0;
}

.footer-left {
    text-align: center;
    margin: 1rem 0;
}

.footer-right {
    text-align: center;
    margin: 1rem 0;
}

.footer-right i {
    font-size: 1.5rem;
    margin: 0 0 8px 6px;
}

.site-footer a {
    color: var(--grey);
}

.footer-right a:hover {
    color: #a0a5a8;
}

.navLinks {
    /* float: right; */
    color: var(--white);
}

.navLinks ul {
    list-style-type: none;
    margin: 0;
}

.navLinks li {
    display: inline-block;
    margin: 0 .25rem;
    font-size: 0.8rem;
}

.navLinks a:hover {
    opacity: 50%;
}

.navLinks a:visited {
    color: var(--white);
}

.video-container {
    aspect-ratio: 16/9;
    position: relative;
    width: 100%;
}

.content iframe {
    width: 100%;
}

.wp-block-embed {
    width: calc(100% + 2rem);
    margin: 0 -1rem;
}

.wp-block-embed-vimeo iframe, .wp-embed-aspect-16-9 iframe {
    aspect-ratio: 16 / 9;
    margin-bottom: 0.5rem;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe {
    height: 100%;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 !important;
}

.video-margin {
    margin: 1rem 0;
}

/* .navLinks .menu-item-type-wpml_ls_menu_item a {
    color: rgba(255, 255, 255, 0.5);
}

.navLinks .menu-item-type-wpml_ls_menu_item a:hover {
    color: var(--white);
    opacity: 1;
} */

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media screen and (min-width: 720px) {
    footer {
        align-items: flex-start;
        flex-direction: row;
    }

    .footer-left {
        text-align: left;
        margin: 0;
    }

    .footer-right {
        text-align: right;
        margin: 0;
    }

    .box img.top {
        display: none;
        position: absolute;
    }
    .container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .left {
        float: left;
        max-width: 50%;
        text-align: left;
        padding: 0;
        margin: 0;
    }
    .right {
        float: right;
        max-width: 50%;
        text-align: right;
        padding: 0;
        margin: 0;
    }
    .box,
    .box img {
        width: 25vw;
        height: 25vw;
        order: 4;
    }
    .video-margin {
        margin: 2rem 0;
    }
}

/* Larger than phone */
@media screen and (min-width: 768px) {
    .navLinks li {
        font-size: 1rem;
    }
}

@media screen and (min-width: 1024px) {
    .box img.top {
        display: block;
    }
    h1,
    .content h1 {
        font-size: 3rem;
    }
    .context {
        padding: 0;
        margin: 0;
    }
    .content-img {
        padding: 1rem 0;
    }
    .content {
        margin: 1rem auto;
        margin-bottom: 2rem;
        padding: 0 3rem;
    }
    .content h2 {
        font-size: 2rem;
    }
    .content p {
        font-size: 1.5rem;
    }

    .wp-block-image {
        width: 100%;
        margin: 0;
    }

    .wp-block-image img {
        width: 100%;
        margin: 1.5rem 0 2rem;
    }

    .wp-block-embed {
        width: 100%;
        margin: 0;
    }

    .container {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .box,
    .box img {
        width: calc(100vw / 6);
        height: calc(100vw / 6);
        order: 6;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
    .box,
    .box img {
        width: calc(100vw / 8);
        height: calc(100vw / 8);
        order: 8;
    }
}