/**
 * Theme Name:        Elektropolis
 * Description:       The Elektropolis Theme
 * Version:           1.0.0
 * Author:            Thorsten Hallscheidt
 * Author URI:        https://atseesite.de
 * Text Domain:       elektropolis
 * Domain Path:       /assets/lang
 * Tested up to:      6.9
 * Requires at least: 6.2
 * Requires PHP:      8.1
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */
/***************** Fonts ***********************/
@font-face {
  font-family: "Zalando Sans";
  src: url("./assets/fonts/ZalandoSans-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans";
  src: url("./assets/fonts/ZalandoSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Zalando Sans";
  src: url("./assets/fonts/ZalandoSans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
/***************** Fonts ***********************/
/***************** Font Sizes ***********************/
/***************** Line Heights ***********************/
/***************** Colors ***********************/
/***************** Spacing ***********************/
/***************** Width ***********************/
/***************** Responsive ***********************/
/***************** Misc ***********************/
/***************** Reset ***********************/
html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Zalando Sans", Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

/***************** Typography ***********************/
h1,
h2,
h3,
h4 {
  margin: 0 0 20px;
  font-family: "Zalando Sans", Helvetica, Arial, sans-serif;
  font-weight: 900;
  line-height: 1.15;
  color: #111;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 22px;
}

p {
  margin: 0 0 20px;
}

strong,
b {
  font-weight: 900;
}

/***************** Links ***********************/
a {
  color: #111;
  transition: color 0.3s ease;
}
a:hover {
  color: #666;
}

/***************** Layout ***********************/
.has-element-width-small,
.has-element-width-medium,
.has-element-width-wide {
  width: calc(100% - (2 * 3vw));
  margin-inline: auto;
}

.has-element-width-small {
  max-width: 800px;
}

.has-element-width-medium {
  max-width: 1200px;
}

.has-element-width-wide {
  max-width: 1600px;
}

/***************** Helpers ***********************/
.uppercase {
  text-transform: uppercase;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/***************** Mobile ***********************/
@media all and (max-width: 600px) {
  body {
    font-size: 18px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }
}
/***************** Header ***********************/
.header-wrapper {
  position: relative;
  z-index: 100;
  width: 100%;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - (2 * 3vw));
  max-width: 1600px;
  margin-inline: auto;
}

/***************** Logo ***********************/
.logo-wrap {
  flex: 0 0 auto;
}
.logo-wrap a {
  display: block;
}
.logo-wrap img {
  width: auto;
  max-width: 220px;
}

/***************** Navigation ***********************/
.header-navigation {
  /***************** Dropdown ***********************/
}
.header-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-navigation a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}
.header-navigation > .header-menu > .menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header-navigation > .header-menu > .menu > .menu-item {
  position: relative;
}
.header-navigation > .header-menu > .menu > .menu-item > a {
  display: block;
  padding: 20px 0;
  font-size: 18px;
}
.header-navigation .menu-item > a:hover,
.header-navigation .current-menu-item > a,
.header-navigation .current-menu-ancestor > a,
.header-navigation .current_page_item > a,
.header-navigation .current-page-ancestor > a {
  color: #666;
}
.header-navigation .menu-item-has-children {
  position: relative;
}
.header-navigation .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.header-navigation .menu-item-has-children:hover > .sub-menu, .header-navigation .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.header-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.header-navigation .sub-menu .menu-item + .menu-item {
  border-top: 1px solid #ddd;
}
.header-navigation .sub-menu a {
  display: block;
  padding: 12px 16px;
  white-space: nowrap;
}

/***************** Hamburger ***********************/
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger-menu .line {
  width: 30px;
  height: 2px;
  margin: 4px 0;
  background: #111;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-menu.open .line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.hamburger-menu.open .line:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.open .line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/***************** Mobile Navigation ***********************/
@media all and (max-width: 1024px) {
  .header-content {
    /*min-height: 80px;*/
  }

  .hamburger-menu {
    display: flex;
  }

  .header-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 20px 3vw;
    background: #fff;
    border-top: 1px solid #ddd;
  }
  .header-navigation.visible {
    display: block;
  }
  .header-navigation > .header-menu > .menu {
    display: block;
  }
  .header-navigation > .header-menu > .menu > .menu-item + .menu-item {
    border-top: 1px solid #ddd;
  }
  .header-navigation > .header-menu > .menu > .menu-item > a {
    padding: 12px 0;
  }
  .header-navigation .menu-item-has-children > a::after {
    display: none;
  }
  .header-navigation .sub-menu {
    position: static;
    min-width: 0;
    padding-left: 20px;
    border: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .header-navigation .sub-menu .menu-item + .menu-item {
    border-top: 0;
  }
  .header-navigation .sub-menu a {
    padding: 8px 0;
    white-space: normal;
  }
}
/***************** Content Widths ***********************/
.variable-content > * {
  width: calc(100% - (2 * 3vw));
  /*max-width: $content-width;*/
  margin-inline: auto;
}

.variable-content > .alignwide,
.variable-content > .has-element-width-wide {
  max-width: 1600px;
}

.variable-content > .alignfull,
.variable-content > .fullwidth {
  width: 100%;
  max-width: none;
}

/***************** Gutenberg Basics ***********************/
.wp-block-image {
  margin-bottom: 40px;
}
.wp-block-image img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.wp-block-quote {
  margin: 40px 0;
  padding-left: 20px;
  border-left: 2px solid #ddd;
}

.wp-block-separator {
  margin-block: 60px;
  border: 0;
  border-top: 1px solid #ddd;
}

.wp-block-button__link {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
}

/***************** Mobile ***********************/
@media all and (max-width: 600px) {
  .wp-block-image {
    margin-bottom: 20px;
  }

  .wp-block-separator {
    margin-block: 40px;
  }
}
/***************** Book Reader ***********************/
.book-reader {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  margin-top: 40px;
  outline: none;
}

/***************** Viewer ***********************/
.book-reader__viewer {
  position: relative;
  width: 100%;
  min-height: 850px;
}

/***************** Controls ***********************/
.book-reader__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/***************** Navigation ***********************/
.book-reader__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}
.book-reader__nav:hover {
  opacity: 0.7;
}
.book-reader__nav:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.book-reader__nav:disabled {
  opacity: 0.2;
  cursor: default;
}
.book-reader__nav span {
  display: block;
  margin-top: -3px;
}

.book-reader:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  padding: 20px;
  background: #111;
}

.book-reader:fullscreen .book-reader__viewer {
  width: 100%;
  height: calc(100vh - 100px);
}

.book-reader:fullscreen .book-reader__controls {
  color: #fff;
}

/***************** Seitenzahl ***********************/
.book-reader__status {
  min-width: 100px;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

/***************** Mobile ***********************/
@media all and (max-width: 600px) {
  .book-reader__viewer {
    min-height: 600px;
  }

  .book-reader__controls {
    margin-top: 10px;
  }

  .book-reader__nav {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
}
.placeholder {
  width: 100%;
  height: 100vh;
}
.placeholder .wp-block-group__inner-container,
.placeholder picture,
.placeholder img {
  display: block;
  width: 100%;
  height: 100%;
}
.placeholder img {
  object-fit: contain;
  object-position: top;
}

/***************** Footer ***********************/
footer {
  padding-block: 60px;
}
footer .footer-menu .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
footer .footer-menu a {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer .footer-menu a:hover {
  color: #666;
}

/***************** Mobile ***********************/
@media all and (max-width: 600px) {
  footer {
    padding-block: 40px;
  }
  footer .footer-menu .menu {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/*# sourceMappingURL=style.css.map */
