body {
    background-color: #f4f9f4;
    cursor: none;
}

#top {
    background-color: #88a7d0;

}


/* === CURSOR FLOR === */
#emoji-cursor {
  position: fixed;
  font-size: 24px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: scale(1) translate(-50%, -50%);
  }
  100% {
    opacity: 0;
    transform: scale(2.2) translate(-50%, -50%);
  }
}

.flex-1 {
    flex: 1;
}

.headline {
    font-size: 44px;
    text-align: center;
    color: #486f99;
    padding-top: 30px;
}

@media (max-width: 768px) {
    .headline {
        font-size: 32px;
    }
}

.disc {
    align-items: center;
    text-align: center;
    margin: 20px;
}

.button-game {
    display: block;
    margin: 40px auto;
    padding: 2.0em 3.2em;
    background-color: #88a7d0;
    border: 1px solid #000;
    border-radius: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    color: black;
    width: fit-content;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-game:hover {
    background-color: #88a7d0;
    transform: scale(1.03);
    box-shadow: #486f99;
    cursor: none;
}

.collapsible1, .collapsible2 {
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background-color: #88a7d0;
    cursor: pointer;
    padding: 18px;
    border: none;
    text-align: center;
    outline: none;
    font-size: 18px;
    border: 1px solid #000;
    border-radius: 8px;
    margin: 0 auto;
    cursor: none;
}

.content1, .content2 {
    max-width: 600px;
    background-color: white;
    padding-top: 4px;
    padding-left: 44px;
    text-align: start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease;
}

.content1.active, .content2.active {
    max-height: 500px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.box-desc {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    padding-top: 1px;
}

.two-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

@media (max-width: 768px) {
    .two-columns {
        flex-direction: column;
        align-items: center;
    }
}

#game-board {
    --cell-size: 20vmin;
    --cell-gap: 2vmin;

    position: relative;
    display: grid;
    grid-template-columns: repeat(4, var(--cell-size));
    grid-template-rows: repeat(4, var(--cell-size));
    gap: var(--cell-gap);
    border-radius: 1vmin;
}

.cell {
    background-color: #444;
    border-radius: 1vmin;
}

.tile {
    position: absolute;
    top: calc(var(--y) * (var(--cell-size) + var(--cell-gap)));
    left: calc(var(--x) * (var(--cell-size) + var(--cell-gap)));
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--cell-size);
    height: var(--cell-size);
    border-radius: 1vmin;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 7.5vmin;
    font-weight: bold;
    background-color: hsl(25, 60%, var(--bg-lightness));
    color: hsl(20, 25%, var(--text-lightness));
    animation: show 200ms;
    transition: 100ms;
}

@keyframes show {
    0% {
    opacity: 0.5;
    transform: scale(0);
    }
}

.game-wrap {
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

@media (max-width: 768px) {
    .two-columns {
        flex-direction: column;
        align-items: center;
    }
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 50px 0 30px 0;
    position: relative;
}

.btn-left, .btn-right {
    margin: 0;
}

.btn i {
    font-size: 30px;
}

.btn i:hover {
    transform: scale(1.2);
    cursor: none;
}

.btn-up {
    position: absolute;
    bottom: 24px;
    right: 24px;
}

@media (max-width: 768px) {
    .menu {
        flex-direction: column;
    }

    .hero-text {
        font-size: 1.2rem;
    }

    .button-game {
        padding: 1.2em 2em;
        font-size: 1.2rem;
    }

    .content1, .content2 {
        padding-left: 20px;
    }

    .btn-up {
        right: 16px;
        bottom: 29px;
    }
}
