@font-face {
    font-family: 'Bakbak One';
    src: url('font.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bakbak One', sans-serif;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    pointer-events: none;
}

html,
body {
    touch-action: manipulation;
    overscroll-behavior: none;
}

body {
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #3790d2;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.placar {
    width: 65vw;
    height: 65vw;
    max-width: 320px;
    max-height: 320px;
    border-radius: 50%;
    background: #ffd700;
    color: #213349;
    border: 10px solid #213349;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    font-weight: bold;
    transition: all 0.2s ease;
    position: relative;
}

.placar:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    border: 7px solid #213349;
}

.logo {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
    transition: all 0.2s ease;
}

.logo.animated {
    transform: translateX(-50%) scale(1.2);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 50;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

.modal-content {
    background-color: white;
    width: 90%;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.2s ease;
    max-width: 500px;
}

.verde {
    background: #23b899;
    color: white;
}

.pulse {
    transform: scale(1.1);
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.shortcuts {
    position: fixed;
    bottom: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.shortcut {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffd700;
    color: #213349;
    border: 4px solid #213349;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: normal;
    transition: all 0.2s ease;
    position: relative;
    cursor: pointer;
}

.shortcut:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border-radius: 50%;
    border: 3px solid #213349;
}

.btn {
    height: 90px;
    border: none;
    color: white;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn svg {
    height: 50px;
    width: 50px;
    object-fit: contain;
    pointer-events: none;
}

canvas {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 40;
}

.btn-info {
    background: rgba(255, 255, 255, 0.3);
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 30;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    color: #213349;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-info svg {
    height: 30px;
    width: 30px;
    object-fit: contain;
    pointer-events: none;
}

.menos {
    background: #d15b3b;
}

.reset {
    background: #54595f;
}

.mais {
    background: #23b899;
}
