body{
    background-image: url('/images/plimpoes.webp');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center; 
    height: 90vh;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#foot {
    position: absolute;
    width: 300px;
    bottom: 0px;
    left: 0px;
    z-index: 0;
    transform-origin: bottom left;
    transform: rotate(45deg) translate(-130px, 106px) scaleY(2);
    pointer-events: none;
}

#paw {
    position: absolute;
    height: 295px;
    width: 295px;
    bottom: 222px;
    left: 248px;
    z-index: 0;
    transform-origin: center;
    transform: rotate(45deg);
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.click_effect {
    background-image: url('hit.gif');
    position: absolute;
    width: 600px;
    height: 600px;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
	
}

#noButton {
    position: absolute;
    margin-left: 0px;
    transition: 1s;
    z-index: 2;
    width: 200px;
    height: 80px;
    cursor: not-allowed;
    background-color: #817360;
}

#yesButton {
    position: absolute;
    margin-right: 0px;
    z-index: 1;
    width: 180px;
    height: 70px;
    cursor: help;
    background-color: #f7bce5;
}

.headers {
    position: relative;
    font-family: 'Hachi Maru Pop', cursive;
    font-size: 20px;
    font-weight: 900;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
    text-align: center;
    /* margin-top: -100px; */
    margin-bottom: 0;
    z-index: 1;
}

.header_text {
    font-family: 'Hachi Maru Pop', cursive;
}

.jap_text {
    font-family: "M PLUS 1p", sans-serif;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-left: 20px;
}

.btn {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    background-color: #f7bce5;
    cursor: pointer;
    border: 3px solid;
    padding: 0.25em 0.5em;
    box-shadow: 1px 1px 0px 0px, 2px 2px 0px 0px, 3px 3px 0px 0px, 4px 4px 0px 0px, 5px 5px 0px 0px;
    position: absolute;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.btn:hover {
    box-shadow: 0px 0px 0px 0px;
}

.gif_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 0, 0);
    z-index: 3;
}

.sound_popup{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 0, 0);
    z-index: 4;
}

.popup_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 4;
}

.gameheader {
    color: white;
    font-size: 5em;
    text-align: center;
    margin-top: -100px;
    margin-bottom: 0;
}

.circle {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    z-index: 10;
    position: absolute;
    justify-content: center;
    align-items: center;
    border: 10px solid white;
    color: white;
    font-size: 3em;
}

.circle:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.closer {
    border: 10px solid white;
    border-radius: 50%;
    display: flex;
    z-index: 9;
    position: absolute;
}

#score {
    font-family: 'Hachi Maru Pop';
    position: fixed;
    top: 0;
    right: 0;
    color: white;
    font-size: 3em;
    margin: 10px;
    transition: 0.25s;
}

#combo {
    font-family: 'Hachi Maru Pop';
    position: fixed;
    bottom: 0;
    left: 0;
    color: white;
    font-size: 3em;
    margin: 10px;    
}

#accuracy {
    font-family: 'Hachi Maru Pop';
    position: fixed;
    /* top: 0; */
    right: 0;
    color: white;
    font-size: 2em;
    margin: 10px;
}


.shadow {
    position: absolute;
    background-color: black;
    opacity: 0.5;
    height: 100%;
    width: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    transition: 0.3s;
}
/* 
gray box : 2/3vh
circle : 1/6 gray box 
*/


.scoreScreen {
    position: relative;
    height: 66vh;
    width: 400px;
    border-radius: 25px;
    background: rgb(203,152,223);
    background: linear-gradient(180deg, rgba(203,152,223,1) 0%, rgba(201,192,201,1) 100%); 
    z-index: 0;
    justify-content: center;
    align-items: center;
    font-family: 'allerbold';
    color: white;
    text-align: center;
    margin-top: 0;
    text-shadow : 2px 2px 2px rgb(0, 0, 0);
    /* display: grid; */
}

/* .accCircle {
    height: 250px;
    width: 250px;
    background-color: #ffffff00;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    display: inline-block;
} */

.accCircle {
    position: relative;
    /* top : 25%;
    left : 27.777%; */
    transform: rotate(-90deg);
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.nameHeader {
    /* font-size: 3em; */
    position: relative;
    top: 5%;
}

.scoreHeader {
    /* font-size: 1em; */
    position: relative;
    top: -3%;
}

.scoreText {
    /* font-size: 4em; */
    position: relative;
    top: -5%;
}

.grid {
    position: relative;
    bottom : 0%;
    /* width: 100%; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    /* grid-template-columns: 55px 55px 55px 55px 55px; */
    gap: 10px;
    /* background-color: #2196F3; */
    padding: 10px;
}

.statHeader {
    margin: 0px;
    font-size: 1em;
    background-color:rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.statNum {
    margin: 0px;
}

.accScore {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    /* background-color: aliceblue; */
}

.comboScore {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
    /* background-color: aliceblue; */
}

.pp {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
    /* background-color: aliceblue; */
}

.retryButton {
    background:#e3a7eb;
    grid-row: 2 / 3;
    border:rgb(0, 0, 0);
    border-style: solid;
    border-radius: 10px;
    height : 50px;

}

.continueButton {
    background: #e3a7eb;
    grid-column: 4 / 7;
    grid-row: 2 /3;
    border: rgb(0, 0, 0);
    border-style: solid;
    border-radius: 10px;
    height : 50px;
}


@media only screen and (max-width: 320px) and (max-height: 568px) {
    body {
        height: 100vh;
    }

    .header_text {
        font-size: 20px;
    }

    img {
        height: 60vh;
    }

    .btn {
        padding: 0.25em 0.75em;
      }
}

@media only screen and (max-width: 414px) and (max-height: 736px) {
    body {
        height: 90vh;
    }

    .header_text {
        font-size: 28px;
    }

    img {
        height: 60vh;
    }

    .btn {
        padding: 15px 25px;
        font-size: 14px;
    }
}

@media only screen and (max-aspect-ratio: 1/1) {
    .popup { display: block; }
}

@font-face {
    font-family: 'allerbold';
    src: url('/fonts/aller_bd-webfont.woff2') format('woff2'),
         url('/fonts/aller_bd-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}