.hidden {
    display: none !important;
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
    background-color: white;
    border: 2px solid black;
    border-radius: 30px;
    padding: 12px 24px;
    font-family: 'Aeonik', Arial, sans-serif;
    font-size: 16px;
    color: black;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 9999;
}

.back-button:hover {
    background-color: black;
    color: white;
}

.sun-toggle-container {
    position: absolute;
    top: 20px;
    left: calc((100vw - 450px) / 2 - 50px); /* Déplace 50px plus à gauche */
    transform: none;
    z-index: 9999;
}


.toggle {
    display: inline-block;
    position: relative;
    height: 100px;
    width: 100px;
}

.toggle:before {
    box-shadow: 0;
    border-radius: 84.5px;
    background: #fff;
    position: absolute;
    margin-left: -36px;
    margin-top: -36px;
    opacity: 0.2;
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
}

.toggle .button {
    transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.5), inset 0 -3px 4px -1px rgba(0, 0, 0, 0.2),
                0 -10px 15px -1px rgba(255, 255, 255, 0.6),
                inset 0 3px 4px -1px rgba(255, 255, 255, 0.2),
                inset 0 0 5px 1px rgba(255, 255, 255, 0.8),
                inset 0 20px 30px 0 rgba(255, 255, 255, 0.2);
    border-radius: 68.8px;
    position: absolute;
    background: #eaeaea;
    margin-left: -34.4px;
    margin-top: -34.4px;
    display: block;
    height: 68.8px;
    width: 68.8px;
    left: 50%;
    top: 50%;
}

.toggle .label {
    transition: color 300ms ease-out;
    line-height: 101px;
    text-align: center;
    position: absolute;
    font-weight: 700;
    font-size: 28px;
    display: block;
    opacity: 0.9;
    height: 100%;
    width: 100%;
    color: rgba(0, 0, 0, 0.9);
}

.toggle input {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    z-index: 1;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}

.toggle input:active ~ .button {
    filter: blur(0.5px);
}

.toggle input:checked ~ .button {
    filter: blur(0.5px);
}

.toggle input:active ~ .label {
    font-size: 26px;
    color: rgba(0, 0, 0, 0.45);
}

.toggle input:checked ~ .label {
    color: rgba(0, 0, 0, 0.8);
}