* {
  font-family: Roboto, sans-serif;
}

header {
  position: relative;
  align-items: center;
  background-color: #e30000;
  display: flex;
  height: 70px;
  justify-content: space-between;
  padding: 10px 90px;
}

.header-logo__image {
  height: 23px;
  width: 157px;
}

.header-rightSide {
  align-items: center;
  display: flex;
  gap: 100px;
  justify-content: space-between;
  min-width: fit-content;
  width: 60%;
}

.header-links {
  display: flex;
  gap: 90px;
}

.header-links__link {
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 23px;
  text-decoration: none;
  cursor: pointer;
}

.header-login {
  align-items: center;
  display: flex;
  gap: 11px;
}

.header-login__image {
  height: 28px;
  width: 28px;

  margin: auto inherit;
}

.header-login__text {
  color: #ffffff;
  font-size: 20px;
  font-weight: 400;
  line-height: 23px;
  text-decoration: none;
}

/*
   * Nav Bar 
   */

#nav-bar {
  height: 51px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.nav-link {
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
  font-variant: all-small-caps;
  color: #878787;
  text-decoration: none;
}

#menuToggle {
  display: none;
}

@media screen and (max-width: 1260px) {
  header {
    padding: 16px 26px;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100vw - 52px);
    z-index: 999;
  }

  .header-links,
  .header-login {
    display: none;
  }

  #menuToggle {
    display: block;
    position: relative;
    top: 0px;
    left: 0px;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
  }

  #menuToggle a {
    text-decoration: none;
    color: #ffffff;

    transition: color 0.3s ease;
  }

  #menuToggle a:hover {
    color: tomato;
  }

  #menuToggle input {
    display: block;
    width: 32px;
    height: 21px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
  }

  /*
   * Just a quick hamburger
   */
  #menuToggle span {
    display: block;
    width: 32px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #ffffff;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }

  #menuToggle span:first-child {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }

  /* 
   * Transform all the slices of hamburger
   * into a crossmark.
   */
  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #ffffff;
  }

  /*
   * But let's hide the middle one.
   */
  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  /*
   * Ohyeah and the last one should go the other direction
   */
  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }

  /*
   * Make this absolute positioned
   * at the top left of the screen
   */
  #menu {
    position: absolute;
    top: 49px;
    height: calc(100vh - 48px);
    width: calc(100vw - 100px);
    padding: 50px;

    background: #e30000;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform: translate(calc(-100% + 32px + 26px), 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);

    display: flex;
    flex-direction: column;
    gap: 68px;
  }

  #menu li {
    padding: 10px 0;
    font-size: 22px;
  }

  /*
   * And let's slide it in from the left
   */
  #menuToggle input:not(:checked) ~ ul {
    transform: translate(calc(0px + 32px + 26px), 0);
  }
}

.visite_disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.visite_disabled:hover {
  color: white !important;
}
