/*
Theme Name: Maxherrmann
Author: GU-CO
Author URI: https://www.gu-co.de
Theme URI:
Tags: full-site-editing, block-patterns
Text Domain: maxherrmann
Requires at least: 6.1
Requires PHP: 7.4
Tested up to: 6.2
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
}

main {
  margin: 0 auto;
  max-width: 2400px;
  padding: 0 1.5rem;
}
@media screen and (min-width: 600px) {
  .wp-block-navigation__container,
  .wp-block-navigation__container li,
  .wp-block-navigation__container a {
    width: 100%;
    display: block;
  }
}
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation-item
  a {
  width: 100%;
}
/* .wp-block-navigation__container,
.wp-block-navigation__container li,
.wp-block-navigation__container a {
  width: auto;
  display: flex;
} */

a.wp-block-navigation-item__content {
  text-decoration: none;
  color: var(--wp--preset--color--contrast) !important;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}

a.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--primary) !important;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.current-menu-item a.wp-block-navigation-item__content {
  color: var(--wp--preset--color--primary) !important;
  font-weight: 500;
  letter-spacing: 0.0725rem;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
  border-color: var(--wp--preset--color--primary);
  box-shadow: none;
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
.wp-element-button,
.wp-block-button__link {
  transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
}
