@font-face {
  font-family: "Paprika";
  src: url("/fonts/Paprika.ttf.woff") format("woff"), url("/fonts/Paprika.ttf.svg#Paprika") format("svg"), url("/fonts/Paprika.ttf.eot"), url("/fonts/Paprika.ttf.eot?#iefix") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
}
* {
  box-sizing: border-box;
}

html {
  font-family: "Paprika", sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body {
  margin: 0;
  min-height: 100vh;
  background-image: url("/images/taust.jpg");
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a {
  color: hsl(0, 50%, 50%);
  font-weight: bold;
}

a:hover {
  color: black;
}

img {
  max-width: 100%;
}

.multiline {
  white-space: pre-line;
}

.center {
  text-align: center;
}

.block-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2em;
}

.block-list__anchor {
  position: relative;
  top: -90px;
}

.contact {
  display: flex;
  font-size: 13px;
  background-color: hsl(0, 0%, 96%);
  align-items: center;
  padding: 0.5em;
}
@media (max-width: 640px) {
  .contact {
    font-size: 11px;
  }
}

.contact__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact__details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.contact__logo {
  flex-grow: 1;
  text-align: right;
  padding-right: 1em;
}

.content {
  max-width: 1000px;
  margin: 2em auto;
  padding: 0.5em 1em;
}
@media (max-width: 640px) {
  .content {
    font-size: 14px;
  }
}

.eas {
  display: flex;
  background-color: white;
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 10px;
  padding: 10px;
  border: 2px solid hsl(0, 0%, 82%);
  align-items: center;
}

.eas__text {
  font-size: 22px;
  line-height: 1.4;
  white-space: pre-line;
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
  padding: 0 1.5em;
}
@media (max-width: 800px) {
  .eas__text {
    font-size: 2.5vw;
  }
}

.eas__large {
  font-size: 120%;
}

.eas__image {
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .eas__image {
    flex-shrink: 1;
  }
}

.gallery {
  max-width: 900px;
  margin: 3em auto;
  line-height: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery__image {
  width: 280px;
  height: 280px;
  transition: filter 0.6s;
  margin: 3px;
}
@media (max-width: 640px) {
  .gallery__image {
    width: 140px;
    height: 140px;
  }
}

.gallery__image:hover {
  filter: brightness(20%);
}

.image--shadow {
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 3px;
  max-height: 600px;
}

.image--center {
  align-self: center;
}

.image-pair {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}

.image-pair__img {
  width: 48%;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 3px;
}
@media (max-width: 640px) {
  .image-pair__img {
    width: 100%;
  }
}

.map-embed {
  border: 0;
  width: 100%;
  height: 50vw;
  max-height: 540px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 3px;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 1em 0.5em;
  font-size: 18px;
  letter-spacing: 1px;
  background-color: white;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
  text-transform: uppercase;
  line-height: 3;
  position: sticky;
  top: 0;
  z-index: 1;
}
@media (max-width: 640px) {
  .nav {
    font-size: 12px;
    line-height: 2;
  }
}

.nav__link {
  display: inline-block;
  color: black;
  transition: color 200ms;
}

.nav__link:hover {
  color: hsl(0, 50%, 50%);
}

.page-header {
  margin-bottom: 1em;
}

.pria {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-top: 3em;
}

.pria img {
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 3px;
}

.pria--info {
  width: 100%;
  max-width: 800px;
  margin: auto;
  margin-bottom: 3em;
}

.problem-list {
  text-align: center;
  font-size: 130%;
  width: 80%;
  margin: auto;
  margin-top: 3em;
}
@media (max-width: 640px) {
  .problem-list {
    margin-top: 0;
  }
}

.service-list__item {
  font-size: 16px;
}

.service-list__item:not(:first-child) {
  margin-top: 1em;
}

.service-problems {
  margin-left: 1em;
  font-size: 85%;
}

.service-problems__link {
  color: black;
}

.service-problems__link:hover {
  color: hsl(0, 50%, 50%);
}

.slideshow {
  display: none;
}

.slideshow__image {
  height: 220px;
  margin-right: 4px;
}
@media (max-width: 640px) {
  .slideshow__image {
    height: 140px;
  }
}

.slideshow__title {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: hsla(0, 0%, 0%, 0.4);
  color: white;
  padding: 0.1em 0.4em;
  font-size: 90%;
}
@media (max-width: 640px) {
  .slideshow__title {
    font-size: 12px;
  }
}

.slick-slide {
  position: relative;
}

.mfp-title {
  text-align: center;
  margin-top: 0.8em;
}

img.mfp-img {
  padding-bottom: 50px;
}

.mfp-bottom-bar {
  margin-top: -50px;
}

.mfp-figure:after {
  bottom: 50px;
}