@font-face {
    font-family: 'Roboto Mono';
    src: url('textos/fontes/static/RobotoMono-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100dvh;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#virarAviso {
    display: none;
    width: 100%;
}

#background {
    width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

#botao {
    width: 100%;
    height: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    max-width: 200px;
    max-height: 200px;
    position: absolute;
    background-image: url("img/icones/flor.png");
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

#botao:hover {
    filter: brightness(1.1);
}

#canvasBox {
    display: none;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

#canvasBox > canvas {
    position: absolute;
}

#backCanvas {
    z-index: 1;
}

#picturesCanvas {
    z-index: 2;
}

#textBarCanvas {
    z-index: 2;
    bottom: 0;
    margin-bottom: 3%;
}

#textCanvas {
    z-index: 3;
    bottom: 0;
    margin-bottom: 3%;
}

#clickCanvas {
    z-index: 4;
    bottom: 0;
    margin-bottom: 5%;
}

#caixaProgresso {
    position: absolute;
    z-index: 999;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    padding: 1rem;
    box-shadow: inset 0 0 10px 10px #121212;
    background-image: url("img/fundos/menu2.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#barraProgresso {
    width: 0%;
    height: 5rem;
    font-size: 1.5rem;
    background-color: #76c7c0;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fadeOut {
    animation: fadeOut 2s forwards;
}

.fadeIn {
    animation: fadeIn 2s forwards;
}

.fadeOut, .fadeIn {
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}