.margin-header-fixed {
  margin-top: 90px;
}

.telephone-contact-btn-link {
  background: var(--orange);
  bottom: 24px;
  border-radius: 100%;
  padding: 12px;
  position: fixed;
  right: 24px;
  z-index: 200;
}

.telephone-contact-btn-link svg {
  height: 32px;
  animation-name: tel-rotate-reset;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
  fill: #ffffff;
}

.telephone-contact-btn-link svg .tel-ico-hover,
.telephone-contact-btn-link svg .tel-ico {
  display: none;
}

.display-none {
  display: none !important;
}

.bold {
  font-weight: bold;
}

.arrow {
  width: 8px;
  height: 5px;
  margin: 0 0 3px 3px;
  display: none;
}
.rotate {
  transform: rotate(180deg);
}

header {
  background-color: var(--dark);
  border-bottom: 1px solid var(--grey-light-ultra);
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 16px 4%;
  position: fixed;
  top: 0;
  z-index: 100;
}

header.open {
  overflow-y: scroll;
  height: 100%;
}

.header-container {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: fit-content;
  justify-content: space-between;
  width: 100%;
  max-width: 1700px;
}

.logo-header {
  width: 160px;
  height: 54px;
}

.menu-items {
  align-items: center;
  display: flex;
  font-size: 1.12rem;
  gap: 40px;
  justify-content: space-around;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu-item > a {
  display: block;
}

.menu-item > a,
div.menu-item-title {
  align-self: center;
  border-bottom: 5px solid var(--dark);
  margin: 0;
  padding: 8px;
  white-space: nowrap;
}

.menu-item > a:hover,
div.menu-item-title:hover {
  border-bottom: 5px solid var(--orange);
}

.menu-item div:hover {
  color: var(--orange);
}

.menu-item a:hover {
  color: var(--orange);
}

.menu-item-title {
  cursor: pointer;
}

.submenu-container {
  display: none;
  justify-content: center;
  left: 0;
  padding: 8px 0;
  position: absolute;
  width: 100%;
  background: var(--dark);
  border-bottom: 1px solid var(--white);
  top: 70px;
}

.submenu-container.open { display: flex; }

.submenu-list {
  display: flex;
  flex-direction: row;
  margin: 0 233px 0 160px;
  width: 794px;
}

.submenu-item {
  list-style-type: none;
  padding: 10px;
  display: flex;
}
.submenu-item a:hover {
  color: var(--white);
  text-decoration: underline;
}

.hide {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
}

.btn-collapse {
  width: 15px;
  height: 15px;
  background: red;
  position: relative;
  float: right;
}

.appointment-btn {
  background: var(--green-light);
  color: var(--darker);
  font-size: 18px;
  font-weight: bold;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.appointment-btn:hover {
  box-shadow: 0px 0px 10px 0px var(--green-light);
}

.neon-btn-link {
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--green-light);
  width: 130px;
  height: 130px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.neon-btn-link:hover {
  box-shadow: 0px 0px 15px var(--green-light);
}

.neon-btn {
  align-items: center;
  color: var(--darker);
  display: flex;
  border-radius: 100%;
  place-content: center;
  width: 105px;
  height: 105px;
  background: #8fff01;
  box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.3);
}

/* START responsive design */

.menu-btn {
  align-items: center;
  display: flex;
  position: relative;
  justify-self: right;
  width: fit-content;
  height: -webkit-fill-available;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.menu-btn__burger {
  width: 50px;
  height: 6px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
  transition: all 0.5s ease-in-out;
}
.menu-btn__burger::before,
.menu-btn__burger::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 6px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(255, 101, 47, 0.2);
  transition: all 0.5s ease-in-out;
}
.menu-btn__burger::before {
  transform: translateY(-16px);
}
.menu-btn__burger::after {
  transform: translateY(16px);
}
/* ANIMATION */
header.open .menu-btn .menu-btn__burger {
  transform: translateX(-50px);
  background: transparent;
  box-shadow: none;
}
header.open .menu-btn .menu-btn__burger::before {
  transform: rotate(45deg) translate(35px, -35px);
}
header.open .menu-btn .menu-btn__burger::after {
  transform: rotate(-45deg) translate(35px, 35px);
}

.submenu-item.burger { display: none; }

@media only screen and (min-width: 1300px) {
  .header-container .neon-btn-link, .menu-btn {
    display: none;
  }
}
@media only screen and (max-width: 1299px) {
  .header-container {
    flex-direction: column;
    justify-content: flex-start;
    height: 57px;
    overflow: hidden;
  }

  header.open .header-container {
    height: 100%;
    overflow-x: scroll;
  }

  header.open { border-bottom-color: var(--dark); }

  .top-header-mobile { width: 100%; height: 57px; }

  .header-container nav {
    display: flex;
    flex-direction: column;
    width: fit-content;
    justify-self: center;
  }
  .appointment-btn {
    width: fit-content;
    justify-self: center;
    margin: 16px 0;
  }
  .menu-items {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .menu-item {
    margin: 5px;
  }
  .menu-item div:hover {
    color: var(--white);
  }

  .navbar {
    margin-top: 2rem;
  }
  .hidden {
    position: absolute;
    top: -2000px;
  }
  .submenu-container {
    position: initial;
    border: none;
    padding: 0;
  }

  .submenu-item.burger { display: flex; }

  .submenu-margin-left,
  .submenu-margin-right {
    display: none;
  }
  .submenu-list {
    align-items: center;
    flex-direction: column;
    margin: 0;
    width: 100%;
  }
  .submenu-item a:hover {
    text-decoration: underline !important;
  }
  .arrow {
    display: initial;
  }

  .menu-item > a,
  div.menu-item-title,
  .menu-item > a:hover,
  div.menu-item-title:hover {
    border: none;
    font-weight: bold;
  }
  .menu-item a:hover {
    text-decoration: none;
    color: var(--white);
  }

  .telephone-contact-btn-link svg .contact-ico {
    display: none;
  }

  .telephone-contact-btn-link svg .tel-ico,
  .telephone-contact-btn-link svg .tel-ico-hover {
    display: block;
  }

  .header-container .neon-btn-link {
    margin-top: auto;
  }
}

@media only screen and (max-height: 650px) and (max-width: 400px) {
  .navbar { margin-top: 0; }
}

@media only screen and (max-height: 585px) and (max-width: 400px) {
  div.menu-item-title { padding: 3px 0; }
  .submenu-item { padding: 4px 0; }
  .appointment-btn { margin: 0; }

  .neon-btn-link { width: 100px; height: 100px;}
  .neon-btn { width: 85px; height: 85px;}
}

