.marco-fiorido {

  font-family: "Karla", sans-serif;
  margin: 0;
  color: rgb(0, 0, 0);

  left: 50%;
  transform: translate(-50%,0);
  text-align: center;
  padding: 0;
  display: flex;
  list-style: none;
  flex-direction: row;
  height: 3.5rem;
  align-items: center;
  position: absolute;
}

.ma-fi {
  color: rgb(0, 0, 0);
  font-family: "Karla", sans-serif;
  letter-spacing: 3px;
  text-decoration: none;
  position: relative;
  top:1px;
}
.main-header {
  position: fixed;
  top: 0px;
  min-height: 3.5rem;
  width: 100%;
  z-index: 100;
}

.main-header__nav {
  top: 0px;
  align-items: center;
  min-height: 3.5rem;
  width: 100%;
  height: 3.5rem;
  background-color: rgb(255, 255, 255);
  padding: 0 1.5rem;
}

.main-header__item-list {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  flex-direction: row;
  height: 3.5rem;
  align-items: center;
  position: absolute;
  left: 0;
}

.main-header__item {
  list-style: none;
  margin: 0 1rem;
  padding: 0;
}

.main-header__nav {
  height: 3.5rem;
  display: flex;
  align-items: center;
}

.main-header__item a {
  font-family: "Karla", sans-serif;
  text-decoration: none;
  color: rgb(0, 0, 0);
}
.main-header__item {
  font-family: "Karla", sans-serif;
  text-decoration: none;
  color: rgb(0, 0, 0);
}
.main-header__languages {
  font-family: "Karla", sans-serif;
  text-decoration: none;
  color: rgb(0, 0, 0);
  position: absolute;
  right: 0;

  text-align: center;
  padding: 0;
  display: flex;
  list-style: none;
  flex-direction: row;
  height: 3.5rem;
  align-items: center;
}

.languages {
  color: rgb(0, 0, 0);
  display: flex;
  flex-direction: row;
  text-decoration: none;
  position: relative;
  top:1px;
}

.main-header__item a:hover,
.main-header__item a:active,
.main-header__item a.active {
  /*color: rgb(55, 0, 143);*/
  text-decoration: underline;
}

.box {
  border-radius: 3px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  display: none;
  cursor: pointer;
  text-align: center;
  justify-content: center;
  align-items: center;
}


.for_slide_down {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5rem;
  transition: 700ms;
  z-index: 2000;
  animation-delay: 0s;
  opacity: 1;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}


.sub-menu {
  font-size: 1rem;
  position: absolute;
  top: 3.15rem;
  overflow: hidden;
  text-transform: none;
}
.sub-menu_zahner {
  top: 5.15rem;
}

.fast_cut_link {
  opacity: 0;
  transform: translate(0, -100%);
}

.monnier_zahner_link {
  opacity: 0;
  transform: translate(0, -100%);
}


.for_backdrop {
  background-color: #ffffff;
  position: absolute;
  top: -5.5rem;
  left: -1.5rem;
  width: calc(100% + 3rem);
  height: 9rem;
}


.main-header__item-groups{
  height: 3.5rem;
}


@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.btn {
  margin-top: 6px;
  position: relative;
  cursor: pointer;
  display: block;
}

span {
  margin: auto;
  display: block;
  width: 85%;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  height: 4px;
  background: rgb(0, 0, 0);
  transition: all 0.3s;
  position: relative;
}

span + span {
  margin-top: 8px;
}

.active span:nth-child(1) {
  animation: ease 0.7s top forwards;
}

.not-active span:nth-child(1) {
  animation: ease 0.7s top-2 forwards;
}

.active span:nth-child(2) {
  animation: ease 0.7s scaled forwards;
}

.not-active span:nth-child(2) {
  animation: ease 0.7s scaled-2 forwards;
}

.active span:nth-child(3) {
  animation: ease 0.7s bottom forwards;
}

.not-active span:nth-child(3) {
  animation: ease 0.7s bottom-2 forwards;
}

@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }
  50% {
    top: 12px;
    transform: rotate(0);
  }
  100% {
    top: 12px;
    transform: rotate(45deg);
  }
}

@keyframes top-2 {
  0% {
    top: 12px;
    transform: rotate(45deg);
  }
  50% {
    top: 12px;
    transform: rotate(0deg);
  }
  100% {
    top: 0;
    transform: rotate(0deg);
  }
}

@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }
  50% {
    bottom: 12px;
    transform: rotate(0);
  }
  100% {
    bottom: 12px;
    transform: rotate(135deg);
  }
}

@keyframes bottom-2 {
  0% {
    bottom: 12px;
    transform: rotate(135deg);
  }
  50% {
    bottom: 12px;
    transform: rotate(0);
  }
  100% {
    bottom: 0;
    transform: rotate(0);
  }
}

@keyframes scaled {
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}


.hover_link_down {
  animation-name: hover_link_down_key;
  animation-duration: 0.5s;
  animation-delay: 0.3s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.hover_link_down_r {
  animation-name: hover_link_down_key;
  animation-duration: 0.5s;
  animation-delay: 0.6s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes hover_link_down_key {
  0% {
    opacity: 0;
    transform: translate(0, -100%);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.hover_slide_down {
  animation-name: hover_slide_down_key;
  animation-duration: 0.5s;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes hover_slide_down_key {
  0% {
    top: -5.5rem;
  }
  100% {
    top: -1.5rem;
  }
}



.hover_link_down_out {
  animation-name: hover_link_down_key_out;
  animation-duration: 0.4s;
  animation-delay: 0;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes hover_link_down_key_out {
  0% {
    opacity: 1;
    transform: translate(0, 0);

  }
  100% {
    opacity: 0;
    transform: translate(0, -100%);
  }
}

.hover_slide_down_out {
  animation-name: hover_slide_down_key_out;
  animation-duration: 0.8s;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-timing-function: ease-in-out;
}

@keyframes hover_slide_down_key_out {
  0% {
    top: -1.5rem;
  }
  50% {
    top: -1.5rem;
  }
  100% {
    top: -5.5rem;
  }
}

.selected_language {
  font-weight: 700;
}

.selected_link {
  font-weight: 400;
}


@media screen and (max-width: 1080px){
  .main-header__item-list{
    position: relative;
  }
.marco-fiorido {
  position: relative;
  left: unset;
  transform: unset;
  padding-right: 3.5rem;
}
.main-header__languages {
  position: relative;
}
.main-header__item-groups{
  display: flex;
  justify-content: space-between;
}
}


@media screen and (max-width: 796px) {
  body {
    overflow-x: hidden;
  }
  .main-header__item-groups{
    position: absolute;
    height: 3.5rem;
    width:100vw;
   
  }
  .main-header__item-list{
    position: absolute;
    top: 3.5rem;
    height: calc(100vh - 3.5rem);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    transition: transform 0.5s ease-in;
    background: rgba(255, 255, 255, 1);
    transform: translate(-100%, 0);
     z-index: 1000;
  }

  .marco-fiorido {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    padding-right: unset;
  }
  .main-header__languages {
    position: absolute;
    right: 1.5rem;
  }

  .for_slide_down{
    position:absolute;
    top:0;
    left:0;
    height:0;
    width:0;
  }
  .main-header__item {
    font-family: "Karla", sans-serif;
    text-decoration: none;
    color: rgb(0, 0, 0);
    opacity: 0;
    padding: 1;
  }
  .box {
    display: block;
    position: absolute;
    z-index: 2001;
  }
}

.nav-active {
  transform: translateX(0%);
}