/*
* Basics
*/
@font-face {
  font-family: "pp";
  src: url("/wp-content/themes/champgauche/assets/fonts/PPObjectSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "pp";
  src: url("/wp-content/themes/champgauche/assets/fonts/PPObjectSans-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
a {
  text-decoration: none;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 400;
}

section {
  position: relative;
  z-index: 2;
}

#viewport {
  height: 100%;
  min-height: 100vh;
}
#viewport #pageWrapper {
  z-index: 2;
}
#viewport #pageWrapper #pageContent {
  will-change: transform;
}
#viewport #pageWrapper #pageContent main {
  min-height: 100vh;
}

.cbg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.cobj {
  object-fit: cover;
  object-position: center center;
}

#bg {
  background: #121212;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
}
#bg .top,
#bg canvas,
#bg .back,
#bg .screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#bg .top {
  background: #B6A700;
  mix-blend-mode: multiply;
  z-index: 4;
}
#bg #gradient {
  filter: blur(50px);
  z-index: 2;
}
#bg #plate {
  z-index: 3;
  mix-blend-mode: soft-light;
}
#bg .back {
  background: var(--black-color);
  z-index: 1;
}
#bg .screen {
  background: var(--theme-color);
  mix-blend-mode: screen;
  z-index: 5;
}

#mouser {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 998;
}
#mouser span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  font-size: 16px;
  color: var(--white-color);
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  z-index: 2;
}
#mouser .point {
  background: var(--theme-color);
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  transform-origin: center center;
  transform: scale(0);
  z-index: 1;
}
@media screen and (pointer: coarse), (pointer: none) {
  #mouser {
    display: none;
  }
}

/*
* Templates
*/
/*
* VW Unit
*/
/*
* VH Unit
*/
#h__intro {
  display: flex;
  width: 100%;
  height: 200vh;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
  /*@media screen and (max-width: 1247px){
  	.details{
  		.items{
  			column-gap: 35px;
  			justify-content: space-between;
  		}
  	}
  }
  @media screen and (max-width: 875px){
  	.details{
  		width: 100%;
  		max-width: 405.5px;
  	}
  }
  @media screen and (max-width: 768px){
  	display: flex;
  	flex-wrap: wrap;
  	row-gap: 65px;
  	height: initial;
  	min-height: 100vh;
  	align-items: initial;
  	justify-content: initial;
  	align-content: space-between;
  	h1{
  		position: relative;
  		top: initial;
  		left: initial;
  		width: 100%;
  		font-size: clamp(25px, vw(60px, 768px), 60px);
  		max-width: clamp(256px, vw(655px, 768px), 655px);
  		transform: initial;
  	}
  	.details{
  		max-width: initial;
  		height: auto;
  		.items{
  			order: 1;
  			flex-wrap: wrap;
  			row-gap: 25px;
  			column-gap: clamp(35px, vw(120px, 768px), 120px);
  			justify-content: flex-start;
  			.item{
  				a,
  				span{
  					font-size: 14px;
  				}
  			}
  		}
  		p{
  			order: 0;
  			font-size: 14px;
  		}
  	}
  }*/
}
#h__intro .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100vh;
  padding: 32px;
  will-change: transform;
  align-items: flex-start;
  justify-content: flex-start;
}
#h__intro .container .logo {
  display: inline-flex;
  width: 100%;
}
#h__intro .container .logo svg {
  width: 100%;
  height: auto;
  max-width: 120px;
  pointer-events: initial;
}
#h__intro .container h1 {
  position: absolute;
  top: 50%;
  left: 32px;
  width: calc(100% - 64px);
  max-width: 821px;
  font-size: 72px;
  line-height: 120%;
  color: var(--white-color);
  transform: translate(0, -50%);
  pointer-events: initial;
}
#h__intro .container h1 .line .word {
  will-change: transform;
}
@media screen and (min-width: 1920px) {
  #h__intro .container h1 {
    left: 1.6666666667vw;
    width: calc(100% - 3.3333333333vw);
    max-width: 42.7604166667vw;
    font-size: 3.75vw;
  }
}
@media screen and (max-width: 1440px) {
  #h__intro .container h1 {
    font-size: 60px;
    max-width: 670px;
  }
}
@media screen and (max-width: 768px) {
  #h__intro {
    /*.details{
    	max-width: initial;
    	height: auto;
    	.items{
    		order: 1;
    		flex-wrap: wrap;
    		row-gap: 25px;
    		column-gap: clamp(35px, vw(120px, 768px), 120px);
    		justify-content: flex-start;
    		.item{
    			a,
    			span{
    				font-size: 14px;
    			}
    		}
    	}
    	p{
    		order: 0;
    		font-size: 14px;
    	}
    }*/
  }
}
@media screen and (pointer: coarse), (pointer: none), (orientation: portrait), (max-width: 768px) {
  #h__intro {
    display: flex;
    height: initial;
    min-height: initial;
    align-items: initial;
    justify-content: initial;
    align-content: space-between;
  }
  #h__intro .container {
    height: auto;
    padding-bottom: 0;
    row-gap: clamp(120px, 20.3703703704vh, 220px);
  }
  #h__intro .container h1 {
    position: relative;
    top: initial;
    left: initial;
    width: 100%;
    font-size: clamp(25px, 7.8125vw, 60px);
    max-width: clamp(256px, 85.2864583333vw, 655px);
    transform: initial;
  }
}
@media screen and (max-width: 420px) {
  #h__intro .container h1 {
    font-size: 28px;
  }
}
@media screen and (max-width: 360px) {
  #h__intro .container h1 {
    font-size: 25px;
  }
}
#h__projects {
  padding: 0 32px 383px;
  pointer-events: none;
  margin: calc(-100vh - 120px) 0 0;
  z-index: 3;
}
#h__projects .container {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  will-change: transform;
}
#h__projects .container h2 {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 64px);
  max-width: 821px;
  font-size: 72px;
  line-height: 120%;
  color: var(--white-color);
  pointer-events: initial;
}
#h__projects .container h2 .line .word {
  opacity: 0;
  filter: blur(10px);
  transform: scale(1.1);
  will-change: transform;
  pointer-events: none;
}
#h__projects .container .item {
  width: calc(50% - 15px);
  height: auto;
  aspect-ratio: 4/3;
  pointer-events: initial;
  will-change: transform;
}
#h__projects .container .item .img-container {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
}
#h__projects .container .item .img-container .inner-img {
  width: 100%;
  height: 100%;
}
#h__projects .container .item .img-container .inner-img img,
#h__projects .container .item .img-container .inner-img .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
#h__projects .container .item:nth-child(2) {
  margin: 17.8125vw 0 0;
  transform-origin: left center;
}
#h__projects .container .item:nth-child(3) {
  transform-origin: right center;
}
@media screen and (min-width: 1920px) {
  #h__projects .container h2 {
    width: calc(100% - 3.3333333333vw);
    max-width: 42.7604166667vw;
    font-size: 3.75vw;
  }
}
@media screen and (max-width: 1440px) {
  #h__projects .container h2 {
    font-size: 60px;
    max-width: 670px;
  }
}
@media screen and (pointer: coarse), (pointer: none), (orientation: portrait), (max-width: 768px) {
  #h__projects {
    margin: 0;
    padding: 120px 32px;
  }
  #h__projects .container {
    flex-wrap: wrap;
    row-gap: clamp(30px, 8.4635416667vw, 65px);
  }
  #h__projects .container h2 {
    position: relative;
    top: initial !important;
    left: initial !important;
    transform: initial !important;
    font-size: clamp(18px, 6.25vw, 48px);
    font-weight: 700;
    width: 100%;
    max-width: 100%;
  }
  #h__projects .container .item {
    width: 100%;
  }
  #h__projects .container .item:nth-child(2) {
    margin: 0;
  }
}

.back {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 32px;
  align-items: flex-end;
  justify-content: space-between;
}
.back .copyright span {
  font-size: 20px;
  line-height: 135%;
  color: var(--white-color);
}
.back .details {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
  height: 100%;
  row-gap: 65px;
  align-content: space-between;
}
.back .details .items {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  row-gap: 35px;
  column-gap: 17.7083333333vw;
  align-items: flex-start;
  will-change: transform;
}
.back .details .items .item a,
.back .details .items .item span {
  display: table;
  font-size: 16px;
  color: var(--white-color);
}
.back .details .items .item span {
  font-weight: 700;
}
.back .details .items .item a {
  transition-property: opacity;
  transition-duration: 0.4s;
}
.back .details .items .item a:hover {
  opacity: 0.4;
}
.back .details p {
  width: 100%;
  max-width: 460px;
  font-size: 20px;
  line-height: 135%;
  color: var(--white-color);
}
@media screen and (max-width: 1247px) {
  .back .details .items {
    column-gap: 35px;
    justify-content: space-between;
  }
}
@media screen and (max-width: 875px) {
  .back .details {
    width: 100%;
    max-width: 405.5px;
  }
}
@media screen and (pointer: coarse), (pointer: none), (orientation: portrait), (max-width: 768px) {
  .back {
    position: relative;
    flex-wrap: wrap;
    height: auto;
  }
  .back .copyright {
    order: 1;
    width: 100%;
    margin: 65px 0 0;
  }
  .back .copyright span {
    font-size: 16px;
  }
  .back .details {
    order: 0;
    width: 100%;
  }
  .back .details .items {
    order: 1;
    justify-content: flex-start;
  }
  .back .details p {
    order: 0;
  }
}

#demo-1 {
  height: 300vh;
  padding: 0 30px;
}
#demo-1 .inner {
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
#demo-1 .inner .container {
  width: 100%;
  max-width: 1640px;
}
#demo-1 .inner .container .text {
  width: 100%;
  margin: 0 auto;
  max-width: 1088px;
}
#demo-1 .inner .container .text p {
  font-size: 45px;
  line-height: 140%;
}
#demo-1 .inner .container .text p .line {
  position: relative;
  background-image: linear-gradient(to top, #ff0000 50%, #00ff00 0);
  background-position-y: 100%;
  background-size: 100% 200%;
  background-clip: text;
  color: transparent;
}
#demo-1 .inner .container .text p + p {
  margin: 25px 0 0;
}