@font-face {
    font-family: "DS_DigitalII";
    src: url("Font/DS-DIGI.TTF") format("truetype");

}

@font-face {
    font-family: "Pixel";
    src: url("Font/04B_30__.TTF") format("truetype");
}

body {
    perspective: 2000px;
    display: flex;
    justify-content: space-between;
    background-color: #e9ebee;
}

body a {
    text-decoration: none;

}

section {
    min-width: 250px;
    margin-left: auto;
    margin-right: auto;


}

#sectionNombreClic {
    margin-left: auto;
    margin-right: auto;
    margin-top: 250px;
    min-width: 100px;
    max-width: max-content;
    box-shadow: 5px 5px 10px #aaa;
    padding: 10px;
    border-radius: 50%;
    background: #478bf9;
    font: bold 20px Arial;
    color: #fff;
    border: 1px outset #aaa;
    transition-duration: 250ms;
    transition-timing-function: ease-in-out;
}

@keyframes animationNombreClicActif {
    from {
        transform: scale(1, 1);
        box-shadow: 5px 5px 10px #aaa;
    }

    to {
        transform: scale(1.1, 1.1);
        box-shadow: 8px 8px 10px #aaa;
    }

}

.sectionNombreClicActif {
    animation: animationNombreClicActif 1000ms;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.1, .92, .02, 1);
    animation-direction: none;
}

@keyframes animationNombreClicInactif {
    from {
        transform: scale(1.1, 1.1);
        box-shadow: 8px 8px 10px #aaa;
    }

    to {
        transform: scale(1, 1);
        box-shadow: 5px 5px 10px #aaa;
    }

}

.sectionNombreClicInactif {
    animation: animationNombreClicInactif 1000ms;
    animation-fill-mode: none;
    animation-timing-function: cubic-bezier(.1, .92, .02, 1);
    animation-direction: alternate;
}

#nombreClic {
    padding-left: 5px;
    padding-right: 5px;
    color: aliceblue;
    display: flex;
    justify-content: center;
    align-items: center;
}

#boutonClic {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 200px;
    width: 85px;
    height: 85px;
    background: #fafafa;
    box-shadow: 5px 5px 10px #aaa;
    font: bold 13px Arial;
    border-radius: 50%;
    color: #555;
    justify-content: center;
    text-decoration-line: none;
    border: 1px outset #aaa;

}


#boutonClic p {
    align-items: center;
    font-size: 2em;
}

#boutonClic:hover {
    background-image: linear-gradient(#F2F2F2, #C6D9DC);
}

#boutonClic:active {
    color: #555;
    transform: scale3d(0.96, 0.96, 1);
    box-shadow: 3px 3px 10px #aaa;
}

aside {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    border-left-style: dashed;
    background-color: white;
    position: relative;
    top: -8px;
    left: 8px;
    border-bottom-style: dashed;
    border-radius: 0 0 0 40px;
    box-shadow: 10px 10px 10px #aaa;

}

#bandeauCote {
    width: 0px;
    position: relative;
    top: -8px;
    left: 8px;

}

.aideFonction {
    color: rgba(0, 0, 0, 0);
    height: 145px;
    margin-bottom: 30px;
    position: relative;
    visibility: hidden;
}

.animationAideInactif {
    height: 145px;
    width: 0;
    background-color: rgb(30, 144, 255);
    position: relative;
    margin-bottom: 30px;
    box-shadow: 10px 10px 10px #aaa;
    animation: animationAideInactif 500ms;
    animation-fill-mode: forwards;

}

.animationAideInactif p {
    margin: 0;
    padding: 20px;
    font-family: Arial;
    text-align: justify;

}

@keyframes animationAideInactif {
    0% {
        transform: translatex(-200px);
        width: 200px;
        color: rgba(0, 0, 0, 1);
        border-radius: 30px 0 0 30px;
    }

    50% {
        transform: translatex(-200px);
        width: 200px;
        color: rgba(0, 0, 0, 0);
        border-radius: 30px 0 0 30px;
    }

    100% {
        transform: translatex(0px);
        width: 0px;
        color: rgba(0, 0, 0, 0);
        border-radius: 0 0 0 0;
        visibility: hidden;
    }
}

@keyframes animationAideActif {
    0% {
        transform: translatex(0);
        width: 0px;
        color: rgba(0, 0, 0, 0);
        border-radius: 0 0 0 0;
    }

    50% {
        transform: translatex(-200px);
        width: 200px;
        color: rgba(0, 0, 0, 0);
        border-radius: 30px 0 0 30px;
    }

    100% {
        transform: translatex(-200px);
        width: 200px;
        color: rgba(0, 0, 0, 1);
        border-radius: 30px 0 0 30px;
    }
}


.animationAideActif {
    height: 145px;
    width: 0;
    background-color: rgb(30, 144, 255);
    position: relative;
    margin-bottom: 30px;
    box-shadow: 10px 10px 10px #aaa;
    animation: animationAideActif 500ms;
    animation-fill-mode: forwards;

}

.animationAideActif p {
    margin: 0;
    padding: 20px;
    text-align: justify;
    font-family: Arial;
}

.fonction p {
    margin: 0 auto 0 auto;
    min-width: 200px;
    text-align: center;
}

aside div {
    margin: auto;
}

.fonction {
    margin: 0 auto 30px auto;
    min-height: 145px;
}

.bontonCoulissant {
    display: block;
    width: 50px;
    height: 20px;
    background-color: #D4D4D4;
    border-radius: 15px;
    border-style: ridge;
    border-width: 1px;
    border-color: black;
    box-shadow: 2px 2px 2px #aaa;
    margin: auto;

}

.bontonCoulissant div {
    width: 18px;
    height: 18px;
    background-image: radial-gradient(#828282, #ABABAB);
    border-radius: 10px;
    margin-left: 0px;
    border: ridge 1px black;
    box-shadow: 2px 2px 2px #aaa;
}

@keyframes animationBoutonCoulissant {
    from {
        transform: translateX(0px);
        background-image: radial-gradient(#828282, #ABABAB);
    }

    90% {
        background-image: radial-gradient(#008B00, #00CD00);
    }

    to {

        transform: translateX(30px);
        background-image: radial-gradient(#008B00, #00CD00);
    }
}

.bontonCoulissant div:active {

    animation: animationBoutonCoulissant 1000ms;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.1, .92, .02, 1);

}

.imageInactif {
    margin: 5px auto 5px auto;
    border-radius: 10px 10px 10px 10px;
    transform: scale(1, 1);
    box-shadow: 3px 3px 4px #aaa;
    transition-duration: 100ms;
    transition-timing-function: ease-in-out;
    width: 64px;
    height: 64px;
    background-image: radial-gradient(#F2F2F2, #C6D9DC);
    opacity: 0.6;

}

.imageActif {
    margin: 5px auto 5px auto;
    border-radius: 10px 10px 10px 10px;
    transform: scale(1, 1);
    box-shadow: 3px 3px 4px #aaa;
    transition-duration: 100ms;
    transition-timing-function: ease-in-out;
    width: 64px;
    height: 64px;
    background-image: radial-gradient(#7CCD7C, #008B00);
}

.imageActif:active {
    transform: scale(0.98, 0.98);
    box-shadow: 2px 2px 3px #aaa;
}

aside p {
    font: bold 20px Arial;
    margin: 0 auto 0 auto;

}


#Timer {
    text-align: center;
    font-size: 2em;
    font-family: DS_DigitalII;
    background-image: radial-gradient(#424242, #2E2E2E);
    color: #7CFC00;
    width: 150px;
    margin: auto;
    border-radius: 5px 5px 5px 5px
}

#boutonDemarrer {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 200px;
    width: 160px;
    height: 85px;
    background: #fafafa;
    box-shadow: 5px 5px 10px #aaa;
    border-radius: 50%;
    color: #555;
    justify-content: center;
    text-decoration-line: none;
    border: 1px outset #aaa;
}

#boutonDemarrer p {
    font: bold 20px Arial;
    color: #555;
    padding: 10px;
}

#boutonDemarrer:hover {
    background-image: linear-gradient(#F2F2F2, #C6D9DC);
}

#boutonDemarrer:active {
    color: #555;
    transform: scale3d(0.96, 0.96, 1);
    box-shadow: 3px 3px 10px #aaa;
}

#boutonRedemarrer {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    width: 160px;
    height: 85px;
    background: #fafafa;
    box-shadow: 5px 5px 10px #aaa;
    border-radius: 50%;
    color: #555;
    justify-content: center;
    text-decoration-line: none;
    border: 1px outset #aaa;
}

#boutonRedemarrer p {
    font: bold 20px Arial;
    color: #555;
    padding: 10px;
}

#boutonRedemarrer:hover {
    background-image: linear-gradient(#F2F2F2, #C6D9DC);
}

#boutonRedemarrer:active {
    color: #555;
    transform: scale3d(0.96, 0.96, 1);
    box-shadow: 3px 3px 10px #aaa;
}

#divRecord {
    font-family: Pixel;
    font-size: 30px;
    margin-top: 200px;
}

#imagePlus {
    position: relative;
    left: 6px;
    top: 7px;
    transform: scale(0.6, 0.6);
    visibility: hidden;
    width: 39px;
    margin: 0 0 0 0;
}

#imagePlusInactif {
    position: relative;
    left: 6px;
    top: 7px;
    transform: scale(0.6, 0.6);
    width: 39px;
    margin: 0 0 0 0;
    visibility: hidden;
}



@keyframes animationPlusActif {
    from {
        transform: scale(0.6, 0.6);
        opacity: 0;
    }

    50% {
        transform: scale(0.7, 0.7);
        opacity: 1;
    }

    to {
        transform: scale(0.6, 0.6);
        opacity: 0;
    }
}

#imagePlusActif {
    position: relative;
    left: 6px;
    top: 7px;
    width: 39px;
    transform: scale(0.6, 0.6);
    margin: 0 0 0 0;
    animation: animationPlusActif 1000ms ease-in-out alternate;
}

#imageFonction2 {
    display: flex;
}

#imageFonction2 .imageInactif {
    margin: 5px 68px 5px 29px;
}

#imageFonction2 .imageActif {
    margin: 5px 68px 5px 29px;
}

#aide {
    width: 0;
}

.aideInit {
    left: -210px;
}

.aideInactif {

    animation: animationTexteAideInactif 1000ms;
    animation-fill-mode: forwards;
}

@keyframes animationTexteAideInactif {
    from {
        left: -8px;
    }

    to {
        left: -208px;
    }
}

.boutonAideInactif {
    font-family: Arial;
    width: 20px;
    height: 100px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: black;
    text-align: center;
    font-weight: bold;
    color: white;
    border-radius: 0px 10px 10px 0;
    Position: relative;
    padding: 10px;
    position: relative;
    top: -300px;
    animation: animationBoutonAideInactif 1000ms;
    animation-fill-mode: forwards;

}

@keyframes animationBoutonAideInactif {
    from {
        left: 192px;
    }

    to {
        left: -8px;
    }
}

@keyframes animationBoutonAideActif {
    from {
        left: -8px;
    }

    to {
        left: 192px;
    }
}

.boutonAideActif {

    animation: animationBoutonAideActif 1000ms;
    animation-fill-mode: forwards;
}

.aideActif {
    animation: animationTexteAideActif 1000ms;
    animation-fill-mode: forwards;
}

@keyframes animationTexteAideActif {
    from {
        left: -208px;
    }

    to {
        left: -8px;
    }
}

.boutonAideInit {
    left: -8px;
}

#boutonAide {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #4F4F4F;
    text-align: center;
    font-weight: bold;
    color: white;
    border-radius: 0px 100% 100% 0;
    Position: relative;
    padding: 10px;
    top: -300px;
    font-family: Arial;
    width: 20px;
    height: 100px;
    box-shadow: 3px 3px 6px #aaa;
    transition-duration: 500ms;
    text-shadow: 1px 1px 1px black; 
}

#texteAide {
    background-color: #66CD00;
    margin: 0;
    position: relative;
    top: 0px;
    height: 280px;
    width: 180px;
    padding: 10px;
    font-family: Arial;
    color: white;
    text-shadow: 2px 2px 2px black;
    font-size: 18px;
    border-radius: 0 0 120px 0;
    box-shadow: 3px 3px 6px #aaa;
}

#boutonAide:hover {
    background-color: #8a8a8a;
    transition-duration: 500ms;
}
