/* Importation des polices */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root{
    --marge : 20px;

}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

 img, video{
    width: 100%;
    display: block;
}

html,body{
    scroll-behavior: smooth;
}



/*====Header===*/
.header {
    padding: 60px 30px;
    display: flex;
    justify-content: space-between;
    background: white;
}

h1 a{
    text-decoration: none;
    color: rgba(7, 0, 62, 1);
    text-transform: uppercase;
}


.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    padding-left: 15px;
}



.active{
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 1px ;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background: black;
    transition: 0.3s;
}




/*====Footer Contact===*/

footer {
    background-color: #0A0A32;
    color: white;
    padding: var(--marge);
    height: 100vh;
}
.footer-container {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-text {
    font-size: 3rem;
   font-weight: 600;
}

.contact-links{
    display: flex;
    justify-content: space-between;
}

.contact-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
}


.letstalk {
    font-size: clamp(48px, 15vw, 500px);
    font-weight: 900;
    line-height: 0.9em;
    width: 100%;
    display: block;
}
.copyright {
    font-size: 12px;
    margin-left: 0.5em;
    opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-links{
      flex-direction: column;
      
    }    
    .contact-links a {
        padding-bottom: 30px;
    }

}


/*========================Accueil========================*/


/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 300px 0;
    margin-left: 60px;
}

.hero-text h1 {
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.hero-text p {
    margin: 70px 0px 40px;
    max-width: 600px;
    font-size: 1.4rem;
    line-height: 1.5rem;
    font-weight: 200;
}

.hero-image{
    position: absolute;
    top: 0;
    right: 0;
    pointer-events: none;
}

.hero-image .cheval{
    width: 50vw;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .hero{
       padding:  var(--marge);
       margin: 0;
    }

    .hero h1{
        font-size: 10vw;    
    }

    .hero-image{
        display: none;
    } 

    .hero-text p {
        margin: 20px 0px    0px;
        font-size: 1.2rem;
    }
}

/* PROJETS */
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 2300px;
    margin: 0 auto;
}

.project-item {
    position: relative;
   
}

.project-item img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 11 / 7;
}


.project-item h3 {
    margin-top: 10px;
    font-size: 18px;
}

.project-item a{
    text-decoration: none;
    color: black;
}

.project-item a:hover{
    color: rgba(18, 0, 153, 1);
}


/* RESPONSIVE */
@media (max-width: 768px) {

    .projects {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 20px;
        max-width: 1600px;
        margin: 0 auto;
    }

    
}




/*========================Projets========================*/

.bigvideo{
    width: 50%;
    margin: 0 auto;
    margin-bottom: 75px;
}

.top-image img{
    width: 100%;
    object-fit: cover;
}

.banner{
    padding-top: 30px;
    padding-bottom: 150px;
}

.top-part {
    display: flex;
    justify-content: space-between;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

@media only screen and (max-width: 768px) {
   .top-part{
    display: inline-block;
    
   }
   .top-image.banner{
    width: 100%;
    object-fit: cover;
    text-align: center;
    padding: 0;
    margin: 0;
    height: 22vh;
   }
    
}

.top-part-text{
    max-width: 50%;
    
}

.top-part-text p{
    line-height: 1.3;
}

.top-part-text h2{
    font-weight: 650 ;
    padding-bottom: 2em;
}

.top-part-text span{
    font-weight: bold;
}

.project-title{
   font-size: 4rem;
   line-height: 1;
   letter-spacing: -0.02em;
   font-weight: 900;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .project-title{
        font-size: 8vw;
        line-height: 1;
        letter-spacing: -0.02em;
        font-weight: 900;
        padding-bottom: 10px;
     }

     .top-part-text{
        max-width: inherit;
        
    }

     .top-part-text h2{
        font-weight: 600 ;
        padding-bottom: 4vw;
        
    }

    .top-part-text p{
        line-height: 1.3;
        font-size: 3.5vw;

    }
    
}

/* GALERIE D'IMAGES */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
}

.gallery-item.small{
    width: calc(100%/3*2);
}


video.medium{
    width: 50%;
}


.a-center{
    margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .gallery{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 0 40px 20px 40px;
      
    }

    .gallery-item.small{
        width: 100%;
    }

    video.medium{
        width: 80%;
        padding-bottom: var(--marge);
    }

    .bigvideo{
        width: 80%;
    }
    
}

/*========================RedLobster========================*/


.lobster img{ 
    width: 500px;  
    margin: 70px 0px 70px;
}

.top-image {
    display: flex;
    justify-content: center;
}

.deck{
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.troisd{
    aspect-ratio: 9/16;
    object-fit: cover;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .lobster img{ 
        width: 300px;
        margin: 0;
        padding: var(--marge);
      
    }
    .deck{
        width: 100%;
        height: 100vw;
        object-fit: scale-down;
        aspect-ratio: 3 / 2;
    }

  
    
}

@media (max-width: 1060px) {

    .gallery{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        padding: 0 40px 20px 40px;
      
    }

    .gallery-item.small{
        width: 100%;
    }

    video.medium{
        width: 80%;
        padding-bottom: var(--marge);
    }

    .bigvideo{
        width: 80%;
    }
    .project-title{
        font-size: 8vw;
        line-height: 1;
        letter-spacing: -0.02em;
        font-weight: 900;
        padding-bottom: 10px;
     }

     .top-part-text{
        max-width: inherit;
        
    }

     .top-part-text h2{
        font-weight: 600 ;
        padding-bottom: 4vw;
        
    }

    .top-part{
        display: inline-block;
        
    }
    img.deck{
        width: 100%;
       object-fit: cover;
       padding-bottom: 30px;
    }
    
}

/*========================SIG========================*/





/*========================BateauGeneve========================*/

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  }

  .responsive-iframe{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

/*========================BOOK========================*/
.banner{
    text-align: center;
    height: 40em;
   
    
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .banner{
        
        height: 20em;
       
        
    }

  
    
}

/*========================Ventura========================*/

.ventura-video{
 padding: 90px 0 90px 0;
}

.ventura-app-design{
    width: 80%;
}

.ventura-mockup{
    padding-top: 70px;
}

.ventura-work{
margin: 0;
}

.ventura-logo{
    width: 50%;
    height: auto;
    margin: 20px;
    
}



/*=======================Photography==============================*/


.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.gallery-item img {
    width: 100%;
    display: block;
}
.photo-gallery section{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.photography img{
    min-width: 300px;
}

.resize16-9 img{
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.space-down{
    margin-bottom: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
    .space-down{
        margin-bottom: 0px;
    }

    .space-down-iphone{
        margin-bottom: 40px;
    }
}


/*=======================ABOUT==============================*/


.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.about-text {
    padding-right: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.about-text p{
    line-height: 1.5;
    letter-spacing: 0.03;
}

.about-image img {
    width: 100%;
    max-width: 10000px;
    padding-left: 20px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column-reverse;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .about-image img {
        max-width: 100%;
        padding: 0 0 15px 0 ;
    }
}





/*=============CHEVAL=====================*/

.cheval{
    background-color: #fafafa;

    margin: 0;
    line-height: 1.5;
    font-size: 20px;

    font-family: sans-serif;
}


.cheval video,
canvas {
    display: none;
}
.cheval #text-video {
    font-family: monospace, serif;
    /* régler ici la taille et l'espacement des caractères */
    font-size: clamp(10px, 3.5dvh, 15px);
   
    letter-spacing: clamp(4px, 1dvh, 6px);
    line-height: clamp(10px, 2.5dvh, 15px);

    font-size: 12px;
    line-height: 1.2;

    font-weight: 900;
    position: absolute;

    color: blue;


}

/* RESPONSIVE */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
        z-index: 9;
        position: relative;
    }
    
    .nav ul.nav-links {    
        z-index: 1;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
    }

    .nav ul.nav-links.active {
        transform: translateY(50%);
        transition: transform 0.4s ease-in-out;
    }

    h1.logo{
        display: none;
    }

    

    .header{
        justify-content: flex-end;
        padding: 60px 30px 30px ;


    }

}
