/**
Theme Name: NM
Author: NM
Author URI: muslic.at
Version: 1.0
*/
:root {
  --black: #000000;
  --white: #ffffff;
  --nm-light-blue: #e1e2ea;
  --nm-dark-blue: #2f3144;
  --nm-light-grey: #f2f2f2;
}

/* General style for all interactive elements */
a:focus-visible,
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
.menu-icon:focus-visible {
  outline: 1px dotted var(--nm-dark-blue) !important;
  outline-offset: 2px;
}

/*fonts*/
/* bebas-neue-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/bebas-neue-v14-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* heebo-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Heebo";
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/heebo-v22-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

p {
  margin: 0 0 12px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-widget-container .elementor-heading-title,
.elementor-counter-number,
.elementor-image-carousel-caption {
  font-family: "Bebas Neue";
  line-height: 1.3em;
  letter-spacing: 1px;
}

body,
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  font-family: "Heebo" !important;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6em;
  color: var(--black);
}
* {
  box-sizing: border-box;
}

a {
  color: var(--nm-dark-blue);
}

img {
  max-width: 100%;
  height: auto;
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  background-color: var(--nm-light-blue);
  width: 50%;
  height: 50%;
  position: absolute;
  right: 0;
  bottom: -30px;
  z-index: -1;
}

.button_top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  display: none;
  background: var(--nm-dark-blue);
  padding: 0;
  width: 36px;
  height: 36px;
}

.header__wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1140px;
  padding: 0 15px;
  margin: 0 auto;
  align-items: center;
}

.header__container {
  background-color: var(--nm-light-grey);
  padding: 15px 0;
}

.header__logo {
  flex: 50%;
  align-self: end;
}

.header__logo a {
  color: var(--nm-dark-blue);
  text-decoration: none;
}

.navigation__contact {
  font-family: "Bebas Neue";
  line-height: 1.6em;
  letter-spacing: 1px;
  padding: 0;
  margin: 0;
}
.navigation__contact li {
  list-style-type: none;
}

.navigation__contact li:first-child {
  margin-bottom: 12px;
}

.navigation__contact li a {
  text-decoration: none;
  color: var(--nm-dark-blue);
  font-size: 28px;
}

.header__mobile__wrapper {
  flex: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navigation {
  max-width: 500px;
  height: 100vh;
  width: 100%;
  background-color: var(--white);
  position: fixed;
  left: 0;
  margin-left: -100%;
  top: 0;
  z-index: 11;
  padding: 50px;
  display: flex;
  text-align: center;
  transition: all 0.5s;
  align-items: center;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
}

div.navigation.is-open {
  margin-left: 0;
  visibility: visible;
  opacity: 1;
}

#menu-hauptnavigation a {
  color: var(--nm-dark-blue);
  font-family: "Bebas Neue";
  font-size: 22px;
  line-height: 1.6em;
  letter-spacing: 1px;
  text-decoration: none;
}

#menu-hauptnavigation li {
  list-style-type: none;
}

.navigation__wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.header__logo-image {
  max-width: 150px;
}

.modal-open {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  transition: all 0.5s;
}

.modal-open-body {
  overflow: hidden;
}

.navigation__logo {
  max-width: 250px;
  margin: 0 auto;
  display: block;
}

/*css menü */
.menu-icon {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background-color: var(--white);
  z-index: 111;
}
.menu-icon .menu-icon__cheeckbox {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
  z-index: 2;
  -webkit-touch-callout: none;
  position: absolute;
  opacity: 0;
}
.menu-icon div {
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 12px;
}
.menu-icon span {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--bar-bg, #000);
  border-radius: 1px;
  transition: all 0.2s cubic-bezier(0.1, 0.82, 0.76, 0.965);
}

.menu-icon__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* Prevent text from wrapping */
  border: 0;
}

.menu-icon span:first-of-type {
  top: 0;
}
.menu-icon span:last-of-type {
  bottom: 0;
}
.menu-icon.active span:first-of-type,
.menu-icon .menu-icon__cheeckbox:checked + div span:first-of-type {
  transform: rotate(45deg);
  top: 5px;
}
.menu-icon.active span:last-of-type,
.menu-icon .menu-icon__cheeckbox:checked + div span:last-of-type {
  transform: rotate(-45deg);
  bottom: 5px;
}
.menu-icon.active:hover span:first-of-type,
.menu-icon.active:hover span:last-of-type,
.menu-icon:hover .menu-icon__cheeckbox:checked + div span:first-of-type,
.menu-icon:hover .menu-icon__cheeckbox:checked + div span:last-of-type {
  width: 22px;
}
@media (min-width: 1024px) {
  .menu-icon:hover span:first-of-type {
    width: 26px;
  }
  .menu-icon:hover span:last-of-type {
    width: 12px;
  }
}
