/* open-sans-condensed-300 - latin */
@font-face {
  font-family: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Condensed Light'), local('OpenSansCondensed-Light'),
       url('/fonts/open-sans-condensed-v14-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/fonts/open-sans-condensed-v14-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* open-sans-condensed-700 - latin */
@font-face {
  font-family: 'Open Sans Condensed';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Condensed Bold'), local('OpenSansCondensed-Bold'),
       url('/fonts/open-sans-condensed-v14-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/fonts/open-sans-condensed-v14-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

:root[color-mode="light"] {
	--bgcolor: white;
	--bgodd: white;
	--bgeven: #f8f8f8;
	--bgfooter: #f0f0f0;
	--text: black;
	--vertbar: #c0c0c0;
	--highlight: #005493;
	--dim: #c0c0c0;
	--label: #808080;
}

:root[color-mode="dark"] {
	--bgcolor: #101010;
	--bgodd: #101010;
	--bgeven: #151515;
	--bgfooter: #202020;
	--text: #f5f5f5;
	--vertbar: #323232;
	--highlight: #4D87B3;
	--dim: #323232;
	--label: #808080;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
	font-family: 'Open Sans Condensed', Helvetica, serif;
	font-size: 1.3em;
	color: var(--text);
	background-color: var(--bgcolor);
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

h1 {
	font-variant: small-caps;
	font-weight: 700;
	font-size: 2.5em;
	margin: 0;
}

h2 {
	font-variant: small-caps;
	font-weight: 700;
	font-size: 2.0em;
	color: var(--highlight);
}


a {
	text-decoration: none;
	color: var(--highlight);
}

p {
	text-align: justify;
}

section {
	width: 100%;
	padding: 2% 7%; 
	display: table;
	max-width: none;
	background-color: var(--bgodd);
	min-height: 100vh;
	height: 100vh;
}

section:nth-of-type(2n) {
	background-color: var(--bgeven);
}

.intro {
	height: 90vh;
}

.container {
	width: 100%;
	display: table;
	vertical-align: middle;
}

.left-intro {
	display: table-cell;
	vertical-align: middle;
	text-align: right;
	width: 12em;
}

.middle-intro {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
}

.right-intro {
	display: table-cell;
	vertical-align: middle;
	text-align: right;
	border-left: 1px solid var(--vertbar);
	padding-left: 1em;
	width: 12em;
}

.content {
	display: table-cell;
	vertical-align: middle;
}

.bottom {
	display: table-cell;
	vertical-align: bottom;
	width: 100%;
}

.row {
	display: table-row;
	width: 100%;
}

.label {
	display: table-cell;
	vertical-align: top;
	text-align: right;
	color: var(--label);
	padding: 10px 20px;
	min-width: 10em;
}

.value {
	display: table-cell;
	vertical-align: top;
	text-align: left;
	padding: 10px 20px;
}

ul.nav {
	margin: auto;
	padding: 0;
	list-style-type: none;
	color: var(--dim);
	font-weight: 300;
}

ul.nav li {
	display: inline;
	padding-right: 0.5em;
	padding-left: 0.4em;
	border-right: 0.5px solid var(--dim);
}

ul.nav li:last-child {
	border-right: none;
}

ul.nav li a {
	text-decoration: none;
	color: var(--dim);	
}

ul.nav li a:hover {
	color: var(--highlight);
}

ul.blue-bullets li::before {
	content: "\2022"; /* CSS/Unicode for a bullet */
    font-weight: 900;
	color: var(--highlight);
	display: inline-block;
	width: 1.5em;
	margin-left: -1.5em;
	padding-let: 0;
}

ul.blue-bullets li {
	list-style: none;
	padding-left: 0;
	margin-left: 1.5em;
}

ul.blue-bullets {
	margin-top: 0;
	margin-bottom: 0;
	font-weight: 300;
	text-align: justify;
	padding-left: 0;
}

.p-top-none {
	padding-top: 0;
}

.p-top-sm {
	padding-top: 10px;
}

.p-top-med {
	padding-top: 20px;
}

.p-top-lrg {
	padding-top: 30px;
}

ul.contact-details {
	padding: 0;
}

ul.contact-details li {
	list-style: none;
}

.icon-path {
	color: var(--highlight);
}

.company, .position, .team, .course {
	font-weight: 700;
}

.company {
	color: var(--highlight);
}

.text-light {
	font-weight: 300;
}

.text-bold {
	font-weight: 700;
}

footer {
	width: 100%;
	display: table;
	padding: 10px 7%;
	max-width: none;
	background-color: var(--bgfooter);
}

.footer {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	color: var(--label);
	font-size: small;
}

.footer-left {
	width: 10%;
	text-align: left;
	display: table-cell;
	text-align: right;
	vertical-align: middle;
	color: var(--label);
	font-size: small;	
}

.footer-right {
	width: 10%;
	display: table-cell;
	text-align: right;
	vertical-align: middle;
	color: var(--label);
	font-size: small;
}

.arrow{
    position: absolute;
    border: none;
    background-color: rgba(0, 0, 0, 0);
    bottom: 5%;
    left: 50%;
    margin: 0;
    padding: 0;
    transform: translate(-50%,-50%);
}

.arrow span{
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 5px solid var(--highlight);
    border-right: 5px solid var(--highlight);
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrow span:nth-child(2){
    animation-delay: -0.2s;
}

.arrow span:nth-child(3){
    animation-delay: -0.4s;
}

@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}

/* iPads and similar */
@media only screen and (max-device-width: 1200px) {
	
	@media screen and (orientation: portrait) {
		html {
			font-size: 1.0em;
		}
		
		h1 {
			font-size: 2.5em;
		}
		
		h2 {
			font-size: 2.0em;
		}
		
		.footer, .footer-left, .footer-right {
			font-size: 0.8em;
		}
	
	}
	
	@media screen and (orientation: landscape) {
		html {
			font-size: 0.9em;
		}
		
		h1 {
			font-size: 2.3em;
		}
		
		h2 {
			font-size: 1.8em;
		}
		
		.footer, .footer-left, .footer-right {
			font-size: 0.7em;
		}

	}
			
	.arrow span {
		width: 15px;
		height: 15px;
		margin: -7px;
		border-bottom: 4px solid var(--highlight);
		border-right: 4px solid var(--highlight);
	}
}

/* iPhones and similar */
@media only screen and (max-device-width: 800px) {
	
	@media screen and (orientation: portrait) {
		html {
			font-size: 1.2em;
		}
		
		h1 {
			font-size: 2.5em;
		}
		
		h2 {
			font-size: 2.0em;
		}
		
		.footer, .footer-left, .footer-right {
			font-size: 0.8em;
		}
		
		.arrow span {
			width: 20px;
			height: 20px;
			margin: -10px;
			border-bottom: 5px solid var(--highlight);
			border-right: 5px solid var(--highlight);
		}
	}
	
	@media screen and (orientation: landscape) {
		html {
			font-size: 0.9em;
		}
		
		h1 {
			font-size: 2.3em;
		}
		
		h2 {
			font-size: 1.8em;
		}
		
		.footer, .footer-left, .footer-right {
			font-size: 0.7em;
		}
		
		.arrow span {
			width: 20px;
			height: 20px;
			margin: -10px;
			border-bottom: 3px solid var(--highlight);
			border-right: 3px solid var(--highlight);
		}
	}
		
	ul.nav {
		display: block;
	}
	
	ul.nav li {
		display: block;
		padding: 0;
		border: none;
	}
	
}

@media only screen and (hover: none) {	
	ul.nav li a:hover {
		color: var(--dim);
	}
}

