/*
Theme Name: bsTheme
Theme URI: http://brotsalz.de/
Author: brot & salz
Author URI: http://www.brotsalz.de
Description: brot & salz Theme
Version: 1.0.8
Tested up to: 6.8.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bstheme
Tags: brot&salz, tailor-made-theme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

bsTheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* * Header
* --------------------------------------------- */
.site__header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}

.logo_wrapper.header :is(img, svg) {
  height: 3rem;
  width: auto;
}

/* Nav down */
.scrolling {
  background: #fff;
  box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
  -moz-box-shadow: 0 4px 3px rgba(0, 0, 0, 0.07);
}

/* * Nav Button
* --------------------------------------------- */
body.nav__open {
  overflow: hidden;
}

#menu_burger {
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: none;
}

#menu_burger.circle {
  border: 3px solid var(--cDef);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
}

#menu_burger .menu_burger__button_wrapper {
  width: 1.6rem;
  height: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

#menu_burger span {
  width: 100%;
  height: 0.2rem;
  background-color: var(--cDef);
  transition: 0.3s all ease;
}

#menu_burger span:nth-of-type(3) {
  width: 50%;
}

/* * Hover */
#menu_burger:hover span:nth-of-type(3) {
  width: 100%;
}

/* * Active */
#menu_burger.active span:nth-of-type(1) {
  transform: translate(0, 190%) rotate(45deg);
}

#menu_burger.active span:nth-of-type(2) {
  transform: translate(0, 0) rotate(-45deg);
}

#menu_burger.active span:nth-of-type(3) {
  opacity: 0;
}

/* * Navigation Overlay
* --------------------------------------------- */
#navigation_overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--cLight);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.01);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 98;
}

#navigation_overlay.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* * Social Media Icons
* --------------------------------------------- */
.social_media__item svg {
  width: auto;
  height: 2rem;
}

.social_media__item svg path {
  fill: var(--cDef);
}

/* * Footer
* --------------------------------------------- */
.footer_end {
  font-size: 16px;
}

.footer_end p {
  margin-bottom: 0;
}
