/* audiowide-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Audiowide';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/audiowide-v22-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    background-color: green;
    font-family: 'Audiowide';
    color: yellow;
    text-shadow: 1px 1px 2px black, 0 0 25px gold, 0 0 5px darkblue;
    padding: 0%;
    margin: 0%;
    
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently not supported by any browser */
    
    background-image: url('images/football_area.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;

}

#soccermanPlace {
    position: fixed;
    bottom: 66%;
    left: -16vw;
    width: 116vw;

}

#soccermanAndHisBall {
    position: relative;
    bottom: 0%;
    left: 0%;
    width: 15vh;
    height: 16vh;
    opacity: 0;
    animation: soccermanMoveing 20s linear 0s infinite alternate none;
    z-index: 0;
}

@keyframes soccermanMoveing {
    0% { left: 0%; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { left: 100%; }
}

#soccerman {
    position: relative;
    bottom: 0%;
    left: 2vh;
    width: 15vh;
    height: 16vh;
    background-image: url('images/soccerman.png');
    background-position: auto;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 0;
}

#soccermanBall {
    position: relative;
    bottom: 5vh;
    left: 0%;
    width: 5vh;
    height: 5vh;
    background-image: url('images/ball3.png');
    background-position: auto;
    background-repeat: no-repeat;
    background-size: 50% 50%;
    animation:      soccermanBallHiding     14s         linear          7s      infinite        alternate   none;
    /*animation:    name                    duration    timing-function delay   iteration-count direction   fill-mode;*/
    opacity: 0;
    z-index: 0;
}

@keyframes soccermanBallHiding {
    100% {  opacity: 1;
            background-size: 100% 100%;
        }
}

#divGates {
    position: fixed;
    right: 16%;
    width: 66%;
    height: 31.55%;
    bottom: 2%;
    padding: 5px;
    color: yellow;
    z-index: 20;
}

#finalCountdown {
    position: fixed;
    bottom: 3%;
    width: 100%;
    height: 39%;
    color: yellow;
    opacity: 0.2;
    font-size: 38vh;
    font-family: "Audiowide";
    text-align: center;
    z-index: 0;
}

@keyframes flashCountdown {
    from { opacity: 0.2; font-size: 20vh; }
    to { opacity: 1; font-size: 38vh; }
}

.ballLandingPreview {
    position: relative;
    width: 4%;
    height: 0.5vh;
    top: 0%;
    margin: 0px;
    background-color: indigo;
    display: none;
    z-index: 10;

}

#ballLandingPreview {
    background-color: indigo;
}

#ballSecondLandingPreview {
    background-color: cyan;
}

@keyframes blink0 {
    from { background-color: indigo; }
    to { background-color: green; }
}
@keyframes blink1 {
    from { background-color: cyan; }
    to { background-color: green; }
}
@keyframes moveLeft0 {
    0% { left: 85%; }
    20% { left: 35.3%; }
    100%  { left: 35.3%; background-color: green; }
}
@keyframes moveLeft1 {
    0% { left: 61%; }
    20% { left: 9.5%; }
    100% { left: 9.5%; background-color: green; }
}
@keyframes moveRight0 {
    0% { left: 9.5%; }
    20% { left: 61%; }
    100% { left: 61%; background-color: green; }
}
@keyframes moveRight1 {
    0% { left: 35.3% }
    20% { left: 85%; }
    100% { left: 85%; background-color: green; }
}

#divGoalkeeper {
    position: relative;
    left: 0%;
    /*background-color: yellow;*/
    width: 22%;
    height: 95%;
    margin: 0.5%;
    visibility: hidden;
    z-index: 0;
}

img.imgGoalkeeper {
    position: relative;
    padding: 0%;
    margin: 0%;
    bottom: 0%;
    height: 100%;
    width: 23%;
    display: none;
    z-index: 100;
}

#imgGoalkeeper0 {
    left: 9%;
}
#imgGoalkeeper25 {
    left: 34%;
    width: 14%;
}
#imgGoalkeeper50 {
    left: 52%;
    width: 14%;
}
#imgGoalkeeper75 {
    left: 67%;
}

@keyframes getSmaller {
    100% { bottom: -100%; }
}

@keyframes getHappy {
    100% { bottom: 200%; rotate: 360deg; }
}

div.buttonsLR {
    position: fixed;
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Audiowide";
    font-size: 27vw;
    z-index: 50;
}

#buttonLeft {
    left: 0;
}

#buttonRight {
    right: 0;
}

@keyframes tappedButtonsLR {
    /*100% {  box-shadow: 0vw 0vw 50vw 0vw gold, 0vw 0vw 50vw 0vw lightyellow inset; }*/
    100% { box-shadow: 0vw 0vw 4vw 1vw yellow inset; }
}
@keyframes tappedButtonsLR1 {
    /*100% {  box-shadow: 0vw 0vw 50vw 0vw gold, 0vw 0vw 50vw 0vw lightyellow inset; }*/
    100% { box-shadow: 0vw 0vw 4vw 1vw yellow inset; }
}

div.imgBall {
    position: fixed;
    visibility: hidden;
    width: 2vw;
    height: 2vw;
    left: 196%;
    /*просто очень далеко, чтобы не видно, при анхайде*/
    bottom: 96%;
    /* для безграфического режима
    border-radius: 50%;
    border: 2px solid green;
    background-color: yellow;
    background-image: linear-gradient(to bottom left, lightyellow, yellow, darkgreen);
    */
    border: 0px solid yellow;
    background-image: url('images/ball.png');
    background-position: auto;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: 90;
}

#ball1 {
    background-image: url('images/ball2.png');
}

div.ballPath {
    position: fixed;
    bottom: -42.5%;
    height: 140%;
    border-radius: 50% 0%;
    border: 2px solid;
    border-left: green;
    visibility: hidden;
    z-index: 0;
}

#ball1Path {
    left: 75%;
    width: 50%;
}

#ball2Path {
    left: 59%;
    width: 80%;
}

#ball3Path {
    left: 42%;
    width: 120%;
}

#ball4Path {
    left: 25%;
    width: 150%;
}

#divMessage {
    position: fixed;
    top: 17%;
    left: 14%;
    width: 72%;
    height: 46%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.8vw;
    font-family: "Audiowide";
    animation: flashMessage 0.7s ease-out 0s 1 normal forwards;
    z-index: 5;
}

@keyframes flashMessage {
    0% { font-size: 1vw; opacity: 0.1; }
    100% { font-size: 2.8vw; opacity: 1; }
}

@keyframes flashMessage1 {
    0% { font-size: 1vw; opacity: 0.1; }
    100% { font-size: 2.8vw; opacity: 1; }
}

#scores {
    position: fixed;
    top: 0%;
    left: 0;
    width: 100%;
    height: 16%;
    font-size: 2.8vw;
    font-family: "Audiowide";
    text-align: center;
    z-index: 0;
}

#buttonSettings, #buttonRefresh, #buttonHallOfShame, #buttonSettingsOk, #buttonClearResults, #buttonShareResults {
    font-size: 2.8vw;
    font-family: "Audiowide";
    text-align: center;
    padding: 1vw;
    border: 1px solid yellow;
    background-color: green;
    color: yellow;
    cursor: pointer;
    z-index: 60;
}

#buttonRefresh {
    position: fixed;
    top: 80%;
    right: 25%;
    width: 24vw;
    display: none;
    z-index: 150;
}

#buttonHallOfShame {
    position: fixed;
    top: 80%;
    left: 25%;
    width: 24vw;
    display: none;
    z-index: 140;
}

#buttonClearResults, #buttonShareResults {
    width: 40%;
}

#divSettings {
    position: fixed;
    top: 3%;
    left: 20%;
    width: 58%;
    padding: 1%;
    overflow: auto;
    text-align: center;
    font-size: 2.8vw;
    font-family: "Audiowide";
    border: 1px solid;
    background-color: green;
    color: yellow;
    gap: 5px;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    display: none;
    z-index: 110;
}

#divHallOfShame {
    position: fixed;
    top: 15%;
    left: 17%;
    width: 64%;
    height: 60%;
    padding: 1%;
    overflow: auto;
    text-align: center;
    font-size: 2vw;
    border: 1px solid;
    background-color: green;
    color: yellow;
    display: none;
    z-index: 130;
}

div.settingValue {
    text-align: right;
    padding: 3px;
}

div.settingText {
    text-align: left;
    padding: 3px;
}

#divToTap {
    position: fixed;
    top: 16%;
    left: calc(50% - 45vh);
    width: 90vh;
    height: 90vh;
    border-radius: 50%;
    z-index: 50;
}

@keyframes tapped {
    0% {    top: calc(50%);
            left: calc(50%);
            width: 1vh;
            height: 1vh;
            box-shadow: 0vw 0vw 10vw 0vw gold, 0vw 0vw 10vw 0vw lightyellow inset; }
    100% {  top: 16%;
            left: calc(50% - 45vh);
            width: 90vh;
            height: 90vh;
            box-shadow: 0vw 0vw 10vw 0vw gold, 0vw 0vw 10vw 0vw lightyellow inset; }
}
@keyframes tapped1 {
    0% {    top: calc(50%);
            left: calc(50%);
            width: 1vh;
            height: 1vh;
            box-shadow: 0vw 0vw 10vw 0vw gold, 0vw 0vw 10vw 0vw lightyellow inset; }
    100% {  top: 16%;
            left: calc(50% - 45vh);
            width: 90vh;
            height: 90vh;
            box-shadow: 0vw 0vw 10vw 0vw gold, 0vw 0vw 10vw 0vw lightyellow inset; }
}

#resultsTable {
    border-collapse: collapse;
    width: 100%;
}
  
th, td {
    padding: 8px;
    cursor: context-menu;
    text-align: left;
    border-bottom: 1px solid darkgreen;
}
  
tr:hover {
    background-color: darkgreen;
}

th.mayBeSorted {
    cursor: pointer;
}