/*
 * Variables
 */

:root {
    --primary-color: #5f9683;
    --primary-background-color: #FFFFFF;
    --primary-text-color: #606060;

    --sidebar-background-color: var(--primary-color);
    --sidebar-text-color: #333;
    --sidebar-text-light-color: #e7a705;
    --sidebar-separator-color: #4b8370;

    --footer-background-color: #2f2f2f;
    --footer-text-color: #FFFFFF;

    --link-color: var(--primary-color);
    --link-hover-color: #8bcdb6;
}



/*
 * Fonts
 */

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato/Lato-Regular.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/Lato/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('assets/fonts/Lato/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('assets/fonts/Lato/Lato-Regular.woff') format('woff'), /* Modern Browsers */
         url('assets/fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato/Lato-Bold.eot'); /* IE9 Compat Modes */
    src: url('assets/fonts/Lato/Lato-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('assets/fonts/Lato/Lato-Bold.woff2') format('woff2'), /* Modern Browsers */
         url('assets/fonts/Lato/Lato-Bold.woff') format('woff'), /* Modern Browsers */
         url('assets/fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    text-rendering: optimizeLegibility;
}



/*
 * General
 */

/* Set box-sizing globally to handle padding and border widths. */
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;

    font-family: 'Lato', sans-serif;
    color: var(--primary-text-color);
    background-color: var(--primary-background-color);
}

h1 {
    font-size: 40px;
}

p {
    font-size: 20px;
}

ul {
    list-style: circle outside none;
    font-size: 20px;
}

ul li {
    padding: 3px 0;
}

a, a:link, a:visited, a:active {
    color: var(--link-color);
    text-decoration: underline;
}

a:hover {
    color: var(--link-hover-color);
}

img {
    width: 100%;
    height: 100%;
}



/*
 * Screen Size Breakpoints
 */

.screen-small {
    display: none;
}
.screen-normal {
    display: none;
}
.screen-wide {
    display: none;
}
@media only screen and (max-width: 1024px) {
    .screen-small {
        display: block;
    }
}
@media only screen and (min-width: 1025px) and (max-width: 1800px) {
    .screen-normal {
        display: block;
    }
}
@media only screen and (min-width: 1801px) {
    .screen-wide {
        display: block;
    }
}



/*
 * Quote
 */

blockquote {
    display: block;
    margin: 40px;
}

blockquote p {
    font-size: 30px;
    margin: 0;
    quotes: "\201C""\201D""\2018""\2019";
    padding: 10px 20px;
    line-height: 1.4;
}

blockquote p:before {
    content: open-quote;
    display: inline;
    height: 0;
    line-height: 0;
    left: -10px;
    position: relative;
    top: 30px;
    color: #ccc;
    font-size: 3em;
}

blockquote p::after {
    content: close-quote;
    display: inline;
    height: 0;
    line-height: 0;
    left: 10px;
    position: relative;
    top: 35px;
    color: #ccc;
    font-size: 3em;
}

blockquote footer {
    margin:0;
    text-align: right;
    font-size: 1.5em;
    font-style: italic;
}

blockquote footer:before {
    content: "— ";
    display: inline;
}

blockquote.small p {
    font-size: 20px;
}

blockquote.light {
    color: #fff;
}

@media only screen and (max-width: 1024px) {
    blockquote {
        margin: 20px;
    }
}

@media only screen and (max-width: 800px) {
    blockquote {
        margin: 10px;
    }
}



/*
 * Parallax Window
 */

.parallax-window {
    position: relative;
    min-height: 400px;
    background: transparent;

    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-window .parallax-content {
    position: relative;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax-window .parallax-content.transparent-background {
    background-color: rgba(0, 0, 0, 0.5);
}



/*
 * Sidebar
 */

.sidebar {
    z-index: 3;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--sidebar-background-color);

    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .8);
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .8);
    box-shadow: 0 0 10px rgba(0, 0, 0, .8);

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;

}

.sidebar .mobile-close {
    display: none;
}

.sidebar .logo {
    width: 200px;
	height: 200px;
    margin: 50px;
    border: 5px solid #333;

    -webkit-border-radius: 100px;
	-moz-border-radius: 100px;
    border-radius: 150px;

	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    box-shadow: 0 0 8px rgba(0, 0, 0, .8);

    background-image: url("assets/img/logo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #333;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.sidebar .name {
    width: 100%;
    color: var(--sidebar-text-color);
    font-size: 2em;
    text-align: center;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.sidebar .name.small {
    font-size: 1.5em;
}

.sidebar ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 50px 25px 0 25px;
    width: 100%;

    font-weight: bold;
}

.sidebar ul li {
    display: block;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--sidebar-separator-color);
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.sidebar ul li a {
    cursor: pointer;
    color: var(--sidebar-text-color);
    font-size: 1em;
    text-decoration: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.sidebar ul li a:hover {
    color: var(--sidebar-text-light-color);
}

.sidebar-mobile-bar {
    display: none;
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--sidebar-background-color);

    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    box-shadow: 0 0 8px rgba(0, 0, 0, .8);
}

.sidebar-mobile-bar .logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
	height: 50px;
    margin: 5px;
    border: 5px solid #333;

    -webkit-border-radius: 50px;
	-moz-border-radius: 50px;
    border-radius: 55px;

	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
    box-shadow: 0 0 8px rgba(0, 0, 0, .8);

    background-image: url("assets/img/logo.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #333;
}

.sidebar-mobile-bar .name {
    width: 100%;
    padding: 5px 14px 0 14px;
    color: var(--sidebar-text-color);
    font-size: 25px;
    text-align: center;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sidebar-mobile-bar .name.small {
    padding: 0;
    font-size: 20px;
}

.sidebar-mobile-bar .mobile-open {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    padding: 14px;
    color: var(--sidebar-text-color);
    font-size: 30px;
    text-decoration: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

@media only screen and (max-width: 1024px), only screen and (max-height: 800px) {
    .sidebar-mobile-bar {
        display: block;
    }

    .sidebar {
        width: 200px;
        left: -210px;
    }

    .sidebar.show {
        left: 0;
    }

    .sidebar .mobile-close {
        display: block;
        position: absolute;
        cursor: pointer;
        top: 0;
        right: 10px;
        color: var(--sidebar-text-color);
        font-size: 36px;
        text-decoration: none;

        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .sidebar .name {
        display: none;
    }

    .sidebar .logo {
        width: 140px;
    	height: 140px;
        margin: 30px;
        border: 4px solid var(--sidebar-text-color);

        -webkit-border-radius: 70px;
    	-moz-border-radius: 70px;
        border-radius: 150px;
    }

    .sidebar .name {
        font-size: 1.5em;
    }

    .sidebar ul {
        padding: 0 15px 0 15px;
    }

    .sidebar ul li {
        padding: 15px 0;
    }

    .sidebar ul li a {
        font-size: 0.8em;
    }
}



/*
 * Main
 */

.main {
    z-index: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 300px;
    right: 0;
    background: transparent;

    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.main .content {
    padding: 50px 50px;
    background-color: var(--primary-background-color);

    -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, .7);
    -moz-box-shadow: 0 0 50px rgba(0, 0, 0, .7);
    box-shadow: 0 0 50px rgba(0, 0, 0, .7);
}

.main .content .text-wrapper {
    max-width: 1080px;
    margin: 0 auto;
}

@media only screen and (max-width: 1024px), only screen and (max-height: 800px) {
    .main {
        left: 0;
    }
}


/*
 * Footer
 */

.main .footer {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 50px 50px;
    background-color: var(--footer-background-color);
    color: var(--footer-text-color);
    border-top: 5px solid var(--sidebar-background-color);
}

.main .footer .text-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}



/*
 * Other
 */

.contact-map {
    margin: 0;
    width: 100%;
    min-height: 400px;
}

.profile-wrapper {
    padding: 0 20px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile {
    padding: 0;
    margin: 0;
    width: 100%;
    height:  auto;
    max-width: 300px;
    border-radius: 15px;

    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, .7);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, .7);
    box-shadow: 0 0 20px rgba(0, 0, 0, .7);
}



/*
 * Grid
 * Source: http://www.responsivegridsystem.com/
 */

.section {
	clear: both;
	padding: 0px;
	margin: 0px;
}

.col {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}
.col:first-child { margin-left: 0; }

.group:before,
.group:after {
	content:"";
	display:table;
}
.group:after {
	clear:both;
}
.group {
    zoom:1;
}

.span_3_of_3 {
	width: 100%;
}
.span_2_of_3 {
	width: 66.1%;
}
.span_1_of_3 {
	width: 32.2%;
}

.span_5_of_5 {
	width: 100%;
}
.span_4_of_5 {
  	width: 79.68%;
}
.span_3_of_5 {
  	width: 59.36%;
}
.span_2_of_5 {
  	width: 39.04%;
}
.span_1_of_5 {
  	width: 18.72%;
}

@media only screen and (max-width: 1200px) {
	.col {
        margin: 1% 0 1% 0%;
    }
	.span_3_of_3, .span_2_of_3, .span_1_of_3 {
        width: 100%;
    }
    .span_5_of_5, .span_4_of_5, .span_3_of_5, .span_2_of_5, .span_1_of_5 {
        width: 100%;
    }
}
