body {
    background-color: #000a1f;
}

#background-music {
    display: none; 
}

#audio-controls {
    background-color: #000a1f;
    border: none;
    outline: none;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center; 
}

#audio-controls button {
    background-color: #ff00ff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#audio-controls button:hover {
    background-color: #00ffff;
}

#volume-slider {
    appearance: none;
    width: 100px;
    height: 10px;
    background: #ff00ff;
    outline: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    margin: 0 10px; 
}

#volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    cursor: pointer;
}

#volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #00ffff;
    border-radius: 50%;
    cursor: pointer;
}

.container {
    margin: 10px auto;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.image-container {
    flex: 0 0 auto; 
    display: flex;
    flex-direction: column; 
    align-items: center;
    position: relative; 
    margin-bottom: 50px; 
}

.image-container img {
    width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.684);
    transition: all ease-in-out 0.5s;
}

.image-container img:hover {
    width: 250px;
    height: auto;
    filter: contrast(1.5);
}

.image-container:hover .witchy-title {
    color: #00ffff;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.8);
    transform: scale(1.1);
}

.witchy-title {
    margin-top: 10px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #ff00ff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.8), 0 0 10px rgba(255, 0, 255, 0.8), 0 0 20px rgba(255, 0, 255, 0.8);
    transition: all ease-in-out 0.5s;
}

body.character-page {
    background-color: #000a1f;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .header-content {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #a6f1f1;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
    z-index: 1;
}

.header-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
    z-index: 1;
}

.glow-title {
    font-size: 48px; 
}

h2.glow-title {
    font-size: 36px;
}

.info-container {
    padding: 20px;
    max-width: 800px;
    text-align: center;
    margin-top: 20px;
    z-index: 1;
}

.glow-box {
    padding: 20px;
    border: 2px solid #1077bb;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px rgba(0, 255, 255, 0.8), 0 0 6px rgba(0, 255, 255, 0.8), 0 0 10px rgba(0, 255, 255, 0.8); 
    margin-top: 20px;
    z-index: 1;
}

.back-button {
    background-color: #00ffff;
    font-weight: bold;
    border: none; 
    padding: 10px 20px; 
    border-radius: 5px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
    margin-top: 20px; 
}

.back-button:hover {
    background-color: #ff00ff; 
}

.fog {
    position: fixed;
    top: 0; 
    left: 0; 
    height: 100vh; 
    width: 100vw; 
    overflow: hidden; 
    z-index: 0; 
    pointer-events: none; 
}

.fog-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.fog-img {
    position: absolute;
    height: 100vh;
    width: 300vw; 
    z-index: 0;
    background: url("img/fog-1.png");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    animation: marquee 60s linear infinite;
}


@keyframes marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-200vw, 0, 0);
    }
}
