/*----DEFAULT-----*/

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
}

body {
    font-size: 62.5%;
    font-family: 'helvetica', arial, sans-serif;
    background-color: #fafafa;
}

h1,
h2,
h3,
h4,
h5,
h6 {}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
}

.clearfloat {
    clear: both;
}

/*------LANDING PAGE------*/

#image {
    width: 1024px;
    margin: 0 auto;
}



@media only screen and (max-width: 1024px) {
    img {
        max-width: 100%;
    }
    #image {

        max-width: 100%;

    }
}


/*-----VIDEO------*/

.fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
    background-color: #fafafa;


}

.fullscreen-bg__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@media (min-aspect-ratio: 16/9) {
    .fullscreen-bg__video {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    .fullscreen-bg__video {
        width: 300%;
        left: -100%;
    }
}

/*---
@media (max-width: 767px) {
  .fullscreen-bg {
    background: url('../images/site-gfx/landing-bg.jpg') center center / cover no-repeat;
  }

  .fullscreen-bg__video {
    display: none;
  }
}

--*/

/*----FLEXBOX PORTFOLIO-----*/

.portfolio {
    display: flex;
    margin-left: 223px;
    flex-wrap: wrap;
}

.portfolio-container {
    margin: 20px;
    max-width: 1000px;
}

.portfolio-container img {
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #fff;
    z-index: 500;
}

.portfolio img {
    border: 1px solid #ccc;
}

/*----BACKGROUNDS------*/

#year2025,
#year2024,
#year2023,
#year2022,
#year2021,
#year2020,
#year2019,
#year2018,
#year2017,
#year2016,
#year2015,
#year2014,
#year2013,
#year2012,
#year2011,
#year2010,
#year2000-03,
#year2007-09,
#year1996-99,
#year1990-95,
#year1990s,
#year1980s,
#yeartunnel,
#year1980-89,
#year1990-99,
#year2000-09,
#cantos,
#dominion,
#googlemerz,
#move {
    background-attachment: fixed;
    background-position: top 15px right 15px;
    background-repeat: no-repeat;
    z-index: 1000;
}

#year2025 {
    background-image: url(../images/site-gfx/years/year-2025.svg);
}

#year2024 {
    background-image: url(../images/site-gfx/years/year-2024.svg);
}

#year2023 {
    background-image: url(../images/site-gfx/years/year-2023.svg);
}

#year2022 {
    background-image: url(../images/site-gfx/years/year-2022.svg);
}

#year2021 {
    background-image: url(../images/site-gfx/years/year-2021.svg);
}

#year2020 {
    background-image: url(../images/site-gfx/years/year-2020.svg);
}

#year2019 {
    background-image: url(../images/site-gfx/years/year-2019.svg);
}

#year2018 {
    background-image: url(../images/site-gfx/years/year-2018.svg);
}






#year2017 {
    background-image: url(../images/site-gfx/years/year-2017.svg);
}

#year2016 {
    background-image: url(../images/site-gfx/years/year-2016.svg);
}

#year2015 {
    background-image: url(../images/site-gfx/years/year-2015.svg);
}

#year2014 {
    background-image: url(../images/site-gfx/years/year-2014.svg);
}

#year2013 {
    background-image: url(../images/site-gfx/years/year-2013.svg);
}

#year2012 {
    background-image: url(../images/site-gfx/years/year-2012.svg);
}

#year2011 {
    background-image: url(../images/site-gfx/years/year-2011.svg);
}

#year2010 {
    background-image: url(../images/site-gfx/years/year-2010.svg);
}

#year2007-09 {
    background-image: url(../images/site-gfx/years/year-2007.svg);
}

#year2000-03 {
    background-image: url(../images/site-gfx/years/year-2000.svg);
}

#year2000-09 {
    background-image: url(../images/site-gfx/years/2000-09.svg);
}

#year1990-99 {
    background-image: url(../images/site-gfx/years/1990-99.svg);
}

#year1980-89 {
    background-image: url(../images/site-gfx/years/1980-89.svg);
}

#year1996-99 {
    background-image: url(../images/site-gfx/years/year-1996.svg);
}

#year1990-95 {
    background-image: url(../images/site-gfx/years/year-1990.svg);
}

#year1990s {
    background-image: url(../images/site-gfx/years/year-1996.svg);
}

#year1980s {
    background-image: url(../images/site-gfx/years/year-1980s.svg);
}

#yeartunnel {
    background-image: url(../images/site-gfx/years/year-tunnel.svg);
}

#cantos {
    background-image: url(../images/site-gfx/years/CANTOS.svg);
}

#dominion {
    background-image: url(../images/site-gfx/years/DOMINION.svg);
}

#googlemerz {
    background-image: url(../images/site-gfx/years/googleMERZ.svg);
}

#move {
    background-image: url(../images/site-gfx/years/MOVE.svg);
}

/*----LOGO-----*/

#logo {
    background-color: #FF0000;
    padding: 15px 0 0 45px;
    background-image: url(../images/site-gfx/logo+.svg);
    background-repeat: no-repeat;
    height: 50px;
    width: 178px;
    position: fixed;
    top: 20px;
}

/*----TYPE-----*/

@font-face {
    font-family: 'arnhem-italic';
    src: url('../fonts/Arnhem-BoldItalic.eot?#iefix') format('embedded-opentype'), url('../fonts/Arnhem-BoldItalic.otf') format('opentype'), url('../fonts/Arnhem-BoldItalic.woff') format('woff'), url('../fonts/Arnhem-BoldItalic.ttf') format('truetype'), url('../fonts/Arnhem-BoldItalic.svg#Arnhem-BoldItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'arnhem-black';
    src: url('../fonts/Arnhem-Black.eot?#iefix') format('embedded-opentype'), url('../fonts/Arnhem-Black.otf') format('opentype'), url('../fonts/Arnhem-Black.woff') format('woff'), url('../fonts/Arnhem-Black.ttf') format('truetype'), url('../fonts/Arnhem-Black.svg#Arnhem-Black') format('svg');
    font-weight: normal;
    font-style: normal;
}



#nav p {
    margin-top: 20px;
    font-size: 1.8em;
    line-height: 2em;
}

h1 {
    font-family: 'arnhem-black';
    font-weight: 100;
    font-size: 4em;
    color: #fff;
    font-kerning: normal;
}




.portfolio h1 {
    color: #000;
    display: block;
    border-bottom: 10px solid #000;
    margin-bottom: 40px;
}

.portfolio h2 {
    font-family: 'arnhem-black';
    font-size: 3em;
    margin-top: 15px;
    word-wrap: break-word;
    max-width: 640px;
    text-transform: capitalize;
}

.portfolio h3 {
    font-size: 1.3em;
    text-transform: none;
    padding: 4px 0 0 0;
    font-weight: 100;
}

#yeartunnel h3 {
    text-transform: none;
    max-width: 700px;
    line-height: 1.5em;
}

#year2017 h3 {
    text-transform: none;
    max-width: 700px;
    line-height: 1.5em;
}

#landing-page-text h1 {
    position: fixed;
    bottom: 0%;
    display: block;
    width: 100%;
    background-color: #fff;
    font-size: 2em;
    color: #212121;
    height: 25px;
    padding: 25px 0 20px;
    text-align: center;
    font-weight: 100;
    border: 1px solid #ccc;



}


/*----NAV-----*/

.portfolio a:link,
.portfolio a:visited {
    border: 1px solid #FF0000;
    text-decoration: none;
    text-align: right;
    color: #FF0000;
    padding: 10px;
    display: inline-block;
    margin-top: 10px;
    font-size: 1.2em;
}

.portfolio a:hover,
.portfolio a:focus,
.portfolio a:active {
    border-top-width: 2px;
    border-left-width: 2px;
}

#submenu {
    display: block;
    position: fixed;
    top: 100px;
    z-index: 0;
}

#submenu h3 {
    margin: 15px 0 15px 40px;
    font-size: 1.8em;
}

#submenu ul {
    list-style: none;
}

#submenu li a:link,
#submenu li a:visited {
    color: #9A9A9A;
    margin: 5px 0 0 40px;
    display: block;
    font-size: 1.4em;
    font-weight: 100;
    padding: 0 8px;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

#submenu li a:hover,
#submenu li a:focus,
#submenu li a:active {
    border-bottom: 1px solid #9a9a9a;
    padding: 5px 3px;
    background-color: #fff;
}

/*------MODAL-----*/

/* Normal styles for the modal */

.modal {
    opacity: 0;
    position: absolute;
    visibility: hidden;
    background: #fff;
    width: 100%;
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

/* Make the modal appear when targeted */

.modal:target {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    z-index: 20;
}

.modal {
    width: 90%;
}

.overlay {
    /* Rectangle: */
    /* Rectangle: */
    background-color: #fafafa;

    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

footer a:link,
footer a:visited {
    background-image: url(../images/site-gfx/x.svg);
    display: block;
    color: #fff;
    position: fixed;
    top: 20px;
    width: 36px;
    height: 65px;
}

/*------NAV------*/

nav li a:link,
nav li a:visited {
    color: #fff;
    font-family: 'arnhem-black';
    font-size: 6em;
    font-kerning: auto;
    letter-spacing: -2px;
    background-color: #FF0000;
    padding: 15px;
    margin: 2px;
    display: inline-block;
    float: left;
}

nav li a:hover,
.modal nav li a:focus,
nav li a:active {
    text-decoration: underline;
}

nav {
    margin: 18px 0 0 56px;
    padding-bottom: 50px;
}




/*------PROFILE------*/

#profile {
    margin-left: 56px;
    border: 1px solid #ccc;
    padding: 20px;
    background-color: #fff;
    max-width: 100%;
    font-weight: 100;

}

#profile-portrait {
    width: 300px;
    max-width: 40%;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;

}

#photo-cred {
    font-size: .6em;
    text-transform: uppercase;
    font-weight: bold;
    padding-left: 15px;
    margin-top: -25px;
    background-color: #000;
    color: #fff;
}

#photo-cred p {
    font-size: .5em;

}


#profile-desc h2 {
    font-family: 'arnhem-black';
    font-size: 4em;
    margin-top: 10px;
}

#profile-desc p {
    font-size: 1.5em;
    line-height: 1.6em;
}

#profile-contact a:link,
#profile-contact a:visited {
    font-family: 'arnhem-black';
    background-color: #ff0000;
    color: #fff;
    font-size: 2.2em;
    padding: 20px 15px 15px;
    margin: 0;
    display: block;
}

#profile-contact a:hover,
#profile-contact a:focus,
#profile-contact a:active {
    text-decoration: underline;

}

#media-notes {
    margin: 20px 0;
    font-style: italic;
    border-top: 1px solid #ccc;
}


/* UNDER 1024px */

@media only screen and (max-width: 1440px)
/*--
  and (-webkit-min-device-pixel-ratio: 2)--*/

    {
    .portfolio-container img {
        max-height: 600px;
    }


}



/* UNDER 700PX */

@media only screen and (max-width: 700px)
/*
  and (-webkit-min-device-pixel-ratio: 3)*/

    {
    .portfolio {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        margin-top: 75px;
    }
    .portfolio-container {
        margin: 20px 0 20px -20px;
        padding: 0;
        width: 90%;
    }
    .portfolio-container img {
        max-height: 500px;
    }
    #logo {
        width: 100%;
        top: 0;
    }
    /*------NAV------*/
    nav li a:link,
    nav li a:visited {
        font-size: 3em;
        line-height: .9em;
        letter-spacing: -1px;
    }
    nav {
        margin: 0px 0 0 50px;
    }
    footer a:link,
    footer a:visited {
        top: 0px;
    }
    #profile {
        margin-left: 56px;
    }
    #profile-portrait {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #profile-desc {
        float: none;
        margin: 0 0px;
    }
    .portfolio h2 {
        font-size: 2em;
        margin-top: 15px;
        word-wrap: normal;
        max-width: none;
        line-height: 1em;
    }
    #profile-contact a:link,
    #profile-contact a:visited {
        font-size: 1.6em;
    }

    #submenu {
        display: none;
    }

    #landing-page-text h1 {

        font-size: 1.4em;


    }

    #image {

        margin-top: 100px;

    }


}

/* UNDER 700PX and 2x retina*/

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

  and (-webkit-min-device-pixel-ratio: 2)

    {
    .portfolio {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        margin-top: 75px;
    }
    .portfolio-container {
        margin: 20px 0 20px -20px;
        padding: 0;
        width: 90%;
    }
    .portfolio-container img {
        max-height: 500px;
    }
    #logo {
        width: 100%;
        top: 0;
    }
    /*------NAV------*/
    nav li a:link,
    nav li a:visited {
        font-size: 3em;
        line-height: .9em;
        letter-spacing: -1px;
    }
    nav {
        margin: 0px 0 0 50px;
    }
    footer a:link,
    footer a:visited {
        top: 0px;
    }
    #profile {
        margin-left: 56px;
    }
    #profile-portrait {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #profile-desc {
        float: none;
        margin: 0 0px;
    }
    .portfolio h2 {
        margin-top: 15px;
        word-wrap: normal;
        max-width: none;
        line-height: 1em;
    }
    #profile-contact a:link,
    #profile-contact a:visited {
        font-size: 1.6em;
    }

    #submenu {
        display: none;
    }

    #landing-page-text h1 {

        font-size: 1.4em;


    }

    #image {

        margin-top: 100px;

    }


}

/* UNDER 960PX and 3x retina*/

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

  and (-webkit-min-device-pixel-ratio: 3)

    {
    .portfolio {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        margin-top: 75px;
    }
    .portfolio-container {
        margin: 20px 0 20px -20px;
        padding: 0;
        width: 90%;
    }
    .portfolio-container img {
        max-height: 500px;
    }
    #logo {
        width: 100%;
        top: 0;
    }
    /*------NAV------*/
    nav li a:link,
    nav li a:visited {
        font-size: 3em;
        line-height: .9em;
        letter-spacing: -1px;
    }
    nav {
        margin: 0px 0 0 50px;
    }
    footer a:link,
    footer a:visited {
        top: 0px;
    }
    #profile {
        margin-left: 56px;
    }
    #profile-portrait {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #profile-desc {
        float: none;
        margin: 0 0px;
    }
    .portfolio h2 {
        margin-top: 15px;
        word-wrap: normal;
        max-width: none;
        line-height: 1em;
    }
    #profile-contact a:link,
    #profile-contact a:visited {
        font-size: 1.6em;
    }

    #submenu {
        display: none;
    }

    #landing-page-text h1 {

        font-size: 1.4em;


    }

    #image {

        margin-top: 100px;

    }


}

/* UNDER 960PX and 4x retina*/

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

  and (-webkit-min-device-pixel-ratio: 4)

    {
    .portfolio {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        margin-top: 75px;
    }
    .portfolio-container {
        margin: 20px 0 20px -20px;
        padding: 0;
        width: 90%;
    }
    .portfolio-container img {
        max-height: 500px;
    }
    #logo {
        width: 100%;
        top: 0;
    }
    /*------NAV------*/
    nav li a:link,
    nav li a:visited {
        font-size: 3em;
        line-height: .9em;
        letter-spacing: -1px;
    }
    nav {
        margin: 0px 0 0 50px;
    }
    footer a:link,
    footer a:visited {
        top: 0px;
    }
    #profile {
        margin-left: 56px;
    }
    #profile-portrait {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #profile-desc {
        float: none;
        margin: 0 0px;
    }
    .portfolio h2 {
        margin-top: 15px;
        word-wrap: normal;
        max-width: none;
        line-height: 1em;
    }
    #profile-contact a:link,
    #profile-contact a:visited {
        font-size: 1.6em;
    }

    #submenu {
        display: none;
    }

    #landing-page-text h1 {

        font-size: 1.4em;


    }

    #image {

        margin-top: 100px;

    }


}


