body,
html {
  height: 100%;
  margin: 0px;
}
.container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.container .top {
  text-align: center;
}
.container .map {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0px;
  background-color: white;
  display: flex;
  flex-direction: column;
  position: relative;
}

.container .map #mapid {
  flex-grow: 1;
  z-index: 10;
}

.container .map .info {
  display: block;
  z-index: 20;
  position: absolute;
  justify-content: center;
  visibility: hidden;
  
  height: 80%;
  width: 90%;
  left: 5%;
  top: 5%;
}

@media only screen and (min-width: 750px) {

.container .map .info {
  height: 80%;
  width: 70%;
  left: 25%;
  top: 10%;
}

}

@media only screen and (min-width: 1300px) {

.container .map .info {
  height: 80%;
  width: 40%;
  left: 50%;
  top: 10%;
}

}

.container .kofi {
  z-index: 100;
  display: block;
  position: absolute;
  left: 10px;
  bottom: 10px;
}


.infoboxiflexparent {
  width: 100%;
  display: flex;
  gap: 10px;

  overflow: hidden;



}

.infoboxiflexholder {
  flex-grow: 1;
  overflow: hidden;
  max-height: 350px;
  display:flex;

}

.infoboxiflexitem {
  height: auto;
    width: 100%;
  align-self: center;

}


.container .map .info .infoboxi {

  visibility: hidden;

  background-color: rgba(86, 35, 26, 0.95);
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 15px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  position: relative;
  font-size: 0.9em;
  font-family: Arial, Helvetica, sans-serif;

}

.container .map .info .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}


.container .map .info .infoboxi .h1 {

color: #efd0af;
font-size: 1.4em;
font-family: Oswald, sans-serif;

}

.container .map .info .infoboxi .h2 {

color: #d8a57c;
font-size: 1.2em;
font-family: Oswald, sans-serif;

}




.container .bottom {
  background-color: brown;
  text-align: center;
}


.infolinkki {
  color: #ffffff;
}

#map {
  z-index: 100;
  position: absolute;
  top: 50px;
  display: flex;
  width: 50vw; 
  height: 90vh;	
}


.text {
  text-align: center;
  margin: 0 auto;
  width: 90%;
  padding-top: 60px;
}

@media only screen and (min-width: 750px) {

.container .text {
  width: 60%;

}
}

@media only screen and (min-width: 1300px) {

.container .text {
  width: 40%;

}
}

.container .text .h1 {

color: #56241b;
font-size: 1.8em;
font-family: Oswald, sans-serif;


}

.container .text .h2 {

color: #d8a57c;
font-size: 1.4em;
font-family: Oswald, sans-serif;

}

.container .text .h3 {

color: #c2a288;
font-size: 1.1em;
font-family: Oswald, sans-serif;

}


/* pop-upin animaatio */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}