/* Eye of Truth Styles */

@font-face {
    font-family: 'FortuneFont';
    src: url('assets/fortunefont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 100vh;
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 3rem;
}

#mainCanvas {
    width: 80vmin;
    height: 80vmin;
    aspect-ratio: 1;
    background-color: #000;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.eye-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye {
    position: relative;
    width: 200px;
    height: 200px;
}

.sclera {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.iris {
    width: 80%;
    height: 80%;
    background-color: #4a90e2;
    border-radius: 50%;
    position: absolute;
    top: 10%;
    left: 10%;
}

.pupil {
    width: 40%;
    height: 40%;
    background-color: #000;
    border-radius: 50%;
    position: absolute;
    top: 30%;
    left: 30%;
}

/* Audio Toggle Styles */
.audio-toggle {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid #ff2a0a;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.toggle-label {
    color: #ff2a0a;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 30px;
    border: 2px solid #ff2a0a;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: #ff2a0a;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #ff2a0a;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

