@font-face {
    font-family: 'Bambino';
    src: url("../font/Bambino-Light.ttf") format("truetype");
}
@font-face {
	font-family: 'Bambino1';
	src:   url("../font/Bambino-Extra-Light.ttf") format("truetype")
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
/*    cursor: none; */    
    font-family: "Bambino";
    overflow-x: hidden;
    min-height: 150vh;
}


a:link, a:visited {
    text-decoration: none;
    color: #1D1D1D;
}




.circle {
    z-index: 5;
    position: absolute;
    pointer-events: none;
   
    top: 0px;
    left: 0px;
    background-color: #32964a;
    width: 45px; 
    height: 45px; 
    border-radius: 50%;
    transition: width 0.2s ease, height 0.2s ease;
}



header {
    position: sticky;
    width: 100%;
    height: 700px;
    z-index: 4;
   
}

#videoh{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}

nav {
    
    width: 100%;
    height: 80px ;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F2F2F2;

}

#logo::after {
    content: "Clémence RIGAUD";
    font-family: "Bambino";
    font-size: 1.7em;
    color: #141414;
    margin-left: 60px
}

#menu {
    font-size: 1.2em;
    display: flex;
    gap: 35px;
    margin-right: 5%;
}

#burger-menu {
    display: none;
}

#burger-content {
    display: none;
}

#menu a:hover {
    color: #236d37;
}

#accueil {
    top: 0;
    width: 100%;
    height: 100Vh;
    position: fixed;

}

#text-anim  {
    padding-top: 20vh;
}

#home-text {
    position: absolute;
    width: 100%;
    text-align: center;
}

#home-text img {
    width: 800px;
}

#home-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    z-index: 2;
}

@keyframes idle {
    from { transform: translateY(0);}
    to {transform: translateY(30px);}
}

#home-image-container img {
    z-index: 2;
    width: 600px;
    animation: 5s ease-in-out infinite alternate idle;
}


#main-content {
    margin-top: 100px;
    position: relative;
    z-index: 3;
    width: 100%;
    background-color: #F2F2F2;
    filter: drop-shadow(0 -10px 20px rgba(0, 91, 69, 0.15));
}

h1 {
    font-family: "Bambino";
    font-size: 7em;
    letter-spacing: 0.01em;

        color: #262521;
        margin-left: 40px;
}

#a-propos {
    padding-top: 140px;
    display: flex;
    justify-content: center;
}

#a-propos h1 {
    position: absolute;
    margin-top: -10%;
    margin-left: 47%;
    color: #141414;
    text-align: end;
}

#a-propos-content {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 1145px;
    margin: 0 auto;
}
#picto{
    margin-right: 90px;
}

#pos-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 800px;
    border-radius: 15px;
    justify-content: center;
    display: flex;
    align-items: center;
}

#infos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#infos p {
    width: 100%;
    font-size: 1.1em;
}

#cv {
    padding: 9px 25px;
    border-radius: 10px;
    font-weight: 600;
    background-color: #141414;
    color: #F2F2F2;
    width: fit-content;
}

#competences , #projets {
    padding-top: 75px;;
}

#competences h1{
    color: #262521;
    margin-left: 40px;
    margin-bottom: 7%;
}

@keyframes slide {
    from {background-position-x: 0;}
    to {background-position-x: -2284px;}
}

@keyframes slide2 {
    from {background-position-x: 0;}
    to {background-position-x: 3281px;}
}

.skill-slider {
    width: 100%;
    height: 180px;
}

#skills {
    background-image: url("/images/typo.webp");
    animation: slide 25s linear infinite;
}

#software {
    background-image: url("/images/compet.webp");
    animation: slide2 35s linear infinite;
}


#projets {
    padding-top: px;
}

#projets h1 {
    color: #141414;
    text-align: right;
    padding-bottom: 40px;
    text-align: end;
    margin-right: 3%;
}



#projets-content {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

#categories {
    width: fit-content;
}

#categories button{
    border: none;
    font-family: "Bambino";
    background: none;
    font-size: 41px;
    color: #1D1D1D;
    margin: 3px auto;
    transition: color 0.3s ease-in-out;
}

#categories button.active {
    color: #329C4F;
  }

#liste-projets {
    width: 1164px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 42px;
    padding-top: 35px;
    padding-bottom: 50px;
    margin: 0 auto;
}

#liste-projets2 {
    width: 1164px;
    display: flex;
    row-gap: 40px;
    column-gap: 42px;
    padding-top: 35px;
    padding-bottom: 50px;
    margin: 0 auto;
}
.projet2 img {
    width: 360px;
    height: 255px;
    object-fit: cover;
    border-radius: 10px;
}
.projet img {
    width: 360px;
    height: 255px;
    object-fit: cover;
    border-radius: 10px;
}

.projet a:hover img {
    opacity: 0.7;
}

.projet a:hover .projet-desc {
    color: #329C4F;
}


.projet h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3em;
    padding-top: 10px;
    padding-left: 2px;
}

.projet p {
    padding-top: 5px;
    padding-left: 2px;
    font-size: 1em;
}


#contact {
    margin-top: 50px;
    background-color: #F2F2F2;
    padding: 50px;
}

#contact h1 {
    color: #F2F2F2;
    padding-left: 115px;
}

#moyen-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    width: 100%;
}

#moyen-contact a {
    color:#1D1D1D;
    display: flex;
    align-items: center;
    width: fit-content;
    font-size : 1.4em;
    font-weight: 600;
    background-color: #F2F2F2;
    padding: 8px 45px;
    border-radius: 13px;
    gap: 13px;
}

#moyen-contact img {
    width: 50px;
}


footer {
    position: absolute;
    padding-bottom: 20px;
    z-index: 3;
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: #141414;
    color: #F2F2F2;
    font-weight: 600;
}

#link-ml:link, #link-ml:visited {
    color: #F2F2F2;
    font-weight: 600;
}


@media screen and (max-width:1240px) {

    #liste-projets{
        width: 894px;
        column-gap: 34px;
    }

    .projet img {
        width: 429px;
    }

    #a-propos {
        padding-top: 170px;
    }

    #a-propos h1 {
        margin-top: -113px;
        margin-left: -30px;
    }

    #a-propos-content {
        flex-direction: column;
        row-gap: 30px;
        align-items: center;
    }

    #a-propos-content img {
        width: 80%;
        margin-left: 100px;
        margin-top: 48px;
    }

    #infos {
        width: 80%;
        max-width: 800px;
        padding-left: 0;
    }

    #a-propos-content p {
        text-align: justify;
        padding: 0;
    }

    #skills {
        background-size: cover;
    }

    #software {
        background-size: cover;
    }

    
}






@media screen and (max-width:1005px) {

    h1 {
        font-size: 8em;
    }

    #logo::after {
        font-size: 1.5em;
    }

    #menu {
        font-size: 1em;
        gap: 21px;
    }

    #a-propos h1 {
        margin-top: -90px;
        margin-left: -30px;
    }

    #categories button {
        font-size: 2.3em;
        padding-right: 6px;
    }

    #liste-projets{
        width: 635px;
        column-gap: 34px;
    }

    .projet img {
        width: 300px;
    }

    .projet h2 {
        font-size: 1.2em;
    }

    .projet p {
        font-size: 0.9em;
    }

    #contact h1 {
        padding-left: 50px;
    }
    
}




@media screen and (max-width:760px) {

    .circle {
        display: none;
    }

    h1 {
        font-size: 2.8em
    }

    #text-anim {
        padding-top: 34vh;
        padding-left: 12px;
    }

    #home-text img {
        width: 90%;
    }

    #home-image-container {
        padding: 0;
    }

    #home-image-container img  {
        width: 90%;
    }

    #a-propos {
        padding-top: 120px;
    }

    #a-propos h1 {
        margin-top: -45px;
        margin-left: -62px;
    }

    #competences {
        padding-top: 50px;
    }

    #competences h1 {
        text-align: center;
        margin-left: 0;
    }

    .skill-slider{
        height: 53px;
    }

    #projets {
        padding-top: 50px;
    }

    #projets h1 {
        text-align: center;
        margin-right: 0;
    }

    #projets-content {
        margin: 0;
        width: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #categories {
        padding: 0;
        width: 80%;
        padding-bottom: 20px;
    }

    #categories button {
        font-size: 2em;
    }

    #liste-projets {
        width: 80%;
        flex-direction: column;
        align-items: center;
        column-gap: 0;
        padding: 0;
    }

    .projet img {
        width: 100%;
    }

    nav {
        padding: 25px 50px;
    }

    #contact {
        margin-top: 70px;
    }

    #contact h1 {
        width: fit-content;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        line-height: 1;
    }

    #moyen-contact {
        gap : 23px;
    }

    #moyen-contact a {
        font-size: 0.85em;
        padding:  8px 15px;
    }

    #moyen-contact img {
        width: 32px;
    }

    footer {
        padding-top: 12px;
        padding-bottom: 30px;
        font-size: 0.6em;
    }



    /*MENU BURGER*/

    #menu {
        display: none;
      }
    

    #burger-menu {
        display: block;
        z-index: 10;
        cursor: pointer;
        background: none;
        border: none;
    }
    
    #burger-menu div {
        width: 25px;
        height: 3px;
        background-color: #1D1D1D;
        margin: 5px;
        transition: transform 0.4s ease;
    }
    
    #burger-menu.active div:first-child {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    #burger-menu.active div:nth-child(2) {
        opacity: 0;
    }
    
    #burger-menu.active div:last-child {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    #burger-content {
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 2em;
        gap: 4vh;
        top: 81px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: #F2F2F2;
        z-index: 999;
        overflow-y: auto;
        transition: height 0.3s ease;
    }
      
    #burger-menu.active + #burger-content {
        height: calc(100vh - 81px); 
    }
        

    .menu-content.show {
        display: flex;
        flex-direction: column; 
        gap: 20px; 
        margin-top: 20px;
    }

    .menu-content.show a {
        text-decoration: none;
        color: #1D1D1D;
        font-size: 1.2em; 
    }

}



@media screen and (max-width:1005px) {

    .projet-detail h1 {
        font-size: 4.5em;
    }

    .banner {
        height: 26vh;
    }

    .lien-projet {
        font-size: 1em;
    }
}


@media screen and (max-width:760px) {
    
    .projet-detail {
        margin-bottom: 70px;
    }

    .projet-detail h1 {
        margin-top: 15px;
        font-size: 3.5em;
        line-height: 1em;
    }

    .projet-detail > p {
        margin-top: 8px;
        font-size: 1.1em;
    }


    .banner {
        width: 126%;
        margin-left: -13%;
    }

    .desc-projet {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .le-projet p{
        font-size: 1.1em;
    }

    .complement {
        gap: 30px;
    }

    .galerie {
        margin-bottom: 30px;
    }

    .gallery-item img {
        height: 50vw;
    }
}

#rond {
    height: 90vh;
    width: 100%;
    width: 1080px;
    display: grid;
    place-items: center;
    background-size: cover;
    font-size: 1em;
  }
  
  .contour {
    position: relative;
    width: 693px;
    height: 680px;
    display: grid;
    place-items: center;
    margin-bottom: 3vw;
    margin-left: 25vw;

  
  }
  
  .contour i {
    position: absolute;
    inset: 0;
    border: 2px solid #262521;
    transition: 0.5;
  }
  
  .contour i:nth-child(1) {
    border-radius: 79% 91% 90% 60% / 70% 65% 81% 81%;
    animation: anim 6s linear infinite;
  }
  
  .contour i:nth-child(2),
  .contour i:nth-child(3) {
    border-radius: 41% 44% 56% 59% / 38% 62% 63% 37%;
  }
  
  .contour i:nth-child(2) {
    animation: anim 4s linear infinite;
  }
  
  .contour i:nth-child(3) {
    animation: anim 10s linear infinite;
  }
  
  
  @keyframes anim {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes anim2 {
    0% {
      transform: rotate(360deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }
  
  .formulaire {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 2;
    box-sizing: border-box;
    
  }
  #case {
    display: flex;
    align-items: center;
  }
  
  h2 {
    font-size: 2em;
 
  
  }
  
  input {
    width: 100%;
    border: 2px solid #141414;
    border-radius: 40px;
    padding: 12px 20px;
    box-sizing: border-box;
    background: transparent;
    font-size: 1.2em;
    box-shadow: none;
    outline: none;
    font-family: 'Bambino';
    gap: 5px;
    
  }
  
  input[type="submit"] {
    width: 100%;
    background: linear-gradient(45deg,  #262521, #f03a31, #262521 );
    border: none;
    cursor: pointer;
    color: #F2F2F2;
  }
  
  input::placeholder {
    color: #2c2b2b;
  }
  textarea{
    width: 100%;
    border: 2px solid #141414;
    border-radius: 40px;
    padding: 12px 20px;
    box-sizing: border-box;
    background: transparent;
    font-size: 1.2em;
    box-shadow: none;
    outline: none;
    color: #2c2b2b;
    height: 120px;
  
  }
  label{
    display: flex;
    justify-content: center;
    font-size: 1.2em;
    padding: 5px 20px;
  }
  #tete{
    width: 100%;
    gap: 13px;
  }
  
#langSelect{
    font-family: "Bambino";
    color: #F2F2F2;
    background-color: #262521;
    border: #f03a31;
    border-radius: 15px;
}


@media screen and (max-width: 768px) {
    .contour {
        width: 90%; /* Ajustement de la largeur pour s'adapter à des écrans plus petits */
        margin: 0 auto; /* Centrer le contour sur les écrans plus petits */
    }

    .formulaire {
        width: 90%; /* Ajustement de la largeur pour s'adapter à des écrans plus petits */
    }

    input, textarea {
        width: 100%; /* Assurer que les champs de saisie prennent toute la largeur disponible */
    }

    h2 {
        font-size: 1.5em; /* Réduction de la taille de la police pour les en-têtes */
    }
    body{
        width: 100%;
        margin: auto;
    }
    .contour i{
        display: none;
    }
    #contact{
        padding: 0%;
    }
}


.header-image {
    width: 100%;
    height: 220px;
    background: url(./images/header.jpg);
}


.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.block {
    background-color: #ccc;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

/* Styles pour les images cliquables */
.block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.block a {
    display: block;
    width: 100%;
    height: 100%;
}




/* Ajout des vidéos */
.two-large-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .three-images {
        flex-direction: column;
    }
}

/* FOOTER STYLES */
.site-footer {
    background-color: #26272b;
    padding: 45px 0 20px;
    font-size: 15px;
    line-height: 24px;
    color: #737373;
  }
  
  .site-footer h6 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 2px;
  }
  
  .site-footer a {
    color: #737373;
    text-decoration: none;
  }
  
  .site-footer a:hover {
    color: #3366cc;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    display: inline-block;
    margin-right: 10px;
  }
  
  .footer-links a:hover {
    color: #3366cc;
  }
  
  .social-icons {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }
  
  .social-icons a {
    background-color: #33353d;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .social-icons a:hover {
    background-color: #29aafe;
  }
  
  .copyright-text {
    text-align: center;
    margin: 0;
    font-size: 14px;
    color: #737373;
  }
  
  /* RESPONSIVE */
  @media (max-width: 767px) {
    .site-footer {
      text-align: center;
      padding-bottom: 10px;
    }
  
    .social-icons {
      justify-content: center;
      margin-top: 10px;
    }
  }

  video{
    width: 360px;
    height: 250px;
  }
  
  