@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

*{
    box-sizing: border-box;
}

html {
    background: url(../img/pattern.webp) left top repeat;
    overflow: hidden;
}



body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #212121;
    box-sizing: border-box;
    overflow-x: hidden;
}


body h1,
body h2,
body h3,
body h4 {
    font-family: "Poppins", sans-serif;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

.flex {
    clear: both;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.center {
    justify-content: center;
}

.between {
    justify-content: space-between;
}

header {
    padding: 30px 0;
}

.flex {
    flex-wrap: wrap;
    gap: 30px;
}

main{
    padding: 0 50px;
    text-align: center;
}

header{
    max-width: 500px;
    text-align: center;
    margin: 0 auto;
}

#portacanvas{
    position: relative;
    margin: 0 auto;
    text-align: center;
    max-width: 500px;
    aspect-ratio: 500 / 800;
}

canvas{
    position: absolute;
    left: 0;
    top: 0;
}

#botao{
    position: absolute;
    left: 0;
    top: 68%;
    aspect-ratio: 2 / 1;
    width: 100%;
    opacity: 0.3;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

#portacanvas p{
    color: #ff621f;
    position: absolute;
    top: 24.7%;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 2rem;
    text-align: center;
    width: 100%;
    left: 0;
    opacity: 0;
    transition: all 0.3s;
    user-select: none;
}

#cta{
    position: absolute;
    top: 37%;
    left: 22%;
    width: 56%;
    aspect-ratio: 2.6 / 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    display: none;

}

#notificacao {
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fc6b0f;
    border: dashed 2px #333;
    color: #fff;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

#notificacao p {
    font-weight: 600;
}

#notificacao.mostrar {
    opacity: 1;
}

.legal{
    font-size: 0.7rem;
    color: #000;
    max-width: 400px;
    margin: 0 auto;
}

#loading{
    position: absolute;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: #00d3ff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fc6b0f;
    gap: 10px;
}

#loading p{
    font-weight: 600;
}




@media screen and (max-width: 600px) {
    #portacanvas p{
        font-size: 2.8vw;
        top: 23.5%;
    }
}

