*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  color: #2c2e35;
  display: flex;
  flex-direction: column;
  height: 100%;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  margin-top: 0;
}

.bold {
  font-weight: bold;
}

.header-main,
.main-page {
  background-color: #fffbe6;
}

.header-about,
.about-page {
  background-color: #ffd4c4;
}

.header-datenschutz,
.datenschutz-page,
.header-impressum,
.impressum-page {
  background-color: #b9dfdf;
}

.container {
  max-width: 1400px;
  width: 90%;
  margin: auto;
}

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 10;
  padding: 30px 0;
  flex: 0 0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 100px;
  height: 100px;
  display: flex;
  border-radius: 50%;
  border: 1px solid #2c2e35;
  overflow: hidden;
  margin-bottom: -65px;
}

.header-button {
  display: none;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  z-index: 10;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.header-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15px;
  margin-top: -1px;
}

.header-button span,
.header-button span::before,
.header-button span::after {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #2c2e35;
  transition: background-color 0.1s ease, transform 0.4s ease;
}

.header-button span::before,
.header-button span::after {
  position: absolute;
  content: '';
}

.header-button span::before {
  top: -10px;
}

.header-button span::after {
  top: 10px;
}

.header-nav-list {
  display: flex;
  align-items: center;
}

.header-nav-item:not(:last-child) {
  margin-right: 20px;
}

.header-nav-item:not(:last-child)::after {
  content: '|';
  margin-left: 20px;
}

.header-nav-item--active {
  font-weight: bold;
}

.header-nav-link {
  color: inherit;
  text-transform: uppercase;
  text-decoration: none;
}

.header-about,
.header-impressum,
.header-datenschutz {
  padding-bottom: 90px;
}

.main {
  padding-top: 250px;
  padding-bottom: 30px;
  position: relative;
  flex-grow: 1;
}

.main-image-wrapper {
  position: absolute;
  left: 0;
  top: 95px;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.main-header {
  text-align: right;
  font-size: 36px;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 360px;
}

.main-author {
  font-size: 14px;
  padding: 3px 8px;
  background-color: rgba(255, 251, 229, 0.8);
}

.footer {
  flex: 0 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}

.footer-social {
  display: flex;
  align-items: center;
}

.footer-info-list {
  display: flex;
  align-items: center;
}

.footer-info-item:not(:last-child) {
  margin-right: 8px;
}

.footer-info-item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
}

.footer-social-link {
  width: 30px;
  height: 30px;
  padding: 3px;
  border-radius: 50%;
  overflow: hidden;
}

.footer-social-link:not(:last-child) {
  margin-right: 10px;
}

.footer-social-icon {
  width: 100%;
  height: 100%;
}

.about-wrapper {
  display: flex;
  justify-content: center;
}

.about,
.datenschutz,
.impressum {
  padding-top: 200px;
  flex-grow: 1;
}

.about-wrapper,
.datenschutz-wrapper,
.impressum-wrapper {
  max-width: 1000px;
}

.about-image {
  max-width: 300px;
  max-height: 300px;
  object-fit: cover;
  margin-right: 40px;
}

.about-content {
  font-size: 19.7px;
  line-height: 1.35;
}

.datenschutz p,
.impressum p {
  font-size: 18px;
  line-height: 1.4;
}

.disclaimer-title {
  font-size: 2em;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .header {
    padding: 25px 0;
  }

  .header-about,
  .header-impressum,
  .header-datenschutz {
    padding-bottom: 80px;
  }

  .about,
  .datenschutz,
  .impressum {
    padding-top: 160px;
  }

  .main-image-wrapper {
    top: 75px;
  }

  .main-header {
    font-size: 30px;
  }

  .logo {
    width: 80px;
    height: 80px;
    margin-bottom: -55px;
  }

  .datenschutz p,
  .impressum p {
    font-size: 16px;
  }

  .about-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .about-content {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 20px 0;
  }

  .header-about,
  .header-impressum,
  .header-datenschutz {
    padding-bottom: 70px;
  }

  .header-button {
    display: block;
  }

  .header-button.active span {
    background-color: transparent;
  }

  .header-button.active span::before {
    transform: translateY(10px) rotate(45deg);
  }

  .header-button.active span::after {
    transform: translateY(-10px) rotate(-45deg);
  }

  .header-nav {
    position: fixed;
    z-index: 2;
    right: -100%;
    left: 100%;
    top: 0;
    bottom: 0;
    transition: left 0.3s ease, right 0.3s ease;
    padding: 80px 0;
  }

  .impressum-page .header-nav,
  .datenschutz-page .header-nav {
    background-color: #b9dfdf;
  }

  .about-page .header-nav {
    background-color: #ffd4c4;
  }

  .main-page .header-nav {
    background-color: #fffbe6;
  }

  .header-nav.active {
    left: 0;
    right: 0;
  }

  .header-nav-list {
    flex-direction: column;
  }

  .header-nav-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .header-nav-item:not(:last-child)::after {
    display: none;
  }

  .main-header {
    font-size: 28px;
  }

  .about-content {
    font-size: 16px;
  }

  .header-nav-list {
    font-size: 24px;
  }
}
