@font-face {
  font-family: "cocobold";
  src: url("./MyFontsWebfontsKit/webfonts/3AAA8C_0_0.eot");
  src: url("./MyFontsWebfontsKit/webfonts/3AAA8C_0_0.woff") format("woff");
}
p, strong, h2, h1 {
  font-family: 'cocobold',Helvetica, sans-serif;
}
body {
  margin: 0px;
  overflow: hidden;
}
h1 {
  text-align: center;
  color: rgb(46,49,146);
  margin-bottom: 4px;
}

.leaflet-bottom .leaflet-control.legend {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(33,33,33,.5);
  margin: 0 0 20px 20px;
  font-size: 13px;
}

i.circle {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

#mapid { height: 715px; }

p {
  margin: 0;
  display: inline-block;
}

path {
  transition: all .3s;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.clicked {
  font-weight: bold;
}

.labels {
  display: flex;
}

.reset {
  margin-left: auto;
}

header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  padding: 10px;
}
.logo {
  width: 200px;
  height: auto;
  display: block;
  margin: auto;
  margin-top: -20px;
}

.price,.camera {
  display: block;
  margin-top: 10px;
}

.priceCalc, .reset, .legendItem {
  cursor: pointer;
}

.paidHidden {
  opacity: 0;
}

i.square {
  border-radius: 0;
}

.icon {
  width: 50px;
  height: auto;
}

.filter {
  position: absolute;
  display: none;
}
.closeLegend {
  display: none;
}

.overlay, .animation {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgb(46,49,146);
  z-index: 100000;
}

.animation {
  z-index: 1000000;
  transition: all .3s;
}

.animation div {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: block;
}
.gif {
  width: 85%;
  height: auto;
  margin: 40px auto;
  display: block;
  border-radius: 20px;
}

.white {
  position: relative;
  background-color: #fff;
  margin: 5vh auto;
  border-radius: 30px;
  height: 90vh;
  width: 90vw;
}

.mainOverlay {
  display: flex;
  flex-direction: column;
}

.mainOverlay h2 {
  color: rgb(46,49,146);
  margin: 0 auto;
}

.mainOverlay p {
  margin: 15px auto 0;
  width: 50%;
  text-align: center;
}

.mainOverlay h2 {
  margin-top: 30px;
}

.mainOverlay button {
  background-color: #fbae17;
  border: 0;
  padding: 15px;
  border-radius: 8px;
  color: #fff;
  font-family: 'cocobold';
  font-size: 20px;
  cursor: pointer;
  width: 150px;
  margin: 15px auto 0;
}

.mainOverlay .buttons {
  margin: 0 auto;
}
.mainOverlay .buttons button {
  font-size: 13px;
  padding: 5px 0px 0; 
  width: 100px;
}

.mainOverlay .buttons img {
  width: 40px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.overlaylogo {
  width: 320px;
  height: auto;
  margin: 0 auto;
  margin-top: -40px;
  margin-right: 466px;
}

.overlay {
  transition: all .3s;
}

.hide {
  opacity: 0;
  pointer-events: none;
}

@media only screen and (max-width: 800px) {
  header {
    grid-template-columns: 1fr 3fr;
  }
  header h1 {
    grid-column-start: 2;
    text-align: right;
  }
}
@media only screen and (max-width: 650px) {
  header h1{
    font-size: 20px;
    text-align: left;
    grid-column-start: 2;
    text-align: right;
  }
  header img.logo {
    width: 150px;
  }

  .filter {
    display: block;
    left: 5px;
    bottom: 15px;
    width: 25px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border: 1px solid rgba(33,33,33,.8);
    border-radius: 8px;
    transition: all .3s;
  }
  .hideFilter {
    opacity: 0;
    pointer-events: none;
  }
  .leaflet-bottom .leaflet-control.legend {
    margin: auto auto 0 0;
    margin-bottom: 90px;
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
  }
  .leaflet-bottom .leaflet-control.legend.show {
    pointer-events: all;
    opacity: 1;
  }
  .leaflet-bottom {
    bottom: 40px;
    width: 100%;
    display: flex;
  }
  .closeLegend {
    display: inline-block;
    font-weight: bolder;
    text-align: right;
    margin-left: 47%;
  }
  .icon {
    width: 30px;
    height: auto;
  }
  .overlaylogo {
    width: 320px;
    height: auto;
    margin: 0 auto;
    margin-top: -40px;
    margin-right: 5px;
  }
  .gif {
    margin-top: 55%;
    width: 80%;
  }
}
@media only screen and (max-width: 450px) {
  header h1{
    font-size: 20px;
  }
  header img.logo {
    width: 150px;
  }
}

.legend br:first-of-type {
  display: none;
}