/*--------------- DEFAULT OPTIONS ---------------*/
:root {
    --blanc : #FFFFFF;
    --indigo-clair : #E0DDEC;
    --indigo : #796DD2;
    --indigo-fonce : #423086;
    --noir-clair : #303030;
    --indigo-noir : #1A1A1F;
}
/*--- FONTS ---*/
@font-face {
    font-family: Trispace;
    src: url(../fonts/Trispace/Trispace-VariableFont_wdth\,wght.ttf);
}

@font-face {
    font-family: Tomorrow;
    src: url(../fonts/Tomorrow/Tomorrow-SemiBold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: Tomorrow;
    src: url(../fonts/Tomorrow/Tomorrow-Bold.ttf);
    font-weight: 800;
}

* {
    margin: 0;
    padding: 0;
}
*::selection {
  color: var(--indigo-clair);
  background-color: var(--indigo);
}

html {
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    scrollbar-color: var(--indigo) var(--indigo-noir);
}

body {
    overflow-x: hidden;
    color: var(--indigo-clair);
}
    h1 {
        font-family: Tomorrow;
        font-weight: 800;
    }

    h2 {
        font-family: Tomorrow;
        font-weight: 700;
    }

    h3 {
        font-family: Trispace;
        font-weight: 500;
    }

    button, a, p, label {
        font-family: Trispace;
        font-weight: 100;
        font-size: 16px;
    }

    small, ul, ol, li {
        font-family: Trispace;
        font-weight: 100;
    }

    a {
        text-decoration-line: none;
        color: var(--indigo-noir);
        transition: 0.2s;
    }
    a:hover {
        transform: scale(1.05);
    }
    a:active {
        font-size: 16px;
        color: var(--indigo-fonce)
    }


    button {
        border: none;
        border-radius: 5px;
        padding: 5px;
        background-color: transparent;
        transition: 0.2s;
    }

    button:hover {
        transform: scale(1.05);
        cursor: pointer;
    }
    button:focus {
        outline: none;
    }


/*------------------ GENERAL ------------------ */
#black-layer{
    display: block;
    position: fixed;
    top:0;
    z-index: -3;
    background-color: var(--indigo-noir);
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: 0.4s; 
}

#top-arrow {
    position: fixed;
    z-index: 5;
    bottom: 0;
    right: 0;
    margin: 10px;
    opacity: 0.5;
    transition: 0.4s;
    transform: translateY(150%);
}

.light{
    border: solid var(--indigo-clair) 2px;
    box-shadow: 0 0 5px var(--indigo-clair);
}

#star-deco-desktop {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 0;
    max-width: 100%;
    overflow: hidden;
}

#star-deco-phone {
    display: none;
}

#menu-phone{
    display: none;
}

#nav {
    position: fixed;
    top: 3em;
    left:50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 0 0 100px 100px;
    background: linear-gradient(180deg,rgba(224, 221, 236, 1) 0%, rgba(224, 221, 236, 0) 100%);
    width: 600px;
    padding-block: 15px;
    z-index: 5;
    transition: 0.4s;
}

    #nav a img {
        max-width: 64px;
    }


    .btn-nav {
        background-color: var(--indigo);
        border: solid var(--indigo-clair) 2px;
        border-radius: 10px;
        padding: 10px;
        color: var(--blanc);
        font-weight: 700;
    }

    .btn-nav:active {
        background-color: var(--indigo-fonce);
    }

.hidden {
    opacity: 0;
    transform: translateY(20%);
    transition: all 1s;
}

.show {
    opacity: 1;
    transform: translateX(0%);
}

#btn-back {
    z-index: 5;
    background-color: transparent;
    left: 12em;
    top: 0;
}
    #btn-back img {
        width: 60px;
    }

footer {
    z-index: 2;
    position: relative;
    bottom: -40em;
    height: 8em;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-bottom: 0;
    max-width: 100%;
    background-image: url("../img/deco/footer-background.svg");
    background-position: right;
    overflow: hidden;
}
    footer div{
        position: relative;
        justify-content: space-between;
        display: flex;
        gap: 15px;
        top: 1.5em;
        height: 100%;
        width: 100%;
    }
    footer small{
        color: var(--indigo-fonce);
        font-family: Trispace;
    }
    #footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 270px;
    }
    #footer-links a {
        color: var(--indigo-clair);
    }
    #footer-links a:hover {
        transform: scale(1);
        color: var(--blanc)
    }
    #footer-social {
        display: flex;
        list-style: none;
        justify-content: end;
        top: 0;
        gap: 20px;
    }
    #footer-social li a img{
        width: 48px;
        height: 48px;
        transition: 0.2s;
    }
    #footer-social li a img:hover{
        transform: scale(1.05);
    }
#footer-text {
    bottom: -15em;
}
/*------------------ LOADING ------------------ */
#loading {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--indigo-noir);
    color: var(--blanc);
    font-weight: bold;
}

#loadingLogo {
    max-width: 200px;
}

#loadingText span {
    margin-top: 1.5em;
    display: inline-block;
    font-size: 35px;
    animation: wave 2s ease-in-out infinite;
}

#loadingText  span:nth-child(1) {
    animation-delay: 0s;
}
#loadingText  span:nth-child(2) {
    animation-delay: 0.2s;
}
#loadingText  span:nth-child(3) {
    animation-delay: 0.4s;
}
#loadingText  span:nth-child(4) {
    animation-delay: 0.6s;
}
#loadingText  span:nth-child(5) {
    animation-delay: 0.8s;
}
#loadingText  span:nth-child(6) {
    animation-delay: 1.0s;
}
#loadingText  span:nth-child(7) {
    animation-delay: 1.2s;
}
#loadingText  span:nth-child(8) {
    animation-delay: 1.4s;
}
#loadingText  span:nth-child(9) {
    animation-delay: 1.6s;
}
#loadingText  span:nth-child(10) {
    animation-delay: 1.8s;
}
#loadingText  span:nth-child(11) {
    animation-delay: 2.0s;
}
#loadingText  span:nth-child(12) {
    animation-delay: 2.2s;
}
#loadingText  span:nth-child(13) {
    animation-delay: 2.4s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/*------------------ INDEX PAGE ------------------ */
#title-h1, #projectSolo-h1 {
    font-family: Tomorrow;
    position: relative;
    top: 4em;
    margin-left: 20px;
    z-index: 1;
}
    #projectSolo-h1 {
        top: 8em;
    }
    #title-h1>span {
        font-size: 16px;
        font-weight: 100;
    }
    #projectSolo-h1>div {
        display: flex;
        align-items: center;
        margin-top: -8px;
        gap: 20px;
    }

#section-who {
    position: relative;
    top: 15em;
    margin-inline: auto;
    max-width: 620px;
}

    .section-title {
        display: flex;
        align-content: center;
        gap: 10px;
        margin-bottom: 2em;
    }

    #photo-index, #photo-indexFiction {
        position: absolute;
        top: -5em;
        right: -4em;
        width: 160px;
        height: 160px;
        border-radius: 100%;
        transform: rotate(10deg);
        object-fit: cover;
    }
    #photo-indexFiction {
        top: -6em;
        right: 4em;
        width: 100px;
        height: 100px;
    }

#section-who div{
    display: flex;
    justify-content: center;
    margin-top: 4em;
    gap: 40px;
}

#btn-portfolio-pro, #btn-portfolio-ac {
    color: var(--indigo-clair);
    position: relative;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
    width: 250px;
}

#btn-portfolio-pro{
    background-color: var(--indigo);
}

#btn-portfolio-ac {
    background-color: var(--indigo-fonce);
}  
    #btn-portfolio-pro a, #btn-portfolio-ac a{
        color: var(--indigo-clair);
    }
    #btn-portfolio-pro span, #btn-portfolio-ac span{
        font-weight: 700;
        font-size: 24px;
    }

#top-star {
    position: absolute;
    z-index: 2;
    top: -1em;
    right: -1em;
    transform: rotate(20deg);
}
#bottom-star {
    position: absolute;
    z-index: 2;
    bottom: -1em;
    left: -1em;
    transform: rotate(20deg);
}

#section-school {
    position: relative;
    display: flex;
    flex-direction: column;
    position: relative;
    top: 30em;
    margin-inline: auto;
    max-width: 1000px; 
}
#instruction-mobile{
        display: none;
    }
.block-school {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 60px;
    background-color: var(--noir-clair);
    border-radius: 10px;
    max-width: 800px;
}
.block-school-phone{
    display: none;
}
    .block-school p{
        max-width: 600px;
    }
.right-school {
    align-self: end;
}
    .img-school{
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        max-width: 200px;
    }
    .img-school img{
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
        margin-inline: auto;
        border-radius: 100%;
        object-fit: cover;
    }

#section-favorite {
    position: relative;
    top: 35em;
    max-width: 800px;
    margin-inline: auto;
}
#project-favorite {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}  
.project-index {
    display: flex;
    flex-direction: column;
    text-align: center;
}
    .project-index div{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 300px;
        height: 200px;
        border-radius: 10px;
        margin-bottom: 10px;
        overflow: hidden;
    }
    .project-index div img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .project-index p, .project-index div small{
        color: var(--indigo-clair)
    }
    .project-index div small{
        position: relative;
        text-align: center;
        padding-block: 5px;
        background-color: #1a1a1fb6;
        width: 100%;
    }

/*------------------ PROJECTS ------------------ */
#project-search {
    z-index: 2;
    position: absolute;
    top: 10em;
    right: 2em;
    display: flex;
    gap: 15px;
}
    #project-filter {
        background-color: var(--indigo-clair);
        color: var(--indigo-noir);
        font-weight: 500;
    }
    #project-search-btn {
        color: var(--indigo-noir);
        background-color: var(--indigo-clair);
        border-radius: 10px;
        padding: 10px;
    }
    #project-search-btn input{
        width: 300px;
    }
#project-tab-filter {
    z-index: 5;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -110%;
    display: flex;
    flex-direction: column;
    padding: 15px;
    background-color: var(--noir-clair);
    border-right: solid var(--indigo-clair) 2px;
    width: 300px;
    overflow-y: scroll;
    scrollbar-color: var(--indigo) var(--indigo-noir);
    transition: 0.4s;
}
    #filter-close {
        display: none;
    }
    #project-tab-filter h2{
        text-align: center;
    }
    #project-tab-filter h3{
        margin-bottom: 10px;
    }
    #project-tab-filter hr{
        border: solid var(--indigo-noir) 2px;
        border-radius: 10px;
        margin-block: 20px;
    }
#project-reset{
    cursor: pointer;
    transition: 0.4s;
}
select {
    background-color: var(--indigo-noir);
    color: var(--indigo-clair);
    border: solid var(--indigo-clair) 2px;
    border-radius: 10px;
    padding: 8px;
}

#project-arrow-type, #project-arrow-pole, #project-arrow-year, #project-arrow-competence{
    transform: rotate(0);
    transition: 0.2s;
}
    #project-arrow-type:hover, #project-arrow-pole:hover, #project-arrow-year:hover, #project-arrow-competence:hover{
        cursor: pointer;
    }

#project-check-type, #project-check-pole, #project-check-year, #project-check-competence{
    display: flex;
    flex-direction: column;
}
#project-check-type p, #project-check-pole p, #project-check-year p, #project-check-competence p{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
}
    .checkbox{
        background-color: var(--indigo-noir);
        border: solid var(--indigo-clair) 1px;
        border-radius: 3px;
        width: 16px;
        height: 16px;
        cursor: pointer;
        appearance: none;
    }
    .checkbox:checked{
        background-color: var(--indigo);
    }
    .checkbox:focus{
        outline: none;
    }

#projects-all {
    position: relative;
    top: 12em;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    max-width: 1400px;
    min-height: 500px;
    margin-inline: auto;
}
    .project-card {
        position: relative;
        z-index: 3;
        width: 400px;
        height: 200px;
    }
    .project-minia {
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 0 10px 10px 10px;
        background-position: center;
    }
    .project-pole {
        position: absolute;
        color: var(--indigo-clair);
        background-color: var(--indigo-noir);
        border-radius: 5px 5px 0 0;
        padding: 5px;
        top: -1.9em;
    }
    .project-info{
        position: relative;
        top: 7.5em;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #1a1a1fb6;
        backdrop-filter: blur(3px);
        border-radius: 0 0 5px 5px;
        padding-block: 7px;
    }
    .project-name, .project-date {
        color: var(--indigo-clair);
    }
    .project-tags{
        margin-top: 5px;
    }
    .project-tags small {
        background-color: var(--indigo-noir);
        border: solid var(--indigo) 1px;
        border-radius: 5px;
        padding: 2px 10px;
        color: var(--indigo);
        font-weight: 200;
    }

/*------------------ SINGLE PROJECT PAGE ------------------ */
#project-name {
    font-size: 32px !important;
}

#projectSolo-div {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10em;
    width: 100%;
    padding-block: 20px;
    background-color: var(--noir-clair);
    border-block: solid var(--indigo-clair) 2px;
}

#projectSolo-infos {
    max-width: 600px;
}
    #projectSolo-infos div{
        display: flex;
        gap: 10px;
        margin-bottom: 20px ;
    }
    #projectSolo-firstInfo{
        display: flex;
        flex-direction: column;
    }
    #projectSolo-firstInfo p{
        background-color: var(--indigo);
        padding: 10px;
        border: solid var(--indigo-clair) 2px;
        border-radius: 5px;
    }
    #projectSolo-type {
        font-size: 24px;
        font-weight: 500;
        text-transform: uppercase;
    }
    #projectSolo-date {
        text-align: center;
        background-color: var(--indigo-fonce) !important;
    }
    #projectSolo-tags {
        display: flex;
        flex-wrap: wrap;
        align-items: start;
    }
    #projectSolo-tags small{
        font-weight: 300;
        color: var(--indigo);
        background-color: var(--indigo-noir);
        border: solid var(--indigo) 2px;
        border-radius: 10px;
        padding: 5px;
    }

#projectSolo-softwares {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 15px;
    width: 300px;
    height: 300px;
}
    #projectSolo-softwares p{
        position: absolute;
        top: -1em;
        text-align: center;
        width: 225px;
        background-color: var(--indigo-fonce);
        padding: 2px;
        border: solid var(--indigo-clair) 2px;
        border-radius: 5px;
    }
    #projectSolo-allSoftwares {
        background-color: var(--indigo-noir);
        border: solid var(--indigo-clair) 2px;
        border-radius: 10px;
        padding: 15px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: 100%;
        height: 100%;
    }
    #projectSolo-allSoftwares img{
        width: 64px;
        height: 64px;
    }

#projectSolo-visual {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-direction: column;
    max-width: 800px;
    margin-inline: auto;
}
    #projectSolo-visual hr{
        margin-block: 20px;
    }
    #projectSolo-video,  #projectSolo-carouselContainer img{
        max-width: 100%;
        max-height: 500px;
    }

#projectSolo-allImages {
    columns: 3;
    column-gap: 20px;
}
#projectSolo-allImages.few-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    columns: unset;
}
    .projectSolo-img {
        transition: 0.2s;
        width: 100%;
        height: auto;
        margin-top: 20px;
        border-radius: 10px;
    }
        .projectSolo-img:hover {
            cursor: pointer;
            transform: scale(1.02);
            filter: grayscale(30%);
        }

    #lightbox {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.85);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    #lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 12px;
        box-shadow: 0 0 30px rgba(0,0,0,0.6);
        animation: zoomIn 0.3s ease;
        cursor: zoom-out;
    }

    @keyframes zoomIn {
        from {
            transform: scale(0.9);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }

#projectSolo-AC {
    display: block;
    padding: 15px 20px;
    font-weight: 500;
    background-color: var(--indigo-fonce);
    color: var(--indigo-clair);
    border-radius: 10px;
    margin-inline: auto;
    margin-top: 20px;
}

#projectSolo-OpenAC{
    z-index: 6;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-height: 80%;
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: var(--indigo-noir);
    border: solid var(--indigo-clair) 2px;
    padding: 30px 15px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.competence {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
    width: 100%;
    margin-block: 15px;
}

.nameAC, .descriptionAC{
    padding: 10px;
    font-weight: 400;
}
.descriptionAC{
    margin-bottom: 20px;
}
    #comprendre>p, #concevoir>p, #exprimer>p, #developper>p, #entreprendre>p {
        color: var(--indigo-noir);
        position: absolute;
        transform: translate(50%, -50%);
        right: 50%;
        top: 0;
        border-radius: 5px;
        padding: 5px;
        text-align: center;
        font-weight: 500;
    }
    #comprendre>p>i, #concevoir>p>i, #exprimer>p>i, #developper>p>i, #entreprendre>p>i {
        transition: 0.4s;
        cursor: pointer;
    }

#comprendre, #comprendre-div>.nameAC {
    color: #c00000ff;
    border: solid #c00000ff 2px;
    border-radius: 5px 5px 5px 0;
}
    #comprendre>p{
        background-color: #c00000ff;
    }
    #comprendre-div>.descriptionAC{
        border-left: solid #c00000ff 2px;
    }

#concevoir, #concevoir-div>.nameAC {
    color: #ed7d31ff;
    border: solid #ed7d31ff 2px;
    border-radius: 5px 5px 5px 0;
}
    #concevoir>p{
        background-color: #ed7d31ff;
    }
    #concevoir-div>.descriptionAC{
        border-left: solid #ed7d31ff 2px;
    }

#exprimer, #exprimer-div>.nameAC {
    color: #ffc000ff;
    border: solid #ffc000ff 2px;
    border-radius: 5px 5px 5px 0;
}
    #exprimer>p{
        background-color: #ffc000ff;
        border-left: solid #ffc000ff 2px;
    }
    #exprimer-div>.descriptionAC{
        border-left: solid #ffc000ff 2px;
    }

#developper, #developper-div>.nameAC {
    color: #92d050ff;
    border: solid #92d050ff 2px;
    border-radius: 5px 5px 5px 0;
}
    #developper>p{
        background-color: #92d050ff;
    }
    #developper-div>.descriptionAC{
        border-left: solid #92d050ff 2px;
    }

#entreprendre, #entreprendre-div>.nameAC {
    color: #1c4fb4;
    border: solid #1c4fb4 2px;
    border-radius: 5px 5px 5px 0;
}
    #entreprendre>p{
        background-color: #1c4fb4;
    }
    #entreprendre-div>.descriptionAC{
        border-left: solid #1c4fb4 2px;
    }

#projectSolo-footer {
    bottom: -5em;
}
/*------------------ ABOUT ------------------ */
#about-big-div {
    z-index: 2;
    position: relative;
    top: 12em;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    background-color: var(--noir-clair);
    border: solid var(--indigo-clair) 2px;
    border-radius: 10px;
    overflow: hidden;
}
#about-photos{
    display: flex;
    flex-direction: column;
    gap: 0;
}
    #about-photos img{
        object-fit: cover;
    }
.about-div {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 20px;
}
.about-small-div{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--indigo-noir);
    border: solid var(--indigo-clair) 2px;
    border-radius: 10px;
    padding: 15px;
    padding-top: 30px;
}
    .about-small-div h2{
        top: -20px;
        margin-inline: auto;
        padding: 5px;
        position: absolute;
        background-color: var(--indigo-fonce);
        border: solid var(--indigo-clair) 2px;
        border-radius: 10px;
        font-size: 16px;
        font-family: Trispace;
        font-weight: 300;
    }
#about-div-1{
    max-width: 500px;
}
    #about-softwares{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
    }
.about-div-progress{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    text-align: center;
}
    .about-progress {
        display: flex;
        flex-direction: column;
        width: 190px;
    }
    .about-progress p{
        font-size: 14px;
    }

/*------------------ CONTACTS ------------------ */
#contact-main {
    display: flex;
    gap: 2em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}
#contact-one {
    position: relative;
    top: 12em;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 40px;
    max-width: 800px;
    overflow: hidden;
}
#contact-cv {
    position: relative;
    background-color: var(--indigo-fonce);
    color: var(--indigo-clair);
    font-weight: 700;
    padding: 15px 10px;
    margin-inline: 15px;
    border: solid var(--indigo-clair) 2px;
    border-radius: 10px;
    text-align: center;
    transition: 0.4s;
}
    #contact-cv-star1 {
        position: absolute;
        z-index: 2;
        top: 1em;
        transform: rotate(-20deg);
    }
    .contact-div {
        position: relative;
        width: 250px;
        margin-block: 20px;
        transition: 0.2s;
        text-align: center;
    }
    .contact-div:hover {
        transform: scale(1.05);
    }

form {
    position: relative;
    display: flex;
    z-index: 2;
    flex-direction: column;
    align-self: center;
    gap: 20px;
    margin-inline: 15px;
    background-color: var(--noir-clair);
    border-radius: 10px;
    padding: 15px;
    max-width: 100%;
}
    form h2{
        display: flex;
        align-items: center;
        gap: 10px;
    }
    form div{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-inline: 10px;
    }
    .contact-input{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .contact-input p{
        margin-top: 10px;    
    }
    form textarea{
        height: 200px;
    }
    input, textarea{
        border-radius: 5px;
        border: none;
        padding: 5px;
        font-size: 16px;
    }
    input:focus, textarea:focus{
        outline: solid var(--indigo) 2px;
    }
    form button {
        width: 100%;
        padding: 15px 10px;
        font-weight: 700;
        color: var(--indigo-clair);
        background-color: var(--indigo);
        margin-inline: auto;
        border: solid var(--indigo-clair) 2px;
    }
    form button:hover {
        transform: scale(1);
    }
    #contact-send-star1 {
        position: absolute;
        z-index: 2;
        right: -1em;
        top: -0.8em;
        transform: rotate(20deg);
    }
#contact-artist {
    position: relative;
    top: 12em;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-inline: 10px;
}
    #contact-artist h2{
        font-size: 22px;
        display: flex;
        align-items: center;
        text-align: center;
        margin-bottom: 1em;
        gap: 10px;
    }
    #contact-artist a{
        border-radius: 100%;
        border: solid var(--indigo-clair) 2px;
        width: 150px;
        height: 150px;
        overflow: hidden;
        margin: 10px;
    }
    #contact-artist a img{
        width: 100%;
        height: 100%;
    }
    #form-notif{
        position: fixed;
        display: flex;
        flex-direction: column;
        opacity: 0;
        z-index: -2;
        transform: translate(50%, 0);
        right: 50%;
        top: 50%;
        text-align: center;
        background-color: var(--indigo-noir);
        border: solid var(--indigo-clair) 2px;
        border-radius: 5px;
        padding: 30px;
        transition: 0.4s;
    }
    #form-notif.open{
        opacity: 1;
        z-index: 6;
    }
    #notif-close{
        font-size: 20px;
        position: absolute;
        right: 6px;
        top: 6px;
        cursor: pointer;
    }
        #form-notif.success{
            border:solid green 2px;
        }
        #form-notif.error{
            border:solid red 2px;
        }
/*------------------ POLITICS / LEGALS ------------------ */
#long-text {
    position: relative;
    top: 10em;
    max-width: 1000px;
    margin-inline: auto;
}
    .text-block {
        margin-block: 2em;
    }
    .text-block ul{
        margin-left: 2em;
    }
    .text-block p a{
        color: var(--indigo-clair);
    }


/*------------------ ANIMATIONS ------------------ */
#wave {
  position: fixed;
  z-index: -1;
  bottom: -4em;
  width: 100%;
  height: 100%;
  background: var(--indigo-fonce);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}
#wave span {
  position: absolute;
  width: 325vh;
  height: 325vh;
  top: 0;
  left: 50%;
  transform: translate(-50%, -75%);
}

#wave span:nth-child(1) {
  border-radius: 45%;
  background: rgba(20, 20, 20, 1);
  animation: animate 10s linear infinite;
}

#wave span:nth-child(2) {
  border-radius: 40%;
  background: rgba(20, 20, 20, 0.5);
  animation: animate 20s linear infinite;
}
#wave span:nth-child(3) {
  border-radius: 42.5%;
  background: rgba(20, 20, 20, 0.5);
  animation: animate 30s linear infinite;
}
@keyframes animate {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}

@keyframes move {
  100% {
    transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

.background {
    z-index: -1;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
}

.ball {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  backface-visibility: hidden;
  animation: move linear infinite;
}

.ball:nth-child(odd) {
    color: var(--indigo-clair);
    opacity: 20%;
}

.ball:nth-child(even) {
    color: var(--blanc);
    opacity: 20%;
}

.ball:nth-child(1) {
  top: 77%;
  left: 88%;
  animation-duration: 40s;
  animation-delay: -3s;
  transform-origin: 16vw -2vh;
  box-shadow: 40vmin 0 3.703076368487546vmin currentColor;
}
.ball:nth-child(2) {
  top: 42%;
  left: 2%;
  animation-duration: 53s;
  animation-delay: -29s;
  transform-origin: -19vw 21vh;
  box-shadow: -40vmin 0 3.17594621519026vmin currentColor;
}
.ball:nth-child(3) {
  top: 28%;
  left: 18%;
  animation-duration: 49s;
  animation-delay: -8s;
  transform-origin: -22vw 3vh;
  box-shadow: 40vmin 0 3.248179047256236vmin currentColor;
}
.ball:nth-child(4) {
  top: 50%;
  left: 79%;
  animation-duration: 26s;
  animation-delay: -21s;
  transform-origin: -17vw -6vh;
  box-shadow: 40vmin 0 3.279749632220298vmin currentColor;
}
.ball:nth-child(5) {
  top: 46%;
  left: 15%;
  animation-duration: 36s;
  animation-delay: -40s;
  transform-origin: 4vw 0vh;
  box-shadow: -40vmin 0 3.964309466052033vmin currentColor;
}
.ball:nth-child(6) {
  top: 77%;
  left: 16%;
  animation-duration: 31s;
  animation-delay: -10s;
  transform-origin: 18vw 4vh;
  box-shadow: 40vmin 0 3.178483653434181vmin currentColor;
}
.ball:nth-child(7) {
  top: 22%;
  left: 17%;
  animation-duration: 55s;
  animation-delay: -6s;
  transform-origin: 1vw -23vh;
  box-shadow: -40vmin 0 3.703026794398318vmin currentColor;
}
.ball:nth-child(8) {
  top: 41%;
  left: 47%;
  animation-duration: 43s;
  animation-delay: -28s;
  transform-origin: 25vw -3vh;
  box-shadow: 40vmin 0 3.196265905749415vmin currentColor;
}

.stars {
    z-index: -1;
    width: 1px;
    height: 1px;
    position: fixed;
    bottom: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    background: white;
    box-shadow: 2vw 5vh 2px white, 10vw 8vh 2px white, 15vw 15vh 1px white,
        22vw 22vh 1px white, 28vw 12vh 2px white, 32vw 32vh 1px white,
        38vw 18vh 2px white, 42vw 35vh 1px white, 48vw 25vh 2px white,
        53vw 42vh 1px white, 58vw 15vh 2px white, 63vw 38vh 1px white,
        68vw 28vh 2px white, 73vw 45vh 1px white, 78vw 32vh 2px white,
        83vw 48vh 1px white, 88vw 20vh 2px white, 93vw 52vh 1px white,
        98vw 35vh 2px white, 5vw 60vh 1px white, 12vw 65vh 2px white,
        18vw 72vh 1px white, 25vw 78vh 2px white, 30vw 85vh 1px white,
        35vw 68vh 2px white, 40vw 82vh 1px white, 45vw 92vh 2px white,
        50vw 75vh 1px white, 55vw 88vh 2px white, 60vw 95vh 1px white,
        65vw 72vh 2px white, 70vw 85vh 1px white, 75vw 78vh 2px white,
        80vw 92vh 1px white, 85vw 82vh 2px white, 90vw 88vh 1px white,
        95vw 75vh 2px white;
    animation: twinkle 5s infinite linear;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}



/*------------------------------------ MOBILE SECTION ------------------------------------ */
@media screen and (max-width:767px){
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    button, a, p {
        font-size: 14px;
    }

    #loadingText span {
        font-size: 20px;
    }

    #star-deco-desktop {
        display: none;
    }
    
    #star-deco-phone {
        position: absolute;
        display: flex;
        justify-content: center;
        top: 0;
        max-width: 100%;
        overflow: hidden;;
    }
    
    #title-h1, #projectSolo-h1{
        z-index: 1;
        text-align: center;
        top: 3em;
        line-height: 22px;
        margin: auto;
    }

    #title-h1 span, #projectSolo-h1 span{
        font-size: 14px;
    }

    #menu-phone {
        z-index: 2;
        display: block;
        position: absolute;
        top: 2em;
        left: 1em;
    }

    #nav {
        flex-direction: column;
        z-index: 6;
        background: transparent;
        top:200%;
    }
    #top-arrow img{
        width: 50px;
        height: 50px;
    }

    .section-title {
        margin-inline: 15px;
        margin-bottom: 1em;
    }

    #section-who {
        top: 11em;
    }
    #section-who div{
        flex-direction: column;
        margin-inline: auto;
        align-items: center;
        gap: 20px;
    }
    #section-who p{
        max-width: 300px;
        text-align: center;
        margin-inline: auto;
    }
    #btn-portfolio-pro, #btn-portfolio-ac {
        max-width: 200px;
    }
    #btn-portfolio-pro span, #btn-portfolio-ac span {
        font-size: 20px;
    }

    #photo-index {
        top: -4em;
        right: 1.5em;
        width: 100px;
        height: 100px;
    }
    #photo-indexFiction {
        top: -4em;
        right: 7em;
        width: 50px;
        height: 50px;
    }

    #section-school{
        top: 15em;
    }
    #section-school h2{
        margin-bottom: 0;
    }
    #instruction-mobile{
        display: block;
        margin-bottom: 1em;
        margin-left: 4em;
    }
    .block-school{
        background-color: transparent;
        border: none;
        box-shadow: none;
        margin-bottom: 1em;
    }
    .block-school-phone{
        position: fixed;
        top: 50%;
        left:50%;
        z-index: -3;
        transform: translate(-50%, -50%);
        width: 300px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 15px;
        background-color: var(--noir-clair);
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
    }
    .block-school p{
        display: none;
    }

    #section-favorite{
        top: 16em;
    }

    footer {
        padding: 10px;
        bottom: -20em;
        background-image: url(../img/deco/footer-background-phone.svg);
        background-size: cover;
    }

    footer small{
        font-size: 10px;
    }
    footer div a{
        font-size: 12px;
    }
    #footer-links {
        margin-top: 10px;
        max-width: 100px;
    }
    #footer-social li a img{
        width: 40px;
        height: 40px;
    }
    footer div{
        top: 1.5em;
        height: 100%;
        width: 100%;
    }

    #project-search {
        flex-direction: row-reverse;
        justify-content: center;
        right: 0;
        width: 100%;

    }
    #project-search span{
        display: none;
    }
    #project-filter {
        padding-inline: 15px;
    }
        #project-filter i{
            font-size: 20px;
        }
    #project-tab-filter {
        width: 92%;
    }
    #filter-close {
        display: block;
        position: absolute;
        color: var(--indigo-clair);
        font-size: 25px;
        top: 15px;
        left: 15px
    }
    #project-search-btn input{
        width: 200px;
    }
    #projects-all {
        top: 14em;
    }
    .project-card {
        margin-inline: 15px;
    }
    .project-info{
        top: 9.2em;
    }

    #projectSolo-h1 {
        display: flex;
        flex-direction: column-reverse;
        max-width: 250px;
        top: 7em;
    }
    #projectSolo-h1>div {
        flex-direction: column;
        margin-top: 0;
        gap: 0;
    }
    #project-name {
        font-size: 24px !important;
    }
    #btn-back {
        position: absolute;
        top: -2.5em;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #projectSolo-div {
        margin-top: 8em;
    }
    #projectSolo-infos>div {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    #projectSolo-infos div {
        align-items: center;
        width: 100%;
    }
    #projectSolo-firstInfo p {
        width: 105%;
        text-align: center;
    }
    #projectSolo-tags{
        justify-content: center;
    }
    #projectSolo-description {
        margin-inline: 15px;
    }
    #projectSolo-softwares {
        width: 100%;
        height: auto;
        align-items: center;
        margin-top: 1em;
    }
    #projectSolo-allSoftwares {
        width: 105%;
    }
    #projectSolo-allImages {
        columns: 2;
        margin-inline: 10px;
    }
    .projectSolo-img {
        border-radius: 5px;
    }
    #projectSolo-OpenAC {
        width: 85%;
        margin-inline: 10px;
        left:0;
        transform: translate(0, -50%);
    }

    #about-big-div {
        top: 9em;
        flex-direction: column;
        gap: 40px;
        border-radius: 0;
        border-inline: 0;
    }
    #about-photos{
        flex-direction: row;
        max-height: 140px;
    }
    .about-div {
        margin: 0;
    }
    .about-div p{
        margin: 10px;
    }
    .about-small-div {
        margin: 0;
        border-inline: 0;
        border-radius: 0;
    }
    .about-progress {
        width: 155px;
    }
    .about-progress p{
        font-size: 10px;
    }

    #long-text {
    margin-inline: 15px;
    }

    #contact-one {
        top: 9em;
    }
    #contact-artist {
        top: 9em;
    }
    form {
        margin-inline: 0;
        padding-inline: 10px;
        width: 95%;
        border-radius: 0;
    }
    .contact-div {
        margin-inline: auto;
    }
}
