/* ----- IMPORT FONT ----- */
@font-face {
    font-family: 'Geist';
    src: url("../font/Geist-Regular.otf") format("opentype");
}

@font-face {
    font-family: 'Geist';
    font-weight: bold;
    src: url("../font/Geist-Bold.otf") format("opentype");
}


@font-face {
    font-family: 'Geist';
    font-weight: lighter;
    src: url("../font/Geist-Light.otf") format("opentype");
}

@font-face {
    font-family: 'Lactos';
    src: url("../font/DxLactos-Regular-free-personal-use.otf");
}

html {
    scroll-behavior: smooth;
}

/* ----- MAIN STYLE ----- */
body {
    background-color: #F3F0E9;
    font-family: 'Geist';
    color: #1E1402;
}

h1 {
    font-size: 90px;
    font-weight: bold;
    margin-bottom: 64px;
    position: relative;
    z-index: 10;
}

h2 {
    font-size: 64px;
    font-weight: bold;
    letter-spacing: -5px;
}

h3 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -2px;
}

.highlight-title {
    font-family: 'Lactos';
    font-weight: normal;
}

nav {
    display: flex;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    width: 90%;
    margin: auto;
    justify-content: space-between;
    z-index: 100;
}

.menu {
    display: flex;
    background-color: #C6BEAC;
    border-radius: 100px;
    justify-content: center;
    align-items: center;
    padding: 6px 16px;
    transition: 0.4s ease;
    cursor: pointer;
}

.menu:hover {
    background-color: #E8E0CF;
    transition: 0.4s ease;
    letter-spacing: 1px;
}

.menu p {
    margin-right: 12px;
}

.menu img {
    display: block;
    width: 14px;
    height: 14px;
}

.navigation {
    display: flex;
    position: fixed;
    background-color: #1E1402;
    height: 100vh;
    top: 0;
    right: 0;
    width: 200px;
    padding: 100px 80px;
    margin: auto;
    justify-content: end;
    text-align: right;
    z-index: 90;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.navigation-show {
    transform: translateX(0);
    transition: transform 0.4s ease;
}

.navigation li{
    margin-bottom: 40px;
}

.navigation li a{
    text-decoration: none;
    color: #E8E0CF;
    font-size: 24px;
}

.nav-link a {
    color: #E8E0CF;
}

.nav-link .link-nav {
    margin-bottom: 24px;
    margin-right: 0;
    display: flex;
    justify-content: end;
}

.index {
    width: 90%;
    margin: auto;
    display: flex;
    position: relative;
    height: 100vh;
    align-items: center;
    z-index: 80;
}

.index-name {
    display: flex;
    background-color: #C6BEAC;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    padding: 6px 16px;
    width: fit-content;
    margin-bottom: 32px;
}

.index-name p {
    margin-left: 12px;
}

.index-navigation {
    display: flex;
    font-size: 26px;
}

.index-navigation a {
    text-decoration: none;
    color: #1E1402;
}

.index-navigation div, .index-navigation a {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.index-navigation img {
    display: block;
    width: 25px;
    height: 25px;
    margin-left: 12px;
}

.index-image {
    position: absolute;
    right: 0;
    z-index: 1;
    display: flex;
    justify-content: end;
}

.index-image img {
    width: 50%;
}

/* ----- ABOUT ----- */
.about {
    width: 90%;
    margin: auto;
    display: flex;
    margin-top: 184px;
    justify-content: space-between;
}

.about p {
    margin-top: 40px;
    font-size: 22px;
    letter-spacing: -1px;
    line-height: 1.2em;
}

.bold {
    font-weight: bold;
}

.experience {
    margin-top: 100px;
    width: 90%;
    margin: 100px auto;
    display: flex;
    justify-content: space-between;
}

.experience-tab {
    margin-left: 80px;
    width: 60%;
}


.experience-specification {
    border-top: 1px solid #1E1402;
    padding: 40px 0;
    text-transform: uppercase;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
}

.experience-specification:last-child {
    border-bottom: 1px solid #1E1402;
}

/* ----- PROJECT ----- */
.project {
    width: 90%;
    margin: auto;
    margin-top: 184px;
}

.tag-list {
    display: flex;
    margin: 32px 0;
}

.tag-list p {
    font-size: 22px;
    background-color: #F3F0E9;
    padding: 10px 24px;
    border-radius: 100px;
    transition: 0.4s ease;
}

.tag-list p:hover {
    background-color: #d9d4ca;
    transition: 0.4s ease;
}

.tag-list p.selected {
    cursor: pointer;
    background-color: #C6BEAC;
    transition: 0.4s ease;
}

.tag-list p {
    cursor: pointer;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    grid-column-gap: 24px;
    grid-row-gap: 50px;
    margin-top: 24px;
    margin-bottom: 120px;
}

.project-list-single {
    transition: 0.4s ease;
}

.project-list-single:hover {
    opacity: 0.7;
    transition: 0.4s ease;
}

.project-list a {
    text-decoration: none;
    color: #1E1402;
}

.cover-projects {
    display: block;
    width: 100%;
}

.project-information {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
}

.project-category {
    text-transform: uppercase;
    letter-spacing: -1px;
}

.project-name {
    margin-top: 8px;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: -1px;
}

/* ----- CONTACT ----- */
.contact {
    width: 90%;
    margin: auto;
    margin-top: 184px;
}

.container_info {
    margin-top: 48px;
    display: flex;
    justify-content: space-between;
}

.contact_info {
    display: flex;
    background-color: #c1bfb9;
    padding: 40px 32px;
    border-radius: 16px;
    width: 38%;
    flex-direction: column;
    justify-content: space-between;
}

.contact_icon {
    width: 64px;
    height: 64px;
}

.form_container {
    display: block;
    background-color: #E8E0CF;
    border-radius: 16px;
    padding: 40px 32px;
    width: 50%;
}

.contact_form {
    display: inline-block;
    width: 100%;
}

.contact_form input {
    display: block;
    width: 90%;
    background-color: #F3F0E9;
    margin-bottom: 10px;
    border: none;
    padding: 22px 28px;
    border-radius: 16px;
}

.contact_form input::placeholder {
    color: rgba(30, 20, 2, 0.7);
    font-weight: bold;
    font-size: 18px;
    letter-spacing: -1px;
}

.align_button {
    display: flex;
    justify-content: end;
}

.contact_form {
    margin-top: 40px;
    font-weight: bold;
}

.contact_form button {
    margin-top: 32px;
    font-size: 16px;
    align-items: center;
    font-weight: 700;
    border-radius: 100px;
    width: 160px;
    background-color: #C6BEAC;
    border: none;
    display: flex;
    padding: 8px 16px;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.4s ease
}

.contact_form button:hover {
    background-color: #918b7b;
    transition: 0.4s ease
}

.contact_details {
    margin-top: 16px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.contact_details:first-of-type {
    margin-top: 24px;
}

.contact_details a {
    text-decoration: none;
    color: #1E1402;
}

.contact_details img {
    display: block;
    margin-right: 12px;
    width: 22px;
    height: 22px;
}

/* ----- ANIMATION LIEN ----- */
.link {
    height: 30px;
    align-items: center;
    color: #000;
    text-decoration: none;
    display: flex;
  }
  
  /* Hide extra text */
  .mask {
    position: relative;
    padding: 0;
    height: 26px;
  
    /*  Remove overflow to see how it works　:) */
    overflow: hidden;
  }
  
  .link-container {
    transition: transform 0.4s ease;
  }
  
  .title {
    display: block;
    font-size: 26px;
  
    /*  Set same font-size and line height  */
    line-height: 26px;
  
    transition: transform 0.4s ease;
  }
  
  .link-title1 {
    transform-origin: right center;
  }
  
  .link-title2 {
    transform-origin: left center;
    transform: rotate(20deg);
  }
  
  .icon {
    display: block;
    position: absolute;
    transition: transform 0.4s ease;
  }
  
  .icon:nth-child(2) {
    transform: translate(-40px);
  }
  
  /* Hover Action*/
  
  /* Move up two texts (20px = font-size) */
  .link:hover .link-container {
    transform: translateY(-26px);
  }
  
  /* Rotate texts a little bit */
  .link:hover .link-title1 {
    transform: rotate(20deg);
  }
  
  .link:hover .link-title2 {
    transform: rotate(0);
  }
  
  /* Move arrows to right */
  .link:hover .icon:first-child {
    transform: translate(40px);
  }
  
  .link:hover .icon:nth-child(2) {
    transform: translate(0px);
  }
  
  .link-list {
    z-index: 1000;
    display: flex;
    position: relative;
  }

  .link-nav {
    margin-right: 40px;
  }

  .icon-nav {
    height: 22px;
    width: 22px;
  }

  .link-icon {
    margin-left: 12px;
  }

/* ----- SINGLE PROJET ----- */

.single-project {
    width: 90%;
    margin: auto;
    margin-top: 184px;
}

.single-title {
    display: flex;
    margin-bottom: 40px;
    align-items: end;
}

.single-date {
    font-weight: lighter;
    letter-spacing: -1px;
    margin-left: 24px;
    margin-bottom: 8px;
}

.single-intro {
    display: flex;
}

.single-description {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}

.single-text {
    width: 50%;
    line-height: 1.25;
}

.single-specification h4 {
    font-weight: bold;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.single-specification p {
    margin-bottom: 8px;
}

.single-intention {
    width: 75%;
    display: flex;
    justify-content: space-between;
    margin: 100px auto;
}

.single-intention p {
    margin-left: 64px;
    width: 85%;
    line-height: 1.3;
}

.single-image,
.bloc-image {
    display: block;
    width: 100%;
    border-radius: 24px;
}

.single-big-small {
    display: grid;
    grid-template-columns: 57fr 40fr;
    grid-template-rows: 1fr;
    grid-column-gap: 24px;
    margin-bottom: 24px;
}

.single-small-big {
    display: grid;
    grid-template-columns: 40fr 57fr;
    grid-template-rows: 1fr;
    grid-column-gap: 24px;
    margin-bottom: 24px;
}

.single-video {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-column-gap: 24px;
    margin-bottom: 24px;
}

.mb24 {
    margin-bottom: 24px;
}

.single-next {
    margin-top: 140px;
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    padding-bottom: 24px;
    border-bottom: 1px solid #1E1402;
    align-items: end;
    transition: 0.4s ease;
}

.single-next:hover {
    opacity: 0.8;
    transition: 0.4s ease;
}

.next {
    text-decoration: none;
    color: #1E1402;
}

.next-title {
    margin-top: 8px;
    font-size: 64px;
    font-weight: bold;
    letter-spacing: -5px;
}

.next-arrow {
    margin-bottom: 8px;
}

.valorem-gif {
    background-image: url('/img/valorem/valorem_gif.gif');
    background-size: cover;
    background-position: 16%;
}

.zto-gif {
    background-image: url('/img/zerotoone/zto-gif.gif');
    background-size: cover;
}

.br-24 {
    border-radius: 24px;
}

.hide {
    display: none;
    transition: 0.4s ease;
}

button a {
    text-decoration: none;
    color: #1E1402;
}

#flw-rotation {
    -webkit-animation: cog 8s infinite;			
	-moz-animation: cog 80s infinite;
	-ms-animation: cog 8s infinite; 			
	animation: cog 8s infinite;
	-webkit-animation-timing-function: linear;
	-moz-animation-timing-function: linear;		
	-ms-animation-timing-function: linear;
	animation-timing-function: linear	
}

@keyframes cog {
    100%{ 
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

.custom-cursor {
    position: fixed; /* Utilise fixed pour ignorer le défilement */
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    animation: rotate 4s linear infinite; /* Rotation continue */
    filter: invert(1);
    mix-blend-mode: difference;
}

.custom-cursor img {
    width: 22px;
    height: 22px;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}