/* ================================================================
    CSS FILES
*/
@import url("/css/variables/colors.css");
@import url("/css/variables/fonts.css");
@import url("/css/variables/space-grid.css");

/* ================================================================
    1.GENERAL CSS
*/
*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  color: var(--neutral-shade-3);
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	-webkit-box-sizing:border-box;
  box-sizing:border-box;
}
body {
  background-color: var(--neutral-tint-4);
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: auto;
  overflow-x: hidden;
  display: block;
  max-width: 2560px;
}
img {
	max-width: 100%;
}

/*---Scrollbar---*/
body::-webkit-scrollbar{
  width: 8px;
}
body::-webkit-scrollbar-track{
  border-radius: 100%;
}
body::-webkit-scrollbar-thumb {
  background-color: var(--secondary-tint-3);
  border-radius: var(--radii-rounded);
}
body::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-tint-3);
}

.sourceComplete::-webkit-scrollbar {
  width: 8px;
  padding: 4px;
}
.sourceComplete::-webkit-scrollbar-track {
  border-radius: 100%;
}
.sourceComplete::-webkit-scrollbar-thumb {
  background-color: var(--secondary-tint-3);
  border-radius: var(--radii-rounded);
}
.sourceComplete::-webkit-scrollbar-thumb:hover {
  background-color: var(--primary-tint-3);
}

/*---mouse selection---*/
::selection, ::-moz-selection {
  background: var(--primary-base);
  color: var(--neutral-tint-5);
  text-shadow: none;
}

/* ================================
    2.GENERAL CSS - Responsive
*/
@media (max-width: 2560px) {
  body {
    padding: 0;
  }
}

/* ================================================================
    1.HEADER
*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  background: var(--neutral-tint-5);
  padding: 16px 24px;
}
header a.logo img {
  width: 80%;
}
header nav.main_nav {
  display: flex;
}
header nav.main_nav ul {
  display: flex;
  list-style-type: none;
  gap: 24px;
  align-items: center;
}
header nav.main_nav a {
  color: var(--neutral-shade-1);
}
header nav.main_nav ul img {
  filter: grayscale(1);
  transition: 0.2s;
}
header nav.main_nav ul img:hover {
  filter: brightness(0) saturate(100%) invert(16%) sepia(71%) saturate(5675%) hue-rotate(329deg) brightness(88%) contrast(96%);
}
/*---burger---*/
header .burger {
  display: none;
  flex-direction: column;
  gap: 8px;
}
header .burger div {
  width: 56px;
  height: 8px;
  background-color: var(--primary-shade-3);
}
/* ================================
    2.HEADER - Responsive
*/
@media (max-width: 1024px) {
  header nav.main_nav {
    display: none;
  }
  header .burger {
    display: flex;
  }
}

/* ================================================================
    1.FOOTER
*/
/* ================================
    2.FOOTER - Responsive
*/


/* ================================================================
    1.PAGE GET STARTED
*/
main {
  display: flex;
}

/*---LOCAL NAVIGATION---*/
nav.local_nav {
  width: 24%;
  background: var(--neutral-tint-5);
  position: sticky;
  top: 41px;
  padding: 24px 12px;
  border-right: 2px solid var(--primary-tint-4);
  height: 100vh;
}
nav.local_nav a.local_nav_link_lvl1 {
  color: var(--neutral-shade-2);
  font-weight: var(--font-fw-semi-bold);
  text-transform: uppercase;
}
nav ul.local_nav_group_lvl2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 24px;
}
nav ul.local_nav_group_lvl2 .local_nav_link_lvl2:hover {
  background: var(--neutral-tint-4);
  color: var(--primary-tint-1);
}
nav ul.local_nav_group_lvl2 li {
  padding: 3px 6px;
  border-radius: var(--radii-4);
}
nav.local_nav a.local_nav_link_lvl2 {
  color: var(--neutral-base);
  width: 100%;
}
nav.local_nav ul.local_nav_group_lvl3 a {
  color: var(--neutral-tint-1);
}
nav.local_nav ul.local_nav_group_lvl3 a:hover {
  color: var(--primary-tint-1);
}
nav.local_nav ul.local_nav_group_lvl3 {
  display: none;
}
.navclass .open .local_nav_group_lvl3 {
  display: block;
}
nav.local_nav ul.local_nav_group_lvl3 .active {
  color: var(--primary-base);
}
.container_documentation {
  width: 100%;
  padding: 32px 8%;
}
.cadreAfficherSource {
  border: 1px solid var(--neutral-tint-2);
  background-color: var(--neutral-tint-5);
  display: inline-block;
  margin-left: 75px;
  padding: 15px;
  z-index: 0;
  position: relative;
}
.cadreAfficherSource:hover {
  border: 1px solid var(--primary-tint-2);
}
.isCachee {
  display: none !important;
}
.code{
  font-size: var(--font-fs-body-sm);
  }
.txt_file {
  background: var(--neutral-tint-3);
  padding: 0 4px;
  border-radius: var(--radii-4);
}
li img.icon-xs {
  margin-right: 8px;
}



.links_local {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--neutral-tint-2);
  margin-bottom: 32px;
  display: flex;
  gap: 32px;
}
.links_local a {
  color: var(--neutral-shade-2);
}
.links_local .active {
  color: var(--primary-base);
}
/*---SECTION COMPOSANT---*/
.components_preview {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.component_preview {
  display: flex;
  width: calc(100% / 2 - 12px);
  background-color: var(--neutral-tint-5);
  border: solid 1px var(--neutral-tint-2);
  border-radius: var(--radii-4);
  flex-direction: column;
  align-items: center;
  padding: 16px;
  gap: 8px;
}
.component_preview:hover {
  border: 1px solid var(--primary-base);
}
.component_preview .row {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
}
.component_preview h4 {
  color: var(--neutral-base);
  font-size: 16px;
  margin: 0px;
}
.component_preview:hover h4 {
  color: var(--primary-base);
}
.component_preview .copy_btns button {
  background: var(--neutral-tint-4);
  color: var(--neutral-shade-2);
  font-weight: var(--font-fw-semi-bold);
  border: 1px solid var(--neutral-tint-3);
  cursor: pointer;
  border-radius: var(--radii-2);
  padding: 4px 8px;
}
.component_preview .copy_btns button:hover {
  background: var(--primary-tint-4);
  border: 1px solid var(--primary-tint-3);
  color: var(--primary-shade-2);
}
.component_preview .source {
  padding: 24px 0;
  width: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
}


.modal_code_preview {
  background: var(--primary-tint-4);
  border: 1px solid var(--primary-base);
  width: 800px;
  position: absolute;
  border-radius: var(--radii-8);
  color: var(--primary-shade-2);
  height: 500px;
  z-index: 2;
}
.modal_code_preview .nav_tabs {
  background-color: var(--primary-shade-2);
  border-radius: var(--radii-6) var(--radii-6) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal_code_preview a.tab {
  background: var(--neutral-tint-2);
  padding: 8px 24px;
  width: 125px;
  display: fleX;
  align-items: center;
  justify-content: center;
  color: var(--neutral-shade-1);
  position: relative;
}
.modal_code_preview .tabs .active {
  background: var(--primary-tint-4) !important;
  color: var(--primary-shade-2) !important;
}
.modal_code_preview a.tab:first-of-type {
  border-radius: 6px 0 0 0;
}
.modal_code_preview .tab:before {
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  left: 15px;
  border-radius: var(--radii-rounded);
}
.modal_code_preview .tab:first-of-type:before {
  background: #e34c26;
}
.modal_code_preview .tab:nth-child(2):before{
  background: #2642e4;
}
.modal_code_preview .tab:nth-child(3):before{
  background: #f0db4f;
}
.modal_code_preview .tab .active {
  color: var(--primary-tint-3);
}
.modal_code_preview .tabs {
  display: flex;
}
.modal_code_preview .sourceComplete {
  padding: 32px;
  overflow-y: auto;
  height: 454px;
  position: relative;
}
.modal_code_preview a.copy {
  position: absolute;
  bottom: 16px;
  right: 24px;
}
.modal_code_preview a.close-tab {
  padding: 8px 24px;
  color: var(--primary-tint-4);
}
.modal_code_preview a.copy {
  position: sticky;
  bottom: 16px;
  left: 100%;
  width: fit-content;
  display: flex;
  padding: 8px;
  background: var(--neutral-tint-4);
  color: var(--neutral-shade-2);
  font-weight: var(--font-fw-semi-bold);
  border: 1px solid var(--neutral-tint-3);
  cursor: pointer;
  border-radius: var(--radii-2);
  padding: 4px 8px;
}
/* ================================
    2.PAGE ACCUEIL - Responsive
*/






/**/
.figma-file {
  border: 1px solid var(--neutral-tint-3);
  padding: 8px;
  width: calc(100% / 2);
  border-radius: var(--radii-8);
}
.figma-file img {
  border-radius: var(--radii-8);
}
.figma-file h3 {
  margin: 8px 0;
}
.figma_file_preview .row {
  display: none;
}