@font-face {
  font-family: ProductR;
  src: url(ProductSans-Regular.woff), "woff"; src: url(ProductSans-Regular.woff2), "woff2";
}
@font-face {
  font-family: ProductM;
  src: url(ProductSans-Medium.woff), "woff"; src: url(ProductSans-Medium.woff2), "woff2";
}
*{
  font-family:ProductR, Arial, Helvetica, sans-serif;
  margin:0;
  padding:0;
}
body{
  background-color: #404040;
  min-width: 300px;
}
#spotify {
    position: absolute;
    font-family: ProductM;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    z-index: 1000 !important;
    background-color: #1B00C9;
    color:#fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 21px;
  }
  #spotify:hover{
    background-color: #404040;
    cursor: pointer; 
  }
  .spotify{
    position: absolute;
    height: 220px;
    width: 500px;
    top: 520px;
    background-color: #404040;
    right:10px;
    color: white;
  }
  .genres{
    margin: 10px 20px;
    height: 25px;
  }
  .genres p{
    margin:0;
  }
  #dans1{
    position: absolute;
    bottom: 80px;
    left:20px;
    width: 170px;
  }
  #tijd{
    margin-left: 20px;
    margin-top: 20px;
  }
  #dans1 p{
    margin: 0;
  }
  #dans{
    width: 100%;
  }
  .callback{
    margin: auto;
    text-align: center;
    background-color: #404040;
    color: #fff;
    width: 100%;
    height: 100%;
    font-family: ProductR;
    margin-top:40px;
  }
  .logs1{
    display: none;
    position: relative;
    max-height: 35%;
    height: auto;
    overflow: auto;
    border: 2px #fff solid;
    border-radius: 5px;
    margin:20px;
    text-align: left;
  }
  h1{
    font-family: ProductM;
    color: #1DB954;
    margin:40px;
  }
  p{
    margin: 10px;
    font-size: 16px;
  }
  .titel{
    font-family: ProductM;
     color: #1DB954;
     font-size: 20px;
     font-weight: 700;
  }
#spotifyPlayer iframe{
  position: absolute;
  width: calc(100% - 20%) !important;
  height: 65%;
  left: 10%;
}
#spotifyPlayer{
  height: 600px;
  margin-bottom: 200px;
}
.leaflet-top,  .leaflet-right{
  font-size: 24px !important;
  position: absolute;
  right:10px;
  width: 500px;
  /* background-color: #404040; */
}
.leaflet-routing-container, .leaflet-bar leaflet-control{
  position: absolute;
  top: 10%;
  width: 100%;
  background-color: #404040;
  color: #fff;
}
.leaflet-routing-geocoder input{
  font-size: 18px !important;
  /* height: 100%; */
  width: 90%;
  background-color: #404040;
  color: #fff;
  border-radius: 5px;
  padding:0px 5px;
}
.leaflet-routing-alt, .leaflet-routing-alt h2, .leaflet-routing-alt h3 {
  font-size: 18px !important;
  height: 100%;
}
.leaflet-routing-alt-minimized{
  display: none;
}
.leaflet-routing-geocoders button {
  color: #fff;
  background-color: #404040;
}
.leaflet-routing-remove-waypoint:after {
  display: none;
  font-size: 24px;
  color: #fff;
  background-color: #404040;
  right: -30px;
  top: 4px;
}
.map-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
}

.map {
  width: 100%;
  height: 100%;
  position: relative;
}

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  margin: -76px 0 0 -76px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #1DB954;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

#myDiv {
  display: none;
  text-align: center;
}

@media only screen and (max-width: 600px) {
  .map-wrapper{
    height: 80%;
  }
  .spotify{
    width: 100%;
    bottom: 0px;
    top: auto; 
    right: 0%;
    color: white;
  }
  #spotify{
    width: 90%;
    border-radius: 10px;
  }
  .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar{
    border: none;
    border-radius: 10px;
  }
  .leaflet-top{
    right: 5%;
    width: 90%;
    background-color: #404040;
    bottom: 190px;
    top:auto;
    border-radius: 10px;
  }
  .leaflet-bottom leaflet-right{
    display: none;
  }
  .leaflet-routing-geocoders {
    background-color: #404040;
    border:none;
    border-radius: 5px;
  }
  .leaflet-routing-alternatives-container, .leaflet-routing-collapse-btn{
    display: none;
  }
}
.share-buttons {
  margin: 20px 0px;
  display: flex;
  justify-content: center;
}
.share-buttons button {
  margin: 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  color: white;
  background-color: #1db954;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}
.share-buttons button:hover {
  background-color: #14833b;
}
.progress-bar-container {
  width: 80%;
  background-color: #e0e0e0;
  border-radius: 25px;
  margin: 20px 0;
  margin: auto;
  overflow: hidden;
}
.progress-bar {
  width: 0%;
  height: 30px;
  background-color: #1db954;
  border-radius: 25px;
  text-align: center;
  line-height: 30px;
  color: white;
  transition: width 0.5s ease-in-out;
}
.note {
  position: absolute;
  top: 0;
  left: 50%;
  font-size: 24px;
  opacity: 0;
}
.fly {
  animation: fly 2s linear infinite;
  opacity: 1;
}
@keyframes fly {
  0% {
    transform: translate(-50%, 0) scale(0);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, 150px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 300px) scale(0);
    opacity: 0;
  }
}
@media only screen and (max-height: 851px) {
  .map-wrapper{
    height: 100%;
  }
}
@media only screen and (max-height: 850px) {
  .map-wrapper{
    height: 75%;
  }
}
@media only screen and (max-height: 800px) {
  .map-wrapper{
    height: 70%;
  }
}
@media only screen and (max-height: 700px) {
  .map-wrapper{
    height: 70%;
  }
}
