body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #34495e;
    padding: 20px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-around;
    background-color: #2c3e50;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #34495e;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.content {
    padding: 20px;
}

.command {
    background-color: #2c3e50;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
}

.footer {
    background-color: #34495e;
    padding: 10px;
    text-align: center;
}

.image {
    text-align: center;
    margin: 20px 0;
}

.image img {
    width: 200px;
    height: auto;
    cursor: pointer;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#game-board {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.card {
    width: 100px;
    height: 100px;
    margin: 10px;
    background-color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card img {
    width: 80px;
    height: 80px;
    display: none;
}

.card.flipped img {
    display: block;
}

.settings {
    position: absolute;
    top: 20px;
    right: 20px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 1000;
}

.popup img {
    width: 600px;
    height: auto;
}
