/* Fonts ------------------ */

@font-face {
font-family: "wigrum-regular";
    src: url("fonts/WigrumWeb-Regular.eot");
    src: url("fonts/WigrumWeb-Regular.eot?#iefix") format('embedded-opentype'),
         url("fonts/wigrumweb-regular.woff") format('woff');
}


/* Global Stuff ------------------ */

* {
	box-sizing: border-box;
}

body {
    background-color: white;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
}

h1, h2, h3, p, a, button {
    font-family: "wigrum-regular", Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    color: blue;
    font-size: 24px;
    margin: 0px;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    max-width: 100%;
}

/* Loaders ------------------ */

.loader,
.projects-loader,
.home-loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #fff;
}

.loader p,
.home-loader p {
    padding: 20px;
    font-size: 100px;
    letter-spacing: -5px;
    color: blue;
}

.projects-loader p {
    padding: 20px;
    font-size: 150px;
    letter-spacing: -5px;
    color: #fff;
}



/* Main Nav ------------------ */


.nav {
    position: fixed;
    z-index: 100;
}

.top-left {
    left: 20px;
    top: 20px;
}

.top-middle {
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
}

.top-right {
    right: 20px;
    top: 20px;
}

.bottom-left {
    left: 20px;
    bottom: 20px;
}

.bottom-right {
    right: 20px;
    bottom: 20px;
}


/* Body ------------------ */

.centred-text,
.centred {
    padding: 20px;
    margin: 0;
    height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.centred-text p, .centred-text a {
    text-align: center;
    max-width: 600px;
    font-size: 18px;
    line-height: 24px;
}


/* Links -------------------*/

a:hover, a:active, .jlink:hover, .jlink:active {
    border-bottom: 2px solid;
}

.jlink:hover, .jlink:active {
    margin-bottom: -2px;
}



/* Home Gallery -------------------*/

.home-gallery {
    width: 90%;
    margin: 0 auto;
    padding: 60px 0;
    font-size: 0;
    letter-spacing: 0;
    line-height: 0;
}


.img-container {
    width: 50%;
    padding: 10px;
    display: inline-block;    
}

.img {
    position: relative;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    max-width: 900px;
}

.home-gallery a:hover, .home-gallery a:active {
    border-bottom: none;
    
}

/* Overlays -------------------*/

.img-overlay {
    color: #fff;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0; 
	left: 0;
	padding-left: 20px;
	padding-right: 20px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.lens-capital h3,
.logos h3 {
    color: #000;
}

.copelio-energy h3,
.ginko h3 {
    color: #fff;
}

.self-branding h3 {
    color: blue;
}

.lens-capital {
    background: #f9e547;
}

.copelio-energy {
    background: #040926;
}

.ginko {
    background: #191919;
}

.logos {
    background: #e5e5e5;
}

.self-branding {
    background: white;
}

.img-overlay {
    opacity: 0;
    -webkit-transition-duration: 0.4s;
            transition-duration: 0.4s;
    -webkit-transition-property: opacity;
    transition-property: opacity;
}

.img-overlay:hover {
    opacity: 1;
}



/* Buttons ------------------ */

button {
    background: 0;
    border: 0;
    padding: 0;
}

button:focus {
    outline: none;
}


/* Fixed position titles ------------------ */

.title {
    position: fixed;
    z-index: 99;
    top: 20px;
    left: 30%;
    right: 30%;
    text-align: center;
}



/* Modal ------------------ */

.modal {
    position: fixed;
    left: 0px;
    top: 0px;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: blue;
}

.modal h2, .modal p, .modal a {
    color: white;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.close:hover, .close:active {
    border-bottom: none;
}

#mail {
    padding: 0 3px;
    position: relative;
    top: 2px;
}

.smiley {
    position: fixed;
    z-index: 99;
    bottom: 20px;
    left: 30%;
    right: 30%;
    text-align: center;
}


/* Hide stuff -------------------*/

.hide {
    display: none;
}


/* Mobile Footer -------------------*/

.mobile-footer {
    padding: 20px;
    display: none;
    -webkit-box-align: baseline;
    -webkit-align-items: baseline;
        -ms-flex-align: baseline;
                -ms-grid-row-align: baseline;
            align-items: baseline;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
}



/* Media Queries -------------------*/


@media (max-width: 600px) {
    
    .loader p,
    .projects-loader p {
        font-size: 40px;
        letter-spacing: 0px;
    }
    
    h1, h2, h3, p, a, button {
        font-size: 18px;
    }
    
    .centred-text p, .centred-text a {
        font-size: 14px;
        line-height: 18px;
    }
    
    .home-gallery {
        width: 100%;
        padding: 50px 10px 0px;
    }
    
    .img-container {
        width: 100%;
        padding: 10px;
    }
    
    .home-title,
    .home-smiley,
    .bottom-left,
    .bottom-right {
        display: none;
    }
    
    .mobile-footer {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    
    .centred-text {
        display: inline-block;
        height: inherit;
        padding: 60px 20px;
    }
    
}
    