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

@font-face {
    font-family: Playfair;
    src: url(PlayfairDisplay-Regular.ttf);
    }
    
@font-face {
    font-family: PlayfairItalic;
    src: url(PlayfairDisplay-Italic.ttf);
    }

:root{
    --text-colour: Black;
    --bg-colour: snow;
}


body {
    margin: 2.5%;
    font-family: 'Playfair', serif;
    font-size: 2vh;
    opacity: 85%;
    color: var(--text-colour);
    background-color: var(--bg-colour);
}


h1 {
    display: block;
    font-size: 4vh;
    margin-right: 1%;
    float: left;
}

h2 {
    display: inline-block;
    font-size: 3vh;
    margin-bottom: 0.25%;
}h2

h3 {
    font-size: 2vh;
    margin-bottom: 0.5%;
}

p {
    margin-bottom: 3%;
}

#menu{
    margin-bottom: 2%;
}

.nav{
    padding-top: 0.5%;
}

.nav-item {
    display: inline-block;
    font-size: 3vh;
    margin-right: 1%;
    margin-bottom: 0.5%;
}

.bio {
    font-size: 3vh;
    margin-bottom: 3%;
}

.about-img {
    margin-right: 3%;
    border-radius: 5px;
    max-width: 90%;
    height: auto;
    max-height: 90%;
    float: left;
    overflow: hidden;
}

.about-media {
    display: block;
    margin-bottom: 2%;
    width: 20%;
    float: left;
}

#mail {
    font-size: 3vh;
}

.media {
    display: block;
    margin-bottom: 2%;
    width: 40%;
    float: left;
}

.project {
    display: block;
    margin-bottom: 2%;
    width: 60%;
    float: left;
}

.projects {
    display: block;
    margin-bottom: 5%;
}


.project-img {
    margin-right: 3%;
    border-radius: 5px;
    width: 90%;
    height: auto;
    max-height: 90%;
}

#paging {
    display:block;
    width: 100%;
    float: left;
    margin-top: 1%;
}

video {
    display: none;
    margin-right: 3%;
    margin-bottom: 3%;
    border-radius: 5px;
    width: 90%;
    height: auto;
    max-height: 90%;
    float:left;
}

.media-timer {
    display: block;
    font-family: Playfair;
    font-size: 1.5em;
    color: var(--text-colour);
    border: none;
    background: none;
}

.caption {
    padding: 0.5%;
    display: block;
    width: 80%;
    font-size: 1em;
}

.thumbnail {
    margin-right: 2%;
    border-radius: 3px;
    width: 25vh;
    height: 15vh;
    float: left;
    filter:saturate(25%);
    overflow: hidden;
}

.thumbnail:hover {
    filter:saturate(100%);
}

.tags {
    font-size: 1.5vh;
    margin-bottom: 1%;
}

.sentence {
    font-size: 2vh;
    margin-bottom: 0.5%;
}

.summary {
    margin-bottom: 2%;
    font-size: 2.5vh;
}

.links {
    display:block;
    margin-bottom: 2%;
    font-size: 2.5vh;
    color: var(--text-colour);
    text-decoration: none;
}

a {
    color: var(--text-colour);
    text-decoration: none;
}

a:hover {
    font-family: 'PlayfairItalic', serif;
}

a:visited {
    color: var(--text-colour);
}

.project-list {
    font-size: 3vh;
    text-decoration: none;
}

.site-link {
    text-decoration: none;
}

button {
    display: block;
    font-family: Playfair;
    font-size: 1.5em;
    color: var(--text-colour);
    border: none;
    background: none;
}

button:hover {
    cursor: pointer;
    font-family: PlayfairItalic;

}


#video-play {
    border-radius: 10px;
    padding: 0.5%;
    display: block;
    font-size: 1.5em;
    border: none;
    background: var(--text-colour);
    color: var(--bg-colour);
}

#video-play:hover {
    cursor: pointer;
}

@media only screen and (max-width: 1080px) {

.media, .about-media, .project, .thumbnail, .summary {
    float: none;
    width: 100%;
    height: auto;
}

.about-img, video {
    max-width: 100%;
    max-height: 100%;
    float: none;
}

h1 {
    float: none;
}

.nav, h2, .tags, .project-list {
    margin-bottom: 3%;
}

  }