body {
  padding: 0;
  margin: 0;
}

header {
  background-color: #000;
  display: flex;
  margin: 0;
  padding: 0;
}

main {
  background-color: #000;
}

nav {
  display: flex;
  gap: 50px;
  margin-top: 65px;
  flex-direction: row;
}

a {
  text-decoration: none;
  color: white;
  font-family: "Ubuntu", sans-serif;
  font-size: x-large;
  transition: color 0.3s, border-left 0.3s;
}

a:hover {
  color: #879BD5;
  border-left: 5px solid #fff;
}

.logosection {
  background: url(img/Magicardsicon.png) no-repeat center/contain;
  margin: auto;
  height: 100px;
  width: 100px;
}

/* Menu hamburger */
#menu__toggle {
  opacity: 0;
}

#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}

.menu__btn {
  position: fixed;
  top: 26px;
  left: 20px;
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 30px;
  height: 5px;
  background-color: #fff;
  transition: 0.25s;
}

.menu__btn > span::before,
.menu__btn > span::after {
  content: '';
}
.menu__btn > span::before {
  top: -8px;
}
.menu__btn > span::after {
  top: 8px;
}

.menu__box {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  padding: 80px 0;
  list-style: none;
  background-color: #000;
  border-right: 1px solid #ffffff67;
  transition: left 0.25s;
  z-index: 1000;
}

.menu__item {
  display: block;
  padding: 12px 24px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.banner {
  background-color: #090026;
  display: flex;
  height: 30vmin;
}

.bannere {
  color: white;
  font-family: "Ubuntu", sans-serif;
  font-weight: 900;
  font-size: 4vmax;
  margin: auto;
}

.centrer.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
}

.catalogue {
  border: 2px solid #fff;
  padding: 10px;
  text-align: center;
  width: 250px;
  background-color: #000000be;
  border-radius: 10px;
  color: white;
  font-family: "Ubuntu", sans-serif;
  transition: transform 0.3s;
}

.catalogue:hover {
  transform: scale(1.05);
}

.product-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.bouton {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.bouton button {
  padding: 8px;
  cursor: pointer;
  border: none;
  color: white;
  border-radius: 5px;
  font-family: "Ubuntu", sans-serif;
  transition: background-color 0.3s;
}

.bouton .acheter {
  background-color: #9d0606;
}
.bouton .acheter:hover {
  background-color: #b71c1c;
}

.bouton .panier {
  background-color: #002a96;
}
.bouton .panier:hover {
  background-color: #0044cc;
}

.but {
  background-color: #000;
  color: white;
  margin: 10px;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  border: 1px solid #b6b6b6;
}

.but:hover {
  background-color: #1a1a1a;
}

.btclass .but.active {
  background-color: #2c2c2c;
  color: white;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #000;
  height: 100px;
}
.header-flex .hamburger-menu {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.header-flex .logocenter {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex: 0 1 auto;
}
