body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Trebuchet MS', sans-serif;
    background-color: #1a1a1a;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.click-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #2e2e2e;
    border-right: 2px solid #4caf50;
}

.click-area img {
    width: 200px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: transform 0.1s;
}

.click-area img:active {
    transform: rotate(-5deg) scale(1.05);
}

.content-area {
    flex: 2;
    display: flex;
    flex-direction: column;
    background-color: #333;
    overflow-y: auto;
    max-height: calc(100vh - 60px);

    box-sizing: border-box;
}

.menu {
    background-color: #4caf50;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    width: 100%;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.menu li {
    margin: 0;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
    text-transform: uppercase;
}

.menu a:hover, .menu a.active {
    color: #ffeb3b;
}

.content {
    display: none;
    padding: 20px;
    background-color: #444;
    width: 100%;
    box-sizing: border-box;
    border-top: 2px solid #4caf50;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

h2 {
    color: #4caf50;
}

p {
    color: #ccc;
    line-height: 1.6;
}

.xp-bar {
    width: 80%;
    background-color: #444;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

#xp-progress {
    height: 20px;
    background-color: #4caf50;
    width: 0;
    transition: width 0.3s;
}

.click-counter {
    color: #ffeb3b;
    font-size: 1.2em;
    margin-top: 10px;
}

.shop-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    background-color: #2e2e2e;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.shop-item:hover {
    background-color: #3a3a3a;
}

.shop-item img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-info h3 {
    color: #ffeb3b;
    margin: 0;
    font-size: 1.2em;
}

.item-info p {
    color: #ccc;
    margin: 5px 0 0;
}

.item-stats {
    text-align: right;
    color: #ccc;
}

.shop-item.disabled {
    opacity: 0.5;
    pointer-events: none;
} 

.footer {
    text-align: center;
    color: #ccc;
    margin-top: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #1a1919;
    padding: 10px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo {
    width: 50px;
    height: 50px;
}

.menu-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.stats-block {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #2e2e2e;
    border-radius: 5px;
    margin-bottom: 20px;
}

.stat-item {
    color: #ffeb3b;
    font-size: 1.2em;
}

.additional-block {
    padding: 10px;
    background-color: #444;
    border-radius: 5px;
    color: #ccc;
}

.purchased {
    background-color: #4caf50;
    color: white;
    pointer-events: none;
}

.dofus-fly {
    position: absolute;
    width: 50px; /* Taille de l'image réduite */
    transition: transform 1s ease-out, opacity 1s ease-out;
    opacity: 1;
    pointer-events: none; /* Empêche l'interaction avec l'image volante */
    z-index: 1000; /* Assurez-vous que l'image est au-dessus des autres éléments */
}

@keyframes flyUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-200px);
        opacity: 0;
    }
}

.omega-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.omega-popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.omega-popup-content h2 {
    margin-top: 0;
}

.omega-popup-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.omega-popup-content button:hover {
    background-color: #45a049;
}

