@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 1s;
    border-bottom: 1px solid rgb(82, 255, 109);
}

a.fake {
    border: none;
    transition: none;
}

a:hover {
    color: rgb(82, 255, 109);
}

a.fake:hover {
    color: inherit;
}

/* NAVBAR AND HEADER */

#title {
	margin-top: auto;
	margin-bottom: auto;
	color: dimgray;
}


nav.navbar {
    margin: 0 10%;
    width: 80%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 8px;
    z-index: 1000;
}

nav.navbar .mobile {
    display: none;
}

nav.navbar .title {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

nav.navbar .title img {
    height: 30px;
    width: auto;
    margin-right: 8px;
}

nav.navbar .title p {
    font-weight: 700;
    font-size: large;
}

nav.navbar .links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: -15px;
}

nav.navbar .links .link {
    padding: 10px 0px;
    margin: 0 15px;
    padding-bottom: 0px;
    cursor: pointer;
    font-weight: 300;
    font-size: 14px;
}

nav.navbar .links .link hr {
    border: 1px solid transparent;
    width: 70%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 5px;
    border-radius: 5px;
    transition: border-color .6s;
}

nav.navbar .links .link:hover hr, nav.navbar .links .link.active hr {
    border-color: rgb(82, 255, 109);
}

div.nav.mobile {
    position: absolute;
    height: 40vh;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    left: 60%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    visibility: hidden;
    opacity: 0;
    transition: .5s;
}

div.nav.mobile .element {
    font-weight: 700;
    padding: 30px 10px 0 0;
    font-size: 3vw;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    color: #37383c;
    transition: color 1s, border-color 1s;
    width: max-content;
}

div.nav.mobile .element:hover,  div.nav.mobile .element.active {
    border-color: rgb(82, 255, 109);
    color: rgb(82, 255, 109);
}

.menu {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#menuIcon {
	content: url("Icons/right.png");
	margin-right: 8px;
	user-select: none;
}

.menu img {
	transition: transform 0.3s;
}

.symmetry img {
	transform: scaleX(-1);
}



.mapContainer {
	padding-top: 46px;
	height: calc(100% - 46px);
}


#drawer {
	position: absolute;;
	
	right: 0;
	top: 46px;
	padding: 16px;
	
	border-top: 0.5px solid lightgray;
	
	width: 25%;
/*	max-width: 50%;*/
	height: calc(100% - 46px - 32px - 1px);
	
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	
	background-color: rgba(255, 255, 255, 0.8); 
	
	transition: transform .4s ease;
}

.slidingDrawer {
	transform: translateX(100%);
	-webkit-transform: translateX(100%);
}


.infoDiv {
	line-height: 2.5em;
	user-select: none;
}

.infoDiv:not(:first-child) {
	padding-top: 64px;
}

.infoDiv > ul {
	list-style-type: none;
}

.infoDiv li {
	border-bottom: 0.5px solid lightgray;
	border-width: thin;
}

.infoDiv detail {
	float:right;
	padding-right: 8px;
	color: dimgray;
	padding-left: 32px;
	
}

.divHeader {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.divHeader detail {
	float:right;
	padding-right: 8px;
	color: dimgray;
	padding-left: 32px;
}

detail a {
	transition: none;
	border-bottom: 1px solid dimgray;
}

detail a:hover {
	color: dimgray;
}

#sliderContainer {
	padding-top: 24px;
	width: 100%;
}

#slider {
	width: 100%;
	margin-bottom: 16px;
	-webkit-appearance: none;
	height: 3px;
	border-radius: 5px;
	background: #d3d3d3;
	outline: none;
	opacity: 0.7;
	-webkit-transition: .2s;
	transition: opacity .2s;

}

#slider:hover {
	opacity: 1;
}

#slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 22px;
	height: 22px;
	box-shadow: 0px 0px 26px 0px #bdbdbd;
	border-radius: 50%;
	background: white;
	cursor: pointer;
}

#slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: white;
	cursor: pointer;
	border: 1px solid black;
}

.menu span {
	visibility: hidden;
	text-decoration: underline;
	text-underline-offset: 4px;
}

#bottomLinks {
	position: fixed;
	bottom: 9%;
	width: 90%;
	text-align: right;
	padding-right: -16px;
}

@media screen and (max-width: 1000px) {
	
	#title {
		/*visibility: hidden;*/
	}
	/*
	#titleTracks {
		visibility: hidden;
	}*/
	
	.menu img {
		display: none;
	}
	
	.menu span:before {
		content: 'Hide';
	}
	
	.symmetry span:before {
		content: 'Show';
	}
	
	.menu span {
		visibility: visible;
	}
	
	.menu {
		/*margin-top: 50%;*/
		margin-bottom: 50%;
		vertical-align: middle;
	}
	
	#icon {
		padding-top: 4px;
	}
	
	#titleTracks {
		content: '';
		display: block;
		line-height: 0.8em;
	}
	
	.mapContainer {
		padding-top: 0px;
		height: 100%;
	}
	
	nav.navbar {
		margin: 0 0%;
		margin-left: 4px;
		top: 0.3em;
	}
	
	#drawer {
		position: absolute;
		
		right: auto;
		top: auto;
		padding: 16px;
		
		border-top: none;
		
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		
		bottom: 0;
		width: calc(100% - 32px);
		height: auto;
		
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		background-color: rgba(255, 255, 255, 0.8); 
	}
	
	.slidingDrawer {
		transform: translateY(100%);
		-webkit-transform: translateY(100%);
	}
	
	.infoDiv:not(:first-child) {
		padding-top: 8px;
	}
	
	#menuIcon {
		/*content:url("Icons/down.png");
		margin-right: 64px;*/
		/*visibility: hidden;*/
	}
	
	#menuIcon::after {
		content: 'Show';
	}
	
/*
	#bottomLinks {
		position: inherit;
		bottom: inherit;
		width: 100%;
		text-align: left;
		padding-left: 16px;
	}
*/
}



@media (prefers-color-scheme: dark) {
	#drawer {
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		
		background-color: rgba(64, 64, 64, 0.8);
	}
	
	.menu span {
		color: white;
	}
	
	.body {
		background-color: #282828;
		color: white;
	}
	
	.infoDiv detail {
		color: #969696;
	}
	
	.infoDiv li {
		border-bottom: 0.5px solid #606060;
	}
	
	#menuIcon {
	    -webkit-filter: invert(100%); /* Safari/Chrome */
	    filter: invert(100%);
	}
}