﻿.memory-check-page {
    padding: 20px;
    min-height: 100vh;
    background-image: url('../images/bg-main.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.memory-check-container {
    background-color: rgba(255, 255, 255, 0.7); /* More transparent white background */
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(2px); /* Adds subtle blur effect behind the container */
}

.memory-check-instructions {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(2px);
}

.memory-check-game {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(2px);
}

.memory-check-buttons-container {
    max-width: 600px;
    margin: 0 auto;
}

.memory-check-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #333;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    color: black; /* Changed to black text */
    font-weight: bold; /* Make text bolder */
    text-shadow: none; /* Remove text shadow */
    position: relative;
    overflow: hidden;
}

    .memory-check-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.3);
        opacity: 0;
        transition: opacity 0.3s;
    }

    .memory-check-button.active {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }

        .memory-check-button.active::before {
            opacity: 1;
        }

        .memory-check-button.active span {
            font-size: 1rem;
            font-weight: bold;
            z-index: 1;
        }

    .memory-check-button:hover {
        transform: scale(1.05);
    }

.memory-check-message {
    min-height: 24px;
    font-weight: bold;
    font-size: 1.2rem;
}

.memory-check-hidden {
    display: none !important;
}

/* Ensure text remains readable on semi-transparent backgrounds */
.memory-check-instructions h2,
.memory-check-instructions h3,
.memory-check-instructions li,
.memory-check-game h1,
.memory-check-scores div {
    color: #333; /* Dark gray for better readability */
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5); /* Subtle white shadow for contrast */
}

.memory-check-instructions .list-group-item {
    background-color: rgba(255, 255, 255, 0.3); /* Slightly transparent list items */
    color: #333;
    font-weight: bold;
}

/* Social Sharing Styles */
.btn-facebook {
    background-color: #3b5998;
    color: white;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-twitter {
    background-color: #1DA1F2;
    color: white;
}

.btn-linkedin {
    background-color: #0077B5;
    color: white;
}

#social-share-options {
    transition: all 0.3s ease;
}

    #social-share-options.show {
        display: block !important;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .memory-check-button {
        width: 50px;
        height: 50px;
    }

    .memory-check-game-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .memory-check-button {
        width: 40px;
        height: 40px;
    }

    .memory-check-scores div {
        font-size: 0.9rem;
    }

    .memory-check-controls {
        flex-wrap: wrap;
    }

        .memory-check-controls button {
            flex: 1 0 100%;
            margin-bottom: 5px;
        }
}
