
/*PALETTE
#4CB6A4
#005B45
#F3EADA
#fce27a
*/

@font-face {
    font-family: "Montserrat";
    src :
      url("./font/Montserrat.woff2") format("woff2"),
      url("./font/Montserrat.woff2") format("woff"),
}

@font-face {
    font-family: "Bebas Neue";
    src :
      url("./font/BebasNeue.woff2") format("woff2"),
      url("./font/BebasNeue.woff") format("woff"),
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
/*    cursor: none; */    
    font-family: "Montserrat";
    overflow-x: hidden;
    min-height: 100vh;
}

a:link, a:visited {
    text-decoration: none;
    color: #1D1D1D;
}

p {
    margin: 0;
}

/* a {
    cursor: none;
} */

.circle {
    z-index: 5;
    position: absolute;
    pointer-events: none;
    /* mix-blend-mode: overlay; */
    top: 0px;
    left: 0px;
    background-color: #fce27a;
    width: 45px; 
    height: 45px; 
    border-radius: 50%;
    transition: width 0.2s ease, height 0.2s ease;
}



header {
    position: sticky;
    width: 100%;
    height: 100Vh;
    z-index: 4;
}

nav {
    position: fixed;
    padding: 25px 100px;
    width: 100%;
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;

}

#logo::after {
    content: "ANNA GAUDRON";
    font-family: "Bebas Neue";
    font-size: 1.7em;
    color: #4cb6a4;
}

#menu {
    font-size: 1.2em;
    display: flex;
    gap: 35px;
}

#burger-menu {
    display: none;
}

#burger-content {
    display: none;
}

#menu a:hover {
    color: #4CB6A4;
}

#accueil {
    top: 0;
    width: 100%;
    height: 100Vh;
    position: fixed;
    background-color: white;
}

#text-anim  {
    padding-top: 20vh;
}

#home-text {
    position: absolute;
    width: 100%;
    text-align: center;
}

#home-text img {
    width: 800px;
}

#home-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px 0;
    z-index: 2;
}

@keyframes idle {
    from { transform: translateY(0);}
    to {transform: translateY(30px);}
}

#home-image-container img {
    z-index: 2;
    width: 600px;
    animation: 5s ease-in-out infinite alternate idle;
}


#main-content {
    margin-top: 100px;
    position: relative;
    z-index: 3;
    width: 100%;
    background-color: white;
    filter: drop-shadow(0 -10px 20px rgba(0, 91, 69, 0.15));
}

h1 {
    font-family: "Bebas Neue";
    font-size: 10em;
    letter-spacing: 0.01em;
    margin: 0;
}

#a-propos {
    padding-top: 250px;
    display: flex;
    justify-content: center;
}

#a-propos h1 {
    position: absolute;
    margin-top: -115px;
    margin-left: 200px;
    color: #4CB6A4;
}

#a-propos-content {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

#a-propos-content img {
    width: 50%;
    max-width: 800px;
    border-radius: 15px;
}

#infos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
    padding-left: 40px;
}

#infos p {
    width: 100%;
    font-size: 0.95em;
}

#cv {
    padding: 9px 25px;
    border-radius: 10px;
    font-weight: 600;
    background-color: #4CB6A4;
    color: white;
    width: fit-content;
}

#competences {
    padding-top: 130px;;
}

#competences h1{
    color: #fce27a;
    margin-left: 120px;
    margin-bottom: 20px;
}

@keyframes slide {
    from {background-position-x: 0;}
    to {background-position-x: -2284px;}
}

@keyframes slide2 {
    from {background-position-x: 0;}
    to {background-position-x: 3281px;}
}

.skill-slider {
    width: 100%;
    height: 100px;
}

#skills {
    background-image: url("./images/skills.webp");
    animation: slide 25s linear infinite;
}

#software {
    background-image: url("./images/software.webp");
    animation: slide2 35s linear infinite;
}


#projets {
    padding-top: 130px;

}

#projets h1 {
    color: #4cb6a4;
    text-align: right;
    margin-right: 120px;
    padding-bottom: 40px;
}

#projets-content {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
}

#categories {
    padding-left: 50px;
    width: fit-content;
}

#categories button{
    border: none;
    font-family: "Bebas Neue";
    background: none;
    font-size: 3.2em;
    color: #1D1D1D;
    padding-right: 20px;
    transition: color 0.3s ease-in-out;
}

#categories button.active {
    color: #fce27a;
  }

#liste-projets {
    width: 1130px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 25px;
    padding-left: 55px;
    padding-top: 35px;
    padding-bottom: 50px;
    padding-right: 55px;
}

/* #grid::after {
    content: "";
    flex: auto;
  }
 */

.projet a:hover img {
    opacity: 0.7;
}

.projet a:hover .projet-desc {
    color: #4cb6a4;
}

.projet img {
    width: 360px;
    border-radius: 10px;
}

.projet h2 {
    margin: 0;
    font-weight: 600;
    font-size: 1.3em;
    padding-top: 10px;
    padding-left: 2px;
}

.projet p {
    padding-top: 5px;
    padding-left: 2px;
    font-size: 1em;
}


#contact {
    margin-top: 50px;
    background-color: #4CB6A4;
    padding: 50px;
}

#contact h1 {
    color: white;
    padding-left: 115px;
}

#moyen-contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

#moyen-contact a {
    color:#1D1D1D;
    display: flex;
    align-items: center;
    width: fit-content;
    font-size : 1.4em;
    font-weight: 600;
    background-color: white;
    padding: 8px 35px;
    border-radius: 13px;
    gap: 13px;
}

#moyen-contact img {
    width: 50px;
}


footer {
    padding-top: 40px;
    padding-bottom: 20px;
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: #4CB6A4;
    color: white;
    font-weight: 600;
}

#link-ml:link, #link-ml:visited {
    color: white;
    font-weight: 600;
}


@media screen and (max-width:1240px) {

    #liste-projets{
        width: 894px;
        column-gap: 34px;
    }

    .projet img {
        width: 429px;
    }

    #a-propos {
        padding-top: 170px;
    }

    #a-propos h1 {
        margin-top: -113px;
        margin-left: -30px;
    }

    #a-propos-content {
        flex-direction: column;
        row-gap: 30px;
        align-items: center;
    }

    #a-propos-content img {
        width: 80%;
    }

    #infos {
        width: 80%;
        max-width: 800px;
        padding-left: 0;
    }

    #a-propos-content p {
        text-align: justify;
        padding: 0;
    }

    #skills {
        background-size: cover;
    }

    #software {
        background-size: cover;
    }

    
}






@media screen and (max-width:1005px) {

    h1 {
        font-size: 8em;
    }

    #logo::after {
        font-size: 1.5em;
    }

    #menu {
        font-size: 1em;
        gap: 21px;
    }

    #a-propos h1 {
        margin-top: -90px;
        margin-left: -30px;
    }

    #categories button {
        font-size: 2.3em;
        padding-right: 6px;
    }

    #liste-projets{
        width: 635px;
        column-gap: 34px;
    }

    .projet img {
        width: 300px;
    }

    .projet h2 {
        font-size: 1.2em;
    }

    .projet p {
        font-size: 0.9em;
    }

    #contact h1 {
        padding-left: 50px;
    }
    
}




@media screen and (max-width:760px) {

    .circle {
        display: none;
    }

    h1 {
        font-size: 4em
    }

    #text-anim {
        padding-top: 34vh;
        padding-left: 12px;
    }

    #home-text img {
        width: 90%;
    }

    #home-image-container {
        padding: 0;
    }

    #home-image-container img  {
        width: 90%;
    }

    #a-propos {
        padding-top: 120px;
    }

    #a-propos h1 {
        margin-top: -45px;
        margin-left: -51px;
    }

    #competences {
        padding-top: 50px;
    }

    #competences h1 {
        text-align: center;
        margin-left: 0;
    }

    .skill-slider{
        height: 53px;
    }

    #projets {
        padding-top: 50px;
    }

    #projets h1 {
        text-align: center;
        margin-right: 0;
    }

    #projets-content {
        margin: 0;
        width: fit-content;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #categories {
        padding: 0;
        width: 80%;
        padding-bottom: 20px;
    }

    #categories button {
        font-size: 2em;
    }

    #liste-projets {
        width: 80%;
        flex-direction: column;
        align-items: center;
        column-gap: 0;
        padding: 0;
    }

    .projet img {
        width: 100%;
    }

    nav {
        padding: 25px 50px;
    }

    #contact {
        margin-top: 70px;
    }

    #contact h1 {
        width: fit-content;
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        line-height: 1;
    }

    #moyen-contact {
        gap : 23px;
    }

    #moyen-contact a {
        font-size: 0.85em;
        padding:  8px 15px;
    }

    #moyen-contact img {
        width: 32px;
    }

    footer {
        padding-top: 12px;
        padding-bottom: 30px;
        font-size: 0.6em;
    }



    /*MENU BURGER*/

    #menu {
        display: none;
      }
    

    #burger-menu {
        display: block;
        z-index: 10;
        cursor: pointer;
        background: none;
        border: none;
    }
    
    #burger-menu div {
        width: 25px;
        height: 3px;
        background-color: #1D1D1D;
        margin: 5px;
        transition: transform 0.4s ease;
    }
    
    #burger-menu.active div:first-child {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    #burger-menu.active div:nth-child(2) {
        opacity: 0;
    }
    
    #burger-menu.active div:last-child {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    #burger-content {
        position: fixed;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 2em;
        gap: 4vh;
        top: 81px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: white;
        z-index: 999;
        overflow-y: auto;
        transition: height 0.3s ease;
    }
      
    #burger-menu.active + #burger-content {
        height: calc(100vh - 81px); 
    }
        

    .menu-content.show {
        display: flex;
        flex-direction: column; 
        gap: 20px; 
        margin-top: 20px;
    }

    .menu-content.show a {
        text-decoration: none;
        color: #1D1D1D;
        font-size: 1.2em; 
    }

}


/* PAGE PROJET DETAIL */

.projet-detail {
    color: #1D1D1D;
    margin-bottom: 30px;
}

.projet-detail h2 {
    font-size: 1.65em;
    text-wrap: nowrap;
    font-weight: 600;
}

.projet-detail h1{
    color: #4CB6A4;
    font-size: 6em;
}

.projet-detail > p {
    margin-top: -13px;
    font-size: 1.3em;
}

.banner {
    margin: 30px 0;
    height: 42vh;
    background-size: cover;
    background-position-y: center;
}

#banner-cine104 {
    background-image: url("./images/cine-104/banner-cine104.webp");
}

#banner-outer-wilds {
    background-image: url("./images/outer-wilds/banner-outer-wilds.webp");
}

#banner-24-hours {
    background-image: url("./images/24-hours/banner-24-hours.webp");
}

#banner-beatbuddy-app {
    background-image: url("./images/beatbuddy/banner-beatbuddy.webp");
}
#banner-zelda {
    background-image: url("./images/zelda/banner-zelda.webp");
}

#banner-affiche-beatbuddy {
    background-image: url("./images/beatbuddy/banner-pub-beatbuddy.webp");
}

#banner-jazz-festival {
    background-image: url("./images/jazz-festival/banner-jazz-festival.webp");
}

#banner-pollineo {
    background-image: url("./images/pollineo/banner-pollineo.webp");
}

#banner-ourcq {
    background-image: url("./images/ourcq/banner-ourcq.webp");
}

#banner-motion-design {
    background-image: url("./images/motion-design/banner-motion-design.gif");
}

.desc-projet {
    display: flex;
    gap: 70px;
    margin-bottom: 55px;
}

.complement {
    display: flex;
    flex-direction: column;
    gap: 42px;
    min-width: 19%;
}

.icones-outils {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;

}

.icones-outils img{
    width: 65px;
    border-radius: 15px;
}

.liens-utiles {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lien-projet {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.2em;
    text-wrap: nowrap;
}

.lien-projet:link, .lien-projet:visited {
    text-decoration: underline;
}

.lien-projet img {
    width: 25px;
}

.le-projet p {
    font-size: 1.2em;
}

.galerie {
    margin-bottom: 90px;
}

.galerie h2 {
    color: #1D1D1D;
    font-size: 1.65em;
    font-weight: 600;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}

.gallery-item img {
    height: 16vw;
    width: 100%;
    object-fit: cover;
}


@media screen and (max-width:1005px) {

    .projet-detail h1 {
        font-size: 4.5em;
    }

    .banner {
        height: 26vh;
    }

    .lien-projet {
        font-size: 1em;
    }
}


@media screen and (max-width:760px) {
    
    .projet-detail {
        margin-bottom: 70px;
    }

    .projet-detail h1 {
        margin-top: 15px;
        font-size: 3.5em;
        line-height: 1em;
    }

    .projet-detail > p {
        margin-top: 8px;
        font-size: 1.1em;
    }


    .banner {
        width: 126%;
        margin-left: -13%;
    }

    .desc-projet {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .le-projet p{
        font-size: 1.1em;
    }

    .complement {
        gap: 30px;
    }

    .galerie {
        margin-bottom: 30px;
    }

    .gallery-item img {
        height: 50vw;
    }
}









/* PAGE MENTIONS LEGALES */

#header-ml {
    height: 86px;
}

#main-ml {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#main-ml nav {
    position: relative;
    padding: 25px 0;
}

#retour {
    display: flex;
    align-items: center;
}

#retour img {
    width: 20px;
    padding-right: 15px;
}

#mentions-legales h1 {
    margin-left: auto;
    margin-right: auto;
    color: #4CB6A4;
}

#footer-ml {
    background-color: white;
    color: #1D1D1D;
    padding-top: 50px;
}