body {
    background-color: rebeccapurple;
    user-select: none;
    overflow: hidden;
}

p {
    margin: 0;
}

footer {
    background-color: #DEC1FF;
    position: absolute;
    top: 80%;
}

#splashScreen {
    z-index: 10;
    background-color: #DEC1FF;
    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;
    border-color: aliceblue;
    width: 80%;
    min-height: 20vh;
}

.answer {
    padding: 1.5rem;
    font-size: calc(.5rem + 2vw);
}

#answerTray div {
    margin: .5rem;
    background-color: aqua;
    position: relative;
}

#answerTray div:hover {
    animation: pulse 1s ease-in infinite;
}

.hinge {
    animation: hinge .9s ease-in 1;
    pointer-events: none;
}

.ripple {
    content: '';
    width: 30px; height: 30px;
    border-radius: 100%;
    border: 6px solid #fff;
    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%;
}

@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;
    }
}

@keyframes hinge {
    0% {
        transform: rotate(0);
        transform-origin: top left;
        animation-timing-function: ease-in-out;
    }
    20%, 60% {
        transform: rotate(80deg);
        transform-origin: top left;
        animation-timing-function: ease-in-out;
    }
    40% {
        transform: rotate(60deg);
        transform-origin: top left;
        animation-timing-function: ease-in-out;
    }
    80% {
        transform: rotate(60deg) translateY(0);
        opacity: 1;
        transform-origin: top left;
        animation-timing-function: ease-in-out;
    }
    100% {
        transform: translateY(700px);
        opacity: 0;
    }
}