@font-face
{
    font-family: changa;
    src: url(./changa.ttf) format("truetype");
}
@font-face
{
    font-family: sixtyfour;
    src: url(./sixtyfour.ttf) format("truetype");
}
@font-face
{
    font-family: unica;
    src: url(./unica.ttf) format("truetype");
}
*
{
    font-family: changa;
    background-size: cover !important;
    transition: all 0.25s !important;
    box-sizing: border-box !important;
    outline: none !important;
    object-fit: cover !important;
    line-height: 1;
}
html,body
{
    font-family: changa;
    margin: 0 !important;
    padding: 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100% !important;
    width: 100% !important;
    background: #efefef;
}

.preview
{
    display: flex !important;
    align-items: center;
    justify-content: center;
}
.preview window
{
    background: white !important;
    max-width: 800px !important;
    border: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.preview window contents button
{
    animation: beat 2s infinite;
    -webkit-animation: beatw 2s infinite;
}
.preview menu a
{
    cursor: pointer;
}
.preview menu a:hover ,.preview quiz a:hover
{
    filter: brightness(120%);
}
.preview menu a cell 
{
    min-width: 60px;
}
.preview menu a cell img
{
    display: block;
    margin: 0 auto;
}
.preview iframe 
{
    height: auto !important;
    aspect-ratio: 16/9;
}
.preview text p 
{
    margin: 10px 0px !important;
}
.preview text button 
{
    padding: 10px 20px !important;
    line-height: 1 !important;
}
.preview quiz
{
    overflow-x: hidden;
    overflow-y: auto;
}
.preview quiz show 
{
    display: block;
    width: 100%;
    height: auto;
    white-space: nowrap;
    overflow-x: hidden;
    overflow-y: auto;
}
.preview quiz page 
{
    display: inline-block;
    width: 100%;
    height: auto;
    white-space: wrap !important;
}
.preview quiz div 
{
    width: 100%;
    white-space: wrap !important;
}
.preview start input[type="button"]
{
    background: white;
    color: #3f3f3f;
    border: none;
    padding: 10px 15px;
    border-radius: 100px;
    box-shadow: inset 0px -15px 15px -15px rgba(0,0,0,0.2);
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.2));
    cursor: pointer;
    min-width: 100px;
}

@keyframes beat
{
    0%{transform: scale(1,1);}
    20%{transform: scale(1.25,1.25);}
    40%{transform: scale(1,1);}
    100%{transform: scale(1,1);}
}
@-webkit-keyframes beatw
{
    0%{-webkit-transform: scale(1,1);}
    20%{-webkit-transform: scale(1.25,1.25);}
    40%{-webkit-transform: scale(1,1);}
    100%{-webkit-transform: scale(1,1);}
}
