body {
    background: #202020;
    color: white;
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    margin: 4em;
}

h1, h2 {
    color: #ffcc00;
    text-shadow: 1px 1px 2px black;
}

.section {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 2em;
    animation: fadeIn 2s ease-in-out;
}

.section p,
.section div {
    margin: 0.5em 0;
}

.formula-box {
    flex: 1 1 calc(33.333% - 1em);
    background: #111;
    border-radius: 10px;
    padding: 1em;
    box-sizing: border-box;
    transition: transform 0.2s;
    z-index: 1;
}

.formula-box:hover {
    transform: scale(1.05);
    background: #333;
    z-index: 2;
}

@media (max-width: 900px) {
    .formula-box {
        flex: 1 1 calc(50% - 1em);
    }
}

@media (max-width: 600px) {
    .formula-box {
        flex: 1 1 100%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
