/* Tema*/
.dark-theme {
    background-color: #37474F;
    color: #B0BEC5;
}

/* Navbar */
.navbar {
    background-color: #263238;
}

/* Carousel Caption */
.carousel-caption {
    background-color: rgba(38, 50, 56, 0.7);
    color: #B0BEC5;
}

/* Buttons */
.btn-pink {
    background-color: #B0BEC5;
    border-color: #263238;
    color: #263238;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, filter 0.3s;
}

.btn-pink:hover {
    background-color: #78909C;
    border-color: #263238;
    color: #263238;
    filter: brightness(1.2); 
}

/* Card Background */
.card {
    background-color: #455A64;
    transition: transform 0.3s;
}

.card:hover {
    box-shadow: 0px 0px 30px 1px rgba(0, 255, 117, 0.30);
    transform: scale(1.05);
}

/* Card Text */
.card-body {
    color: #B0BEC5;
}

/* Form */
#Contact {
    background-color: #263238;
    color: #B0BEC5;
}

#Contact h3,
#Contact .form-label {
    color: #78909C;
}

#Contact .form-control {
    background-color: #37474F;
    color: #B0BEC5;
    border-color: #78909C;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

#Contact .form-control:focus {
    border-color: #78909C;
}

#Contact button.btn-pink {
    background-color: #78909C;
    border-color: #000;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}

#Contact button.btn-pink:hover {
    background-color: #fff;
    color: #000;
}

/* Loading Animation */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    animation: loadingAnimation 2s linear infinite;
}

@keyframes loadingAnimation {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Cursor Animation */
body::before {
    content: '';
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: cursorAnimation 0.3s ease-in-out infinite alternate, cursorGlow 1.5s ease-in-out infinite;
}

/* loading */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    animation: loadingAnimation 2s linear infinite;
}

@keyframes loadingAnimation {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


/* Tombol Tema */
#theme-toggle {
    background-color: #10bce7;
    border-color: #000;
    color: #000;
    font-size: 0.8em;
    margin: 10px;
    transition: background-color 0.3s, color 0.3s;
}

#theme-toggle:hover {
    background-color: #fff;
    color: #000;
}

#theme-toggle::before {
    content: '\1F319'; 
    display: inline-block;
    margin-right: 3px; 
    font-size: 0.8  em; 
}

/* Game Styles */
#game {
    background-color: #333;
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

#message {
    font-size: 1.2em;
}

#guessInput {
    background-color: #555;
    color: #fff;
    border: 2px solid #1fe7e7;
    border-radius: 5px;
    text-align: center;
}

#guessButton {
    background-color: #1fe7e7;
    border-color: #000;
    color: #000;
    margin-top: 10px;
}

#guessButton:disabled {
    background-color: #555;
    border-color: #000;
    color: #000;
}

