@font-face {
    font-family: 'Jersey20';
    src: url('../assets/Jersey20-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: Jersey20, Arial, sans-serif;
}

.container {
    display: flex;
    height: 100vh;
}

.left-side {
    background-color: #000000;
    flex: 1;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-side {
    background-color: #ffffff;
    flex: 1;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content {
    text-align: center;
}

h1 {
    color: #ff0066;
    font-size: 40px;
    margin-bottom: 20px;
}

p {
    color: #ff0066;
    font-size: 24px;
    line-height: 1.6;
}

#glcanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.right-side .content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    width: 100%;
    height: calc(100% - 2px);
    border: 1px solid #ff0066;
}

.grid-item {
    background: transparent;
    border: none;
    border-right: 1px solid #ff0066;
    border-bottom: 1px solid #ff0066;
    color: #ff0066;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-family: inherit;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.grid-item:nth-child(4n) {
    border-right: none;
    /* remove right border on last column */
}

.grid-item:nth-child(n+13) {
    border-bottom: none;
    /* remove bottom border on last row */
}

.grid-item:hover {
    background-color: #ff0066;
    color: #000;
}

.grid-item:first-child:hover {
    animation: randomColors 0.5s infinite;
}

@keyframes randomColors {
    0% {
        background-color: #ff0066;
    }

    16% {
        background-color: #00ff66;
    }

    32% {
        background-color: #6600ff;
    }

    48% {
        background-color: #ff6600;
    }

    64% {
        background-color: #0066ff;
    }

    80% {
        background-color: #ffff00;
    }

    100% {
        background-color: #ff0066;
    }
}