#menu {
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: 0 auto;
  position: fixed;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
  background-color: #89b5f5;
}
#menu .top {
  background-color: #89b5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 2px solid #89b5f5;
  transform: translateX(-1px);
}
#menu .top img {
  height: 80px;
  cursor: pointer;
}
#menu .top p {
  font-size: 1rem;
  letter-spacing: 0.9px;
  color: var(--bar);
  font-weight: 400;
  margin: 2px 0 10px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#menu .bottom {
  background-color: var(--bar);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 12px;
  box-shadow: 0px 16px 10px 0px var(--background);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  z-index: -1;
  gap: 8.8px;
}
#menu .bottom a {
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
  padding: 5px 15px 12px 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  text-wrap: nowrap;
  font-weight: 600;
  position: relative;
}
#menu .bottom .barrrr {
  height: 0.9rem;
  width: 0.9rem;
  justify-content: center;
  display: flex;
  box-shadow: 0px 6.1px 0px 10px var(--bar);
  border-radius: 15px;
}
#menu .bottom .barrrr div {
  width: 2px;
  height: 0.9rem;
  background-color: var(--background);
  margin-top: -3px;
}
#menu .bottom .select {
  background-color: var(--background);
  color: var(--texte);
}
#menu .bottom .select::before {
  content: "";
  position: absolute;
  width: 11px;
  height: 10px;
  background-color: var(--background);
  bottom: 0;
  left: -10px;
  z-index: -1;
}
#menu .bottom .select::after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 11px;
  height: 10px;
  background-color: var(--background);
  bottom: 0;
  right: -10px;
}
.navbar {
  width: 100%;
  box-shadow: 0 1px 4px rgba(146, 161, 176, 0.15);
  z-index: 1000;
  margin: 0;
  position: fixed;
  background-color: #89b5f5;
}
.navbar .nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 62px;
}
.navbar .nav-container li {
  list-style: none;
}
.navbar .nav-container a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1.5rem;
  padding: 0.7rem;
}
.navbar .nav-container a:hover {
  font-weight: bolder;
}
.navbar .nav-container .select {
  font-weight: bolder;
  color: var(--texte);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.navbar .nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}
.navbar .nav-container .hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.navbar .nav-container .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #ffffff;
}
.navbar .nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}
.navbar .nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}
.navbar .nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}
.navbar .nav-container .menu-items {
  background-color: #89b5f5;
  height: 100vh;
  width: 100%;
  transform: translateX(-150%) translateY(0);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
  text-align: center;
  position: fixed;
  top: 0;
  justify-content: center;
}
.navbar .nav-container .menu-items li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}
.navbar .nav-container .logo {
  display: flex;
  flex-direction: column;
}
.navbar .nav-container .logo img {
  height: 62px;
  width: auto;
}
.navbar .nav-container .logo p {
  font-size: 0.7rem;
  letter-spacing: 0.9px;
  color: var(--bar);
  font-weight: 400;
  margin: -2px 0 10px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.navbar .nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0) translateY(0);
  left: 0;
}
.navbar .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}
.navbar .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}
.navbar .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}
.navbar .nav-container input[type="checkbox"]:checked ~ .logo {
  display: none;
}
@media (max-width: 768px) {
  #menu {
    display: none;
  }
  nav {
    display: block;
  }
}
@media (min-width: 769px) {
  nav {
    display: none;
  }
  #menu {
    display: flex;
  }
}
