﻿@import url('https://rsms.me/inter/inter-ui.css');

html {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body {
    font-family: 'Inter UI', sans-serif;
    font-weight: normal;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #242424;
    line-height: 200%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}


h1 {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 20px;
}

h4 {
    text-transform: uppercase
}

h2.landingh2 {
    margin-left: 10%;
    margin-right: 10%;
    text-transform: uppercase;
    font-size: 12px;
    position: relative;
    color: #999;
    letter-spacing: 2px;
    top: 0;
    left: 0;
    margin-top: 60px;
    margin-bottom: 0;
}

/* img {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
} */

.header {
    border-top: 5px solid #333333;
    margin-top: 0;
}

.logo {
    margin-left: 10%;
    margin-top: 20px;
}

.intro {
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 50px;
    font-size: 0.8rem;
    clear: right
}

.intro a {
    color: #9abb6d;
    text-decoration: none;
    font-weight: bold
}

.intro a:hover {
    text-decoration: underline
}

.intro em {
    font-style: normal;
    color: #ccc;
}

.wrapper {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.maincontent {
    flex: 1;
}

.header, footer, .intro {
    flex-shrink: 0
}

.logo img {
    box-shadow: none;
    width: 150px;
    opacity: 0.6;
}


/* The animation code */
@keyframes gallerypicfadelogo {
    from {
        opacity: 0
    }

    to {
        opacity: 0.4
    }
}

/* The element to apply the animation to */
.logo img {
    animation-name: gallerypicfadelogo;
    animation-duration: 2s;
    margin-left: -2px;
}



/*_____________________________________________*/



.posttype_1 {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 60px;
    width: 80%;
    clear: both;
    float: left;
}

.postimage_large {
    width: 100%;    
}
.postimage_large img {
    width: 100%
}

.date {
    float: right;
    color: #999;
}

.postdescription h3 {
    float: left;
    font-weight: normal;
    font-size: 11px;
    text-transform: uppercase
}

.postdescription p {
    clear: both;
}

.postdescription a {
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
}

.postdescription a:hover {
    text-decoration: underline
}



/*_____________________________________________*/


.posttype_2 {
    float: left;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 60px
}


.postleft {
    width: 45%;
    float: left;
}

.postright {
    width: 45%;
    float: right;
}

.postimage_small {
    width: 100%;
}

.postimage_small img {
    width: 100%
}


/*_____________________________________________*/


h2 {
    text-transform: uppercase;
    font-size: 120px;
    position: absolute;
    color: #f5f5f5;
    top: 88px;
    left: -10px;
    letter-spacing: 30px;
    z-index: -100;
}


.subpage h1, .subpage {
    color: #272727;
}

.subpage h1 {
    letter-spacing: 2px;
}

.subpage {
    margin-bottom: 40px;
}

    .subpage a {
        color: #c2dc9e
    }





/*.projectwrapper {
    display: grid;
    grid-template-columns: 1fr 20px 1fr;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 60px;
}*/

.projectwrapper {
    margin-left: 10%;
    margin-right: 10%;
    float: left;
}

.gutter {
    min-width: 4%;
    float: left;
}

.projectpost {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    grid-template-rows: auto 2px auto;
    width: 48%;
    float: left;
    margin-top: 4em
}

    .projectpost img {
        width: 100%;
        margin-bottom: -7px;
    }

.mainpic {
    grid-column: span 3;
}



.caption, .gap {
    grid-column: span 3
}

.caption h3, .caption a {
    text-transform: uppercase
}

.caption h3 {
    font-weight: normal
}

.caption p {
    height: 6em;
    overflow: hidden;
    position: relative;
}

.caption p::before {
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 50%);
    content: '\200C';
    display: block;
    position: absolute;
    right: 0;
    top: 4.5em;
    width: 25%;
    text-align: center;
}

.caption a {
    color: #999;
    text-decoration: none;
}

    .caption a:hover {
        text-decoration: underline;
}




    


/*_____________________________________________*/


.projectdetail {
    margin-left: 10%;
    margin-right: 10%;
    font-size: 13px;
    margin-bottom: 50px;
}

.projectdetail h3 {
    font-size: 24px;
    text-transform: uppercase
}

.allpanels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: minmax(auto auto);
    grid-gap: 1px;
}


    .panel a {
        position: relative;
        display: flex;
    }

    .panel img {
        width: 100%;
        height: 100%;
        margin-bottom: -7px;
    }


.video {
    margin-top: 30px;
}

.video img {
    width: 100%;
}

.video iframe {
    width: 100%;
    min-height: 500px;
    max-height: 700px;
}

video {
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.caption {
    font-size: 11px;
}

.framesheader {
    margin-bottom: 20px;
}


/*_____________________________________________*/


.textcontent {
    margin-left: 10%;
    margin-right: 10%;
    font-size: 0.75rem;
}

.textcontent p {
    margin-bottom: 30px;
}

    .textcontent a {
        color: #9abb6d;
        text-decoration: none;
    }

    .textcontent a:hover {
        text-decoration: underline
    }
    




    .youtube-video {
        aspect-ratio: 16 / 9;
        width: 100%;
      }







/*_____________________________________________*/


footer {
    padding-left: 10%;
    padding-right: 10%;
    margin-top: 100px;
    background-color: #f0f0f0;
    padding-bottom: 20px;
    padding-top: 20px;
}

footer ul {
    margin-left: 0;
    padding-left: 0;
}

footer li {
    display: inline;
    padding-right: 13px;
    padding-left: 10px;
    border-right: 1px solid #666
}

footer li:first-of-type {
    padding-left: 0
}

footer li:last-of-type {
    border-right: none
}


    footer a {
        color: #9abb6d;
        text-decoration: none;
    }

    footer a:hover {
        text-decoration: underline
    }

.name {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.copyright {
    color: #bbb; 
    font-size: 9px;
    margin-top: 30px;
}