.top-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  width: 100%;
  height: 48px;
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  align-items: center;

  height: 100%;
  width: 30px;

  margin: 24px 24px 0px;

  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #f3a41e;
  position: absolute;
  height: 5px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 6px;
}

.menu-button::before {
  content: '';
  margin-top: -11px;
}

.menu-button::after {
  content: '';
  margin-top: 11px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.menu-button-container {
  display: flex;
}

.menu {
  position: absolute;
  top: 0;
  margin-top: 64px;
  left: 0;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
}

#menu-toggle ~ .menu li {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

#menu-toggle:checked ~ .menu li {
  /* border: 1px solid #333; */
  height: 100%;
  padding: 0em;
  transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu {
  display: none;
}

#menu-toggle:checked ~ .menu {
  display: flex;
}

.menu > li {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0.5em 0;
  width: 100%;
  color: white;
  /* background-color: #222; */
  flex-direction: column;
}

.menu > li:not(:last-child) {
  border-bottom: 1px solid #444;
}

nav ul {
  flex-direction: column;
  font-size: 1.1em;
}

.pagination {
  background-color: #fdfdfd;
}

ul.pagination-list {
  display: flex;
  flex-direction: row;
}

ul.pagination-list li {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

ul.pagination-list li:hover {
  color: black;
}
nav.menu a {
  padding: 0px;
}

nav.menu ul li ul li a {
  font-size: 20px;
  margin-left: 24px;
  font-weight: lighter;
}

.sous {
  display: flex;
  position: relative;

  box-shadow: none;
}

.hamburgerMenu {
  text-align: left;
}

.sous a {
  text-align: left;
}

.sous a:hover {
  background-color: white;
  color: #f3a41e;
}

a:hover {
  /* border-bottom: solid 2px #F3A41E; */
  color: #f3a41e;
}

.menuContainer {
  position: absolute;
  right: 0px;
  background-color: white;
  top: 0px;
  z-index: 10;
  width: 360px;
  padding-left: 24px;
  border: solid 3px #f3a41e;
}
