*,
*:after,
*:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'MD Thermochrome Trial 0.1';
    src: url('../fonts/MDThermochromeTrial0v1-Regular.woff2') format('woff2'),
        url('../fonts/MDThermochromeTrial0v1-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

a {
    color: #ffffff;
}

body {
    background-color: #000000;
    font-family: 'MD Thermochrome Trial 0.1';
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}

canvas {
    display: block;
    position: relative;
    z-index: 1;
}

#logo-container {
    opacity: 1;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}
#logo-container video {
    width: 55%;
    max-width: 600px;
}

#counter {
    pointer-events: none;
    position: fixed;
    top: 0px;
    left: 10px;
    pointer-events: none;
    z-index: 9;
}

#stamp-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.stamp {
    position: absolute;
    max-width: 150px;
    max-height: 150px;
    mix-blend-mode: multiply;
    pointer-events: none;
}

button {
    background: none;
    color: inherit;
    display: block;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    pointer-events: all;
    outline: inherit;
}

#descargar svg {
    display: none;
}

#descargar.share .share-svg {
    display: block;
}

#descargar.download .download-svg {
    display: block;
}

footer {
    pointer-events: none;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 9;
}

footer .container {
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

svg {
    display: block;
}

footer .container div:first-child {
    align-items: center;
    flex-direction: column;
    display: flex;
    gap: 10px;
}

footer img {
    display: block;
    width: 200px;
}

footer p {
    margin: 0;
}

@media( min-width:768px ) {

    body {
        font-size: 18px;
        line-height: 21px;
    }

    #counter {
        top: 10px;
    }

    .stamp {
        max-width: 300px;
        max-height: 300px;
    }

    footer {
        bottom: 30px;
    }

    footer img {
        width: 120px;
    }

}