* {
    color: white;
    font-family: "POPPINS";
    text-decoration: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    height: 100svh;
    z-index: 1;
    background:#000000;
}

hr {
    position: relative;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #525252;
}

strong {
    font-weight: 1000;
}

.title-1 {
    font-family: 'Playfair';
    font-style: italic;
    font-size: 4em;
    font-weight: 100;
    margin-bottom: 12px;
    margin-right: .2em;
}

.title-2 {
    font-weight: 550;
    font-size: 4em;
}

nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    position: fixed;
    width: 100%;
    border-width: 0px 0px 1px 0px;
    border-style: solid;
    border-color: #525252;
    display: flex;
    justify-content: space-between;
    padding: 0.2em 3em 0 3em;
    align-items: center;
    z-index: 999;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 10px;
}

nav ul li a {
    font-family: 'Quicksand';
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff9100;
}

.nav-title img {
    width: 30px;
    display: flex;
    align-items: center;
}

nav a {
    background: none;
    border: none;
    cursor: pointer;
}

nav a i {
    font-family: 'Quicksand';
    font-weight: 600;
}

.bg-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg, rgba(87, 199, 133, 0) 70%, rgba(0, 0, 0, 1) 100%);
}
.hero-section {
    height: 100svh;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.hero-section-left {
    padding: 0 0 3em 3em;
    width: 80%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
    animation: revealText 1s forwards;
}

.hero-section-left-top {
    display: flex;
}
.hero-section-left-top p {
    margin-top: 10vh;
    font-weight: 400;
    font-family: 'Quicksand';
}

.hero-section-left-bottom {
    display: flex;
    align-content: end;
    flex-direction: column;
    margin-top: auto;
}

.hero-title {
    display: flex;
    align-items: center;
}

.hero-desc {
    font-size: .8em;
    width: 50%;
    padding-bottom: 2em;
}

.hero-button a {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1em;
    padding: 6px 20px;
}

.hero-button a:hover {
    color: #ff9100;
    border: 1px solid #ff9100;
}
.hero-button a i {
    margin: 0 0 0 10px;
}

.hero-section-right {
    padding: 0 3em 3em 0;
}

.hero-section-right p {
    margin-top: 25%;
    font-weight: 400;
    font-family: 'Quicksand';
    text-align: right;
    opacity: 0;
    animation: revealText 1s forwards;
}

video {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    width: 100vw;
    height: 100svh;
    object-fit: cover;
    z-index: 0;
    filter: blur(5px);
}


.nav-projets ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    padding: 0;
}

.nav-projets ul li {
    list-style: none;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    margin: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.5);
}

.nav-projets ul li:hover {
    background: linear-gradient(to right, #ff9100, #fc0c0c);
}
.nav-projets ul li.active {
    background: linear-gradient(to right, #ff9100, #fc0c0c);
}

.projets-section {
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 1) 0%, rgba(87, 199, 133, 0) 40%, rgba(21, 49, 33, 0) 60%, rgba(0, 0, 0, 1) 100%), url(https://www.contoursonore.fr/img/BG2.jpg);
}

.projets {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    
}

.projets-title {
    padding-top: 2em;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projet {
    place-self: start;
    height: auto;
    position: relative;
    display: block;
    width: 500px;
    height: 360px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    margin: 10px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.projet.hide {
    opacity: 0;
    pointer-events: none;
}

.image-box {
    overflow: hidden;
    border-radius: 20px;
    margin: 0;
    height: 250px;
}
.img-film {
    width: 100%;
    height: 100%;
    transition: all 0.4s ease-in-out;
    object-fit: cover;
    object-position: center;
}

.img-film:hover {
    transform: scale(1.1);
}

.projet-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: absolute;
    top: 8%;
    left: 7%;
    margin: 0;
    gap: 1em;
}

.tag {
    border-radius: 3em;
    background: rgba(61, 61, 61, 0.46);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.5);
    font-size: .8em;
    padding: 2px 15px 0 15px;
}

.projet-infos {
    margin: 0;
}

.projet-infos h1 {
    color: #c5c5c5;
    font-weight: 300;
    font-size: .85em;
    margin-top: 20px;
}

.projet-infos p {
    font-weight: 300;
    margin: 0;
    font-size: 1.2em;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.pagination button {
    cursor: pointer;
    border-radius: 3em;
    background: rgba(61, 61, 61, 0.46);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.5);
    font-size: 2em;
    padding: 2px 15px 0 15px;
}

.about-me {
    height: 100%;
}

.aboutme-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    padding: 10em;
    align-content: center;
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, 1) 0%, rgba(87, 199, 133, 0) 40%, rgba(21, 49, 33, 0) 60%, rgba(0, 0, 0, 1) 100%), url(https://www.contoursonore.fr/img/BG3.jpg);
    background-size: cover;
    background-position: center;
}

.aboutme-left {
    flex: 1;
}

.aboutme-right {
    display: flex;
    justify-content: center;
}
.aboutme-img {
    left: 50%;

}

.aboutme-img img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    vertical-align: middle;
}

.aboutme-name {
    display: flex;
    align-items: center;
    margin: 0;
}

.aboutme-text1 {
    text-align: start;
    font-family: "Poppins", sans-serif;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1.6em;
    letter-spacing: -0.2px;
    margin-block-end: 20px;
    width: 70%;
}

.contact-title {
    position: relative;
    color: white;
    display: flex;
    justify-content: center;
    font: 300 60px 'Quicksand', sans-serif;
    padding: .5em 0 .5em 0;
    background-image: url(https://contoursonore.fr/img/noise.png);
}

.contact-section {
    position: relative;
    z-index: 1;
    background:#0A0A0A;
    background-image: url(https://contoursonore.fr/img/noise.png);
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0 6em 3em 6em;
    gap: 2em;
}

.contact-left {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-left h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 2.5vw;
    margin-top: 4vw;
    margin-bottom: 5px;
    color: white;
}

.contact-inputs {
    width: 400px;
    height: 50px;
    background-color: #0A0A0A;
    font-weight: 200;
    padding: 6px 12px;
    color:#8F8F8F;
    border: 1px solid #8F8F8F;
    border-radius: 4px;
}

.contact-left textarea {
    height: 140px;
    width: 400px;
    padding-top: 15px;
    border-radius: 4px;
    background-color: #0A0A0A;
    padding: 6px 12px;
    color:#8F8F8F;
}

.send-button {
    color: white;
    height: 36px;
    width: 400px;
    overflow: hidden;
    transition: all .2s ease-in-out;
    background-color: #525252;
    border-radius: 4px;
}

.alt-send-button {
    width: 400px;
    height: 36px;
    margin-top: 10px;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.send-text {
    display: block;
    margin-top: 12px;
    font: 700 12px 'Poppins', sans-serif;
    letter-spacing: 2px;
}

.alt-send-button:hover {
    transform: translate3d(0px, -29px, 0px);
}

.contact-right {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 20px;
    color: white;
}

.contact-info {
    cursor: pointer;;
    font-size: 2em;
    color:#bbb;
    display: flex;
    justify-content: center;
}

.contact-info span {
    font-size: .6em;
    padding-top: 0.2em;
    padding-left: 1em;
}

.contact-info span:hover {
    color: white;
}

.social-icon {
    display: flex;
}

.social-button {
    width: calc(0.8 * 4rem);
    height: calc(0.8 * 4rem);
    background-color: rgb(46, 46, 46);
    border-radius: calc(0.1 * 4rem);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: .6em;
    font-size: 2em;
    color: white;
}

.popup {
    cursor: pointer;
}

.popup-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all 400ms ease;
    background: rgba(0,0,0,0.8);
    transform: translate(0%, -100%);
}

.popup-video-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0%, 0%);
}

.popup-video iframe {
    position: absolute;
    width: 60%;
    left: 50%;
    top: 50%;
    aspect-ratio: 16/9;
    transform: translate(-50%, -50%);
}


.popup-video span {
    cursor: pointer;
    position: absolute;
    top: 50px;
    right: 20px;
    font-size: 7em;
    color: white;
    z-index: 100;
}

.footer {
    position: relative;
    display: flex;
    background: #0A0A0A;
    font-size: 0.6rem;
    padding: 2em 10em 2em 10em;
    justify-content: space-between;
}

.footer-left {
    color: white;
    display: flex;
    flex-direction: column;
}

.footer-left h1 {
    font-size: 3em;
}

.footer-left p {
    padding-top: 2em;
    font-size: 1.5em;
}

.footer-left h2 {
    color: #8F8F8F;
    font-weight: 200;
}

.footer-right {
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-right a {
    color: white;
}

.mentions-section {
    width: 100%;
    color: white;
    display: flex;
    position: relative;
    justify-content: center;
}

.mentions {
    width: 60%;
    padding-top: 5em;
}

.mentions h3 {
    font-weight: 200;
    font-size: 0.8em;
    padding-top: 3em;
    padding-bottom: 3em;
}

.mentions h2 {
    padding-top: 1em;
}

.mentions p {
    color: white;
}

@media (max-width: 1330px) {
    .aboutme-text1 {
        width: 100%;
    }
}
@media (max-width: 1100px) {
    nav ul {
        gap: 1rem;
    }
    .projet {
        width: 300px;
        height: 200px;
        padding: 10px;
    }
    .image-box {
        width: 278px;
        height: 130px;
    }
    .projet-infos h1 {
        font-size: .6em;
        margin-top: 10px;
    }
    .projet-infos p {
        font-size: .8em;
    }
}

@media (max-width: 930px) {
    .contact-section {
        flex-direction: column;
        margin: 0;
        justify-content: center;
        align-items: center;
        max-width: 100%;
    }
    .contact-right {
        padding-top: 2em;
        font-size: .7em;
        flex-direction: row;
        align-items: center;
    }
    .contact-info span {
        padding-left: .5em;
    }
}

@media (max-width: 800px) {
    .projet {
        width: 300px;
        height: 200px;
        padding: 10px;
    }
    .image-box {
        width: 278px;
        height: 130px;
    }
    .projet-infos h1 {
        font-size: .6em;
        margin-top: 10px;
    }
    .projet-infos p {
        font-size: .8em;
    }
    .aboutme-section h2 {
        font-size: 2em;
    }
    .aboutme-section {
        padding: 1em;
    }
    .popup-video iframe {
        width: 90%;
    }
    .footer {
        padding: 2em 5em 2em 5em;
        flex-direction: column;
    }
    .footer-left {
        justify-content: center;
        align-items: center;
    }
    .footer-right {
        padding: 2em 0 0 0;
    }
    .footer-left h1 {
        font-size: 2em;
    }
    .footer-left p {
        font-size: 1.2em;
    }
    .mentions {
        width: 80%;
    }
    .contact-inputs {
        width: 250px;
        height: 50px;
    }
    .contact-left textarea {
        width: 250px;
    }
    .send-button {
        width: 250px;
    }
    .alt-send-button {
        width: 250px;
    }
    .contact-right {
        flex-wrap: wrap;
    }
    .hero {
        aspect-ratio: 16/9;
        height: 300px;
    }
    .video-bg {
        height: 300px;
        object-fit: cover;
    }
    .content h1 {
        font-size: 3em;
    }

}

@media (max-width: 640px) {
    .projet {
        width: 280px;
        height: 180px;
        padding: 10px;
    }
    .image-box {
        width: 258px;
        height: 120px;
    }
    .projet-infos h1 {
        font-size: .5em;
        margin-top: 10px;
    }
    .projet-infos p {
        font-size: .6em;
    }
    .projet-tag {
        top: 10%;
    }
    .nav-projets ul li {
        font-size: .6em;
        padding: 6px 10px;
    }
    .title-1 {
        font-size: 2em;
        margin-bottom: 7px;
    }
    .title-2 {
        font-size: 2em;
    }
    .hero-section-left {
        padding: 0 0 3em 1em;
    }
    .hero-section-right {
        padding: 0 1em 3em 0;
    }
    .hero-section-left-top p {
        font-size: .6em;
    }
    .hero-desc {
        font-size: .6em;
        width: 80%;
    }
    .hero-button {
        font-size: .6em;
    }
    .hero-section-right {
        font-size: .6em;
    }
}

@media (max-width: 600px) {
    .aboutme-img {
        width: 70%;
    }
    .aboutme-text1 {
        font-size: .6rem;
    }
    .projet-tag {
        left: 10%;
        gap: .5em;
    }
    .tag {
        font-size: .2em;
        padding: 2px 7px 0 7px;
    }
    .projet {
        width: 160px;
        height: 130px;
        padding: 10px;
        border-radius: 10px;
    }
    .image-box {
        width: 138px;
        height: 80px;
    }
    .projet-infos h1 {
        font-size: .2em;
        margin-top: 5px;
    }
    .projet-infos p {
        font-size: .6em;
    }
    .image-box {
        border-radius: 10px;
    }
}

@media (max-width: 550px) {
    nav {
        padding: 0.2em 1em 0 1em;
    }
    nav ul li a {
        font-size: .8em;
    }
    .nav-button {
        font-size: .6em;
    }
}

@media (max-width: 380px) {
    .hero .content .title h1 {
        font-size: 2em;
    }
    .projet {
        height: 200px;
    }
    .image-box {
        height: 150px;
    }
    .projet-tag {
        top: 8%;
        left: 10%;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes revealText {
    from {
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}