@font-face {
    font-family: 'albert';
    src: url("AlbertSans-VariableFont_wght.ttf");
}

@keyframes masque-start {
    0% {opacity: 0;}
    85% {opacity: 0;}

}

html {
    padding: 0;
    margin: 0;
    height: 100%;
}

body {
    user-select: none;
    position: relative;
    padding: 0;
    margin: 0;
    font-family: 'albert';
    align-items: center;
    align-content: center;
    /*répartition pour le footer*/
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: -20;
}

/*animation splash*/
@keyframes zoom-fade {
    0% {
        
    visibility: visible;
        padding: 0 0px;
        opacity: 0;
        
    }

    20% {
        opacity: 1;
        filter: blur(1px);
    }
    25% {
        padding: 0 50%;
    }

    33% {
        padding: 0 25%;
    }

    70% {
        filter: blur(0px);}

    85% {
        opacity: 1;
        
    }

    90% {
        
        filter: blur(1px);
    }
    100% {
        padding: 0 0px;
        opacity: 0;
    }
}
.container-splash {
    box-sizing: border-box;
    position: fixed;
    background-color: white;
    width: 100%;
    height: 100%;
    align-content: center;
    opacity:0;
    filter: blur(5px);
    animation: zoom-fade 5s;
    display: flex;
    visibility: hidden;
      /*  display:none;*/
}
.ensemble-anim-logo {
    position: relative;
    margin: auto;
    width: 100%;
    display: flex;
    align-content: center;

}
@keyframes crash-spin {
    0% {
        rotate: 0;
        filter:  saturate(6) brightness(0.75) contrast(200%) hue-rotate(-360deg);
    }

    50% {
        rotate: 500deg;
        filter:  saturate(6) brightness(0.75) contrast(200%) hue-rotate(360deg);
    }
}
.crash {
    z-index: 10;
    width: 15%;
    margin: auto;
    animation: crash-spin 3s ease-in-out;
}
@keyframes studio-to-left {
    0% {
        right: 0%;
    }

    50% {
        right: 0%
    }

    100% {
        right: 50%;
    }

}
.studio {
    position: absolute;
    width: 29%;
    bottom: 50%;
    right: 50%;
    animation: studio-to-left 3s ease-in-out;
}
@keyframes francois-to-right {
    0% {
        left: 0%;
    }

    50% {
        left: 0%
    }

    100% {
        left: 50%;
    }

}
.francois {
    position: absolute;
    width: 40%;
    left: 50%;
    top: 50%;
    animation: francois-to-right 3s ease-in-out;

}
.cache1 {
    position: absolute;
    background-color: white;
    width: 50%;
    height: 75%;
    bottom: 50%;
    left: 50%;
}
.cache2 {
    position: absolute;
    background-color: white;
    width: 50%;
    height: 75%;
    top: 50%;
    right: 50%;
}




main {
    z-index: -1;
    width: 100%;
    animation: masque-start 6s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
/*repartion pour le footer*/
    flex: 1 0 auto;
    flex-grow: 1;
}


.container-portes {
    
    position:relative;
    margin: 200px 0 0 0;

}
main>div>a {
    display: block;
    font-size: 60px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    width: 400px;
    padding: 20px;
    border: solid 8px;
    padding: 25px 25px 15px 25px;
    margin: 25px auto;
    line-height: 30px;
    background-color: white;
    transition: ease-in-out 0.2s;
}
.porte1 {position: relative; z-index: 0;color:#e6007e;
    transition: ease-in-out 0.2s;}
.porte2 {position: relative; z-index: 0;color:#66b900;
    transition: ease-in-out 0.2s;}
.porte3 {position: relative; z-index: 0;color:#007EE6;
    transition: ease-in-out 0.2s;}
.porte1:hover, .porte2:hover, .porte3:hover, .porte1:focus, .porte2:focus, .porte3:focus {
    transition: ease-in-out 0.2s;
    box-shadow: 0px 0px 0px 2000px rgba(255, 255, 255, 0.750);
    z-index: 10;
    outline: none;
    transform: scale(1.1);
}
.subtitle {
    
    font-size: 30px;
    font-weight: 500;
}


/* --------- HEADER ----------- */


header {
    /*emplacement*/
    z-index: 0;
    /*premier plan*/
    /*fixe*/
    top: 0px;
    /*en haut*/
    padding: 0;
    margin: 0;
    /*aspect*/
    font-size: 0px;
    background-color: white;
    opacity: 1;
    /*alignements*/
    justify-content: center;
    /*masquage*/
    animation: masque-start 6s ease-in-out;
    height: 0px;
    width: 100%;
}

/*logo*/

.container-logo {
    scale:33%;
    margin-top: 10%;
    display: flex;
    align-content: center;
    justify-content: space-around;
    flex-flow: row wrap;
    width: 100%;
    height: 200%;
}
@keyframes emphase-disc {
0%{rotate: 0deg;}
10%{rotate: 15deg;}
30%{rotate : -10deg}
40%{rotate: 27deg;}
50%{rotate: -41deg;}
100%{rotate: 720deg;}
}
.disque {
    position: absolute;
    z-index: -100;
    width: 210px;
    margin: auto;
    translate: -77px;
    animation: emphase-disc 3s ease-in-out infinite;
    rotate: 0deg;
    transition: 0.2s ease-in-out;
    fill:#ffc12e;
}
@keyframes shake {
    5% {
        rotate: 180deg;}
    10%, 90% {
      transform: translate3d(-10px, 0, 0);
    }
    
    20%, 80% {
      transform: translate3d(20px, 0, 0);
    }
  
    30%, 50%, 70% {
      transform: translate3d(-40px, 0, 0);
    }
  
    40%, 60% {
      transform: translate3d(40px, 0, 0);
    }
  }
.container-logo:hover .disque{
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    transition: 1s ease-in-out;
    scale: 125%;
}
.container-logo:hover .text-logo{
    scale: 125%;
    transition: 1s ease-in-out;
    translate: 20px;

}
.text-logo {
    position: absolute;
    margin: auto;
    width: 1000px;
    transition: 0.4s ease-in-out;
}

/* --------- FOOTER ----------- */

footer {
    /*border: solid red 1px;*/
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    z-index: -1;
    position: relative;
    width: 100%;
    margin-top: 50px;
    /*masquage*/
    animation: masque-start 6s ease-in-out;

}
footer>p {
    font-size: 15px;
    font-weight: 500;
}
footer>p>a {
    text-decoration: none;
    color: #e6007e;
    transition: ease-in-out 0.2s;
}
footer>p>a:hover,
footer>p>a:focus {
    color: #f9b233;
}

.rose{fill:#e6007e;}
.vert{fill:#66b900;}
.bleu{fill:#007EE6;}

@media only screen and (max-width: 950px) {
    .container-logo {
        scale:33%;
    }
    .container-portes {
        position:relative;
        margin: 100px 0 0 0;
    scale: 66%;
    
    }

    
}





/*dev
*{
    border:solid red 1px;
    background-color: rgba(255, 0, 0, 0.123) ;
}


*/