@font-face {
    font-family: Inkferno;
    src: url(file/fonts/INKFERNO.ttf);
}

@font-face {
    font-family: Gotu;
    src: url(file/fonts/Gotu.ttf);
}

@font-face {
    font-family: Hasta;
    src: url(file/fonts/hasta.ttf);
}

html, body {
    margin: 0;
    padding: 0;
    font-size: 80%;
    position: relative;
    font-family: Calibri, sans-serif;
    color: #000;
    background-color: white;
}

#siteWrapper {
    position: fixed;
    height: 100vh;
    width: 101vw;
}

h1 {
    margin: 0;
    color: #555;
    font-weight: 100;
}

h2 {
    margin: 0;
    padding: 0;
    color: #777;
    font-weight: 100;
}

h3 {
    color: #FFFFFF;
    font-size: 2em;
    font-weight: 100;
    padding: 0;
}

h4 {
    font-size: 1.6em;
    font-weight: 100;
    color: #BBB;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000000;
}

p {
    font-size: 2em;
    padding: 0;
    font-weight: 100;
    margin-left: 5px;
    color: #444;
}

p.information {
    text-align: left;
    margin-top: 50px;
    margin-left: 50px;
    padding: 0;
}

ul {
    list-style: none;
}

img {
    border: 0;
}

#banner {
    width: 25%;
    float: right;
    text-align: right;
    margin-top: 1.2%;
    padding: 0;
    /*margin-left: 5%; */
}

.greater {
    font-size: 3em;
    font-weight: bold;
    padding: auto;
    margin: auto;
}

#portfolio_wrapper {
    width: 100%;
    height: calc(100vh - min(12vmax, 130px));
    position: relative;
    overflow-x: hidden;
    top: 0;
    left: 0;
    box-sizing: border-box;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

#footer {
    height: 130px;
    max-height: 12vmax;
    width: 100%;
    color: #EEE;
    margin: 0;
    z-index: 100;
    position: fixed;
    bottom: 0;
}

#innerFooter {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    clear: both;
    background-color: #F4F4F4;
    text-align: center;
    height: 100%;
    width: 100%;
    border-top: solid 1px #CCC;
    padding: 0 5% 0 5%;
}

#portfolio_menu {
    min-width: 75%;
    /*min-height: 31px;*/
    height: 100%;
    margin: 0;
    float: left;
}

/**		ABOUT ME			*/

#aboutMe {
    font-size: 1.1em;
    font-family: sans-serif;
    margin-bottom: 2em;
    text-align: center;
}

#aboutMe h1 {
    font-size: 4em;
    text-align: center;
    color: #000;
    line-height: 1.2em;
    letter-spacing: -0.01em;
}

#aboutMeContent {
    display: inline-block;
    vertical-align: top;
    max-width: 800px;
    padding: 2% 3% 0 4%;
    text-align: center;
}

#aboutMeContent p {
    line-height: 1.8em;
    text-align: justify;
}

#aboutMeClients {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    max-width: 800px;
    /*padding: 6em 4% 1% 4%;*/
    padding: 6em 2% 200px 2%;
}

#aboutMeClients h1 {
    font-size: 3em;
    color: #000;
    border-bottom: 1px solid #000;
    width: 68%;
    margin: 0 auto;
}

#aboutMeClients ul {
    margin: 0;
    padding: 0;
}

#aboutMeClients ul li {
    padding: 0.4em 0;
    font-size: 3em;
    line-height: 1.5em;
    letter-spacing: 0.2em;
    font-family: "Arial";
}

#aboutMeWrapper {
    max-width: 90%;
    width: 80vmax;
    margin: 0 auto;
    padding-top: 4em;
}

#aboutMeWrapper h2 {
    font-size: 2.2em;
    font-weight: 800;
}

.aboutMe-section {
    margin: 0 0 5em 0;
    text-align: center;
    float: left;
}

.aboutMe-projects {
    align-content: center;
    display: flex;
    flex-wrap: wrap;
}

.aboutMe-contact {
    width: 100%;
}

.aboutMe-project {
    /*margin: 2em 5em;*/
    margin: 2em auto;
    text-align: center;
    float: left;
    width: 50em;
}

.aboutMe-project p {
    color: #AAA;
}

.aboutMe-project h3 {
    color: #000;
    font-weight: 100;
    font-size: 2em;
    text-decoration: bold;
}

.aboutMe-project h3, .aboutMe-project p {
    padding: 0;
    margin: 0;
}

.aboutMe-profilePicture {
    width: 400px;
    float: right;
    margin: 1em;
}

.aboutMe-text p {
    text-align: left;
}

/*Style for button on menu*/
.buttonPortfolio {
    padding: 0;
    margin: 0;
    font-size: 1.3em;
    text-align: center;
    color: #AAA;
    width: auto;
    background: none;
    border: none;
    text-decoration: none;
    font-family: "Cabin-Regular", Arial, Helvetica, sans-serif;
    /*	For IE extra button margin shit	*/
    overflow: hidden;
    cursor: pointer;
    transition: .1s ease-in-out;
    -moz-transition: .1s ease-in-out;
    -webkit-transition: .1s ease-in-out;
    font-weight: 100;
}

.buttonPortfolio:hover, .buttonPortfolio--selected {
    /*background: url(../../FILES/IMG/border.gif);
    background-repeat: repeat; */
    color: #555;
}

li#imageButtonListElement {
    width: 11em;
    height: 2.5em;
    margin: 1.7em 3% 0 3%;
    background-image: url("FILES/IMG/signature.png");
    background-size: 100% 100%;
    opacity: 0.7;
}

ul.menu {
    width: 100%;
    display: block;
    list-style: none;
    font-size: 1.3em;
    padding: 0;
    margin: 0;
    float: left;
    height: 100%;
}

ul.menu li {
    display: block;
    margin: 2em 1%;
    padding: 0 5px 0 5px;
    float: left;
    height: 100%;
}

ul.social_icons {
    width: auto;
    padding: 0;
    margin: 0 auto;
    float: right;
    clear: both;
}

ul.social_icons li {
    margin-left: auto;
    margin-right: auto;
    display: inline;
    margin: 5px;
    height: auto;
}

.icon_all {
    padding: 3px;
    position: relative;
    margin: 0px;
    width: 22px;
    height: 22px;
    transition: .1s ease-in-out;
    -moz-transition: .1s ease-in-out;
    -webkit-transition: .1s ease-in-out;
    opacity: 0.5;
}

.icon_all:hover {
    opacity: 0.8;
}

#authorInfo {
    float: right;
    clear: both;
}

/*		PROJECTS page css		*/

/*	The outer container for a single thumbnail	*/
.thumbnailContainer {
    position: relative;
    margin: 8px 8px;
    width: 600px;
}

.thumbnailContainer:hover {
    cursor: pointer;
}

@supports (display: grid) {
    div#projectsLibrary img {
        width: 100%;
    }

    .thumbnailContainer {
        position: relative;
        margin: unset;
        width: unset;
    }
}

/* The description that will show
	up when the mouse hovers over a thumbnail	*/
.imageDescription {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #111;
    text-shadow: 0 0 1px #000;
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.imageDescription h1, .imageDescription h2, .imageDescription p {
    color: white;
}

.imageDescription p {
    font-size: 1.8em;
    padding: 0;
    margin: 0;
    display: block;
    box-sizing: border-box;
    width: 90%;
    text-align: center;
}

/*	When a thumbnail is hovered over
	the imageDescription will appear.
	Why the link is the one triggered
	by hover is because the link needs to have
	the highest z-index!				*/
.thumbnailContainer:hover .imageDescription {
    opacity: 0.9;
}

.thumbnailContainer:hover .imageDescription > * {
    opacity: 1;
}

/*	Just for the link that is an invisible
	overlay for a thumbnail.		*/
a.lightboxLink {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/*	The div containing all thumbnails.	*/
div#projectsLibrary {
    display: flex;
    width: 92%;
    flex-wrap: wrap;
    margin: 0 auto;
    margin-bottom: 10px;
    justify-content: center;
}

@supports (display: grid) {
    div#projectsLibrary {
        padding: 20px 0 10px 0;
        width: 100%;
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 28vmax));
        grid-gap: 20px;
        -ms-grid-columns: auto auto auto;
    }
}

/*	The image contained inside a thumbnailContainer	*/
img.thumbnail {
    display: block;
    margin: 0;
    padding: 0;
    border: none; /*	For IE		*/
    width: 100%;
}

img.logo {
    position: relative;
    margin-top: -50px;
    margin-left: 5px;
    margin-right: 5px;
    transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -webkit-transition: .25s ease-in-out;
    padding: 0;
}

img.logo:hover {
    margin-top: 0px;
}

img.wrapper {
    margin-top: 30%;
    margin-left: 0px;
}

img.profilepic {
    float: left;
    width: 75%;
    height: auto;
    align: center;
    clear: both;
}

@font-face {
    font-family: Cabin-Medium;
    src: url(FILES/FONTS/Cabin-Medium.otf);
    font-weight: 600;
}

@font-face {
    font-family: Cabin-Regular;
    src: url(FILES/FONTS/Cabin-Regular.otf);
    font-weight: 100;
}

.p_contact {
    padding: 3%;
    text-shadow: 1px 1px 1px #000;
    width: 100%;
}

/* SLIDESHOW */

.coolshow {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: 0.3s all linear;
}

#coolshowFlow {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    transform: translateZ(0);
    transition: 0.8s ease-out;
    white-space: nowrap;
    position: relative;
}

#coolshowFlow > div {
    display: inline;
}

#coolshowFlow img {
    display: inline;
}

#coolshowControllerContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#coolshowNextButton, #coolshowPreviousButton {
    height: 45px;
    width: 50px;
    position: absolute;
    top: 45%;
    background-size: 100% 100%;
    opacity: 0;
    transition: opacity .8s ease-out;
}

#coolshowNextButton {
    background-image: url("FILES/IMG/ICONS/next.png");
    right: 0;
}

#coolshowPreviousButton {
    background-image: url("FILES/IMG/ICONS/prev.png");
    left: 0;
}

@media (max-width: 1400px) {

    #aboutMeWrapper {
        background-color: white;
        align-content: center;
    }

    #aboutMe {
        /*font-size: 3em;*/
        color: #000;
    }

    #aboutMeClients {
        text-align: center;
        width: 96%;
    }

    footer {
        font-size: 1em;
    }
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    /* Retina-specific stuff here */
    html, body {
        /*font-size: 70%;*/
        background-color: white;
    }

    #footer {
        width: 100%;
        /*font-size: 0.7em;*/
    }

    #innerFooter {
        width: 100%;
    }

    div#banner {
        display: none;
    }

    #coolshowPreviousButton, #coolshowNextButton {
        top: 0;
        background-image: none;
        height: 100%;
    }

    #portfolio_menu {
        width: 100%;
    }

    #aboutMeWrapper {
        font-size: 0.6em;
        background-color: white;
    }

    #aboutMe {
        color: #000;
        margin-bottom: 100px;
    }

    #aboutMeClients {
        text-align: center;
        width: 96%;
        /*padding: 2% 2% 200px 2%;*/
    }
}

/** 	ContentBox		**/

.ContentBox {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 0;
    transition: all 0s;
}

.ContentBoxImage {
    display: block;
    position: relative;
    z-index: 1001;
    margin: 25vh auto;
    height: 50vh;
    max-width: 90vw;

}

.ContentFlowContainer {
    position: absolute;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.92);
    transition: all 0s;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.contentFlowContainer-closeButton {
    position: fixed;
    right: 1em;
    font-size: 3em;
    color: #666;
    font-family: "Arial Black";
    cursor: pointer;
}

.ContentFlow {
    width: 76%;
    margin: 0 auto;
    text-align: center;
    padding-top: 25px;
}

.contentflow-video {
    width: 100%;
}

.ContentFlowImage > img {
    object-fit: contain;
    max-width: 100%;
    padding-bottom: 25px;
}

.contentFlow-imageTextWrapper {
    color: white;
    font-size: 1.8em;
    padding: 10px 0 40px 0;
    font-family: Helvetica;
    font-weight: lighter;
}

.contentFlow-imageHeader {
    font-size: 1.6em;
}

.loading-box {
    display: inline;
    text-align: center;
    font-size: 2em;
    font-family: Consolas, serif;
}

/**		END OF ContentBox		*/

::-webkit-scrollbar {
    width: 0px; /* remove scrollbar space */
    background: transparent; /* optional: just make scrollbar invisible */
}

/* optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: #FF0000;
}