@font-face{
    font-family:"Retro Gaming";
    src:url("Retro-Gaming.woff") format("woff");
}

@font-face{
    font-family:"Pink Chicken";
    src:url("PinkChicken-Regular.woff") format("woff");
}

@font-face{
    font-family:"Open Sans";
    src:url("OpenSans.woff") format("woff");
}

*{ 
    cursor:none;
}

:root {
     --cursor-size: 20px;
     --bg-color: #f2f5f8;
     --dot-color: #364d63 44;
     --dot-size: 2px;
     --dot-space: 30px;
}
 
 body .custom-pointer {
     position: absolute;
     left: calc(var(--cursor-size) / -2);
     width: var(--cursor-size);
     height: var(--cursor-size);
     transition: 500ms, transform 100ms;
     user-select: none;
     pointer-events: none;
     z-index: 100000000;
}
 body .custom-pointer .inner {
     fill: #f2f5f8;
}
 body .custom-pointer .outer {
     fill: #111920;
}
 body .text-section {
     position: absolute;
     left: 50%;
     top: 50%;
     transform: translate(-50%, -50%);
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
}
 body .text-section p {
     color: #4479ed 22;
     font-size: 5rem;
     font-weight: bold;
     text-align: center;
     user-select: none;
     transition: 500ms;
}
 body .text-section p:hover {
     color: #4479ed 44;
}
 body .text-section .button {
     display: flex;
     justify-content: center;
     align-items: center;
     width: 120px;
     height: 50px;
     margin-top: 3rem;
     font-size: 0.875rem;
     border: 1px solid #4479ed 22;
     border-radius: 8px;
     color: #4479ed;
     transition: 500ms;
}
 body .text-section .button:hover {
     background-color: #4479ed;
     color: #fff;
}

html,body{
	margin:0;
	padding:0;
	box-sizing: border-box;    
    font-family: 'Open Sans', Arial, Times, sans-serif;
    font-size: 0.6vw;
    scroll-behavior: smooth;
    background-color:#393939;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

@-moz-document url-prefix() {
    h2{
        height: 200px;
    }
}

.loader{
    position:fixed;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-content:center;
    width:100%;
    height:100%;


    z-index:110;
    background-color:#393939;
    text-align:center;
}

.loader img{
    width:10vw;
    height:auto;
    display:flex;
    justify-content:center;
    position:absolute;
    margin-left:42%;
    margin-top:-25%;
}

.loader h2{
    color:white;
}

.loader p{
    color:white;
    font-size: 1.8em;
    font-family:"Retro Gaming";
    text-shadow: 0.1vw 0 0 #000, 0.1vw 0.1vw 0 #000, 0 0.1vw 0 #000, -0.1vw 0.1vw 0 #000, -0.1vw 0 0 #000, -0.1vw -0.1vw 0 #000, 0 -0.1vw 0 #000, 0.1vw -0.1vw 0 #000;
    margin-block-end: 0em;
}

#accueil{
	width: 100vw;
    height: 100vh;
	background-image:url("../images/fresque-site3.png");
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align:center;
    display:flex;
    justify-content:center;
    align-content:center;
}

#accueil video{
    position:absolute;
    z-index:0;
    left: 0; 
    bottom: 0;
    width: 100vw; 
    height:auto;
}

h1{
    margin-block-start: 0.67em;
    margin-top:150px;
}

h1 ,h3, #accueil p{
	font-family:"Retro Gaming";
	font-size:8em;
	color:#ff2346;
    text-shadow: 0.2vw 0 0 #000, 0.2vw 0.2vw 0 #000, 0 0.2vw 0 #000, -0.2vw 0.2vw 0 #000, -0.2vw 0 0 #000, -0.2vw -0.2vw 0 #000, 0 -0.2vw 0 #000, 0.2vw -0.2vw 0 #000;
    margin-block-end: 0em;
}

#accueil div{
    /*margin-top:6%;*/
    display:flex;
    flex-direction:column;
    text-align:center;
    justify-content:center;

    position:absolute;
}

#accueil div p{
    margin-block-start: 0em;
    font-size:3em;
    color:white;
    text-shadow: 0.1vw 0 0 #000, 0.1vw 0.1vw 0 #000, 0 0.1vw 0 #000, -0.1vw 0.1vw 0 #000, -0.1vw 0 0 #000, -0.1vw -0.1vw 0 #000, 0 -0.1vw 0 #000, 0.1vw -0.1vw 0 #000;
}

a{
    text-decoration: none;
}

h3{
    font-size:4em;
    color:#f6ec11;
    margin-top:100px;
    text-shadow: 0.15vw 0 0 #000, 0.15vw 0.15vw 0 #000, 0 0.15vw 0 #000, -0.15vw 0.15vw 0 #000, -0.15vw 0 0 #000, -0.15vw -0.15vw 0 #000, 0 -0.15vw 0 #000, 0.15vw -0.15vw 0 #000;
}

#hello {
    background:  #393939;
    margin-top:-50px;
    color: white;
    width: 100%;
    /*height: 160vh;*/
}

h2{
    font-size: 8em;
    margin: 0;
    color: #2687c8;
    font-family:"Retro Gaming";
    text-shadow: 0.12vw 0 0 #000, 0.12vw 0.12vw 0 #000, 0 0.12vw 0 #000, -0.12vw 0.12vw 0 #000, -0.12vw 0 0 #000, -0.12vw -0.12vw 0 #000, 0 -0.12vw 0 #000, 0.12vw -0.12vw 0 #000;
}

#hello h2 {
    padding-left: 10%;
    padding-top:70px;
}

.presentation {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    padding-left: 10%;
    align-items: center;
}

.presentation #moi {
    width: 60%;
    align-self: start;
}

#moi p {
    font-size: 1.8em;
}

.presentation img {
    width: 30%;
}

.presentation .boutonCV {
    margin-top: 50px;

}

.boutonCV a {
    background-color: #2687c8;
    color: #4F6899;
    display: inline-block;
    font-size: 3em;
    text-decoration: none;
    user-select: none;
    letter-spacing: 1px;
    color: white;
    padding: 1.8vh 2.5vw;
    transition: all 0.4s ease-out;

    font-family:"Open Sans";

}

#showreel {
    width: 60%;
    margin: 40px auto; /* Centrer horizontalement le conteneur */
    padding: 20px 0; /* Espacement optionnel autour */
}

#showreel iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

footer{
    display:flex;
    justify-content:center;
    flex-basis:70%;
    flex-wrap: wrap;
	padding: 15px;
    background-color:#ff2346/*#ff2346*/;
}

footer h2{
    color:black;
    text-shadow: 0.1vw 0 0 #FFF, 0.1vw 0.1vw 0 #FFF, 0 0.1vw 0 #FFF, -0.1vw 0.1vw 0 #FFF, -0.1vw 0 0 #FFF, -0.1vw -0.1vw 0 #FFF, 0 -0.1vw 0 #FFF, 0.1vw -0.1vw 0 #FFF;
    width: 100%;
    text-align:center;
    margin-bottom:30px;
    padding-top:70px;
}

#copyright{
    width:80%;
    color:white;
    font-size:1.3em;
    text-align:center;
    margin:70px 0 10px 0;
    font-weight: bold;
}

#contact{
    display:flex;
    flex-basis:60%;
    justify-content:space-around;
}

#contact a img{
    height:65px;
    margin-right:10px;
}

#contact a:nth-child(2n) img{
    height:65px;
    width:65px;
}

#contact a:last-child img{
    max-height:65px;
    width:65px;
}

#contact a{
    display:flex;
    align-items:center;
    text-decoration:none;
    color:white;
    font-size:1.2em;
    opacity:0.75;
    transition:all 0.3s ease-out;
}

#contact a:hover{
    opacity:1;
}

form .text-box, form textarea{
    background: #000;
    color: #fff;
    border: 1px white solid;
    padding: 12px;
    font-size: 15px;
    border-radius: 5px;
    opacity: 0.9;
}

form .text-box {
    height: 50px;
    margin-bottom: 20px;
}

form textarea {
    width: 97%;
    min-height: 200px;
    max-height: 400px;
    resize: vertical;
    margin-bottom: 20px;
}

form .send-btn {
    float: right;
    background: black;
    color: white;
    border: 1px solid white;
    width: 120px;
    height: 40px;
    font-family:"Retro Gaming";
    font-size: 1.25em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    margin-bottom:20px;
    transition: all 0.4s ease;
}

form .send-btn:hover {
    background-color: white;
    color: black;
    font-size:1.35em;
    border: 1px black solid;
}

.button_su{
  overflow: hidden;
  position: relative;
  display: inline-block;
  border-radius: 3px;
  margin-bottom: 30px;
}

.su_button_circle{
  background-color: red;
  border-radius: 1000px;
  position: absolute;
  left:0;
  top:0;
  width: 0px;
  height: 0px;
  margin-left: 0px;
  margin-top: 0px;
  pointer-events: none;
  /*animation-timing-function: ease-in-out; */
}

.button_su_inner{
    display: inline-block;
    background: #2687c8;
    color: white;
    font-size: 16px;
    font-weight: normal;
    width: 132px;
    text-align: center;
    border-radius: 3px;
    transition: 400ms;
    text-decoration: none;
    padding: 22px;
    z-index: 100000;
}

.button_text_container{
   position:relative;
   z-index: 10000;
}

.explode-circle {
   animation: explode 0.5s forwards;

}

.desplode-circle{
   animation: desplode 0.5s forwards;
}

@keyframes explode {
  0% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(42, 53, 80,0.2);
  }
  100% {
    width: 500px;
    height: 500px;
    margin-left: -200px;
    margin-top: -200px;
    background-color: rgba(255, 35, 70, 0.8)
  }
}

@keyframes desplode {
  0% {
    width: 500px;
    height: 500px;
    margin-left: -200px;
    margin-top: -200px;
    background-color: rgba(255, 35, 70, 0.8)
  }
  100% {
    width: 0px;
    height: 0px;
    margin-left: 0px;
    margin-top: 0px;
    background-color: rgba(129, 80, 108,0.6);
  }
}

/*----------------PARTIE NAV----------------*/
.nav {
    width: 100%;
    height: 70px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: all 0.4s ease;
    z-index:100;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav div.logo a {
    text-decoration: none;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 10rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 65px;
    font-size: 2em;
    transition: all 0.4s;
}

.nav div.main_list ul li a:hover {
    color: #f6ec11;
    letter-spacing: 0.5px;
}

.logo{
    margin-left:2%;
    display:none;
}

.logo a img{
    max-height:60px;
}

.affix {
    padding: 0;
    background-color: #393939;
    z-index: 20;
}

.affix2 {
    padding: 0;
    background-color: #2687c8;
    z-index: 20;
}

.navlinks li{
    transition:all 0.5s ease-out
}

.activerNav{
    text-decoration:underline;
}
/*----------------FIN DE PARTIE NAV----------------*/

.transition{
    margin-bottom:-5px;
    width:100%;
}

/*----------------DEBUT PARTIE GALLERIE----------------*/
#gallery{
    background-color:#9facbd;
    padding:2vh 0 10vh 0;
    text-align:center;
}

#gallery h2{
    margin:2vh 0;
    padding-top:70px;
    color:#393939;
}

#gallery nav{
    width: 50%;
    margin: auto;
    display: flex;
    justify-content: center;
}

button{
    padding:1vh 2vw;
    border: none;
    background-color: #CCC;
    color: #393939;
    border: 1px solid grey;
    transition: all 0.5s ease;
    font-family: Open Sans;
    font-size: 2.5em;
}

.activer{
    background-color: #393939 ;
    color: #CCC;
}

button:first-child{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

button:last-child{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

button:hover{
    flex-grow: 1;
}

section{
    margin:0 auto;
    width:79%;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-around;
    /*gap:20px;*/
}

#gallery img{
    max-width:550px;/*
    cursor: pointer;*/
    height:auto;
    margin:20px 0;
    border-radius:2px;
    transition: all 0.5s ease;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 50%);
}

#gallery img:hover{
    transform:scale(1.05);
}

nav {
    animation-duration: 0.03s;
    animation-name: textflicker;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes textflicker {
  from {
    text-shadow: 2px 0 0 #ea36af, -2px 0 0 #75fa69;
  }
  to {
    text-shadow: 2px 0.5px 2px #ea36af, -1px -0.5px 2px #75fa69;
  }
}

footer{
    
background-image: linear-gradient(to left bottom, #ff92a3, #ff8193, #ff7083, #ff5e71, #ff495f, #ff495f, #ff495f, #ff495f, #ff5e71, #ff7083, #ff8193, #ff92a3);    background-size:200%;
    animation:animatedText 5s infinite alternate-reverse;
}

@keyframes animatedText{
    to{
        background-position:100%;
    }
}

/*----------------FIN PARTIE GALLERIE----------------*/

/*----------------DEBUT PARTIE MODALE----------------*/
.modale{
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;

    z-index:100;

    background:rgba(0,0,0,0.7);

    display:none;
    justify-content:center;
    align-items:center;
}

.boite{
  position: relative;
  padding: 50px 0 50px 0;
  background-color: #eee;
  border:5px #AAAAAA solid;

  display:flex;
  flex-wrap: wrap;
  flex-basis:85vw;
  max-height:80vh;
  justify-content:space-around;
  align-items:center;
/*  overflow:scroll;*/
}

.boite img{
    max-height:60vh;
    max-width:55%;
}

.boite iframe{
    display:none;
    height:500px;
    width:50%;
}

.boite div{
    max-width:40%;
    font-size:2em;
}

b{
    font-weight:bold;
}

.boite h2{
    font-size:8em;
    text-align:center;
    width:80%;
    display:flex;
    justify-content:center;
}

.boite .fermer{
  position:absolute;
  top: 20px;
  right:20px;
  
  font-size:3em;
  
  transform:scale(1);
  transition:.3s;
}

.fermer p{
    margin:0;

}

.boite .fermer:hover{
  transform:scale(1.3);
}

/*//////////////////////////////////// MEDIA QUERIES ////////////////////////////////////*/

@media (max-width: 980px){
    .nav div.main_list ul li a{
        font-size:3.5em;
    }

    #accueil video{
        position:initial;
        width:auto;
    }

    #accueil{
        background-position:15%;
    }

    h1{
        font-size:15em;
        /*text-shadow:0.2vw 0 0 #000, 0.2vw 0.2vw 0 #000, 0 0.2vw 0 #000, -0.2vw 0.2vw 0 #000, -0.2vw 0 0 #000, -0.2vw -0.2vw 0 #000, 0 -0.2vw 0 #000, 0.2vw -0.2vw 0 #000
 */   }

    #accueil div p{
        font-size:8em;
        text-shadow:0.2vw 0 0 #000, 0.2vw 0.2vw 0 #000, 0 0.2vw 0 #000, -0.2vw 0.2vw 0 #000, -0.2vw 0 0 #000, -0.2vw -0.2vw 0 #000, 0 -0.2vw 0 #000, 0.2vw -0.2vw 0 #000
    }

    h3{
        font-size:7em;
    }

    #hello {
        height: auto;
        margin-bottom:50px;
    }

    .presentation{
        flex-direction:column-reverse;
        padding-left:0;
        margin:auto;
    }

    .presentation #moi{
        width:90%;
    }

    #moi{
        margin:auto;
    }

    #moi p{
        font-size:5em;
    }

    .presentation img {
        width: 45%;
        padding:50px 0 25px 0;
    }


    #gallery img{
        max-width:600px;
        width:90%;
    }

    h2{
        font-size: 15em;
    }

    button{
        font-size: 6em;
        padding:5%;
    }

    .boite img{
        max-height:60vh;
        max-width:85%;
    }

    .boite iframe{
        display:none;
        height:500px;
        width:50%;
    }

    .boite .fermer{
        font-size:8em;
    }

    .boite h2{
        font-size:10em;
    }

    .boite div{
        font-size:6.5em;
        max-width:70%
    }

    .boite video{
        max-height:40vw;
    }

    #contact{
        flex-basis: 90%
    }

    #contact a{
        font-size:7em;
        flex-direction:column;
    }

    #contact img{
        display:none;
    }

    #copyright{
        font-size:5em;
    }

    .boutonCV a{
        font-size:5em;
    }

    .boite iframe{
        height:400px;
        width:90%;
    }

    form .text-box, form textarea{
        font-size: 10em;
    }

    nav{
        display:none;
    }

    form .send-btn {
        border: 2px solid white;
        width: 35%;
        height: auto;
        font-size: 8em;
    }

    .boite{
        overflow:scroll;
    }

    .custom-pointer{
        display: none;
    }

    .wrap{
        font-size: 3em;
    }
}