html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face{
    font-family: "Oracle-Reg";
src: url("../fonts/ABCOracle-Regular-Trial.woff") format("woff"),
url("../fonts/ABCOracle-Regular-Trial.woff2") format("woff2"),
url("../fonts/ABCOracle-Regular-Trial.otf") format("opentype");
    font-weight: 200;
}

.archivo-font {
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.fira-sans-regular {
  font-family: monospace;
  font-weight: 400;
  font-style: normal;
}


.mono-font{
  font-family: monospace;
  font-weight: 400;
  font-style: normal;
}

/* MAIN */
html{
  font-size: 10px;
}
body{
	font-family: "Oracle-Reg";
	font-size: 1.15rem;
}

h1{
	font-size: 10rem;
}
h2{
	font-size: 7.5rem;
}
h3{
	font-size: 5rem;
}
h4{
	font-size: 2.5rem;
}
p{
	font-size: 1.5rem;
}
small{
	font-size: 1.15rem;
}
b, strong{
  font-weight: bold;
}
i, em{
  font-style: italic;
}

.border-b{
  padding: 5px 0;
  border-bottom: 0.5px solid #000;
}

.flex{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 5px;
}

.flex-50{
    display: flex;
  flex-wrap: wrap;
  width: calc(100% / 2 - 5px);
  gap: 5px;
}

/* FRONT PAGE */
body.home{
  margin: 0;
  padding: 0;
  overflow: hidden;
  cursor: none; /* optional: hide cursor for effect */
  background: linear-gradient(120deg, #dbedff, #ffffff, #bed8ff, #bbe4fe);
  background-size: 400% 400%;
  animation: windows7BG 30s ease infinite;
}
@keyframes windows7BG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body.home #site-title{
	position: fixed;
	top: 45%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

body.home #site-title img{
  width: 100%;
  height: auto;
}

.home #site-title .margin-b{
  margin-bottom: 10rem;
}

/* .trail {
  position: absolute;
  width: 10rem;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: translate(-40%, -50%);
} */

.home main{
  cursor: initial;
}

#mouse-container {
  position: fixed;
  width: 100%;
  min-height: 100vh;
  z-index: 0;
}

.front-menu{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  padding: 15px;
  align-items: center;
}

.front-menu > div{
  background: linear-gradient(to bottom, #e3f2fd, #90caf9);
  padding: 10px;
  font-size: 3rem;
  width: 175px;
  text-align: center;
  border: 1px solid #7aa0d2;
  border-radius: 4px;
  text-shadow: 0 1px white;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: absolute;
}

.front-menu > div:first-child{
  left: 10px;
}

.menu-middle{
  margin-top: 25rem;
  left: 50%;
  transform: translateX(-50%);
}

.front-menu > div:last-child{
  right: 10px;
}

.front-background{
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1000;
}

.video-background {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1000;
}

.video-background .bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block; 
}

button{
  background: linear-gradient(to bottom, #e3f2fd, #90caf9);
  padding: 5px;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid #7aa0d2;
  border-radius: 4px;
  text-shadow: 0 1px white;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  pointer-events: all;
}

button:active{
   background: linear-gradient(to bottom, #90caf9, #e3f2fd);
}

.front-menu a{
  color: #000;
  text-decoration: none;
}

.front-menu > div:active{
  background: linear-gradient(to bottom, #90caf9, #e3f2fd);
}


/* MAIN MENU */
.main-menu{
  position: fixed;
  padding: 10px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  z-index: 1000;
}

.main-menu button{
  min-width: 9rem;
  text-transform: lowercase;
}

.main-menu .site-title img{
  width: 5rem;
  height: auto;
}

.index-btn{
  cursor: not-allowed;
}
.index-btn button{
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale();
}

.blog .index-btn{
  cursor: inherit;
}
.blog .index-btn button{
  opacity: 1;
  pointer-events: all;
  filter: none;
}



/* INDEX */

  /* INFO */
  .slide-item { display: none; }
  .slide-item.active { display: block; }
  .slideshow-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    cursor: pointer;
  }

  .click-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10; 
}

.click-zone.left {
  left: 0;
}

.click-zone.right {
  right: 0;
}

  .slide-item img{
    border-radius: 10px;
  }

  .single-picture-slide img{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }

  .two-picture-wrapper{
    display: flex;
    width: 100vw;
    height: 100vh;
    gap: 10px;
  }

  .two-picture-wrapper img{
    width: 50%;
    height: inherit;
    object-fit: cover;
  }

.project-info {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 0%);
  background-color: rgba(227, 242, 253, 0.7);
  backdrop-filter: blur(3px);
  filter: drop-shadow(1px 1px 1px #7AA0D2);
  border: 1px solid #7AA0D2;
  padding: 10px;
  border-radius: 8px;
  z-index: 999;
  transition: opacity 0.3s;
  width: 75%;
}
.project-info, .nav {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-info .title{
  padding-top: 0;
}

.project-content{
  display: none;
}

.year, .location{
  width: calc(25% - 4px);
}

.categories, .styles{
  width: calc(50% - 2.5px);
  align-items: baseline;
}

article.is-visible > .project-info, article.is-visible .nav {
  visibility: visible;
  opacity: 1;
}

.styles > div:first-child, .categories > div:first-child, .year > div:first-child, .location > div:first-child, .img-credits > div:first-child
{
  width: 6vw;
}

.styles > div.styles-tags, .categories > div.cat-tags{
  width: auto;
}

.styles-tags .tag, .cat-tags .category{
  font-family: monospace;
  text-transform: lowercase;
  border: 0.5px solid #000;
  padding: 3px 5px;
  border-radius: 5px;
}

.fira{
  font-family: monospace;
}

.project-content{
  padding: 10px 0;
}

.credits-col{
  width: calc(25% - 2.5px);
}

.content-col{
  width: calc(75% - 2.5px);
}

.content-col p{
  padding: 5px 0;
}

.content-col pre{
  font-size: 12px;
}

.nav{
  transition: none;
  z-index: 1000;
  position: fixed;
  z-index: 10;
  width: 12.5%;
  height: 11rem;
  right: 0;
  bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}

.background-arrows{
  width: 8rem;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.background-arrows img{
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  opacity: 0.5;
}

.nav button {
  all: unset;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #d1ebff, #a3cfff);
  font-size: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

.nav button:hover {
  box-shadow: 0 0 10px rgba(100, 180, 255, 0.7);
}

.slide-proj.top{
  position: absolute;
  top: 9%;
  left: 50%;
  transform: translate(-50%, 0);
}

.slide-proj.bottom{
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translate(-50%, 0);
}

.slide-nav.prev-slide{
  position: absolute;
  top: 50%;
  left: 7%;
  transform: translate(0, -50%);
}

.slide-nav.next-slide{
  position: absolute;
  top: 50%;
  right: 7%;
  transform: translate(0, -50%);
}

.slide-nav img, .slide-proj img{
  width: 75%;
  position: relative;
  width: 30px;
  padding: 5px;
}

.slide-counter, .info-btn {
  pointer-events: auto;
  color: #000;
  font-size: 1.5rem;
  z-index: 20;
}

.slide-counter{
  padding: 1.5px;
}

.info-btn button{
  border-radius: 5px;
  padding: 5px;
  height: auto;
  font-size: 1.5rem;
  border: 1px solid #7aa0d2;
  text-shadow: 0 1px white;
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to bottom, #e3f2fd, #90caf9);
  width: 5rem;
}

  /* index index */
.index{
  width: 80vw;
  height: 92vh;
  display: none;
  position: fixed;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(144, 202, 249, 0.5);
  z-index: 1000;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  border: 1px solid #7AA0D2;
  padding: 10px;
}

.index-content{
  width: 100%;
  padding: 5px;
  background-color: #F5F5F5;
  border-radius: 5px;
}

.index-project{
  width: calc(100% - 10px);
  margin: 5px;
  padding: 5px;
  background-color: #fff;
  border-radius: 5px;
  display: block;
}

a.index-project{
  color: inherit;
  text-decoration: none;
}

.index-filters > div{
  padding-bottom : 10px;
}

.cat-list, .style-list{
  text-transform: lowercase;
  padding-top: 10px;
}

.cat-list .category-item, .style-list .tag-item {
  padding: 3px 5px;
  border-radius: 4px;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

.category-item:hover {
  box-shadow: 2px 2px 8px rgb(0, 255, 13), -2px -2px 8px rgb(0, 255, 13);
  transition: box-shadow 0.2s ease;
}

.tag-item:hover {
  box-shadow: 2px 2px 8px rgb(255, 251, 0), -2px -2px 8px rgb(255, 251, 0);
  transition: box-shadow 0.2s ease;
}

.category-item.picked {
    box-shadow: 2px 2px 8px rgb(0, 255, 13), -2px -2px 8px rgb(0, 255, 13);
}

.tag-item.picked {
    box-shadow: 2px 2px 8px rgb(255, 251, 0), -2px -2px 8px rgb(255, 251, 0);
}

.cat-list .picked:hover{
    box-shadow: 3px 3px 10px rgb(0, 255, 13), -3px -3px 10px rgb(0, 255, 13);
}

.style-list .picked:hover{
    box-shadow: 3px 3px 10px rgb(255, 251, 0), -3px -3px 10px rgb(255, 251, 0);
}

.index-filters > .flex > div{
  width: calc(50% - 5px);
}

.proj-hidden{
  opacity: 50%;
  cursor: not-allowed;
  pointer-events:none;
}

.proj-hidden:hover{
  cursor: not-allowed;
}

/* INVENTORY */

.inventory-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-content: center;
  max-width: 100vw;
  margin: 0 auto; /* Centre la grille sur la page */
  padding: 8px;
}
.inventory-grid article{
    height: 25vw;
  position: relative;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content:  center;
  align-items: center;
}
.inventory-grid article:hover{
  box-shadow: 2px 2px 8px rgb(0, 255, 13), -2px -2px 8px rgb(0, 255, 13);
}

.fenetre-container{
  /* display: none; */
  position: fixed;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  height: 95vh;
  width: 75vw;
  z-index: 1001;
  background-color: rgba(144, 202, 249, 0.5);
  border: 1px solid #7AA0D2;
  backdrop-filter: blur(6px);
  border-radius: 15px;
    opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0s 0.3s;
}

.fenetre-container.is-visible {
  /* display: block; */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-in-out;
  display: flex;
}

.inventory-grid.child-open{
  pointer-events: none;
}

.fenetre-close{
  position: absolute;
  right: 2rem;
  top: 2rem;
}

.object-3d{
  width: 66%; 
}

.b3dviewer-wrapper{
  height: 95vh !important;
  /* width: calc(100% / 3 * 2) !important; */
  padding: 10px;
}

model-viewer{
  border-radius: 8px;
  background-color: #f5f5f5 !important;
}

.object-content{
  height: 100%;
  padding: 10px 0;
  width: 33%;
}

.object-content > div{
  background: #f5F5f5;
  border-radius: 8px;
  height: 100%;
  width: 100%;
  padding: 10px;
}

.container{
  width: 100% !important;
}

.modelViewerBlock .bp_model_parent:hover #openBtn, .b3dviewer-wrapper:hover #openBtn, .modelViewerBlock .bp_model_gallery:hover #openBtn, [class*="product_"]:hover #openBtn{
  display: none !important;
}


.inventory-title{
  text-align: center;
  font-size: 2.5rem;
  text-transform: lowercase;
  font-weight: bold;
}

.inventory-cats{
  text-align: center;
  padding-bottom: 10px;
  text-transform: lowercase;
}

.flex-inventory-content{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}


.inventory-object-specs{
  width: 100%;
}

.inventory-object-specs .item{
  display: flex;
  flex-wrap: wrap;
  width: 100%; 
  justify-content: space-between;
  border-top: 1px solid #fff;
  padding: 4px 0;
}

.inventory-object-specs .item > div{
  width: 50%;
  text-transform: lowercase;
}

.inventory-object-specs .item .label{
  font-weight: bold;
}

.color-swatch{
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 5px;
  border: 1px solid #fff;
  border-radius: 5px;
}

.value-slider{
  max-width: 100%;
  width: 100%;
  height: 10px;
  background: linear-gradient(#CECECE, #ffffff, #F5F5F5);;
  border-radius: 3px;
  border: 1px solid #fff;
  overflow: hidden;
  filter: drop-shadow(0px 0px 4px #00000015);
}

.top-slider{
  height: 100%;
  background: linear-gradient(#B4FFB4, #00D700);
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  box-shadow: inset 1px 1px 1px #FFFFFF80, inset -1px -1px 2px #00000050;
}


/* ABOUT */
.about-container{
  width: 0;
  /* overflow: hidden; */
  /* display: none; */
  position: fixed;
  z-index: 1999;
  left: 15px;
  bottom: 15px;
  background-color: rgba(144, 202, 249, 0.5);
  backdrop-filter: blur(6px);
  border-top-right-radius: 15px 15px;
  border-bottom-right-radius: 15px 15px;
  height: 93vh;
  /* width: 70rem; */
  cursor: initial;
}

.about-container.active{
  border: 1px solid #7AA0D2;
}

.about-container>*{
  display: none;
}

.about-container.active>*{
  display: block;
}

.about-content{
  padding: 10px;
  padding-right: 5px;
}

.about-img{
  object-fit: contain;
  background-color: #E7E7E7;
  border-radius: 8px;
}
.about-img img{
  height: 50rem;
}

.about-img, .about-spec{
  width: calc(50% - 5px);
}

.about-spec{
  background-color: #EFEFEF;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-spec .item{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px solid #000;
  padding: 3px 0;
}

.about-spec .item-content{
  text-align: end;
}

.about-location .item-content{
  white-space: break-spaces;
}

.role .item-content, .perks .item-content{
  display: flex;
  flex-wrap: wrap;
  width: 75%;
  justify-content: flex-end;
}

.role .item-content > div, .perks .item-content > div{
  padding: 2px 4px;
  border: 1px solid #000;
  border-radius: 10px;
  margin: 2px;
}

.perks .item-content > div{
  background-color: #fff;
  border: none;
  box-shadow: 1px 1px 3px rgba(169, 169, 169, 0.546);
}

.item-content a{
  color: #000;
  text-decoration: none;
}
.item-content a:hover{
  color: #7AA0D2;
  text-shadow: #a3cfff 1px 0 5px;
  cursor: alias;
}

.lore{
  padding: 5px;
}

.supscript{
  font-size: 1rem;
  padding-bottom: 5px
}

.about-close{
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

.about-close button, .button-close button{
  padding: 4px 9px;
  padding-bottom: 3.5px;
  border-radius: 20px;
  font-size: 1.75rem;
}

@media screen and (max-width: 768px){
	.trail {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.5s ease;
}

}