@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=League+Spartan:wght@100..900&display=swap');

:root {
    --primary-gradient: #DE4421;
    --color-secondaire: #DE4421
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}


body {
    background-color: rgb(42, 33, 42);
    overflow-x: hidden;
}

#top {
    background: url(photointro.png);
    background-size: cover;
    color: bisque;
    padding-bottom: 50px;



}

#h1 {
    padding-left: 10%;
}

#etudiant {
    font-size: 48px;
    padding-top: 380px;
    text-align: center;
    border-radius: 10px;
    padding-left: 10%;
}

.divider-2 {
    padding-top: 100px;
    width: 100%;
    margin-bottom: -1%;

}

.sepa-top {
    background-color: #DE4421;
    color: #DE4421;
    padding-bottom: 200px;
}

nav {
    background: rgba(109, 51, 36, 0.59);
    position: sticky;
    z-index: 1000;
    top: 10px;
    margin-left: 6%;
    margin-right: 6%;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(50px);
    border: 1px solid #de44218f;
}


@font-face {
    font-family: Homie;
    src: url(Assets/Police/HomieWaves-PVDRZ.otf);
}

@font-face {
    font-family: Giomori;
    src: url(Assets/Police/GiomoriItalic-MAqln.otf);
}


.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    object-fit: cover;
    z-index: -1;

    pointer-events: none;

}

.menu-container,
.hamburger-group {
    display: flex;
    min-height: 10dvh;
    justify-content: space-evenly;
    align-items: center;
    font-size: 2em;

}

.menu-container-2 {
    display: flex;
    min-height: 1dvh;
    justify-content: space-evenly;
    align-items: center;
    font-size: 2em;
    margin-bottom: 100px;
    margin-top: 50px;

    text-align: center;
}

.hamburger-group {
    display: none;
    justify-content: end;
    padding-right: 3dvw;
}

.menu-item {
    list-style: none;
}

.menu-item-2 {
    text-align: center;
    list-style: none;
    display: flex;

}

.menu-link-2 {
    display: inline-block;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: #090909;
    padding: 1.7em 2.7em;
    cursor: pointer;
    font-size: 30px;
    border-radius: 0.5em;
    width: 50%;
    text-decoration: none;

    border: 1px solid #000000;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.menu-link-2:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.menu-link-2:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.menu-link-2:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: rgba(0, 0, 0, 0.418);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.menu-link-2:hover {
    color: var(--primary-gradient);
    border: 1px solid bisque;
}

.menu-link-2:hover:before {
    top: -35%;
    background-color: rgba(0, 0, 0, 0.541);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.menu-link-2:hover:after {
    top: -45%;
    background-color: rgba(0, 0, 0, 0.274);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);

}

/*fin*/
.menu-link {
    display: inline-block;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: rgb(255, 228, 196);
    padding: 0.5em 1.5em;
    cursor: pointer;
    font-size: 26px;
    border-radius: 0.5em;
    text-decoration: none;
    border: 1px solid bisque;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.menu-link:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.menu-link:before {
    content: icon;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.menu-link:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: var(--primary-gradient);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.menu-link:hover {
    color: bisque;
    border: 1px solid var(--color-secondaire);
}

.menu-link:hover:before {
    top: -35%;
    background-color: var(--primary-gradient);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.menu-link:hover:after {
    top: -45%;
    background-color: var(--primary-gradient);
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.label-toggle {
    color: bisque;
    position: fixed;
    z-index: 999;
}

.label-toggle:hover {
    color: #000000;
}

nav:has(#menu-toggle:checked) .menu-container {
    transform: translateY(0);
}

#menu-toggle {
    display: none;
}

@media(max-width: 768px) {
    #h1 {
        font-size: 5rem;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    #top {
        background-size: 210%;
        background-repeat: no-repeat;
        padding-bottom: 0%;
    }

    #etudiant {
        text-align: center;

        margin: 0;

        font-size: 2dvh;
        padding-top: 0%;
        padding-bottom: 20px;
        padding-left: 5px;
        padding-right: 5px;


    }

    .sepa-top {
        padding: 40px;
    }


    .divider-2 {
        display: none;
    }

    .menu-container {
        justify-content: flex-start;
        position: absolute;
        top: 0;

        width: 100%;
        height: 35vh;
        padding-top: 10px;
        padding-bottom: 10px;

        gap: 10px;

        background: rgb(109, 51, 36);
        backdrop-filter: blur(10px);
        border: solid 2px #de44218e;

        flex-direction: column;


        transform: translateY(-100000%);
        transition: transform 0.3s ease;

        z-index: 0;
        border-radius: 20px;



    }

    .hamburger-group {
        display: flex;


    }

    #margin-bottom {
        margin-bottom: 50%;

    }

    .footer-margin {
        margin-bottom: 10px;
    }

    .contact-section {
        flex-direction: column;
    }

    .separation {
        display: none;
        opacity: 0;
    }

    .qr {
        flex-direction: center;
        margin-left: 70px;
        margin-bottom: 10px;

    }

    .contact-form {
        width: 100%;
    }

    h1 {
        font-size: 1rem;
    }

}


/** Systheme de grille**/

.grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media(min-width:768px) {
    .grid-2-1 {
        grid-template-columns: 2fr 1fr;
        padding: 0px;
    }

    .grid-1-1-1 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .grid {
        padding: 0px;
    }

    .grid-1-1 {
        grid-template-columns: 1fr 1fr;
    }


}

.flex {
    display: flex;
    flex-direction: row;
}

/** Typographie par défaut**/

.emoji {
    width: 20%;
    padding-bottom: 10%;
    padding-top: 0%;
    padding-left: 40%;
    display: flex;
    gap: 15px;
}

.giomori {
    font-family: Giomori;
}

h1 {
    font-size: 8rem;
    font-family: 'Homie';
    font-weight: 200;
    font-style: normal;

}

@media(max-width:768px) {
    h1 {
        font-size: 4rem;
    }
}


p {
    font-size: 2rem;
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

a {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

.a {
    font-family: "League Spartan", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    text-decoration: none;
    font-style: normal;
    font-size: 50%;
}

.color {
    color: bisque;
}

.letter-spacing {
    letter-spacing: 0.3rem;
}

/** Classe de desing réutilisable**/
.z-index {
    z-index: 1;
}

.bg-primary {
    background: var(--primary-gradient);
    color: bisque;
}

.bg-secondaire {
    background: var(--color-secondaire);
    color: bisque;
}

.bg-dark {
    background-color: rgb(36, 31, 42);
    color: bisque;
}

.text-center {
    text-align: center;
}




.b-padding {
    padding-bottom: 15px;
}

.y-margin {
    margin-bottom: 150px;
}

.v-padding {
    padding-top: 8dvh;
    padding-bottom: 8dvh;
}

.color-padding {
    background-color: rgba(222, 68, 33, 0.7);
    padding: 5%;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);

}

.color-padding-2 {
    background-color: rgba(222, 68, 33, 0.7);
    padding: 2%;
    border-radius: 50px;
    padding-left: 2%;
    padding-right: 2%;
}

.divider path {
    fill: var(--primary-gradient);
}

.shadow {
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));

}

.title-box {
    font-size: 2rem;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 3000;
    font-style: normal;
}

.gap {
    gap: 5%;
}

.small {
    font-size: small;
}

.divider-1 {
    width: 100%;
    margin-bottom: -1%;

}

.custom-shape-divider-top-1766063104 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-top-1766063104 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 302px;
}

.custom-shape-divider-top-1766063104 .shape-fill {
    fill: bisque;
}

/*Composants*/
.card {
    display: flex;
    flex-direction: column;
    gap: 2dvh;
    border-radius: 10px;
    margin: 25px;
    background-color: #000000b3;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 200px;
    margin-top: 200px;


}

@media(max-width:768px) {
    .card {
        margin: 10%;
    }
}

.card img {
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: auto;

}

.card video
{  border-radius: 10px 10px 0 0;
    width: 100%;
    height: auto;


}
.card h3 {
    font-size: clamp(1em, 4dvh, 2em);
    padding: 0 2dvh;
}

.card p {
    padding: 3dvh 2dvh;
}

.card:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    color: bisque;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #DE4421;

}

.foter {
    background-color: #DE4421;
    color: #DE4421;
}

.card-button {
    transform: translate(-50%, 125%);
    width: 20%;
    border-radius: 1rem;
    border: none;
    background-color: #000000;
    color: bisque;
    font-size: 1.1rem;
    padding: .6rem 6rem;
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 0;
    transition: 0.3s ease-out;
    border: #DE4421 2px solid;
    box-shadow: 0 4px 18px 0 rgba(222, 68, 33, 0.567);
    text-align: center;

}

@media(max-width:768) {
    .card-button {
        padding: 10%;
    }
}


.card:hover .card-button {
    transform: translate(-50%, 50%);
    opacity: 1;
}

/*skill*/
.vtrine {

    overflow: hidden;
    width: 100%;

}

.skill {
    font-size: 1.5em;
    font-family: "Fira Sans Condensed", sans-serif;
    font-weight: 450;
    font-style: normal;
    font-size: 50px;
    color: bisque;
    text-align: center;


}

.skill progress {
    height: 2dvh;
    width: 90%;
    accent-color: var(--color-secondaire);
}

.card progress:hover {
    accent-color: black;
}

.skill-container {
    padding-bottom: 5px;

    color: bisque;
    border: #DE4421 2px solid;

}

.skill-container:hover {
    background-color: #de4421df;
    accent-color: black;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.skill-container p {
    font-size: 50px;
}






@media(max-width:768px) {
    .track {
        animation: none;
        display: contents;
    }

    .skill-container p {
        font-size: 30px;
    }

}

/*contact*/

form {
    gap: 1dvh;
}

form label {
    font-size: 2em;
    font-family: "homie";
    font-weight: 100;
    width: 50%;
    font-style: normal;
    color: bisque;
}

form input,
form textarea {
    border-radius: 5px;
    border: 3px solid #DE4421;
    font-size: 1em;
    padding: 8px 10px;
    background-color: #000000d7;
    color: bisque;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

}

form input {
    height: 4dvh;
}

form textarea {
    height: 35dvh;
}

form button {
    background-color: #DE4421;
    color: bisque;
    width: 30dvh;
    font-size: 2em;
    border-radius: 10px;
    font-family: "homie";

}



form button:hover {
    color: bisque;
    background-color: #000000;
}

.contact-section {
    display: flex;
    justify-content: space-around;
    /* → à droite */
    padding: 5dvh 10dvw;
    margin-bottom: 5%;
    background-color: #00000044;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: #DE4421 1px solid;
    margin-top: 15%;
    margin-bottom: 15%;


}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1dvh;
    width: 35%;
    /* taille contrôlée */
    min-width: 300px;
    /* sécurité mobile */
}

@media(max-width:768px) {
    .contact-form {
        width: 100%;
    }
}

.qr-flex {
    display: flex;
    flex-direction: column;
    min-height: 0;

}

.insta {
    color: #DE4421;
    width: auto;
    font-size: 3rem;
    font-family: "Homie";
    font-weight: 200;
    font-style: normal;
    padding-left: 1%;
    padding-right: 1%;
    margin-left: 45px;
    margin-right: 10px;
}

@media(max-width:768px) {
    .insta {
        text-align: center;
    }
}

.qr {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: start;

}

.qr :hover {
    opacity: 0;
}

.qr img {
    position: absolute;
    width: 20%;
    margin-top: 2%;
    transition: opacity 0.3s ease;
}

@media(max-width:768px) {
    .qr img {
        width: 40%;
        margin-left: 30px;
        padding: 0%;
        text-align: center;
        padding-bottom: 100px;
    }

    .separation {
        display: none;
    }
}

.qr img:hover {
    box-shadow: rgba(213, 9, 9, 0.56) 0px 22px 70px 4px;
}

.qr img :hover path {
    fill: bisque;
}

.separation {
    padding-left: 50%;
    padding-bottom: 50%;
    display: flex;
    flex-direction: column;
    background-color: #DE4421;
    padding-left: 0;
    padding-right: 0;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-right: 15%;
    border: 2px solid #000000;
    color: #DE4421;
    font-size: smaller;
}




.separation p {
    font-size: 1%;
}

@media(max-width:768) {
    .separation {
        display: none;
    }

    .separation p {
        display: none;
        padding-right: 50px;
    }

}


/* From Uiverse.io by vinodjangid07 */
.center {
    display: flex;
    justify-content: center;
    background-color: #DE4421;
    padding-bottom: 5px;
}

.button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(222, 68, 38, 0.253);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: relative;
    margin-top: 4px;
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: bisque;
}

.button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    align-items: center;
}

.button:hover .svgIcon {
    /* width: 20px; */
    transition-duration: 0.3s;
    transform: translateY(-200%);
}

.button::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: bisque;
    /* transition-duration: .3s; */
    font-size: 0px;
    z-index: 1000;
}

.button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
}



.video-btn {
    position: relative;
    overflow: hidden;
    border: none;
    background: transparent;
}

/* vidéo en fond */
.btn-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* icône au-dessus */
.video-btn svg {
    position: relative;
    z-index: 1;
    fill: white;
}

/* optionnel : assombrir un peu la vidéo */
.video-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}


/*mention legal*/
/* ===== PAGE MENTIONS LÉGALES ===== */

.top-mention {
    font-size: 60px;
}


.deco-footer {
    text-decoration: none;
    font-style: normal;
    color: bisque;
    font-family: nunito;
}

.legal-page {
    max-width: 800px;
    margin: 100px auto;
    padding: 20px;
    line-height: 1.6;
    background-color: #00000044;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: #DE4421 1px solid;
    border-radius: 10px;
}

.legal-page__title {
    margin-bottom: 40px;
    font-size: 2rem;
    color: bisque;
}

/* Sections */
.legal-section {
    margin-top: 50px;
}

.legal-section__title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: bisque;
}

/* Texte */
.legal-text {
    opacity: 0.85;
    margin-bottom: 15px;
    color: bisque;
}

/* Liste polices */
.legal-font-list {
    padding-left: 20px;
    color: bisque;
}

.legal-font-item {
    opacity: 0.85;
    margin-bottom: 10px;
}