/* Ácrata is a font made to smash the Patriarchy.
 * It was developed, as part of the 1st Typographic Tournament of the 
 * Letrástica Community 2020, by team Serifas, consisting of:
 *       Aspacia Kusulas   Karla Mateos   Romina Hernández  
 *       Sandra Morales    Tamara Segura
 * https://github.com/Torneo-Tipografico-Comunidad/Torneo-2020/tree/master/%C3%81crata 
 ****/
@font-face {                                                                                                                                                                                                                                 
    font-family: 'Ácrata';                                                                                     
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/static/fonts/Acrata_Text_Beta_4.woff2') format('woff2'),
         url('/static/fonts/Acrata_Text_Beta_4.woff')  format('woff');                                                                                                                                                                         
}                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                           
@font-face {                                                                                                                                                                                                                                 
    font-family: 'Ácrata';                                                                                     
    font-weight: 700;
    font-style: normal;                                                                                                                                                                                                                        
    font-display: swap;
    src: url('/static/fonts/Acrata_Text_Bold_Beta_1.woff2') format('woff2'),                                                                                                                                                                   
         url('/static/fonts/Acrata_Text_Bold_Beta_1.woff')  format('woff');                                                                                                                                                                    
}
                                                                                                                                                                                                                                           
@font-face {                                                                                                 
    font-family: 'Ácrata';
    font-weight: 900;
    font-style: normal;                                                                                                                                                                                                                        
    font-display: swap;
    src: url('/static/fonts/Serifas_Text_Heavy.woff2') format('woff2'),                                                                                                                                                                        
         url('/static/fonts/Serifas_Text_Heavy.woff')  format('woff');                                         
}                                                                                                                                                                                                                                            

* {
    transition: 1.5s all;
    font-size: 2.25rem;
    font-family: 'Ácrata';
    text-align: center;
    font-weight: 400;
}

h1, h2 {
    font-weight: 900;
    font-size: 4rem;
    margin: 0;
}

button {
    background: #7BF1A8;
    padding: 1rem 1.5rem;
    margin: 1rem;
    color: rebeccapurple;
    border: none;
    position: relative;
    z-index: 10;
    transform: rotate(0.25deg);
}

button::before {
    content: '';
    position: absolute;
    bottom: 16.5%;
    left: 10%;
    width: 80%;
    height: 60%;
    transform: rotate(0.8deg);
    background: lime;
    background: palegreen;
    z-index: -1;
}


button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 60%;
    transform: rotate(-4deg);
    background-image: url(/static/claris/claris12.gif);
    z-index: -1;
}

intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background-color: rebeccapurple;
    background-image: url(/static/claris/claris03.gif);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
}

intro h2 {
    color: white;
}

intro choices {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    height: 50vh;
    width: 100vw;
}

intro choices button {
    width: 80vw;
    width: max-content;
    height: 100%;
    cursor: pointer;
}

playback-spink {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    transition: none !important;
}

playback-spink p {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    font-size: 0.75rem;
    margin: 0;
    color: DarkKhaki;
}

playback-spink canvas {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-color: yellow;
    image-rendering: pixelated;
    cursor: none;
    transition: none !important;
}

capture-spink {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #63d363;
    z-index: 1;
}

capture-spink.recording {
    background: yellow;
}

capture-spink capture-countdown {
    display: none;
    margin: auto;
    font-size: 10rem;
    color: rebeccapurple;
    text-align: center;
}

capture-spink input-level-meter {
    display: block;
    height: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 0;
    background: lime;
    transition: 0.01s all;
}


[hidden] {
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

