body {
    background: #F4F4F4;
    box-sizing: border-box;
    font-family: syne;
    
}

body.is-scroll-locked {
  overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

.hidden {
    opacity: 0; /* Masquer complètement l'élément */
}

#introduction, #presentation, #work-section, #container-contact {
    scroll-margin-top: 120px;
}

.navigation.scrollnav {
    /* background-color: rgba(0, 0, 0, 0.8); */

    opacity: 0.9;
    background-color: #333;
}

.navigation.scrollnav .section ul li a, .navigation.scrollnav .lang-switch .lang-btn p {
    color: white;
}

.navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    
    padding: 2rem 3rem;
    background-color: F4F4F4;
    position: sticky;
    top: 0;
    z-index: 2;

    transition: opacity 0.5s ease, background-color 0.5s ease; 
    opacity: 1;
}

.navigation .lang-switch {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    

}

.navigation .lang-switch .lang-btn  {
    cursor: pointer;
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;

}

.navigation .lang-switch .lang-btn.on p  {
    font-family: syneBold;
}

.navigation .lang-switch p {
    font-family: syne;
    font-size: 1rem;
}

.navigation .section  {
    width: 100%;
}

.navigation .section ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
}

.navigation .section ul li {
    width: 25%;
    text-align: center;
}

.navigation .section ul li a {
    font-family: syne;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    color: black;

    display: block;
    width: 100%;
    position: relative;

    transition: font-family 0.35s;
}

.navigation .section ul li a:hover {
    font-family: syneBold;
}

.navigation .section ul li a.effect-underline:after {
	content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    height: 1em;
    width: 100%;
    border-bottom: 1px solid;
    opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

.navigation .section ul li a.effect-underline:hover:after {
    opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.navigation .burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.navigation .burger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Animation menu burger */
.burger.is-menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 5px);
}

.burger.is-menu-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.introduction {
    display: flex;
    flex-direction: column;
    gap: 12rem;
    padding: 7rem 5rem 0 5rem;
    justify-content: center;
    margin-bottom: 10rem;
}

.introduction .text-intro {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    z-index: 1;
}

.introduction .text-intro h1 {
    font-size: 15rem;

}


.introduction .text-intro h1.animation {
    overflow: hidden;
    border-right: 1rem solid black; 
    white-space: nowrap;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end) , blink-caret .60s step-end infinite;
    width: fit-content;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100%; }
}
  
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: black; }
}

.introduction .text-intro p {
    font-size: 5rem;
}

.introduction .text-intro span {
    position: relative;
    font-size: 5rem;
    display: inline;
}

.introduction .text-intro span::after {
    position: absolute;
    content: " ";
    width: 100%;
    height: 3rem;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 0, 1);
    opacity: 0.5;
    z-index: -1;
}

.introduction .scroll {
    display: flex;
    text-align: center;
    justify-content: center;
}

.introduction .scroll p {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.introduction .scroll .spining::after {
    content: " ";
    animation: rotate 2s infinite;
    width: 3rem;
    height: 3rem;
    display: block;
    position: absolute;
    bottom: -37%;
    left: 37%;
    border-radius: 50%;
    border: 3px dotted rgba(0, 0, 0, 0.3);
    z-index: 0;
}

@keyframes rotate {
    0% {
      transform: rotate(-45deg)
    }
    100% {
      transform: rotate(45deg)
    }
  }

/*Animation background  */
.slider-thumb::before {
    position: absolute;
    z-index: 0;
    right: 1rem;
    bottom: 1rem;
    content: "";
    width: 500px;
    height: 500px;
    background: linear-gradient(90deg,#e52e71,#ff8a00);
    border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
    will-change: border-radius, transform, opacity;
    animation: sliderShape 5s linear infinite;
    display: block;
    z-index: -1;
    -webkit-animation: sliderShape 5s linear infinite;
}

.slider-thumb::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 1rem;
    top: 1rem;
    width: 500px;
    height: 500px;
    background: linear-gradient(90deg,#e66465, #9198e5);
    border-radius: 62% 47% 82% 35% / 45% 45% 80% 66%;
    will-change: border-radius, transform, opacity;
    animation: sliderShape 5s linear infinite;
    display: block;
    z-index: -1;
    -webkit-animation: sliderShape 5s linear infinite;
}
  
@keyframes sliderShape{

    0%,100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: translate3d(0,0,0) rotateZ(0.01deg);
    }

    34% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform:  translate3d(0,5px,0) rotateZ(0.01deg);
    }

    50% {
      transform: translate3d(0,0,0) rotateZ(0.01deg);
    }

    67% {
      border-radius: 100% 60% 60% 100% / 100% 100% 60% 60% ;
      transform: translate3d(0,-3px,0) rotateZ(0.01deg);
    }

}

.presentation {
    padding: 0rem 5rem 0 5rem;
    margin-bottom: 10rem;

    display: flex;
    flex-direction: column;
    gap: 5rem;

}

.presentation .big-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.presentation .big-text p {
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}

.presentation .big-text h2 {
    font-weight: bold;
    font-size: 2.5rem;
}

.presentation .big-text h2 a {
    text-decoration: none;
    color: black;
}

.presentation .big-text h2 span {
    position: relative;
    cursor: pointer;
}


.presentation .big-text h2 span::after {
    position: absolute;
    content: " ";
    width: 100%;
    height: 1.5rem;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 0, 1);
    opacity: 0.5;
    z-index: -1;
}

.presentation .summary {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 5rem;
}

.presentation .summary .photo {
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-height: 43rem;
    
}

.presentation .summary .photo img {
    border-radius: 50%;
    height: 30rem;
}

.presentation .summary .photo::before {
    content: " ";
    display: block;
    position: absolute;
    top: 15%;
    left: 0;
    border-radius: 50%;
    width: 25rem;
    height: 25rem ;
    background: linear-gradient(90deg,#e66465, #9198e5);
    opacity: 0.2;
    z-index: -1;
}

.presentation .summary .photo::after {
    content: " ";
    animation: rotate 2s infinite;
    width: 20rem;
    height: 20rem;
    display: block;
    position: absolute;
    bottom: 12%;
    right: 0;
    border-radius: 50%;
    border: 3px dotted rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.presentation .summary .about-me {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;

}

.presentation .summary .about-me .section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.presentation .summary .about-me .section h3 {
    font-weight: bold;
    font-size: 2rem;
}

.presentation .summary .about-me .section p {
    font-size: 1.5rem;
}

.presentation .summary .about-me .button {
   display: flex;
   justify-content: flex-end;
   text-decoration: none;
   color: black;
}

.presentation .summary .about-me .button p {
    cursor: pointer;
    padding: 1rem;
    border-radius: 15px;
    border: solid 1px;
    width: fit-content;
    font-size: 1.5rem;
}


.work-section {
    padding: 0rem 5rem 0 5rem;
    margin-bottom: 10rem;

    display: flex;
    flex-direction: column;
    gap: 2rem;

}

.work-section .work-presentation {
    position: relative;
}

.work-section .work-presentation .slider2::after {
    width: 300px;
    height: 300px;
}

.work-section .work-presentation .slider2::before {
    width: 300px;
    height: 300px;
}

.work-section .work-presentation h2 {
    font-weight: bold;

    font-size: 12rem;
    letter-spacing: 6px;
}

.work-section .containerbtn {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.work-section .containerbtn .btn {
    border: none;
    outline: none;
    position: relative;

    padding: 1px 4px;
    cursor: pointer;
    width: 18%;
    background-color: initial;
    
    font-family: syne;
    font-size: 1.5rem;
    text-align: center;

    transition: all 1s;
}

.work-section .containerbtn .btn:hover {
    font-family: syneBold;
}

.work-section .containerbtn .btn.active {
    color: black;
    font-family: syneBold;
    font-size: 2rem;
    text-align: center;
}

.work-section .containerbtn .btn.effect-underline:after {
	content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    height: 2rem;
    width: 100%;
    border-bottom: 1px solid;
    opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

.work-section .containerbtn .btn.effect-underline:hover:after {
    opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.work-section .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.work-section .row .column {
    width: 30%;
    display: none;
}

.work-section .row:after {
    content: "";
    display: flex;
    clear: both;
}

.work-section .row .column.show {
    display: block;
}

.work-section .row .column .content {
    background-color: white;
    padding: 1rem;
    min-height: 36rem;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.work-section .row .column .content img {
    width: 100%;
    max-height: 16rem;
    min-height: 16rem;
    object-fit: contain;
}

.work-section .row .column .content h4 {
    font-family: syneBold;
    font-size: 18px;
}

.work-section .row .column .content p strong {
    font-family: syneBold;
}

.work-section .row .column .content a {
    color: black;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.5s;
}

.work-section .row .column .content a:hover {
    letter-spacing: 2px;
}

.container-contact {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0rem 5rem 0 5rem;
    color: white;

}

.container-contact .contact-me {
    display: flex;
    flex-direction: row;
    gap: 5rem;

    padding: 8rem 0;
  
}

.container-contact .contact-me h2 {
    font-size: 5rem;
    font-weight: bold;
    width: 70%;
    letter-spacing: 3px;
}

.container-contact .contact-me .contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3rem;
}

.container-contact .contact-me .contact img {
    height: 12rem;
}

.container-contact .contact-me .contact p {
    text-decoration: underline;
    font-size: 1.5rem;
    cursor: pointer;
}

.container-contact .contact-me .contact .social {
    display: flex;
    flex-direction: row;
   justify-content: space-around;
}


.container-contact .contact-me .contact .social img {
    height: 6rem;
    cursor: pointer;
}

.container-contact .right {
    text-align: center;
    padding: 1rem;
}

.container-contact .right p {
    font-family: syne;
}