:root {
    --color0: #ffffff;
    --color1: #800000;
    --color2: #580000;
    --color3: #310101;
    --color4: #000000;
    --colorhover : #db0000be;
    --font: "IBM Plex Sans", serif;
}

.titrecreation {
    color: var(--color0);
    text-align: center;
    padding-top: 24rem;
    padding-bottom: 15%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: var(--font)
}

body {
    height: 100vh;
    background-color: var(--color3);
    background-position: center;
    background-size: cover;
}

a {
    color: var(--color0);
    font-size: 1rem;
}

a:hover {
    color: var(--color2);
}

header {
    position: relative;
    padding: 0 2rem;
    background-color: rgba(0, 0, 0, 0.238);
    z-index: 10;
}

hr.separateur {
    width: 100%;
    height: 5%;
    background-color: rgba(0, 0, 0, 0.342);
    border: none;
}

/* --------- MENU NAVIGATION --------- */
.navbar {
    width: 100%;
    max-width: 1200px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.active {
    color: var(--color1);
}

.links a {
    font-weight: 700;
}

.links a:hover {
    color: var(--colorhover);
    font-weight: bold;
}

.navbar .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
}

.navbar .logo img {
    height: 22px;
    width: auto;
    object-fit: contain;
}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .burger-menu-button {
    color: var(--color0);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

.buttons {
    display: flex;
    gap: 10px;
}

.action-button {
    background-color: var(--color1);
    color: var(--color3);
    border: 1px solid var(--color1);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    outline: none;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
}

.action-button:hover {
    color: var(--color0);
    border: 1px solid var(--color0);
}

.rsx {
    background-color: transparent;
    color: var(--color0);
    border: 1px solid var(--color0);
}

.rsx:hover {
    background-color: var(--color0);
    color: var(--color1);
}

/* ------ FLECHE PROCHAINE SECTION ------ */
.scroll-down-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* ------ BURGER MENU ------ */
.burger-menu {
    display: none;
    height: 0;
    position: absolute;
    right: 2rem;
    top: 60px;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.burger-menu.open {
    height: 300px;
}

.burger-menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider {
    height: 1px;
    background-color: var(--color0);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.burger-menu .action-button {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons-burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* --------- VIDEO ACCUEIL --------- */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.content-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font);
    text-align: center;
    z-index: 1;
}

.content-video-background h1 {
    font-size: 3rem;
    margin: 0;
    color: var(--color0);
}

.content-video-background p {
    font-size: 1.5rem;
    margin: 30px 0 0;
    color: var(--color0);
}

/* --------- QUI SUIS JE --------- */
#quies {
    padding: 100px;
    font-family: var(--font);
    background-color: var(--color0);
    margin-top: 93.5vh;
    /* background-color: var(--color3); */
}

.titre-quies {
    /* color: var(--color0); */
    font-size: 5rem;
    text-align: center;
}

.quies p {
    color: #000;
}

/* --------- TALENT --------- */
.createur {
    background-color: var(--color0);
    padding-top: 40px;
}

.titre-createur {
    color: var(--color4);
    margin: 2vh;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.talent-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
    margin: 7vh;
}

.talent-vignette {
    display: flex;
    flex-direction: row;
    width: 600px;
    height: 150px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: Arial, sans-serif;
    
}

.talent-logo {
    width: 120px;
    height: 120px;
    margin: 15px;
    border-radius: 10px;
    flex-shrink: 0;
}

.talent-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    flex-grow: 1;
}

.talent-title {
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    color: var(--color0);
}

.talent-description {
    font-size: 14px;
    color: var(--color0);
}

.talent-socials {
    display: flex;
    justify-content: flex-start;
}

.talent-socials a {
    text-decoration: none;
    font-size: 20px;
    color: var(--color0);
    margin-right: 10px;
}

.talent-socials a:hover {
    color: var(--colorhover);
}

/* --------- REALISATION --------- */

.realisation {
    padding: 40px 20px;
    text-align: center;
}

.titrerealisation {
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--color0);
}

.project-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-card {
    flex: 1 1 calc(20% - 20px);
    max-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-card .content {
    padding: 16px;
}

.project-card .content h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #333;
}

.project-card .content p {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: #666;
}

.project-card .content p a {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: #666;
}

.project-card .content p a:hover {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: var(--colorhover);
}

.project-card .content .btn {
    background-color: var(--color1);
    color: var(--color3);
    border: 1px solid var(--color1);
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    outline: none;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
}

.project-card .content .btn:hover {
    color: var(--color0);
    border: 1px solid var(--color0);
}

.view-more {
    margin-top: 1.5rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.view-more .btn-view-more {
    display: inline-block;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    outline: none;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

@media (max-width: 1200px) {
    .project-card {
        flex: 1 1 calc(33.33% - 20px);
    }
}

@media (max-width: 768px) {
    .project-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .project-card {
        flex: 1 1 100%;
    }
}

/* --------- SECTION DE LA GALERIE --------- */
.galerie-selection {
    padding: 20px;
}

.titre-selection-galerie {
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--color0);
    text-align: center;
}

.galerie-selection div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    align-items: center;
}

.galerie-selection img {
    object-fit: cover;
    border-radius: 8px;
}

.img-selec-galerie {
    width: 100%;
}

.img1-selector-galerie {
    height: 250px;
}

.img2-selector-galerie {
    height: 300px;
}

.img3-selector-galerie {
    height: 180px;
}

.img4-selector-galerie {
    height: 220px;
}

.img5-selector-galerie {
    height: 200px;
}

.img6-selector-galerie {
    height: 150px;
}

.img7-selector-galerie {
    height: 270px;
}

.img8-selector-galerie {
    height: 200px;
}

.galerie-selection2 {
    padding-bottom: 2rem;
}

/* --------- FORMULAIRE CONTACT --------- */
.titrecontact {
    color: var(--color0);
    padding-left: 2rem;
    padding-top: 2rem;
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.formcontact {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.258);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    height: 565px;
    width: 610px;
    padding: 20px;
}

.labelcontact {
    display: block;
    margin-bottom: 8px;
    color: var(--color0);
}

.inputcontact, .textareacontact {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid var(--color1);
    border-radius: 4px;
}

.buttoncontact {
    padding: 10px 20px;
    background-color: var(--color1);
    color: var(--color3);
    font-weight: bold;
    border: 1px solid var(--color1);
    border-radius: 4px;
    cursor: pointer;
}

.buttoncontact:hover {
    background-color: var(--color2);
    border: 1px solid var(--color2);
    color: var(--color3);
    font-weight: bold;
}

/* --------- MENTIONS LEGALES --------- */
.titrementionslegales {
    padding-bottom: 1rem;
}
.titrementionslegales,
.paramentionslegales {
    color: var(--color0);
}

/* --------- FOOTER --------- */
footer {
    background-color: #333;
    color: var(--color0);
    padding: 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.footer-item p {
    margin: 0;
}

.footer-item .footer-reseaux {
    color: var(--color0);
    margin-left: 10px;
}

.footer-item .footer-reseaux:hover,
.legal-link a:hover,
.footer-link-mail:hover,
.footer-credits p a:hover {
    color: var(--colorhover);
}

.footer-hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #444;
}

.legal-link a {
    color: var(--color0);
}

.footer-credits p {
    margin: 1%;
    font-size: 14px;
}

/* -------------- RESPONSIVE -------------- */
@media (max-width: 1020px) {
    .navbar .logo img {
        height: 17px;
    }
}

@media (max-width: 990px) {
    .navbar .logo img {
        height: 22px;
    }
    
    .navbar .links,
    .navbar .action-button {
        display: none;
    }

    .navbar .burger-menu-button {
        display: block;
    }

    .burger-menu {
        display: block;
        z-index: 10;
    }

    .titrecontact {
        color: var(--color0);
        padding-top: 0;
        padding-left: 2rem;
        padding-bottom: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .burger-menu {
        left: 2rem;
        width: unset;
    }

    .navbar .logo img {
        height: 15px;
    }

    .formcontact {
        margin: 0 2rem;
        width: unset;
    }

    .footer-container {
        display: block;
        text-align: center;
    }
    
    .footer-item {
        margin-bottom: 15px;
    }
    
    .footer-item a {
        margin-left: 5px;
    }

    .footer-credits p {
        font-size: 12px;
    }
}