
body {
    font-family: "Roboto", sans-serif;
    background-color: #0D1117;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: black;
}

.white {
    color: #ffffff;
}

/* Styling */
section {
    background: #0D1117;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -20px;
    /* height: 100vh; */
}

.container {
    /* width: 100%;  */
    max-width: 950px; 
    box-sizing: border-box; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    /* height: 100%; */
    /* margin-top: 70px; */
    height: 100vh;
    width: 100%;
    padding: 0 20px;
}

.container-bis {
    /* width: 100%;  */
    /* max-width: 1050px;  */
    box-sizing: border-box; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    /* height: 100%; */
    /* margin-top: 70px; */
    height: auto;
    width: 100%;
    margin-bottom: 50px;
    padding-bottom: 5vw;
}

.carousel {
    display: block;
    text-align: left;
    position: relative;
    margin-bottom: 22px;
}

.carousel input {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

.carousel input:nth-of-type(6):checked ~ .carousel__slides .carousel__slide:first-of-type { margin-left: -500%; }
.carousel input:nth-of-type(5):checked ~ .carousel__slides .carousel__slide:first-of-type { margin-left: -400%; }
.carousel input:nth-of-type(4):checked ~ .carousel__slides .carousel__slide:first-of-type { margin-left: -300%; }
.carousel input:nth-of-type(3):checked ~ .carousel__slides .carousel__slide:first-of-type { margin-left: -200%; }
.carousel input:nth-of-type(2):checked ~ .carousel__slides .carousel__slide:first-of-type { margin-left: -100%; }
.carousel input:nth-of-type(1):checked ~ .carousel__slides .carousel__slide:first-of-type { margin-left: 0%; }

.carousel input:nth-of-type(1):checked ~ .carousel__thumbnails li:nth-of-type(1),
.carousel input:nth-of-type(2):checked ~ .carousel__thumbnails li:nth-of-type(2),
.carousel input:nth-of-type(3):checked ~ .carousel__thumbnails li:nth-of-type(3),
.carousel input:nth-of-type(4):checked ~ .carousel__thumbnails li:nth-of-type(4),
.carousel input:nth-of-type(5):checked ~ .carousel__thumbnails li:nth-of-type(5),
.carousel input:nth-of-type(6):checked ~ .carousel__thumbnails li:nth-of-type(6) {
    box-shadow: 0px 0px 0px 5px rgb(174, 144, 53);
}

.carousel__slides {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    display: flex;
    margin-top: 30px;
}

.carousel__slide {
    position: relative;
    display: block;
    flex: 1 0 100%;
    width: 100%;
    transition: all 300ms ease-out;
    box-sizing: border-box;
    white-space: normal;
}

.carousel__slide figure {
    /* display: fl  ex; */
    margin: 0;
}

.carousel__slide div:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 66.67%; 
}

.carousel__slide img {
    display: block;
    flex: 1 1 auto;
    position: absolute;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    transition: 0.8s;
    width: 100%;
}

.carousel__slide figcaption {
    align-self: flex-end;
    flex: 0 0 auto;
    /* width: 25%; */
    min-width: 150px;
    color: white;
    margin-bottom: 10px;
    /* padding-left: 30px; */
    flex: 1;
    order: 1;
}

.foodspring-link {
    color: white;
}

.gold {
    color: #c89446;
    transition: 0.5s;
}

.gold-hover:hover {
    color: #75521d;
    transition: 0.5s;
}


.carousel__slide .credit {
    margin-top: 15px;
    color: rgba(0, 0, 0, 0.5);
    display: block;
    color: white;
    font-size: 0.8rem;
}

.carousel__slide.scrollable {
    overflow-y: scroll;
}

.carousel__thumbnails {
    list-style: none;
    display: flex;
    margin: 0 -12px;
    justify-content: space-between;
    margin-bottom: 100px;
}

.carousel__thumbnails .carousel__slides + & {
    margin-top: 20px;
}

.carousel__thumbnails li {
    flex: 1 1 auto;
    max-width: calc((100% / 6) - 20px);
    margin: 0 10px;
    transition: all 300ms ease-in-out;
}

.carousel__thumbnails label {
    display: block;
    position: relative;
    width: 100%;
}

.carousel__thumbnails label:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%; 
}

.carousel__thumbnails label:hover img,
.carousel__thumbnails label:focus img {
    cursor: pointer;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.25);
    transition: all 300ms ease-in-out;
}

.carousel__thumbnails img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.content {
	flex: 1;
	display: grid;
	align-items: center;
	grid-template-columns: auto minmax(50%,600px);
	margin: 50px auto;
}

/* ************** NAV BAR ************ */

.navbar {
    background-color: rgba(255, 255, 255, 0); 
    box-shadow: none; 
    padding: 10px 20px; 
    position: static;
}

.nav-container {
    display: flex;
    /* align-items: center;  */
    justify-content: end;
}

.nav-links {
    /* display: flex; */
    display: block; 
    /* gap: 50px; 
    width: 750px;
    justify-content: center; */
    margin: 10px auto 0 auto;
}

.nav-links a {
    text-decoration: none; 
    color: rgb(255, 255, 255); 
    font-size: calc(12px + 0.6vw);
    text-transform: uppercase;
    margin: 0 10px;
    /* padding: 5px 0; */
}

.nav-links a.active {
    border-bottom: 3px solid rgb(174, 144, 53);
}

.active {
    font-weight: bold;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}

.burger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: all 0.3s;
}

/* ******* IMG + HOVER*********** */

.carousel__slide img:hover {
    opacity: 0.35;
    filter: blur(5px) hue-rotate(20deg);
    transform: scale(1.1);
    transition: 0.8s;
}

.overlay {
    overflow: hidden;
    /* width: 83vw;  */
    height: 400px;
    transition: transform 0.8s, filter 0.8s;
    position: relative; 
    margin-bottom: 50px;
}

.overlay a img {
    /* object-fit: fill; */
    transition: 0.8s;
}

.carousel__slide {
    position: relative;
}

.image-hover:hover {
    transform: scale(1.1); 
}

.overlay:hover .blur-overlay {
    opacity: 1; 
}

/* HOVER */

.info-hover {
    position: absolute;
    top: 50%;  
    left: 51%; 
    transform: translate(-50%, -50%);
    width: 100px;
    height: 40px;  
    background: white; 
    text-align: center;
    line-height: 30px; 
    opacity: 0;  
    z-index: 3; 
    transition: opacity 0.5s;
}

.info-hover a{
    margin-top: -30px;
    position: absolute;
    width: 100px;
    top: 35px;
    justify-content: center;
    display: flex;
}

.overlay:hover .blur-overlay {
    opacity: 1;  
}

.overlay:hover .info-hover {
    opacity: 1; 
}

.image-hover {
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%; */
    height: 400px;
    /* transition: transform 0.8s, filter 0.8s;
    display: block; */
}

.overlay:hover .image-hover {
    transform: scale(1.1);
    filter: blur(5px);
    opacity: 0.35;
}


/* ************** Page skills ************ */

.main-container {
    display: flex;
    justify-content: center;
    transition: transform 0.8s, filter 0.8s;
  }
  
  .card-about-me {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    width: 80%;
    margin: 0 auto;
  }

  .why-me {
    display: flex;
    padding: 50px 20px 0 20px;
    height: auto; 
    align-items: flex-start; 
    gap: 1vw;
  }
  
  .about-me {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    margin-top: 70px;
  }

  .about-me h1{
    justify-content: center;
    display: flex;
    width: 100%;
    font-size: calc(15px + 1vw);
  }

  .card {
    color: #ffffff;
    text-align: start;
    overflow: hidden;
    display: inline-block;
    padding: 20px 10px;
    height: auto; 
    align-content: center;
    justify-content: flex-start;
  }

  .card p {
    font-size: calc(10px + 0.3vw);
    text-align: justify;
    padding: 5px 5px;
  }

  .card h2 {
    font-size: calc(10px + 0.8vw);
    margin-bottom: 20px; 
    min-height: 50px; 
  }

  .skills-container {
    margin: 50px auto 150px auto; 
    /* padding: 0 150px; */
    width: 80%;
  }
  
  .skill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; 
  }
  
  .skill {
    width: 45%; 
    margin: 10px 5px; 
  }
  
  .skill label {
    color: #ffffff; 
    font-size: 1rem;
  }
  
  .skill-bar {
    background-color: #ffffff;
    height: 20px;
    margin-top: 10px;
    overflow: hidden;
  }
  
  .skill-fill {
    background-color: rgb(174, 144, 53);
    height: 100%;
  }

  .logo {
    display: flex;
    align-items: center; 
    justify-content: center; 

  }
  
  .line {
    height: 2px; 
    width: calc(5vw + 60px);
    background-color: #bdbdbd;
    margin: 0 20px; 
  }

  .line-bis {
    height: 2px; 
    width: calc(2vw + 30px);
    background-color: #bdbdbd;
    margin: 0 20px; 
  }
  
  .letter {
    font-size: calc(20px + 1vw);
    font-weight: bold; 
    font-family: "Allura", cursive; 
    text-decoration: none;
    color: #ffffff;
  }

  .letter-logo {
    font-size: calc(22px + 0.7vw);
    font-weight: bold; 
    font-family: "Allura", cursive; 
    text-decoration: none;
    color: #ffffff;
    position: absolute;
    left: 24px;
    top: 20px;
  }

  /* *** */

  .container-small{
    margin: 0 auto;
    margin-top: 5vw;
    max-width: 1400px;
    margin-bottom: 150px;
    padding: 0 4vw;
}


.block {
    margin-bottom: 50px;
}

.block-last{
    margin-bottom: 60px !important;
}


.title{
    font-size: 1.75rem;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
    color: white;
    font-weight: bold;
    margin: 1rem 0 0 0;
    
    
}

.title span{
    font-family: 'Pinyon Script', serif;
    color: #c89446;
    font-size: 2.5rem;
    display: block;
    text-transform: none;
}

.titleBis span{
    font-family: 'Pinyon Script', serif;
    color: #c89446;
    font-size: 2.5rem;
    display: block;
    text-transform: none;
}

.title::before{
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #c89446;
    margin-bottom: 1rem;
    /* margin-top: -12px; */
}

.titleBis::before{
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: #c89446;
    margin-bottom: 1rem;
    /* margin-top: -12px; */
}

.calendrier-title {
    font-size: 2.5rem;
    font-family: 'Pinyon Script', serif;
    /* text-transform: uppercase; */
}

.block-img{
    max-width: 350px;
    margin: 0 auto;
    border: solid 1px #c89446;
    border: none;
    position: relative;
    flex: 1;
    order: 1;
}

.block-img2{
    max-width: 350px;
    margin: 0 auto;
    border: solid 1px #c89446;
    border: none;
    position: relative;
    flex: 1;
    order: 1;
}


.block-img img{
    display: block;
    position: relative;
    z-index: 1;
    width: 500px;
    height: 350px;
}

.block-img2 img{
    display: block;
    position: relative;
    z-index: 1;
    width: 500px;
    height: 350px;
}

.block-center{
    margin-top: 50px;
    /* margin-bottom: 50px; */
    display: flex;
    justify-content: center;
}

.block-img-center {
    border: none;
    position: relative;
    flex: none;
}
   

.block-left {
    display: flex;
    align-items: center;
    color: #ffffff;
    gap: 80px;
    margin-bottom: 50px;
}

.block-body-bis {
    margin-right: 0px;
}

/* .block-left .block-img {
    margin-left: 30px;
} */

.block-left-inverted {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    color: #ffffff;
    gap: 80px;
    margin-bottom: 50px;
}

.block-left-inverted .block-body {
    margin-right: 104px;
}

.block-left-inverted .block-img {
    margin-right: 125px;
}

.block-left-inverted .block-img2 {
    margin-right: 125px;
}


.block-img video {
    width: 450px;
    height: 310px;
    position: relative;
    z-index: 1;
}

.block-img2 video {
    width: 450px;
    height: 310px;
    position: relative;
    z-index: 1;
}

.block-img::before {
    content: '';
    display: block;
    border: 1px solid #c89446;
    position: absolute;
    top: -18px;
    left: -30px;
    width: 450px;
    height: 260px;
    z-index: 0;
}

.block-img2::before {
    content: '';
    display: block;
    border: 1px solid #c89446;
    position: absolute;
    top: -18px;
    left: 36px;
    width: 450px;
    height: 260px;
    z-index: 0;
}




.block-right .block-body{
    margin-right: 94px;
    order: -1;
    margin-top: -40px;
    margin-top: 50px;
}

.block-body-prim{
    margin-left: 104px;
}

.block-left2 {
    display: flex;
    flex-direction: row;  
    flex-wrap: wrap;  
    align-items: center; 
    justify-content: space-between; 
    gap: 20px;  
    margin-bottom: 50px;
}

.block-left2 .block-img-secondary {
    max-width: 100%;  
    flex: 1;
}

.block-left2 .block-body {
    flex: 1;
    margin-left: 20px;  
}

.block-left2 video {
    max-width: 100%;  
    height: auto;  
}

.block-img-secondary {
    position: relative;
    border: none;
    flex: 1;
}

.block-img-secondary::before {
    content: '';
    display: block;
    border: 1px solid #c89446;
    position: absolute;
    top: -18px;
    left: -30px;
    width: 100%;
    height: 100%;
    z-index: 0;
    max-width: 450px; 
    max-height: 310px;  
}

.block-img-secondary video {
    display: block;
}

.more{
    display: block;
}

.flex {
    flex: 1;
    order: 2;
}

.flex2 {
    flex: 1;
    order: 1 !important;
    margin-left: 0 !important;
}

.block-body{    
    text-align: left;
    color: white;
    flex: 1;
    order: 2;
}

.block-body2 {
    text-align: left;
    color: white;
    /* margin-left: 104px; */
    flex: 1;
    order: -1;
}

#justify {
    text-align: justify;
}

/* #myVideo2 {
    margin-left: -120px;
} */

/* ********FULLSCREEN******** */

#myVideo.fullscreen {
    width: 80vw;  
    height: auto;  
    position: fixed;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 1500;  
}   

#myVideo2.fullscreen {
    width: 80vw;  
    height: auto;  
    position: fixed;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 1500;  
    /* margin-left: -120px; */
}   

#myVideo3.fullscreen {
    width: 80vw;  
    height: auto;  
    position: fixed;  
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 1500;  
} 

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-bg2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.fullscreen-bg3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#seekBar {
    width: 100%; 
    height: 5px;
    background-color: #555;
    outline: none;
    -webkit-appearance: none; 
    appearance: none; 
}
#seekBar::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    background-color: #00BFFF;
    cursor: pointer;
    -webkit-appearance: none;
}
#seekBar::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background-color: #00BFFF;
    cursor: pointer;
}




/* **************** */

#playPauseBtn {
    position: absolute;
    top: 50%;
    left: 64%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 50px;
    opacity: 1;
    transition: opacity 0.5s ease;
    width: 72px;
    height: 69px;
}

#playPauseBtn2 {
    position: absolute;
    top: 50%;
    left: 64%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 50px;
    opacity: 1;
    transition: opacity 0.5s ease;
    width: 72px;
    height: 69px;
}

#playPauseBtn3 {
    position: absolute;
    top: 50%;
    left: 64%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 24px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 50px;
    opacity: 1;
    transition: opacity 0.5s ease;
    width: 72px;
    height: 69px;
}


#playPauseBtn:hover {
    opacity: 0.8; 
}

  /* *********** EFFET CARD ROTATING ********** */

.card .fas {
    color: #0D1117;
}

.icon-wrapper {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #c89446;
    text-align: center;
    line-height: 30px;
    transition: transform 0.4s;
    position: relative;
    margin-right: 10px;
}

.icon-wrapper i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.4s;
}

.card:hover .icon-wrapper {
    transform: rotate(45deg);
}

.card:hover .icon-wrapper i {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* **** animate.css ****  */

.animate__zoomIn {
    animation-delay: 0.8s;
}

.animate__slideInLeft {
    animation-delay: -0.5s;
    --animate-duration: 1.2s;
}

.animate__fadeInLeft, .animate__fadeInUp, .animate__fadeInRight{
    animation-delay: 0.2s;
}

/* ******* DOWNLOAD ****** */

.download-container{
    justify-content: space-around;
    display: flex;
    width: 100%;
    /* font-family: 'Pinyon Script', serif; */
    font-weight: bold;
    font-size: calc(12px + 0.5vw);
    margin-top: 10px;
}

.download-container a{
    color: #c89446;
}

/* ************ ANIMATION TEXTE ***********  */
.animation-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center; 
    text-align: center; 
    overflow: hidden;
    box-sizing: border-box;
    flex-direction: column; 
}

.lf-container {
    margin-bottom: 50px;
}

.centered-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.animation-h1 {
    margin: 30px 5px 0 5px;;
    font-size: calc(12px + 0.9vw);
    font-weight: 300;
}
 

/* ***** PARTICULES ***** */

/* Styles de l'étoile filante 2 */
#star2 {
    position: absolute;
    width: 5px; 
    height: 5px;
    background-color: rgba(255, 255, 0, 0.9);  
    box-shadow: 0 0 80px 40px rgba(255, 255, 0, 0.7); 
    border-radius: 50%;
    top: -150px;
    opacity: 0; 
}


/* Animation de l'étoile filante 2 */
@keyframes shooting2 {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(100vw, 99vh);
        opacity: 0;
    }
}










  

  
  






























