/* importeer het Colendra font uit onze eigen map */
@font-face {
  font-family: 'Colendra';
  src: url('../assets/ColendraRegular.otf');
  font-style: normal;
  font-weight: 300;
}

/* importeer ook de bold gedrukte versie van het Colendra font
   uit onze eigen map */
@font-face {
  font-family: 'Colendra';
  src: url('../assets/ColendraBold.otf');
  font-style: normal;
  font-weight: 700; /* bold */
}

/* CSS reset */
*, html {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
}

/* Stel een plaatje van de stippen uit de ISGA guide in als achtergrond
   en herhaal dit patroon */
body {
	background-image: url('../images/dot_background.png');
	background-repeat: repeat;
	/*margin: 25px 10% 25px 10%;*/
}

/* onderstaande styles voor de <h1>, <h2> en <p> tags geven een voorbeeld
   hoe je de geimporteerde fonts kunt gebruiken.
   Op je eigen website mag je natuurlijk andere lettertypes, groottes, en
   kleuren, etc. voor deze tags gebruiken. */
   


/* ----------------------
	FONTS
---------------------- */
h1 {
	/* font-family: 'Colendra', sans-serif;    */
	font-size: 18pt;
	line-height: 1.8em;
	color: #1D1D1B;
	font-weight: 700; /* bold */
	margin: 30px 0 20px 0;
}
h2 {
	/* font-family: 'Colendra', sans-serif;    */
	font-size: 18pt;
	line-height: 1.8em;
	color: #1D1D1B;
	font-weight: 600;
	margin: 30px 0 20px 0;
}
h1, h2, h3 {
	color: #5FB2AC;
	font-weight: bold;
	font-family: 'Josefin Sans', sans-serif;
}
h3 {
	margin: 30px 0 10px 0;
	font-size: 1.1em;
}
h4 {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: bold;
	color: #312D46;
}
p {
	margin: 0 0 1.5em 0;
    line-height: 1.30em;
}
p, a, body {
	font-family: 'Josefin Sans', sans-serif;
	font-size: 14pt
}

/* list items */
ul li {
	display: block;
	line-height: 1.8em;
}
ul li a {
	text-decoration: none;
}

/* links */
a {
    text-decoration: none;
    color: #D94837;
}
a.btn {
	background-color: #312D46;
    color: #5FB2AC;
    text-decoration: none;
    padding: 10px 20px;
	border-radius: 20px;
}
a.more {
    text-transform: uppercase;
    color: #312D46;
    font-size: 0.8em;
    position: absolute;
	right: 0;
	margin-right: 20px;
	font-weight: 600;
}
a.more:after {
	content: '';
	position: absolute;
	right: -20px;
	background-image: url('../images/icon-right.svg');
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

h1 span {
	color: #1D1D1B;
    font-size: 50px;
}

span {
	font-weight: 600;
	color: #D94837;
}

/* list items */
ol {
	position: relative;
	margin: 20px 0px 40px 0px ;
}
ol li {
    margin-left: 20px;
    margin-bottom: 20px;
	line-height: 1.30em;
}
ol li::marker {
	color: #D94837;
	font-weight: 600;
}

/* ----------------------
	LOADING SCREEN
---------------------- */
.loadingscreen{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	position: absolute;
	width: 100%;
	height: 100vh;
	background-color: white;
	background-image: url('../images/dot_background.png');
	/* for now when coding home screen */
	display: none;
	visibility: hidden;
	/* animation */
	animation: loadingscreen 5s linear 1 normal forwards;
}

/* animation */  
  @keyframes loadingscreen {
	0% {
		opacity: 1;
		visibility: visible;
		z-index: 100;
	}
	80% {
		opacity: 1;
		z-index: 100;
	}
	100% {
		opacity: 0;	  
		visibility: hidden;
		position: absolute;
		z-index: -1;
	}
  }

header a img {
	width: 100px;
}

.loadingscreen h1 {
	font-weight: 400;
	text-align: center;
}
.loadingscreen section:nth-of-type(1) {
	text-align: center;
	margin-top: 160px;
}
.loadingscreen section:nth-of-type(1) img {
	width: 75%;
	text-align: center;
	margin-bottom: 20px;
}
.loadingscreen section:nth-of-type(2) {
	width: 100%;
	height: 300px;
	background-image: url('../images/amsterdam-houses-front.svg');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom;
}




/* ----------------------
	COMMON
---------------------- */
header, footer {
	width: 100%;
	height: 50px;
	background-color: #5FB2AC;
	display: flex;
	align-items: center;
	padding: 0 1.5em;
}
main {
	/* margin: 25px 10% 25px 10%; */
	margin: 25px 6% 25px 6%;
}
.subitem main > div:nth-of-type(1) {
	width: 100%;
	height: 190px;
	background-color: #312D46;
	/* for background image */
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.subitem main {
	margin-bottom: 80px;
}

.logo {
	width: 100px;
}

.image {
    width: 100%;
    height: 200px;
    background: #312D46;
	margin-top: 50px;
	margin-bottom: 30px;
}

/* footer */
footer {
	position: fixed;
	bottom: 0;
	padding: 0 2.5em;
	/* if not works with loadingscreen */
	/* z-index: -1; */
}
footer nav {
	width: 100%;
}
footer ul {
	width: 100%;
    display: flex;
    justify-content: space-between;
}
footer ul li {
	list-style: none;
	display: inline-block;
}
footer ul li a {
	text-decoration: none;
}
footer img {
	width: 30px;
	height: 100%;
}



/* ----------------------
	HOME SCREEN
---------------------- */
.homepage main h3 {
	margin-top: 60px;
}

.homepage ul.menu-list {
	position: relative;
}
.homepage ul.menu-list li a {
	margin-left: 50px;
	display: flex;
    align-items: center;
}
/* home list items icons */
.homepage ul.menu-list li a:before {
	content: '';
	position: absolute;
	left: 0;
    width: 28px;
	height: 28px;
	background-image: url('../images/bike-icon.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.homepage ul.menu-list li:nth-of-type(2) a:before {
	background-image: url('../images/train-icon.svg');
}
.homepage ul.menu-list li:nth-of-type(3) a:before {
	background-image: url('../images/metro-icon.svg');
}
.homepage ul.menu-list li:nth-of-type(4) a:before {
	background-image: url('../images/walk-icon.svg');
}
/* end home list items icons */

ul.menu-list li {
	list-style: none;
	padding: 0.5em 0;
	border-bottom: 1px solid #CBCBCB;
	font-size: 1.2em;
}
ul.menu-list li:nth-of-type(1){
	border-top: 1px solid #CBCBCB;
}
ul.menu-list li a{
	text-decoration: none;
	font-weight: bold;
	color: #5FB2AC;
}
.homepage h1 span {
	font-size: 28px;
}

.homepage main > img {
    width: 65%;
    margin-bottom: 40px;
}



/* ----------------------
	OFFLINE MAP SCREEN
---------------------- */
.offlinemap main img {
	width: 100%;
	margin-bottom: 50px;
}




/* ----------------------
	EXTRA INFO SCREEN
---------------------- */
.info ul.menu-list li a {
    text-decoration: none;
    font-weight: normal;
    color: #1D1D1B;
}




/* ----------------------
	CYCLING SCREEN
---------------------- */
.cycling main > div {
	background-image: url('../images/cycle-image-big.svg');
}

.cycling .image {
	background-image: url('../images/routes-image.jpg');
}

.dropdown-menu {
	position: relative;
}
.dropdown-menu h3 {
	font-weight: 600;
	font-size: 1.2em;
	color: #312D46;
}
.dropdown-menu h3:After {
	content: '';
	position: absolute;
	right: 0;
	background-image: url('../images/icon-down.svg');
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
/* child display none */
.dropdown { 
	display: none;
}
/* parent hover child gets display block */
.dropdown-menu article:hover .dropdown{
	display: block;
}
.dropdown-menu article:hover h3:After {
	background-image: url('../images/icon-up.svg');
}

.dropdown-menu img {
	margin-top: 30px;
	width: 100%;
}




/* ----------------------
	BACKGROUND IMAGES SUBITEMS 
---------------------- */
.subitem.train main > div {
	background-image: url('../images/amsterdam-trains-font.svg');
}
.subitem.subway main > div {
	background-image: url('../images/amsterdam-subway-font.svg');
}
.subitem.walking main > div {
	background-image: url('../images/amsterdam-walking-font.svg');
}
.subitem.ov-chipcard main > div {
	background-image: url('../images/ov-chipcard.svg');

}
.subitem.routes main > div {
	background-image: url('../images/routes-image.jpg');
}