@import url("https://fonts.googleapis.com/css2?family=Metamorphous&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Koulen&display=swap");

html {
  /* width: clamp(350px, 100vw, 1400px); */
}
body {
  background-image: url("/assets/Images_web/FondVotreSelection.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* width: clamp(350px, 100vw, 1400px); */
}

body::-webkit-scrollbar {
  display: none;
}

header {
  display: flex;
  width: 100%;
  height: 33vh;
  justify-content: center;
  align-items: flex-end;
}

#Burger {
  display: none;
}

#Burger:checked ~ label .bar1 {
  transform: rotate(45deg);
  background-color: #831e08;
}
#Burger:checked ~ label .bar3 {
  transform: rotate(-45deg);
  background-color: #831e08;
}
#Burger:checked ~ label .bar2 {
  transform: translateX(-50%);
  opacity: 0;
}

label .bar1,
label .bar3 {
  transform-origin: left;
}

label {
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s linear;
}

label:hover {
  transform: scale(1.2) rotate(90deg);
}

.Menu_Burger {
  display: flex;
  flex-direction: column;
  align-self: start;
  padding: 15px;
  position: absolute;
  left: 0;
}

.Menu_Burger div:not(.MenuApparait) {
  height: 3px;
  width: 22.5px;
  background-color: wheat;
  margin: 5px 0;
  cursor: pointer;
  transition: all 0.3s linear;
}

.MenuApparait {
  display: flex;
  /* flex-direction: column; */
  /* background-color: violet; */
  height: 10vh;
  width: fit-content;
  transform: translateX(-100%);
  transition: all 1s ease-in;
}

.MenuApparait a {
  /* background-color: royalblue; */
  padding: 10px;
  margin: 10px;
  font-family: "Koulen", sans-serif;
  font-size: clamp(10px, 1rem, 17px);
  text-transform: capitalize;
  text-decoration: none;
  color: wheat;
  transition: all 0.4s ease;
  position: relative;
  height: fit-content;
}

.MenuApparait a:after {
  content: "";
  position: absolute;
  width: 70%;
  transform: scaleX(0);
  height: 2px;
  bottom: 30%;
  left: 15%;
  background-color: #831e08;
  transform-origin: bottom right;
  transition: transform 0.4s ease;
}

.MenuApparait a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
  background-color: wheat;
}

.MenuApparait a:hover {
  transform: scale(1.1);
  color: #831e08;
}

#Burger:checked ~ div.MenuApparait {
  transform: translateX(0);
}

header h1 {
  text-transform: uppercase;
  color: wheat;
  padding: 2%;
  font-family: "Koulen", sans-serif;
  font-size: clamp(25px, 45px, 60px);
  text-align: center;
  box-sizing: border-box;
  transition: all 0.7s ease;
  /* background-color: violet; */
}

header h1:hover {
  transform: scale(1.02);
  color: #831e08;
}

main {
  display: flex;
  justify-content: space-evenly;
  margin: 0 15px;
  /* width: clamp(350px, 100vw, 1400px); */
  /* background-color: coral; */
}

main::-webkit-scrollbar {
  display: none;
}
.Galerie {
  padding: 0;
  margin: 0;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, auto);
  grid-template-rows: repeat(3, auto);
  gap: 1.2% 1%;
}

.Galerie a img {
  width: clamp(115px, 100%, 400px);
  aspect-ratio: 3/5;
  border-radius: 3px;
  box-shadow: 2px 3px 5px #831e08;
}

.Galerie > a:hover {
  transform: scale(1.05) translateY(-10px);
}

.Galerie > a {
  transition: all 0.4s;
}

.Galerie .item {
  position: relative;
}

.Galerie i {
  color: gold;
  font-weight: 300;
  font-size: clamp(4px, 1.8rem, 18px);
  position: absolute;
  top: 2%;
  right: 5%;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}
.Galerie i:hover {
  color: palevioletred;
  font-weight: 500;
  transform: scale(1.3);
}

#Heart1,
#Heart2,
#Heart3,
#Heart4,
#Heart5,
#Heart6,
#Heart7,
#Heart8,
#Heart9,
#Heart10,
#Heart11,
#Heart12 {
  display: none;
}

#Heart1:checked ~ label i,
#Heart2:checked ~ label i,
#Heart3:checked ~ label i,
#Heart4:checked ~ label i,
#Heart5:checked ~ label i,
#Heart6:checked ~ label i,
#Heart7:checked ~ label i,
#Heart8:checked ~ label i,
#Heart9:checked ~ label i,
#Heart10:checked ~ label i,
#Heart11:checked ~ label i,
#Heart12:checked ~ label i {
  font-weight: bold;
  color: red;
}

.Icons {
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
}

.Icons i {
  font-size: 32px;
  margin: 2px;
  cursor: pointer;
  color: #831e08;
  transition: all 0.4s linear;
}

.Icons i:hover {
  color: wheat;
  transform: scale(1.1);
}

.BtnUp {
  margin: 0;
  font-size: 25px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 40px;
  color: goldenrod;
  position: fixed;
  top: 50%;
  left: -0.5%;
  cursor: pointer;
  transition: all 1s linear;
}

.BtnUp.Active {
  color: #831e08;
  transform: scale(1.2);
}
