/* TO DO: Reorganiser tout parce que la je vais me butter je crois 
          Trouver un moyen de rendre le titre pas merdique
          Ajouter une image flotante
          
          
    ETA: Euhhhhh erm,,,,,,,,,,,,,,,,,, */

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  overflow: hidden;
}

#Entete {
  font-family: roboto;
  font-size: 14px;
  border-radius: 0px 0px 14px 14px;
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(115%);
  background-color: #726d5270;
  overflow: hidden;
}

.YetAnotherLayer {
  background: radial-gradient(#e24fb170, #d9e49e70);
}

.gradient-layer {
  background: radial-gradient(circle, transparent 75%, rgb(72, 51, 100));
}

.background-container {
  background-color: #bb57da70;
  background-image: linear-gradient(to bottom right, #8c499e70, #9635d470),
    url("resources/images/roses.svg");
  animation: pan 60s linear infinite;
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  z-index: 1;
}

@keyframes pan {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 0%;
  }
}

.icons {
  position: absolute;
  top: 100px;
  right: 110px;
  display: flex;
  overflow: hidden;
  background-color: #c981bd;
  gap: 5px;
  margin: 40px;
  scale: 150%;
  z-index: 3;
}

.content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
  max-width: 1000px;
  width: 190%;
  padding: 130px;
}

#soggy-image {
  position: absolute;
  translate: 535% 40%;
  max-width: 15%;
  height: auto;
  border-radius: 14px;
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 5;
  object-fit: cover;
}

#PartiePrincipale {
  border-radius: 18px 0px 0px 0px !important;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

#Projets {
  border-radius: 0px 18px 0px 0px !important;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

#Admin {
  border-radius: 0px 0px 0px 18px !important;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

#Perso {
  border-radius: 0px 0px 18px 0px !important;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

#PartiePrincipale,
#Admin,
#Projets,
#Perso {
  background-color: #c981bd;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.titre {
  font-family: poppins;
  font-style: oblique;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  color: rgb(151, 201, 151);
  text-align: center;
}

p {
  font-size: 18px;
  font-family: poppins;
  padding: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  #PartiePrincipale,
  #Projets,
  #Admin,
  #Perso {
    grid-column: 1 / 2;
  }

  #PartiePrincipale {
    grid-row: 1 / 2;
  }
  #Projets {
    grid-row: 2 / 3;
  }
  #Admin {
    grid-row: 3 / 4;
  }
  #Perso {
    grid-row: 4 / 5;
  }
}

#stripes-container {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0px;
  translate: -50% 0%;
  height: 8%;
  min-height: 10px;
  width: 100%;
  min-width: 2000px;
  background-color: #bdbdbd;

  clip-path: polygon(
    0% 5%,
    1.25% 0%,
    2.5% 5%,
    3.75% 0%,
    5% 5%,
    6.25% 0%,
    7.5% 5%,
    8.75% 0%,
    10% 5%,
    11.25% 0%,
    12.5% 5%,
    13.75% 0%,
    15% 5%,
    16.25% 0%,
    17.5% 5%,
    18.75% 0%,
    20% 5%,
    21.25% 0%,
    22.5% 5%,
    23.75% 0%,
    25% 5%,
    26.25% 0%,
    27.5% 5%,
    28.75% 0%,
    30% 5%,
    31.25% 0%,
    32.5% 5%,
    33.75% 0%,
    35% 5%,
    36.25% 0%,
    37.5% 5%,
    38.75% 0%,
    40% 5%,
    41.25% 0%,
    42.5% 5%,
    43.75% 0%,
    45% 5%,
    46.25% 0%,
    47.5% 5%,
    48.75% 0%,
    50% 5%,
    51.25% 0%,
    52.5% 5%,
    53.75% 0%,
    55% 5%,
    56.25% 0%,
    57.5% 5%,
    58.75% 0%,
    60% 5%,
    61.25% 0%,
    62.5% 5%,
    63.75% 0%,
    65% 5%,
    66.25% 0%,
    67.5% 5%,
    68.75% 0%,
    70% 5%,
    71.25% 0%,
    72.5% 5%,
    73.75% 0%,
    75% 5%,
    76.25% 0%,
    77.5% 5%,
    78.75% 0%,
    80% 5%,
    81.25% 0%,
    82.5% 5%,
    83.75% 0%,
    85% 5%,
    86.25% 0%,
    87.5% 5%,
    88.75% 0%,
    90% 5%,
    91.25% 0%,
    92.5% 5%,
    93.75% 0%,
    95% 5%,
    96.25% 0%,
    97.5% 5%,
    98.75% 0%,
    100% 5%,
    100% 100%,
    0% 100%
  );
}

.stripes {
  height: 100%;
  width: 100%;
  background-size: 18px 18px;
  background-image: linear-gradient(
    -45deg,
    rgb(var(--primary-stripe-rgb)) 25%,
    rgb(var(--secondary-stripe-rgb)) 25%,
    rgb(var(--secondary-stripe-rgb)) 50%,
    rgb(var(--primary-stripe-rgb)) 50%,
    rgb(var(--primary-stripe-rgb)) 75%,
    rgb(var(--secondary-stripe-rgb)) 75%,
    rgb(var(--secondary-stripe-rgb)) 100%
  );
  box-shadow: inset 0rem 0.5rem 2rem 0.25rem rgb(0 0 0 / 40%);
  animation: pan 360s linear infinite;
}

.landing-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #8c499e, #9635d4, #bb57da, #c981bd);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Landing Page or something */

.landing-content {
  text-align: center;
  padding: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 80%;
  width: 500px;
  z-index: 10;
}

.landing-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.5em;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.landing-description {
  font-family: "Roboto", sans-serif;
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #8c499e;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #9635d4;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.shape {
  position: absolute;
  opacity: 0.2;
  animation: float 15s infinite;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  left: 10%;
  top: 20%;
  background: #ff9a9e;
  border-radius: 50%;
}

.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  right: 15%;
  bottom: 25%;
  background: #fad0c4;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape:nth-child(3) {
  width: 100px;
  height: 100px;
  left: 20%;
  bottom: 15%;
  background: #a18cd1;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}
