@import url("https://fonts.googleapis.com/css?family=Roboto:400");

@font-face {
  font-family: "DINPro-Black";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/DINPro-Black.otf") format("opentype"), url("../fonts/DINPro-Black.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "DINPro-CondensedBold";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/DINPro-CondBold.otf") format("opentype"), url("../fonts/DINPro-CondBold.woff") format("woff");
  font-display: swap;
}

html { -webkit-text-size-adjust: none; }

* {
  box-sizing: border-box;
}

a,
button {
  display: inline-block;
  transition: all 0.2s;
  color: inherit;
  cursor: pointer;
}

a:hover,
button:hover {
  text-decoration: none;
}

a:focus,
button:focus {
  outline: 0;
}

button {
  padding: 0;
  border: 0;
  background-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul a {
  display: inline-block;
}

html {
  overflow-x: hidden;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  min-width: 320px;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.42;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1274px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    max-width: 92%;
  }
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DINPro-Black", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 900;
  margin-top: 30px;
  margin-bottom: 30px;
}

p,
span {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

h1 {
  font-size: 56px;
  line-height: 1;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 16px;
}

p {
  line-height: 1.2;
  font-size: 20px;
}

span {
  font-weight: 600
}

.s2 {
  padding: 50px 0 15px;
}

.s3 {
  margin-top: 60px;
}

.s4 {
  padding: 80px 0 0;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    max-width: 92%;
  }
}

.s2__box, .s5__box {
  margin: 0 auto;
  max-width: 940px;
  text-align: center;
}


.s2__text, .s5__text {
  max-width: 930px;
  text-align: center;
  margin: 15px 0;
}

img.stitle__sign {
  vertical-align: baseline;
  margin: 0 0.27em 0 0;
  width: 0.8em;
}

.map {
  width: 100%;
  height: 100vh;
}


.s4__box {
  margin: 0 auto;
  max-width: 880px;
  text-align: left;
}

.s4__box p {
  margin-top: 30px;
}

.s5 {
    padding: 40px 0 80px;
}

.transition,
ul li i:before,
.map-legend {
  transition: all 0.25s ease-in-out;
}

.flipIn,
ul li,
.map-legend {
  animation: flipdown 0.5s ease both;
}


ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}

ul li {
  position: relative;
  padding: 0;
  margin: 0;
  padding-bottom: 30px;
  padding-top: 18px;
}

ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}

ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}

ul li:nth-of-type(3) {
  animation-delay: 1s;
}

ul li:last-of-type {
  padding-bottom: 0;
}

ul li i {
  position: absolute;
  transform: translate(-20px, 0px);
  margin-top: 0;
  right: 0px;
}

ul li i:before {
  content: "\25BC";
  position: absolute;
  font-size: 1.6rem;
}

ul li i:before {
  transform: rotate(0deg);
}

ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  touch-action: manipulation;
}

ul li input[type=checkbox]:checked~p,
ul li input[type=checkbox]:checked~.map-legend {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
}

ul li input[type=checkbox]:checked~i:before {
  transform: rotate(180deg);
}


@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }

  5% {
    opacity: 1;
  }

  80% {
    transform: rotateX(8deg);
  }

  83% {
    transform: rotateX(6deg);
  }

  92% {
    transform: rotateX(-3deg);
  }

  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }
}

.s4__box h3 {
  border-bottom: 3px solid #FBDD00;
  padding-bottom: 17px;
  margin: 0;
}


.col-sm div {
  align-items: center;
  display: flex;
}

.col-sm label {
  font-size: 16px;
  font-family: 'DINPro-CondensedBold';
  text-align: left;
  line-height: 1;
}

.map-legend {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}


.map-legend h4 {
  margin: 0;
  margin-top: 13px;
}


.map-legend .flex-row-2 {
  align-items: flex-start;
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: start;
  gap: 0px 30px;
  margin-bottom: 20px;
}

.map-legend label {
  font-size: 16px;
  font-family: 'DINPro-CondensedBold';
  line-height: 1.2;
  text-align: center;
  max-width: 120px;
  text-transform: uppercase;
}

.map-legend .poi {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 115px;
}

.map-legend span {
  background-size: 100% 100%;
  height: 67px;
  width: 67px;
}

#dsns {
  background-image: url(../img/dsns.svg);
}

#punkt {
  background-image: url(../img/punkt.svg);
}

#railw {
  background-image: url(../img/railw.svg);
}

#rda {
  background-image: url(../img/rda.svg);
}

#rda1 {
  background-image: url(../img/rda1.svg);
}

#starost {
  background-image: url(../img/starost.svg);
}

#school {
  background-image: url(../img/school.svg);
}

#other {
  background-image: url(../img/other.svg);
}

#gas {
  background-image: url(../img/gas.svg);
}

#bank {
  background-image: url(../img/bank.svg);
}

#cafe {
  background-image: url(../img/cafe.svg);
}

#shop {
  background-image: url(../img/shop.svg);
}

#retail {
  background-image: url(../img/retail.svg);
}
#farmacy {
  background-image: url(../img/farmacy.svg);
}

img#kmu {
height: auto;
width: 230px;
margin-left: 30px;
}

#creds {display: flex;}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  width: 264px;
  max-width: 100%;
  height: 62px;
  border: 3px solid #000000;
  border-radius: 37px;
  font: 20px/1.2 "DINPro-CondensedBold", sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);

}

.btn.become-host {
  background: transparent;
  color: #000000;
}

.btn.ver-mapa {
  background: #000000;
  color: #FBDD00;
}

.s5 .btn  {
    display: inline-flex;
}

.s5 p {margin-bottom: 30px;}

footer,
header {
  padding: 0;
  color: #000000;
  background: #FBDD00;
}

footer .footer__inner {
  bottom: 0;
  left: 0;
  padding: 60px;
  width: 100%;
}

header .header__inner {
  top: 0;
  left: 0;
  padding: 20px;
  width: 100%;
}

footer nav,
header nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

footer img {
  width: 180px;
}

.footer__copyright {
  margin: 25px 0 0 0;
}

.footer__partners {
  margin-bottom: 5px;
}

@media only screen and (min-device-width: 480px) and (max-width: 768px) {

  footer nav,
  header nav {
    flex-direction: column-reverse !important;
    align-items: center;
  }

  footer nav div,
  header nav div {
    padding-bottom: 25px;
  }

  section.s2 {
    padding: 0 0 15px;
  }

  .s2__box, .s5__box {
    text-align: left;
  }

  h1 {
    font-size: 40px;
    text-align: center;
    line-height: 1;
  }

  p.s2__text {
    text-align: left;
  }

  .row {
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
  }

  .col-sm img {
    width: 8rem;
  }

  .col-sm label {
    font-size: 23px;
  }

  .col-sm div {
    height: 100px;
  }

 .s3 {
      margin-top: 0;
  }
  .s3 .container {
      padding: 0 !important;
  }
  .map-legend .flex-row-2 {
    margin-top: 20px;
    gap: 10px 0;
  }
  .map-legend .poi {
      width: 125px;
  }
}
@media only screen and (-webkit-device-pixel-ratio: 3) {

  footer nav,
  header nav {
    flex-direction: column-reverse !important;
    align-items: center;
  }

  footer nav div,
  header nav div {
    padding-bottom: 25px;
  }
  header .header__inner {

  padding: 20px 0 0 0;
 
  }

  section.s2 {
    padding: 0 0 15px;
  }

  .s2__box {
    text-align: left;
    margin: 0 auto;
  }

  h1 {
        font-size: 30px;
        line-height: 1;
    }
  
  p {
        text-align: left !important;
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
  h3 {
font-size: 1.3rem;
  letter-spacing: -0.03em;   
  text-align: left; 
  }

  .row {
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
  }

  .col-sm img {
    width: 6rem;
  }

  .col-sm label {
 font-size: 1.3rem;
  }

  .col-sm div {
    height: 80px;
  }

 .s3 {
      margin-top: 0;
  }
  .s3 .container {
      padding: 0 !important;
  }
  .map-legend .flex-row-2 {
        margin-top: 20px;
        gap: 10px 0px;
        margin-left: -10px;
        margin-right: -10px;
    }
  .map-legend .poi {
        width: 120px;
    }
  .s5 {padding: 0 0 40px;}
}