@font-face {
    font-family: 'jersey-10';
    src: url('assets/vendors/fonts/Jersey_10/Jersey10-Regular.ttf');
}

body {
    font-family: 'jersey-10', sans-serif;
    background-color: white;
    user-select: none;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

p {
    margin: 0;
}


#splashScreen {
    z-index: 10;
    background-color: white;
    width: 100vw;
    height: 100vh;
    transition: all 0.5s;
}

#splashScreen strong {
    animation: fadeIn 1.5s ease-in infinite;
}

#sound svg {
    width: 35px;
    height: 35px;
}

#sound svg:nth-of-type(2) {
    display: none;
}

.fixed-top-left {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
}

.fixed-top-left2 {
    position: fixed;
    top: 10px;
    left: 70px;
    z-index: 1000;
}

.card {
    background-color: #DEC1FF;
    width: 80%;
    min-height: 20vh;
}

.answer {
    padding: 1.5rem;
    font-size: calc(.5rem + 2vw);
}

#answerTray div {
    margin: .5rem;
    background-color: aqua;
    position: relative;
  border: 4px solid black;
  box-shadow: 4px 4px 0px #333333;
}

#answerTray div:hover {
    animation: pulse 1s ease-in infinite;
}

.card{
    border: 4px solid black;
}

.ripple {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 6px solid white;
    position: absolute;
    z-index: -1;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: ring .7s 1;
}

#redo {
    width: 50px;
    height: 50px;
}

#redo svg{
    width: 100%;
    height: 100%;
}

#gameContainer{
   width: 100%;
    background: none;
    background-color: white;
    z-index:   11;
}
canvas {
    background: none;
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 800px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

  @keyframes ring {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    100% {
        width: 70vh;
        height: 70vh;
        opacity: 0;
    }
}

@keyframes fadeIn {
    0%{
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}


@media (max-width: 576px) {
    #answerTray div{
        width: 90%;
    }
}


