/* VARIABLES */

@font-face {
    font-family: 'BODONI-MT-CONDENSED';
    src: url('../fonts/BOD_CR.TTF');
}

*{
    padding: 0;
    margin: 0;
}

/*--------------------
        GENERIC           
--------------------*/

body {
  background-color: #FFFFFF;
  color: #000000; 
  font-size: 12px;
  font-family: verdana;
  height: 100%;
}

h1{
    font-family: 'BODONI-MT-CONDENSED';
    font-size: 30pt;
    padding: 0;
    margin: 0 0 0 15px;
}

#wrapper-project h1{
    font-size: 8vh;
    padding-bottom: 10px;
    margin: 0px;
}

.subtitle{
    display: block;
    font-family: verdana;
    font-size: 2vh;
    margin-top: -10px;
}

.timestamp{
    font-family: verdana;
    font-size: 12px;
    top: -10px;
    left: 10px;
    position: relative;
}

hr{
    border: none;
    height: 2px;
    color: #CCCCCC;
    background-color: #CCCCCC;
}

h2{
    font-family: 'BODONI-MT-CONDENSED';
    padding: 0 0 0 10px;
    margin: 0;
}

h3{
    font-family: verdana;
    font-size: 9pt;
    padding: 0 0 5px 10px;
    margin: 0;
}

a{
    color: black;
}

a:hover{
    color: black;
}

::-webkit-scrollbar{ 
    width: 14px;
    margin-right: 5px;
    border: none;
}

::-webkit-scrollbar-button {
    background-size: 100%;
    height: 14px;
    width: 14px;
}

::-webkit-scrollbar-button:vertical:increment{
    background-image: url(../media/ico_ArrowDown.svg);
}

::-webkit-scrollbar-button:vertical:decrement{
    background-image: url(../media/ico_ArrowUp.svg)
}

::-webkit-scrollbar-track{
    background-color: #222222;
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    height: 20px;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb{
    background-color: #71747B;
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border-radius: 6px;
}

/*----------------------------------------
                GENERAL           
----------------------------------------*/
.clearfix{
    clear: both;
}

#wrapper-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; 
    min-height: 100%;
    height: 100%;
    min-width: 300px;
    position: absolute;
}

#wrapper-project{
    overflow: auto;
    min-width: 400px;
}

/*----------------------------------------
                    HEADER           
----------------------------------------*/

#wrapper-main header{
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    margin: 0 auto;
    z-index: 100;
    background-color: #FFFFFF;
    display: none;
}

.header-shadow{
    box-shadow: 0 4px 2px -2px #888888;
}

#wrapper-project header{
    position: relative;
    top: 0;
    right: auto;
    margin: auto;
    min-height: 0;
    width: 1200px;
    max-width: 100%;
    min-width: 300px;
    text-align: center;
}

#header-container{
    position: relative;
    top: 0;
    right: auto;
    margin: auto;
    min-height: 0;
    width: 1200px;
    max-width: 100%;
    min-width: 300px;
    text-align: center;
    padding-bottom: 10px;
/*    
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 90%, rgba(255,255,255,0) 100%);  FF3.6-15 
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);  Chrome10-25,Safari5.1-6 
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%);  W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );  IE6-9 */
}

.back{
    position: absolute;
    margin: auto;
    height: 100%;
    width: 30px;
    font-size: 30px;
    font-weight: bolder;    
    border-radius: 2px;
    left: 0px;
    top: 0px;
    bottom: 0px;
    border: none;
    background: rgb(243,243,243); /* Old browsers */
    background: -moz-linear-gradient(top, rgb(243,243,243) 0%, rgb(216,216,216) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgb(243,243,243) 0%,rgb(216,216,216) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgb(243,243,243) 0%,rgb(216,216,216) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f3f3f3', endColorstr='#d8d8d8',GradientType=0 ); /* IE6-9 */
}



#logo{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 0px;
    margin-right: 15px;
    margin-top: -20px;
}

#filters{
    position: relative;
    padding-top: 15px;
    margin: 0 auto;
}

#filters ul{
    list-style: none;
}

#filters li{
    float: left;
    text-align: center;
    color: #999;
    cursor: pointer;
    width: 20%;
}

#filters li svg{
    filter: drop-shadow( 1px 1px 1px rgba(255,255,255,1));
}

.filter-outer{
    position: relative;
    border-radius: 50%;
    background-image: -moz-linear-gradient( 90deg, rgb(244,244,244) 0%, rgb(215,215,215) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(244,244,244) 0%, rgb(215,215,215) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(244,244,244) 0%, rgb(215,215,215) 100%);
    box-shadow: inset 0px 1px 4px 0px rgba(0, 0, 0, 0.23);
    width: 54px;
    height: 54px;
    margin: 0 auto;
}

.filter-on .filter-inner{
    position: absolute;
    left: 7px;
    top: 7px;
    border-radius: 50%;
    background-image: -moz-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(244,244,244) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(244,244,244) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(244,244,244) 100%);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.27);
    width: 40px;
    height: 40px;
}

.filter-off .filter-inner{
    position: absolute;
    left: 7px;
    top: 7px;
    border-radius: 50%;
    border-radius: 50%;
    background-image: -moz-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(190,190,190) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(190,190,190) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(190,190,190) 100%);
    box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.004),inset 0px 2px 3px 0px rgba(0, 0, 0, 0.49);
    width: 40px;
    height: 40px;
}

.filter-logo{
    position: absolute;
    top: 7px;
    left: 7px;
    width: 26px;
    height: 26px;
}


#web.filter-on .filter-logo .st0{
    fill: #00aeff;
}

#game.filter-on .filter-logo .st0{
    fill: #de1f1f;
}

#mobile.filter-on .filter-logo .st0{
    fill: #ffba00;
}

#video.filter-on .filter-logo .st0{
    fill: #9800b9;
}

#audio.filter-on .filter-logo .st0{
   fill: #86be36;
}


/*----------------------------------------
                CONTENT INDEX           
----------------------------------------*/
#content-container{
    position: relative;
    top: 0;
    left: 0;
    bottom: 175px;
    right: 0;
    overflow: auto;
    margin-top: 150px;
}

#content-intro{
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

#content-intro:after{
    clear: both;
}

#intro-logo{
    margin: 0 auto;
    margin-top: -30px;
    background-image: url('../media/Logo_HvS.svg');
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
}

#content-projects{
    width: 100%;
}

#project-grid{
    position: relative;
    list-style: none;
    -webkit-transition: all 250ms ease; /* Safari and Chrome */
    -moz-transition: all 250ms ease; /* Firefox */
    -ms-transition: all 250ms ease; /* IE 9 */
    -o-transition: all 250ms ease; /* Opera */
    transition: all 250ms ease;
}

.project{
    float: left;
    padding: 10px;
    max-height: 227px;
}

.project-container{
    border: 1px #CCCCCC solid;
}

.project-thumbnail{
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.project-thumbnail img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -webkit-transition: all 250ms ease; /* Safari and Chrome */
    -moz-transition: all 250ms ease; /* Firefox */
    -ms-transition: all 250ms ease; /* IE 9 */
    -o-transition: all 250ms ease; /* Opera */
    transition: all 250ms ease;
}

.project-thumbnail img:hover {
    -webkit-transform:scale(1.25); /* Safari and Chrome */
    -moz-transform:scale(1.25); /* Firefox */
    -ms-transform:scale(1.25); /* IE 9 */
    -o-transform:scale(1.25); /* Opera */
     transform:scale(1.25);
}

.project-footer{
    position: relative;
    height: 55px;
    max-height: 55px;
}

.project-catagory-container{
    position: relative;
    float: right;
    margin-top: -51px;
    height: 100%;
    width: auto;
    background-image: -moz-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(190,190,190) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(190,190,190) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(215,215,215) 0%, rgb(190,190,190) 100%);
    box-shadow: 0px 1px 0px 0px rgba(255, 255, 255, 0.004),inset 0px 2px 3px 0px rgba(0, 0, 0, 0.49);
    list-style: none;
}

.project-catagory-container li{
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
    height: 100%;
    width: 40px;
    float: left;
    opacity: 0.7;
}


.project-catagory-container li svg{
    filter: drop-shadow( 1px 1px 1px rgba(255,255,255,1));
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, 0.49);
}

.catagory-web{
    background-image: url('../media/ico_Web.svg');
}

.catagory-game{
    background-image: url('../media/ico_Games.svg');
}

.catagory-mobile{
    background-image: url('../media/ico_Mobile.svg');   
}

.catagory-video{
    background-image: url('../media/ico_Video.svg');

}

.catagory-audio{
    background-image: url('../media/ico_Microphone.svg');
}

.unactive{
    filter: grayscale(100%);
    color: grey;
}

/*----------------------------------------
                CONTENT PROJECT           
----------------------------------------*/


#media-imagebackground{
    background-color: black;
    width: 100vw;
    min-width: 400px;
    height: 40vh;
    min-height: 400px;
    position: relative;
    text-align: center;
    z-index: 99;
}

#media-imagebackground img{
    width: 100%;
    max-width: 1200px;
    height: 100%;
    object-fit: cover;
    position: relative;
}

#media-gallery{
    position: relative;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    margin-top: -40px;
    z-index: 100;
}
#media-gallery ul{
    display: inline-block;
    height: 100%;
    width:100%;
    list-style: none;
    -webkit-transition: all 250ms ease; /* Safari and Chrome */
    -moz-transition: all 250ms ease; /* Firefox */
    -ms-transition: all 250ms ease; /* IE 9 */
    -o-transition: all 250ms ease; /* Opera */
    transition: all 250ms ease;
}

#media-gallery li{
    float: left;
    width: 50%;
    height: 100%;
    border-width: 3px 2px;
    border-color: white;
    border-style: solid;
    max-height: 150px;
    -webkit-transition: all 250ms ease; /* Safari and Chrome */
    -moz-transition: all 250ms ease; /* Firefox */
    -ms-transition: all 250ms ease; /* IE 9 */
    -o-transition: all 250ms ease; /* Opera */
    transition: all 250ms ease;
}

#media-gallery a {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    display: block;
}

#media-gallery img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 144px;
}

#media-gallery li:first-child{
    border-left: 4px #FFFFFF solid;
}

#media-gallery li:last-child{
    border-right: 4px #FFFFFF solid;
}

.web-project#media-gallery li:hover{
    border-bottom: 3px #00aeff solid;
}

#mobile-project #media-gallery li:hover{
    border-bottom: 3px #ffba00 solid;
}

#game-project #media-gallery li:hover{
    border-bottom: 3px #de1f1f solid;
}

#video-project #media-gallery li:hover{
    border-bottom: 3px #9800b9 solid;
}

#audio-project #media-gallery li:hover{
    border-bottom: 3px #86be36 solid;
}

#media-gallery img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#project-information{
    margin: 10px 0px;
}

#project-information p{
    padding-left: 15px;
}

#project-information a{
    color: #0645AD;
}

#project-information ul{
    padding-left: 30px;
}

.project-section{
    padding: 5px;
    height: 100%;
    margin: 10px 0px;
}

/*----------------------------------------
                FOOTER           
----------------------------------------*/

footer{
    position: relative;
    bottom: 0px;
    left: 0px;
    right: 0px;
    clear: both;
    background-color: #000000;
    color: #FFFFFF;
    width: 100%;
    padding: 0px;
    z-index: 101;
}

#footer-container{
    width: 100%;
    margin: 0 auto;
}

footer p, footer span{
    font-size: 14px;
}

#social-media{
    padding-top: 8px;
}

#social-media ul{
    list-style: none;
    text-align: center;
    width: 100%;
}

#social-media a{
    display: inline-block;
}

#social-media li{
    float: left;
}


.social-icon{
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

.social-icon .st0{
    fill:#CCCCCC;
}

.social-icon:hover .st0{
    fill: #FFFFFF;
}

#copyright{
    top: 25px;
    text-align: center;    
}

#contact{
    text-align: center;
}

#contact p{
    display: none;
}

#contact-cv{
    color: #000000;
    display: inline-block;
    cursor: pointer;
}

#cv-download{
    height: 40px;
    width: 40px;
    margin-right: -9px;
    margin-top: -2px;
    float: right;
}

#cv-download .st0{
    fill: #FFFFFF;
}

#cv-text{
    margin: 8px 0px 0px 0px;
    padding: 0px 1px;
    background-color: #FFFFFF;
    float:right;
}

/*----------------------------------------
            RESPONSIVE DESIGN           
----------------------------------------*/

@media screen and (max-width: 768px) { 
    
}
@media screen and (min-width: 768px) { 
    #media-gallery li{
        width: 33.3333%;
    }
    
    #media-gallery{
        margin-top: -50px;
    }
    
}
@media screen and (min-width: 992px ) { 
    #social-media{
        padding-top: 15px;
    }
    
    #social-media ul{
        text-align: left;
    }
    
    #media-gallery li{
        width: 25%;
    }
    
    #content-container{
        position: absolute;
        bottom: 80px;
    }
    
    footer p, footer span{
        font-size: 14px;
    }
    
    footer{
        position: fixed;
        padding: 0px 25px;
        margin-bottom: 0px;
    }
    
    #wrapper-project{
        position: relative;
    }
    
    #wrapper-project footer{
        position: fixed;
    }
    
    #contact{
        padding-top: 15px;
        text-align: right;
    }
    
    #contact p{
        display: inline;
    }
    
    #project-content{
        padding-bottom: 80px;
    }
    
    .project{
        max-height: 217px;
    }
    
    #cv-download{
        height: 32px;
        width: 32px;
        margin-right: -7px;
        margin-top: 0px;
        float:right;
    }
}
@media screen and (min-width: 1200px) {
    
    body{
        min-height: 800px;
    }
    
    #wrapper-project h1{
        font-size: 60px;
        padding-bottom: 10px;
        margin: 0px;
    }

    .subtitle{
        display: block;
        font-size: 12px;
    }
    
    .back{
        height: 90%;
        width: 20px;
        margin-left: 10px;
        font-size: 12px;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(136,136,136,0.7);
        -moz-box-shadow: 0px 2px 5px 0px rgba(136,136,136,0.7);
        box-shadow: 0px 2px 5px 0px rgba(136,136,136,0.7);
    }
    
    
    #header-container{
        height: 150px;
    }
    
    #logo{
        display: none;
        background-image: url('../media/Logo_HvS.svg');
        background-repeat: no-repeat;
        height: 100%;
        width: 150px;
    }
    
    #content-intro{
        width: 400px;
        text-align: justify;
    }
    
    .project-thumbnail{
        height: 140px;
    }
    
    #filters{
        display: inline-block;
    }
    
    #filters li{
        width: auto;
        margin-left: 20px;
    }
    
    .filter-outer{
        margin: auto;
    }
    
    #wrapper-main {
        left: 50%;
        margin-left: -600px;
    }
    
    #wrapper-project h1{
        font-size: 60pt;
    }
    
    #media-gallery li{
        width: 100px;
    }
    
    #content-container{
        display: none;
        width: 100%;
    }

    
    #project-information{
        width: 1200px;
        margin: 0px auto;
        height: 30vh;   
    }
    
    #project-information section, #project-information div{
        height: 100%;
    }
    
    #media-imagebackground{
        width: 100%;
        height: 40vh;
        padding: 0px;
    }
    
    #media-imagebackground img {
        height: 100%;
    }
    
    #media-gallery{
        margin-top: -90px;
    }
    
    #media-gallery ul{
        width: auto;
        height: 125px;
    }
    
    #media-gallery li{
        width: 105px;
        height: 100%;
    }
    
    #media-gallery a{
        padding-top: 0;
        width: 100%;
        height: 100%;
    }
    
    #media-gallery img{
        position: relative;
        max-height: none;
    }

    
    .project-section{
        border: 1px #CCCCCC solid;
        padding: 5px;
        height: 100%;
        overflow: auto;
        margin: 0px;
    }
    
        
    footer p, footer span{
        font-size: 12px;
    }
    
    #footer-container{
        width: 1200px;
        margin: 0 auto;
        height: 8vh;
        max-height: 80px;
    }
}