@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,400;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Unicase:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300&display=swap');

html {
	background: #f6f6f6 url() no-repeat top center scroll; 
	background-size: cover;
	margin: 0;
    height: 100%;
}

body {
	font-family: 'Work Sans', sans-serif;
	color: #666;
	font-size: 17px;
    font-weight: 300;
	line-height: 1.3;
	
	margin: 0;
    padding-bottom: 50px;

	scroll-behavior: smooth;
}



a {
    text-decoration: underline;
    color: inherit;
}

    a:hover {
        text-decoration: none;
    }

h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2em;
    margin: 50px 0;
    line-height: 1.1;
    text-transform: uppercase;
}

    h1.logo {
        font-size: 4em;
    }

h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.25em;
    letter-spacing: 5px;
    line-height: 1.5;
    margin: 50px 0;
}

h3 {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-weight: normal;
    line-height: 1.5;
    margin: 50px 0;
}

    .first {
        margin-top: 0;
    }
    
    .last {
        margin-bottom: 0;
    }

    .button {
        
    }

        h1.button:after {
            content: " ▾";
            white-space: nowrap;
        }

        .button:hover {
            text-decoration: none;
            cursor: pointer;
        }

hr {
    border: 0;
    border-bottom: solid 0px #dedede;
    margin: 50px 0;
}



.block {
    margin: 25px auto;
    padding: 25px;
    max-width: 620px;
}

.big_image {
    max-width: 100%;
}



#about {
    line-height: 1.5;
    font-size: 110%;
}

    #about .quote {
        font-style: italic; 
        width: 75%; 
        margin: 40px auto;
    }

.big {
    font-size: 120%;
}


.header {
    max-width: none;
    margin: 0;
    padding: 100px;
    background-color: #111;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .header .background {
        background: transparent url() no-repeat center top;
        background-size: cover;
        animation: photozoom 4s linear 1;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100%;
    }

    .header .content {
        color: #fff;
        opacity: 0.7;
        margin-top: -7px;
    }


.showcase {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

    .showcase .item {
        height: 400px;
        width: 400px;
        margin-top: -14px;
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        background-color: #f6f6f6;
        clip-path: polygon(-3% 0%, 40% 0%, 50% 14px, 60% 0%, 103% 0%, 103% 100%, -3% 100%);
        background-position: center center;
        background-size: cover;
        box-shadow: 0 20px 25px rgba(0, 0, 0, 0.25) inset;
        
        position: relative;
    }
    
    .showcase .item .content {
        color: #f6f6f6;
        text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5);
        opacity: 0;
        -webkit-transition: all 0.3s;
	    transition: all 0.3s;
	    width: 75%;
    }
    
    .showcase .item:hover .content {
        opacity: 1;
        z-index: 1;
    }
    
    .showcase .item::after {
        content: "";
        display: block;
        position: absolute;
        width: 100%; height: 100%;
        top: 0;
        opacity: 0;
        -webkit-transition: all 0.3s;
	    transition: all 0.3s;
        background-color: #000;
    }
    
    .showcase .item:hover::after {
        opacity: 0.8;
    }
    
    .showcase .item .content .title {
        font-size: 140%;
        line-height: 1.2;
    }
    
    .showcase .item .content .description {
        font-size: 90%;
        opacity: 0.8;
    }
    
    .showcase .item .content .buttons {
        font-size: 75%;
        opacity: 0.6;
    }



.work {
    
}

    .workyear {
        margin: 2em 0;
    }

    .music, .game, .film {
        display: block;
        margin-bottom: 30px;
        
        background: transparent url(images/icons/heart.png) no-repeat left 6px;
        background-size: 12px;
        padding-left: 24px;
    }
    
        .music { background-image: url(images/icons/music.png); }
        .game {  background-image: url(images/icons/n64.png); }
        .film {  background-image: url(images/icons/film.png); }
        
    .title {
        display: block;
        font-weight: bold;
        margin-bottom: 6px;
    }
        
        .title a {
            text-decoration: none;
        }

    .description {
        display: block;
        margin-bottom: 6px;
        opacity: 0.7;
    }
    
    .buttons {
        display: block;
        opacity: 0.45;
    }
    
        .buttons a {
            margin-right: 10px;
            text-decoration: none;
            white-space: nowrap;
        }

        .buttons a:hover {
            text-decoration: underline;
        }
        
        .buttons a:before {
            content: '☲ ';
        }

    .highlight {
        padding: 20px 20px 20px 44px;
        background-position: 20px 26px;
        border: solid #eee 8px;
        border-bottom-color: #bbb;
        border-right-color: #bbb;
    }

        .highlight .description:before {
            content: "(Highlight)";
            opacity: 0.4;
            font-style: italic;
            font-weight: 300;
        }



.columns {
    column-width: 200px;
    column-count: 2;
    column-gap: 3.5%;
}

.award, .article {
    display: block;
    margin-bottom: 30px;
    
    background: transparent url(../images/icons/trophy.png) no-repeat left 6px;
    background-size: 12px;
    padding-left: 24px;
    break-inside: avoid;
}

    .article { background-image: url(../images/icons/heart.png); }

    .award .info, .article .info {
        opacity: 0.6;
    }

    .award a, .article a {
        text-decoration: none;
        font-weight: bold;
    }

    .award a:hover, .article a:hover {
        text-decoration: underline;
    }



.center {
    text-align: center;
}

.close {
    padding: 25px;
}

.footnote {
    font-size: 0.6em;
    padding: 15px;
}



@media screen and (max-width: 1100px) {
    .showcase {
        flex-direction: column;
    }
    
    .showcase .item {
        height: 300px;
        width: 100%;
    }
    
    .header .content {
        font-size: 70%;
    }
}



@keyframes photozoom {
    0% { 
        opacity: 0; 
        transform: scale(1.25);
    }
    100% { 
        opacity: 1; 
        transform: scale(1);
    }
}

@keyframes showcasezoom {
    0% { 
        filter: brightness(0%); 
    }
    100% { 
        filter: brightness(100%); 
    }
}