.title-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 470px;

}

.home-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    padding: 0px 80px;
    align-items: center;
    height: 600px;
    background-image: url("/public/assets/backgroundHome.webp");
}

html[data-theme="light"] .home-section {
  background-image: url("/public/assets/whiteModeBackgroundHome.webp");
}

.planet {
    width: 506px;
    height: 460px;
}

.categorie-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;

}

.categorie-asset {
    display: flex;
    flex-direction: row;
    padding: 12px 16px;
    align-items: center;
    border-radius: 18px;
    background-color: var(--background-element-light);
}


.categorie-font {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 14px;
    color: var(--white);
}

.body-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 64px 80px;
    background-color: var(--background);
    
}

.card-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.card-design {
  display: flex;
  flex-direction: column;
  padding: 12px 12px;
  background-color: var(--background-element-light);
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  width: 260px;
  height: 400px;
}

.card-design:hover {
  box-shadow: 0 4px 12px var(--primary);
}

.card-title {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-size: 20px;
  color: var(--white);
}


.card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.categorie-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.categorie-color {
    height: 16px;
    width: 16px;
    border-radius: 8px;
}

#c1 {
  background-color: blue;
}
#c2 {
  background-color: red;
}
#c3 {
  background-color: yellowgreen;
}
#c4 {
  background-color: green;
}
#c5 {
  background-color: goldenrod;
}
#c6 {
  background-color: purple;
}
#c7 {
  background-color: brown;
}
#c8 {
  background-color: orange;
}
#c9 {
  background-color: greenyellow;
}

button {
    border: none;
    background-color: var(--primary);
    border-radius: 8px;
    padding: 12px 48px;
    color: var(--white);
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 16px;
    transition: all ease 0.5s;
    cursor: pointer;
}

@media (max-width:768px) {
    button{
        gap: 10px;
        padding: 8px 8px;
    }
}

.card {
  width: 200px;
  height: 300px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.arrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 16px 16px;
    border-radius: 32px;
    border: none;
    background-color: var(--background-element-light);
    cursor: pointer;
    user-select: none;
}

.arrow:focus {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.button-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

button:hover {
    background-color: var(--primary);
    opacity: 0.7;
}

.card-group {
    display: flex;
    gap: 32px;
    align-items: center;
    will-change: transform;
    transition: transform 350ms ease;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.carousel-viewport {
  width: 1050px;
  overflow: hidden;       
}

.arrow-svg {
    width: 32px;
    height: 32px;
}

@media screen and (max-width: 1308px)  {
    .planet {
        display: none;
    }

    .home-section {
        justify-content: center;
        text-align: center;
    }

    .title-section {
        width: 100%;
        align-items: center;
    }
}

@media screen and (max-width: 768px) {
  .carousel-viewport {
    width: 100%;
    overflow: hidden;
  }

  .card-section {
    gap: 10px;
    justify-content: center;
  }

  .card-group {
    display: flex;
    gap: 16px;
    transition: transform 350ms ease;
    will-change: transform;
  }

  .card {
    height: 100%;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
  }
  

  .planet {
    display: none;
  }

  .home-section,
  .body-section {
    padding: 24px 24px;
  }

  .categorie-section {
    flex-wrap: wrap;

  }
  .categorie-font {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 14px;
    color: var(--white);
}
button {
    border: none;
    background-color: var(--primary);
    border-radius: 8px;
    padding: 8px 8px;
    color: var(--white);
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 12px;
    transition: all ease 0.5s;
    cursor: pointer;
}

.home-section {
    height: 400px;

}

.arrow-svg {
    width: 24px;
    height: 24px;
}

.arrow {
    padding: 8px 8px;
}

.categorie-font {
    font-weight: 700;
    font-size: 12px;
  }
}

@media (max-width: 768px){
  .card img {
    width: 130px;
    height: 150px;
  }

  .card{
    width: 130px;
    height: 150px;
  }

  .card-section {
    gap: 10px;
    justify-content: center;
  }

  .card-design {
  padding: 8px 8px;
  width: 146px;
  height: 260px;
  }

  .card-title {
  font-size: 16px;
  font-weight: 500;
  } 

  .categorie-color {
    height: 12px;
    width: 12px;
    border-radius: 8px;
  }
}