@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot');
  src: url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-v30-latin-500.eot');
  src: url('../fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), url('../fonts/roboto-v30-latin-500.woff') format('woff'), url('../fonts/roboto-v30-latin-500.ttf') format('truetype'), url('../fonts/roboto-v30-latin-500.svg#Roboto') format('svg');
}

@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v30-latin-700.eot');
  src: url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 1rem;
}

body {
  color: #231f20;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  font-weight: 400;
}

#wrapper {
  max-width: 700px;
  margin: 16px auto;
  border: 10px solid #077b51;
  background-color: #fff;
  position: relative;
}

.background {
  background: #E0E7F0 url(../images/background.jpg) bottom no-repeat;
  padding: 16px 28px 175px;
  position: relative;
}

header {
  display: flex;
  justify-content: center;
}

article p {
  padding-left: 18px;
  font-size: 17px;
}

.qrcode {
  position: absolute;
  right: 8px;
  bottom: 0;
}

footer {
  padding: 16px 28px 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  background: #077b51;
}

.kontakt {
  flex: 1 1 0;
}

.kontakt :is(p, p a) {
  color: #fff !important;
}

footer strong {
  font-weight: 500;
}

p:not(:last-of-type) {
  margin: 0 0 7px;
}

strong {
  font-weight: 700;
}

h1 {
  padding-left: 18px;
  margin: 16px 0;
  font-weight: 700;
  font-size: 23px;
  line-height: 28px;
}

h1 small {
  display: block;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

h1 span {
  font-size: 16px;
  line-height: 20px;
}

h1:before {
  content: '\25A0';
  color: #f79424;
  float: left;
  font-size: 24px;
  text-indent: -20px;
}

h2 {
  padding: 0 16px;
  font-weight: 700;
  font-size: 47px;
  line-height: 52px;
  box-shadow: 3px 3px 8px #6b6b6b;
  background: #077C52;
  color: #fff;
  text-align: center;
}

h3 {
  margin: 0 0 6px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
  color: #231f20;
  text-decoration: none;
}

@media all and (max-width: 700px) {
  #wrapper {
    margin: 0;
    border: none;
  }

  .background {
    background-size: 100%;
    padding: 16px 16px 28%;
    position: relative;
  }

  footer {
    padding: 16px;
  }

  footer figure {
    position: static;
    display: flex;
    justify-content: center;
  }

  :is(p, h1) {
    hyphens: auto;
    text-wrap: pretty;
  }

  :is(a, span) {
    white-space: nowrap;
  }

  br:not(footer br) {
    display: none;
  }
}

@media all and (max-width: 500px) {
  .qrcode {
    width: 20%;
  }

  footer {
    flex-direction: column;
    align-items: center;
  }

  h3,
  .kontakt p {
    text-align: center;
  }
}