@import url(https://db.onlinewebfonts.com/c/c998a4e2dac2d48cdc69da71f3e209d0?family=AkcelerA-Medium);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "AkcelerA-Medium";
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #000000;
    color: #000;
}

/* Hamburger menu */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1){
    transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2){
    opacity: 0;
}
.hamburger.active span:nth-child(3){
    transform: rotate(-45deg) translate(5px,-5px);
}

/* About page */

.about-container {
    flex-direction: column-reverse; 
    text-align: center;
    gap: 20px;
}

.about-text {
    max-width: 100%;
}

.about-image img {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
}

/* Contact page */

.image-container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 15px;
}

.overlay-link {
    font-size: 14px;
    padding: 12px 20px;
}

@media (max-width:768px){
    .hamburger {
        display: flex;
        position:absolute;
        left:20px;
        top:30px;
    }
    .nav-left {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 20px 0;
        z-index: 1000;
    }
    .nav-left a {
        margin: 15px 0;
        font-size: 16px;
    }
    .nav-left.active {
        display: flex;
    }
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        position: relative;
    }
}

@media (max-width: 768px) {
    .about {
        flex-direction: column;
        text-align: center;
    }
    .about h2, .about img {
        flex: none;
        width: 100px;
    }
    .about img {
        margin-top: 20px;
    }

    .contact {
        font-size: 12px;
        color: black;
    }
}
main {
     flex: 1;
}

/* index page  */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.nav-left a {
    margin-right: 20px;
    text-decoration: none;
    color: rgb(208, 207, 207);
}

.nav-center {
    text-align: center;
    color: #ffffff;
}

.nav-center h1 {
    font-size: 14px;
    color: white;
    font-family: "DM Sans", sans-serif;
}
.nav-center p {
    font-size: 10px;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: #ffffff;  
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0, 0.6);
}

.nav-left a {
    font-size: 12px;
}
.nav-left a:hover {
    color: #949393;
    cursor: pointer;
}

.nav-center h1 {
    font-size: 24px;
} 

.nav-right a {
    font-size: 22px;
    color: black;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .nav-left {
        order: 2;
    }

    .nav-center {
        order: 1;
    }

    .nav-right {
        order: 3;
    }
}

/* grid */

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    padding: 0px;
}
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* card  */

.card {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
}


.card img, 
.card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}
.card video {
    pointer-events: none;
}
 /* hover effect  */

 .card:hover img,
 .card:hover video {
    transform: scale(1.1);
 }
 .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
 }
 .card:hover .overlay {
    opacity: 1;
 }

 .overlay h2 {
    font-size: 12px;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: rgb(255, 255, 255, 0.6);
    
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0, 0.6);
 }

 .card:hover .overlay {
    opacity: 1;
 }

 /* Footer */

.footer {
    padding: 60px 0 40px;
    text-align: center; 
    background: #000000; 
}

.nav-left a.active {
    color: #ffffff;           
    font-weight: bold;        
    border-bottom: 0,1px solid #ffffff; 
}

.footer p {
    margin: 0; 
}

.footer p a {
    color: #fffdfd; 
    text-decoration: none; 
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block; 
    font-family: "DM Sans", sans-serif;
}

.footer p a:hover {
    color: #908e8e; 
    cursor: pointer;
}
.footer-content img:hover {
    transform: scale(1.1);
    color: #908e8e; 
    cursor: pointer;
}

/* about page  */

/* Section */
.about-section {
  padding: 100px 10%;
}

/* Titre */
.about-title {
  text-align: center;
  color: red;
  font-size: 25px;
  letter-spacing: 5px;
  margin-bottom: 80px;
}

/* Container flex */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* Texte */
.about-text {
  flex: 1;
  max-width: 500px;
}

.about-text p {
  margin-bottom: 25px;
  line-height: 1.6;
  color: #ccc;
  font-size: 14px;
}

.languages {
  margin-top: 30px;
  font-size: 14px;
  color: #888;
}

/* Image */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  filter: grayscale(100%);
}

/* contact page  */

.image-container {
    position: relative;  
    display: inline-block; 
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-container a {
    font-family: "DM Sans", sans-serif;
}
.overlay-link {
    position: absolute;
    top: 50%;      
    left: 50%;     
    transform: translate(-50%, -50%); 
    background: rgba(0,0,0,0.6); 
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
}
.overlay-link {
    font-size: 12px;
}

.overlay-link:hover {
    background: rgba(0,0,0,0.8);
}
@media (min-width: 769px) {
  .about-container {
    flex-direction: row;       
    text-align: left;          
    align-items: center;        
    gap: 50px;                  
  }

  .about-image {
    display: flex;
    justify-content: flex-end;  
  }
}