body {
  padding: 0;
  margin: 0;
}

body.impressum {
  font-family: 'Roboto Condensed', sans-serif;
}

header {
  height: 94px;
  margin-left: 10px;
  /*border-bottom: 1px solid rgba(0,0,0,.14);*/
}

#logo {
  width: 300px;
}

#logo.small {
  width: 200px;
}

#title, body.impressum h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.0636;
}

#subtitle, body.impressum h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.36364;
  color: rgb(87, 84, 82);
  display: block;
}

#panel {
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.impressum #content.sub-page #panel {
  padding: 0 30%;
}

#content.sub-page #panel {
  justify-content: flex-start;
  padding: 0 20%;
}

.link {
  font-family: 'Roboto Condensed', sans-serif;
  color: rgb(124, 119, 116);
  font-size: 16px;
  text-decoration: underline;
  display: inline;
}

.link:hover {
  text-decoration: none;
}

.impressum-link {
  display: block;
  margin-top: 20px;
}

#pic1, #pic2, #pic3 {
  border-radius: 100%;
  position: fixed;
  width: 300px;
  border: 8px solid #cfdd97;
}

#pic1 {
  top: 150px;
  left: 80px;
}

#pic2 {
  top: 80px;
  right: 150px;
}

#pic3 {
  right: 70px;
  bottom: 150px;
}

table {
  width: 446px;
}

table td {
  padding: 15px;
  font-family: 'Roboto Condensed', sans-serif;
  color: #637381;
  border-bottom: 1px dotted rgba(0,0,0,.14);
}

table td:first-child {
  width: 50%;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-container .icon {
  margin-right: 5px;
}

@media (hover: none) {
  body {
    padding: 50px;
  }

  body.sub-page {
    padding: 20px;
  }

  #pic1, #pic2, #pic3 {
    display: none;
  }

  #logo {
    width: 77%;
    height: auto;
  }

  #logo.small {
    width: 55%;
  }

  .link {
    font-size: 2vh;
    margin-bottom: 20px;
    line-height: 2;
  }

  .icon-container .icon {
    display: none;
  }

  table {
    width: 100%;
    font-size: 2.5vh;
  }

  body.impressum #content.sub-page #panel {
    padding: 0 10%;
  }

  #content.sub-page #panel {
    padding: 0;
  }

  #content.sub-page h1#title {
    margin-top: 0;
  }

  #content, #panel {
    height: 100%;
  }

  h1#title {
    font-size: 7vh;
  }

  h2#subtitle {
    font-size: 3vh;
  }

  #contact {
    font-size: 2vh;
    margin-bottom: 20px;
  }
}

@media only screen
and (device-width : 414px)
and (device-height : 896px)
and (-webkit-device-pixel-ratio : 3) {
  body {
    padding: 50px;
  }

  body.sub-page {
    padding: 20px;
  }

  #pic1, #pic2, #pic3 {
    display: none;
  }

  #logo {
    width: 77%;
    height: auto;
  }

  #logo.small {
    width: 55%;
  }

  .link {
    font-size: 2vh;
    margin-bottom: 20px;
    line-height: 2;
  }

  .icon-container .icon {
    display: none;
  }

  table {
    width: 100%;
    font-size: 2.5vh;
  }

  body.impressum #content.sub-page #panel {
    padding: 0 10%;
  }

  #content.sub-page #panel {
    padding: 0;
  }

  #content.sub-page h1#title {
    margin-top: 0;
  }

  #content, #panel {
    height: 100%;
  }

  h1#title {
    font-size: 7vh;
  }

  h2#subtitle {
    font-size: 3vh;
  }

  #contact {
    font-size: 2vh;
    margin-bottom: 20px;
  }
}

 @media only screen
 and (device-width : 375px)
 and (device-height : 812px)
 and (-webkit-device-pixel-ratio : 3) {
  body {
    padding: 50px;
  }

  body.sub-page {
    padding: 20px;
  }

  #pic1, #pic2, #pic3 {
    display: none;
  }

  #logo {
    width: 77%;
    height: auto;
  }

  #logo.small {
    width: 55%;
  }

  .link {
    font-size: 2vh;
    margin-bottom: 20px;
    line-height: 2;
  }

  .icon-container .icon {
    display: none;
  }

  table {
    width: 100%;
    font-size: 2.5vh;
  }

  body.impressum #content.sub-page #panel {
    padding: 0 10%;
  }

  #content.sub-page #panel {
    padding: 0;
  }

  #content.sub-page h1#title {
    margin-top: 0;
  }

  #content, #panel {
    height: 100%;
  }

  h1#title {
    font-size: 7vh;
  }

  h2#subtitle {
    font-size: 3vh;
  }

  #contact {
    font-size: 2vh;
    margin-bottom: 20px;
  }
 }

 @media only screen
and (device-width : 414px)
and (device-height : 896px)
and (-webkit-device-pixel-ratio : 2) {
  body {
    padding: 50px;
  }

  body.sub-page {
    padding: 20px;
  }

  #pic1, #pic2, #pic3 {
    display: none;
  }

  #logo, #logo.small {
    width: 77%;
    height: auto;
  }

  #logo {
    width: 77%;
    height: auto;
  }

  #logo.small {
    width: 55%;
  }

  .icon-container .icon {
    display: none;
  }

  table {
    width: 100%;
    font-size: 2.5vh;
  }

  body.impressum #content.sub-page #panel {
    padding: 0 10%;
  }

  #content.sub-page #panel {
    padding: 0;
  }

  #content.sub-page h1#title {
    margin-top: 0;
  }

  #content, #panel {
    height: 100%;
  }

  h1#title {
    font-size: 7vh;
  }

  h2#subtitle {
    font-size: 3vh;
  }

  #contact {
    font-size: 2vh;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    padding: 50px;
  }

  body.sub-page {
    padding: 20px;
  }

  #pic1, #pic2, #pic3 {
    display: none;
  }

  #logo {
    width: 77%;
    height: auto;
  }

  #logo.small {
    width: 55%;
  }

  .link {
    font-size: 2vh;
    margin-bottom: 20px;
    line-height: 2;
  }

  .icon-container .icon {
    display: none;
  }

  table {
    width: 100%;
    font-size: 2.5vh;
  }

  body.impressum #content.sub-page #panel {
    padding: 0 10%;
  }

  #content.sub-page #panel {
    padding: 0;
  }

  #content.sub-page h1#title {
    margin-top: 0;
  }

  #content, #panel {
    height: 100%;
  }

  h1#title {
    font-size: 7vh;
  }

  h2#subtitle {
    font-size: 3vh;
  }

  #contact {
    font-size: 2vh;
    margin-bottom: 20px;
  }
}