@-webkit-keyframes appear {
    0% { -webkit-transform: scale(0); }
    50% { -webkit-transform: scale(.8); }
    100% { -webkit-transform: scale(1); }
}
@keyframes appear {
    0% { transform: scale(0); }
    50% { transform: scale(.8); }
    100% { transform: scale(1); }
}
@-webkit-keyframes pulse {
    0% { -webkit-transform: scale(1); }
    100% { -webkit-transform: scale(1.1); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
html, body {
    width: 100%; 
    height: 100%; 
    margin: 0; 
    padding: 0;
    overflow: hidden;
}
body {
    background: #2a2237;
    background: white;
    color: white;  
    color: black;
}
/* desktop */
h1, h2 {
    font-weight: 300;
    font-style: normal;
}
h1 {
    margin: 16px 0 0;
    font-size: 28px;
    font-family: "Poppins", Helvetica, sans-serif;
}
h2 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 32px;
    font-family: Helvetica, Arial, sans-serif;
}
.container {
    padding: 16px 0px;
    height: calc(100% - 40px);
    width: calc(100% - 40px);
}
.header-container {
    padding: 0 24px;
}
.logo {
    height: 26px;
}
.grid {
    position: absolute;
    width: calc(100% - 16px);
    height: calc(100% - 140px); 
    text-align: center;
}
.grid-item {
    height: 100px;
    width: 100px;
    margin: 0;
    padding: 1px;
    cursor: pointer;
}
.grid-init {
    -webkit-animation-name: appear;
    animation-name: appear;
}
.grid-item:hover {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}
.animated {
    -webkit-animation-duration: .25s;
    animation-duration: .25s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
/* mobile */
@media (max-width: 800px) {
    h1 {
        font-size: 22px;
        margin-top: 0;
    }
    h2 {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .container {
        padding: 8px;
        height: calc(100% - 16px);
        width: calc(100% - 16px);
    }
    .header-container {
        text-align: center;
        padding: 0;
    }
    .logo {
        margin-top: 4px;
        margin-bottom: 4px;
    }
    .grid {
        width: calc(100% - 16px);
        height: calc(100% - 100px);
    }
    .grid-item {
        height: 64px;
        width: 64px;
    }
}
@media (orientation: landscape) {
    .is-mobile .container {
        padding: 8px;
    }
    .is-mobile .header-container {
        text-align: right;
    }
    .is-mobile .logo {
        position: absolute;
        top: 22px;
        left: 22px;
    }
    .is-mobile .join {
        font-size: 12px;
        line-height: 1;
    }
    .is-mobile .grid {
        margin-top: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 100px);
    }
}