body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Arial', sans-serif;
    margin: 0;
    color: white;
    background: url(3.gif) repeat center fixed;
    background-size: cover;

    
}

.spel-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
}

canvas {
    width: 800px;
    height: 500px;
    border: 3px solid #333;
    border-radius: 8px;
    background-color: #000;
}

.sida-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    order: 2;
}

.info-ruta {
    border-radius: 12px;
    padding: 15px;
    width: 220px;
    background: linear-gradient(135deg,#333,#555);
    border: 2px solid #FFD700;
    box-shadow: 3px 3px 15px rgba(0,0,0,0.5);
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

.info-ruta h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    text-align: center;
    color: #FFD700;
    text-shadow: 1px 1px 2px #000;
}

.info-ruta p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #fff;
}

.poäng-ruta {
    padding: 12px 20px;
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    border: 2px solid #fff;
    border-radius: 12px;
    text-align: center;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.knappar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.knappar button {
    padding: 12px 18px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(145deg,#4CAF50,#2E7D32);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

.knappar button:hover {
    background: linear-gradient(145deg,#66BB6A,#388E3C);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 3px 6px 12px rgba(0,0,0,0.4);
}

/* Power-ups */
.knappar.powerups button {
    background: linear-gradient(145deg,#2196F3,#0D47A1);
}
.knappar.powerups button:hover {
    background: linear-gradient(145deg,#42A5F5,#1565C0);
}

/* Special-knappar */
.knappar.special button {
    background: linear-gradient(145deg,#FF5722,#BF360C);
}
.knappar.special button:hover {
    background: linear-gradient(145deg,#FF7043,#E64A19);
}

/*secret-knappar */




/* Pris bredvid knappen */
.pris {
    margin-left: 8px;
    font-weight: bold;
    color: yellow;
}




