:root {
  --primary-color: #f4ed36;
  --bg-section1: 133, 132, 189;
  --bg-section2: 249, 204, 115;
  --bg-section3: 201, 66, 69;
  --bg-rect-back: 172, 79, 152;
  --color-section3: 248, 193, 186;
  --bg-blue-dark: 97, 96, 154;
  --bg-red-card: 193 72 72;
  --bg-footer: 57, 80, 40;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  /* overflow: hidden; */
}

.menu-section {
  display: block;
  /* animation-fill-mode: both;
  animation: OpenMenu 0.4s ease-in-out;
  animation-play-state: paused;
  animation-direction: reverse; */
  transition: all 250ms ease-in-out;
  padding: 10px;
  opacity: 0;
  top: 0;
  left: 0;
  z-index: 10;
  position: fixed;
  background-color: rgb(var(--color-section3));
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.active {
  pointer-events: all;
  opacity: 1;
  padding: 19px;
}

.pointille {
  position: absolute;
  z-index: 0;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  top: -40px;
  left: -40px;
  pointer-events: none;
  background: radial-gradient(rgb(26, 26, 26) 30%, transparent 30%),
    radial-gradient(rgb(26, 26, 26) 30%, transparent 30%);
  background-position: 0px 0px, 20px 20px;
  background-size: 8px 8px;
  transition: inherit;
  animation: 4s linear 0s infinite normal none running dotted;
}

.menu-children {
  position: relative;
  background-color: rgb(var(--color-section3));
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid;
  border-color: black;
  width: 100%;
  height: 100%;
}

.menu1,
.menu2,
.menu3 {
  transition: all 0.2s ease-in-out;
  position: relative;
  display: flex;
}

.menu1:hover,
.menu2:hover,
.menu3:hover {
  transition: all 0.2s ease-in-out;
  rotate: 2deg;
}

.menu1 p,
.menu2 p,
.menu3 p {
  cursor: pointer;
  font-family: "Obviously";
  text-align: center;
  color: rgb(var(--bg-red-card));
  font-stretch: ultra-expanded;
  transform: scaleY(0.3) scaleX(1.3);
  line-height: 9vw;
  font-weight: 900;
  max-width: 1300px;
  font-size: calc(17vw);
}

.menu1 img,
.menu2 img,
.menu3 img {
  position: absolute;
}

.menu1 img {
  top: -30px;
  right: -150px;
}

.menu2 img {
  top: -5px;
}

/* BUTTON STYLE */
button,
.btn-a {
  background-color: white;
  color: black;
  cursor: pointer;
  width: 80px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

button .span-mother {
  display: flex;
  font-family: DegularBold;
  font-size: 15px;
  text-transform: uppercase;
  overflow: hidden;
}

button:hover .span-mother {
  position: absolute;
}

button:hover .span-mother span {
  transform: translateY(1.2em);
}

button .span-mother span:nth-child(1) {
  transition: 0.4s;
}

button .span-mother span:nth-child(2) {
  transition: 0.5s;
}

button .span-mother span:nth-child(3) {
  transition: 0.6s;
}

button .span-mother span:nth-child(4) {
  transition: 0.7s;
}

button .span-mother span:nth-child(5) {
  transition: 0.8s;
}

button .span-mother span:nth-child(6) {
  transition: 0.9s;
}

button .span-mother span:nth-child(7) {
  transition: 1s;
}

button .span-mother2 {
  display: flex;
  font-family: DegularBold;
  font-size: 15px;
  text-transform: uppercase;
  position: absolute;
  overflow: hidden;
}

button .span-mother2 span {
  transform: translateY(-1.2em);
}

button:hover .span-mother2 span {
  transform: translateY(0);
}

button .span-mother2 span {
  transition: 0.4s;
}

button .span-mother2 span:nth-child(2) {
  transition: 0.5s;
}

button .span-mother2 span:nth-child(3) {
  transition: 0.6s;
}

button .span-mother2 span:nth-child(4) {
  transition: 0.7s;
}

button .span-mother2 span:nth-child(5) {
  transition: 0.8s;
}

button .span-mother2 span:nth-child(6) {
  transition: 0.9s;
}

button .span-mother2 span:nth-child(7) {
  transition: 1s;
}

/* Font */

@font-face {
  font-family: "Obviously";
  src: url("../fonts/ObviouslyVariable.woff2") format("woff2");
}

@font-face {
  font-family: "DegularBold";
  src: url("../fonts/DegularDisplay-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Bergen";
  src: url("../fonts/bergenmono-regular-webfont.woff2") format("woff2");
}

/* KEYFRAME */

@keyframes bottomTotop {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes bottomTotoplight {
  from {
    transform: translateY(100px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes topToBottomlight {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes OpenMenu {
  from {
    opacity: 0;
    padding: 10px;
  }
  to {
    opacity: 1;
    padding: 19px;
  }
}

@keyframes CloseMenu {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes dotted {
  0% {
    transform: translate(0px, 0px);
  }
  100% {
    transform: translate(20px, 20px);
  }
}

/* FIN KEYFRAME */
.section1 {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin: auto;
  background-color: rgb(var(--bg-section1));
}

.menu-header {
  z-index: 10;
  position: fixed;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 40px;
  top: 20px;
  background-color: white;
  border: 2px solid;
  border-color: black;
}

.btn-h-1 {
  left: 0;
  position: absolute;
}

.btn-h-2 {
  right: 0;
  position: absolute;
}

.logo {
  height: 55px;
  padding-top: 21px;
  bottom: 0;
  overflow: hidden;
  position: absolute;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: center;
  width: max-content;
}

.peaking {
  position: absolute;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  width: 110px;
  bottom: -100px;
}

.logo:hover .peaking {
  transition: all 0.3s ease-out;
  opacity: 1;
  bottom: -10px;
}

.menu-header a {
  background-color: white;
  font-family: DegularBold;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  color: black;
  letter-spacing: 0px;
}

.header {
  position: relative;
  z-index: 0;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.header h1 {
  animation: bottomTotop 500ms ease-in-out;
  font-family: "Obviously";
  text-transform: uppercase;
  max-width: 1300px;
  font-stretch: ultra-expanded;
  font-weight: 900;
  font-size: calc(20vw - 50px);
  line-height: 16vw;
  padding: 10px 10px 100px 10px;
  text-align: center;
}

.header h2 {
  text-transform: uppercase;
  font-family: "DegularBold";
  font-size: 20px;
  letter-spacing: 0px;
  text-align: center;
}

/* SECTION2 */

.section2 {
  background-color: rgb(var(--bg-section2));
  padding: 80px;
  height: max-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.left-part {
  position: relative;
}

.left-part p {
  font-family: "Obviously";
  text-transform: uppercase;
  text-align: center;
  line-height: 150px;
  font-stretch: ultra-expanded;
  font-weight: 900;
  width: 750px;
  color: rgb(var(--bg-rect-back));
  font-size: 180px;
}

.rect-back {
  width: max-content;
  position: relative;
  height: max-content;
  background-color: rgb(var(--bg-rect-back));
  z-index: 0;
  overflow: hidden;
  border: 3px solid black;
  /* box-shadow: 12px -12px 0px 4px rgba(var(--bg-rect-back)), 12px -12px 0 7px black;  */
}

.rect-front {
  position: relative;
  margin: 10px;
  z-index: 5;
  padding: 30px;
  border: 3px solid black;
  max-width: 710px;
  height: max-content;
  background-color: rgb(var(--bg-rect-back));
}

/* .rect-back {
      z-index: 5;
      position: absolute;
      border: 3px dashed;
      border-color: black;
      background-color: rgb(var(--bg-rect-back));
  } */

/* CARD */

.right-part {
  position: relative;
  height: max-content;
  width: max-content;
}

.article1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid;
  border-color: black;
  justify-content: center;
  background-color: rgb(var(--bg-section2));
  width: 100%;
  height: max-content;
  padding: 20px;
}

.articles {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: 100%;
  justify-content: space-between;
}

.article1 p {
  font-family: "Obviously";
  text-transform: uppercase;
  color: rgb(var(--bg-rect-back));
  text-align: center;
  font-size: 50px;
  font-stretch: ultra-expanded;
  font-weight: 900;
}

.btn-shop-card a {
  text-decoration: none;
  color: #000;
  font-family: "Bergen";
  text-transform: uppercase;
  text-align: center;
  font-size: 14px;
  font-stretch: ultra-expanded;
  font-weight: 900;
}

.underline-art {
  border: 1px solid;
  background-color: black;
  border-color: black;
  border-radius: 99px;
  width: 100%;
  height: 2px;
}

.btn-shop-card {
  display: flex;
  cursor: pointer;
  flex-direction: column;
  width: max-content;
  height: max-content;
}

.Article:hover {
  transition: all 250ms ease-in-out;
  padding: 8px;
  margin: 2px 0;
}

.img-article {
  width: 200px;
  transition: all 250ms ease-in-out;
}

.Article:hover .img-article {
  transition: all 250ms ease-in-out;
  rotate: -5deg;
}

.Article {
  transition: all 250ms ease-in-out;
  border: 3px solid;
  width: 300px;
  background-color: rgb(var(--bg-section2));
  padding: 10px;
}

/* SECTION3 */

.section3 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(var(--bg-section3));
}

.section3 p {
  font-family: "Obviously";
  text-align: center;
  color: rgb(var(--color-section3));
  font-stretch: ultra-expanded;
  text-transform: uppercase;
  transform: scaleY(0.5) scaleX(1.5);
  line-height: 12vw;
  font-weight: 900;
  max-width: 1300px;
  font-size: calc(15vw);
}

.btn-product {
  color: black;
  box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
  cursor: pointer;
  width: 100px;
  height: 45px;
  border: 3px solid;
  border-color: black;
  background-color: white;
  padding: 10px;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-product span {
  font-size: 18px;
}

.btn-product:hover {
  position: relative;
  top: 2px;
  left: 2px;
  box-shadow: 1px 1px 0px 0px rgba(0, 0, 0, 1);
}

.product {
  bottom: 120px;
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 1500px;
  width: 100%;
  align-items: end;
  justify-content: space-around;
}

.product-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.product img {
  width: 350px;
}

/* SECTION4 */

.section4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  justify-content: center;
  background-color: rgb(var(--color-section3));
}

.cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 40px;
  max-width: 1400px;
}

.card1,
.card2,
.card3 {
  display: flex;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease-in-out;
  border: 3px solid;
  border-color: black;
  border-radius: 5px;
  padding: 10px;
}

.card1 {
  background-color: rgb(var(--bg-rect-back));
}

.card2 {
  background-color: rgb(var(--bg-blue-dark));
}

.card3 {
  background-color: rgb(var(--bg-red-card));
}

.card1:hover,
.card2:hover,
.card3:hover {
  transition: all 250ms ease-in-out;
  padding: 7px;
  margin: 3px;
}

.subcard1,
.subcard2,
.subcard3 {
  position: relative;
  overflow: hidden;
  transition: all 250ms ease-in-out;
  display: flex;
  flex-direction: column;
  height: 590px;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  border: 3px solid;
  border-color: black;
  padding: 15px;
}

.subcard1 {
  background-color: rgb(var(--bg-rect-back));
}

.subcard2 {
  background-color: rgb(var(--bg-blue-dark));
}

.subcard3 {
  background-color: rgb(var(--bg-red-card));
}

.subcard1 p,
.subcard2 p,
.subcard3 p {
  font-family: "Obviously";
  text-align: center;
  color: rgb(var(--color-section3));
  font-stretch: ultra-expanded;
  text-transform: uppercase;
  width: 350px;
  /* transform: scaleY(0.5) scaleX(1.5); */
  line-height: 100px;
  font-weight: 900;
  font-size: 120px;
}

.subcard1 img,
.subcard2 img,
.subcard3 img {
  position: absolute;
  bottom: 50px;
  width: 350px;
}

/* FOOTER PARTIE */

.top-footer p {
  font-family: "Obviously";
  max-width: 100%;
  font-stretch: ultra-expanded;
  text-transform: uppercase;
  color: rgb(var(--color-section3));
  font-weight: 900;
  transform: scaleY(0.3);
  font-size: calc(20vw - 50px);
  letter-spacing: 0px;
  line-height: 14vw;
  text-align: start;
}

.top-footer {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  height: 18vw;
}

.bottom-footer {
  display: flex;
  flex-direction: row;
  gap: 50px;
  width: max-content;
  height: max-content;
  align-items: center;
}

.bottom-footer a {
  font-family: "Bergen";
  text-transform: uppercase;
  text-align: center;
  font-stretch: ultra-expanded;
  font-weight: 900;
}

.btn-footer {
  background-color: rgb(var(--bg-footer));
}

.btn-footer span {
  width: max-content;
  font-size: 20px;
  color: white;
}

.footer {
  background-color: rgb(var(--bg-footer));
  display: flex;
  flex-direction: column;
  padding: 0px 20px 20px 20px;
  width: 100%;
  height: max-content;
  align-items: center;
}

@media (max-width: 1600px) {
  .product {
    position: relative;
    gap: 20px;
    bottom: 0;
    padding-bottom: 100px;
  }
  .section2 {
    flex-direction: column;
  }
  .cards {
    gap: 0;
    flex-direction: column;
    padding: 40px 0;
  }
  .card1,
  .card3 {
    rotate: 5deg;
  }
  .card2 {
    rotate: -5deg;
  }
  .header img {
    display: none;
  }
  .section4 {
    height: max-content;
  }
  .left-part {
    display: none;
  }
}

@media (max-width: 1000px) {
  .header h1 {
    padding: 10px;
  }
}

@media (max-width: 700px) {
  .product div {
    gap: 20px;
  }
  .header h1 {
    font-weight: 700;
    line-height: 75px;
    font-size: 90px;
  }
  .img-article {
    width: 150px;
  }
  .articles p {
    font-weight: 700;
  }
  .section2 {
    padding: 10px 0 20px 0;
  }
  .articles {
    gap: 15px;
    flex-direction: column;
  }
  .rect-front {
    padding: 15px;
    right: 0;
    box-shadow: none;
  }
  .subcard1,
  .subcard2,
  .subcard3 {
    height: 400px;
  }
  .subcard1 p,
  .subcard2 p,
  .subcard3 p {
    line-height: 70px;
    font-weight: 700;
    width: 250px;
    font-size: 80px;
  }
  .cards img {
    width: 200px;
  }
  .product img {
    width: 120px;
  }
  .section3 p {
    font-weight: 750;
    font-size: 80px;
    line-height: 65px;
  }
  .top-footer {
    padding: 50px 0;
  }
  .top-footer p {
    font-weight: 700;
    line-height: 70px;
    font-size: 80px;
  }
  .btn-footer span {
    font-size: 15px;
  }
  .menu1 p,
  .menu2 p,
  .menu3 p {
    transform: scaleY(1) scaleX(1.1);
    font-weight: 700;
    line-height: 110px;
    font-size: 100px;
  }
  .menu1 img {
    top: -20px;
    right: -70px;
    width: 100px;
  }
  .menu2 img {
    top: -12px;
    width: 80px;
  }
  .menu3 img {
    width: 120px;
  }
}
