* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.taal-selector {
    background: #2d3748;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.device-animation {
  margin-left: 25px;
  width: 10%;
  height: auto;
  border-radius: 10px;
}

.taal-knop {
    background: #4a5568;
    border: none;
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.taal-knop:hover {
    background: #667eea;
    transform: scale(1.05);
}

.taal-knop.actief {
    background: #667eea;
    box-shadow: 0 0 10px rgba(102,126,234,0.5);
}

.inhoud {
    padding: 40px;
}

.taal-inhoud {
    display: none;
    animation: fadeIn 0.5s ease;
}

.taal-inhoud.actief {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    color: #2d3748;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    color: #4a5568;
    margin-top: 25px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.symbolen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 25px 0;
    background: #f7fafc;
    padding: 10px;
    border-radius: 12px;
}

.symbool-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.symbool {
    width: 100px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

/* Muur - zwart vierkant */
.symbool.muur {
    background: #000000;
    color: white;
}

/* Vloer - wit vierkant met grijze rand */
.symbool.vloer {
    background: #ffffff;
    border: 1px solid #cbd5e0;
}

/* Shelf - goud met afbeelding */
.symbool.shelf {
    background: #DAA520;
    padding: 5px;
}

.symbool.shelf img {
    min-width: 100%;
    min-height: 100%;
}

/* Agent - blauw met afbeelding */
.symbool.agent {
    background: #4169E1;
    padding: 5px;
}

.symbool.agent img {
    min-width: 100%;
    min-height: 100%;
}

/* Doos - goud met afbeelding */
.symbool.doos {
    background: #DAA520;
    padding: 5px;
}

.symbool.doos img {
    min-width: 100%;
    min-height: 100%;
}

/* Doos op shelf - goud met afbeelding */
.symbool.doosOpShelf {
    background: #DAA520;
    padding: 5px;
}

.symbool.doosOpShelf img {
    min-width: 100%;
    min-height: 100%;
}

.besturing {
    background: #edf2f7;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.besturing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.besturing-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
}

.toets {
    background: #2d3748;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: bold;
}

.spel-knop {
    display: block;
    width: 300px;
    margin: 30px auto 0;
    background: #667eea;
    color: white;
    text-align: center;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.spel-knop:hover {
    background: #764ba2;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

footer {
    background: #f7fafc;
    padding: 15px;
    text-align: center;
    color: #a0aec0;
    font-size: 14px;
}

@media (max-width: 600px) {
    .inhoud {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .symbolen {
        grid-template-columns: 1fr;
    }
    
    .besturing-grid {
        grid-template-columns: 1fr;
    }
}
