body {
    background-color: #101018;
    font-family: Orbitron;
}

h2 {
    text-align: center;
}


.box {
    background: goldenrod;
    width: 300px;
    height: 300px;
    margin: 30px auto;
    transition: all 1s linear;
    display: block;
}

.start-button {
    transition: all 1s linear;
}

#main-enigma {
    transition: all 3s linear;
}

.hidden {
    display: none;
}

.visuallyhidden {
    opacity: 0;
}

button {
    display: block;
    margin: 0 auto;
    max-height: auto;
}

code {
    color: firebrick;
}

main {
    display: flex;
    width: 70%;
    margin-left: 15%;
    align-items: center;
    flex-direction: column;
}

#main-enigma {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.affichage-roue {
    background-color: transparent;
    border-radius: 4px;
    box-shadow: 0 0 2px white,
    0 0 2px white,
    0 0 2px white,
    0 0 2px white,
    0 0 10px white;
    padding-left: 5%;
    padding-right: 5%;
    margin-top: 3%;
    margin-bottom: 1%;
    min-width: 6vh;
    width: 110%;
}

canvas {
    height: 100%;
    
}

#solution {
    /* Apparition solution */
    display: none;
    align-items: center;
}


@font-face {
    /* Import police */
    font-family: DangerZone;
    src: url('../fonts/Danger\ Zone\ Warning.ttf') format('truetype');
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Gestion bordure dynamique +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.fancy {
    /*--offset: 3px;*/
    /*background-color: red;*/
    position: relative;
    /*height: 55px;*/
    /*width: 200px;*/
    max-width: 100%;
    overflow: hidden;
}

/* Conic gradient */
.fancy::before {
    content: '';
    background: conic-gradient(transparent 320deg, red, transparent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
    width: 600px;
    animation: rotate 4s linear infinite;
}

/* Overlay */
.fancy::after {
    content: '';
    background: inherit;
    border-radius: inherit;
    position: absolute;
    inset: var(--offset);
    height: calc(100% - 2 * var(--offset));
    width: calc(100% - 2 * var(--offset));
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) scale(1.4) rotate(0turn);
    }

    to {
        transform: translate(-50%, -50%) scale(1.4) rotate(1turn);
    }
}

.button {
    display: flex;
    border: none;
    padding: 0;
    background: none;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 4vw;
    max-width: 40px;
}

.arrow-button {
    background-color: rgba(38, 36, 36, 0);
    border: none;
    padding: 0;
}

.arrow-button img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.grossefleche {
    max-width: 100%;
    height: auto;
    display: block;
    transform: scale(1.5);
}

.roue {
    display: block;
}

.solution p {
    font-size: 1.5vw;
    color: rgb(201, 172, 113);

}

#writeSol {
    margin-top: 3%;
    background-color: rgba(38, 36, 36, 0.6);
    color: rgb(201, 172, 113);
    border: 4px solid rgb(201, 172, 113);
}

#fichier {
    color: white;
}

#home {
    color: black;
    padding: 5px;
    margin: 1%;
    border: 1px;
    background-color: white;
    text-decoration: none;
}

submit-box , rappel-box {
    width: 70%;
}

.menu {
    list-style-type: none;
    margin: 4px 3px;
    padding: 0;
    justify-content: right;
    overflow: hidden;
    display: flex;
}

.menu > li {
    float: right;
    padding: 5px;
    margin: 1%;
    border: 1px;
    background-color: white;
}

.menu > li > p {
    display: inline-block;
    color: black;
    text-align: center;
    cursor: pointer;
    margin: 0;
}

.menu > li > p:hover {
    background-color: #f1f1f1;
}

.dropdown {
    position: absolute;
    display: block;
}

.dropdown-content {
    display: none;
    position: relative;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content button,input {
    background-color: black;
    color: white;
    border: none;
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.dropdown-content button:hover,input:hover {
    background-color: #242633;
}

.dropdown:hover .dropdown-content {
    display: block;
}

#skip {
    background-color: #101018;
    color: #dedeff;
    font-family: Orbitron;
    border: none;
    margin-top: 30px;
    font-size: 2em;
    transition: all 3s linear;
}

#credits {
    display: none;
    border-radius: 4px;
    box-shadow: 0 0 2px white,
    0 0 2px white,
    0 0 2px white,
    0 0 2px white,
    0 0 10px white;
    width: auto;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 3%;
    padding: 5%;
}

#credits > p,#credits > h3 {
    color: white;
}