@font-face {
    font-family: "DigitalDream";
    src: url("../fonts/digital-dream/DIGITALDREAMNARROW.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "DigitalDreamItals";
    src: url("../fonts/digital-dream//DIGITALDREAMSKEWNARROW.ttf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Rajdhani";
    font-weight: bold;
    src: url("../fonts/Rajdhani/Rajdhani-Bold.ttf");
    font-style: normal;
}
@font-face {
    font-family: "RajdhaniRegular";
    font-weight:normal;
    src: url("../fonts/Rajdhani/Rajdhani-Medium.ttf");
    font-style: normal;
}
@font-face {
    font-family: "PT Sans";
    font-weight:normal;
    src: url("../fonts/PT_Sans/PTSans-Regular.ttf");
    font-style: normal;
}

html, body { 
    background: #003;
    background-image: linear-gradient(#000, #003, #000);
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    user-select: none;
    -webkit-user-select: none;
}
#pongWrap p {
    margin: 0
}
canvas {
    user-select: none;
    -webkit-user-select: none;
}
.strideLogo {
    width: auto;
    height: 80px;
}
.pongLogo {
    width: auto;
    height: 60px;
}

.mainGrid {
    display: grid;
    grid-template: "area1 area1 area1" 100px
    ". wrap ." auto
    "area3 area3 area3" auto / auto 60% auto;
    gap: 10px;
    user-select: none;
    -webkit-user-select: none;
}

.gameHeader {
    position: relative;
    height: 100px;
    grid-area: area1 / area1 / area1 / area1;
    z-index: 2
}
.logo {
    position: absolute;
    left: 25px;
    top: 15px;
    user-select: none;
    -webkit-user-select: none;
}
.pongTitle {
    user-select: none;
    -webkit-user-select: none;
    font-size: 40px;
}
.score {
    width: 400px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 20px;
    user-select: none;
    -webkit-user-select: none;
}
.score .scoreBoard {
    position: relative;
    height: 45px;
    font-size: 50px;
    color: #e9262b;
    font-family: "DigitalDream", sans-serif;
    padding-top: 6px;  
    line-height: 50px
}
.score #scoreBar,
.score #player1,
.score #player2 {
    height: 45px;
    font-size: 50px;
    color: #e9262b;
    font-family: "DigitalDream", sans-serif;
    padding-top: 6px;  
    line-height: 50px
}


.countDownContainer {
    text-align: center;
    position: relative;
}
.countDownContainer p {
    font-family: "Rajdhani", sans-serif;
}
.counterNumber {
    font-size: 40px;
    color: #6cd0f9;
    font-family: "DigitalDreamItals", sans-serif;
}
.counterLabelText {
    font-family: "Rajdhani", sans-serif;
    color: #6cd0f9;
    font-size: 10px;
    padding-top: 4px;
}
#count {
    position: relative;
}
#days {
    position: absolute;
    width: 60px;
    top: 0px;
    left: calc(50% - 100px);
}
#hours {
    position: absolute;
    width: 60px;
    top: 0px;
    left: calc(50% - 30px);
}
#min {
    position: absolute;
    width: 60px;
    top: 0px;
    left: calc(50% + 40px);
}

.mobile.countDownContainer p {
    font-size: 24px;
}


.mobile .counterNumber {
    font-size: 80px;
}
.mobile .counterLabelText {
    font-size: 20px;
    padding-top: 8px;
}
.mobile #days {
    width: 120px;
    left: calc(50% - 200px);
}
.mobile #hours {
    position: absolute;
    width: 120px;
    left: calc(50% - 60px);
}
.mobile #min {
    position: absolute;
    width: 120px;
    left: calc(50% + 80px);
}

.pongContainer .pointsAlert {
    position: absolute;
    width: 100%;
    top: calc(50% - 16px);
    height: 0px;
    font-family: "DigitalDream", sans-serif;
}
.pongContainer .pointsAlert div{
    position: absolute;
    font-size: 38px;
    color: #e9262b;
    text-align: center;
    width: 50%;
    opacity: 0;
    transition: 1s;
    filter: blur(40px);
    transform: scale(.5);
}
.pongContainer .pointsAlert #point2{
   right: 0px;
}
.pongContainer .pointsAlert .active{
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    filter: blur(0);
    transform: scale(1);
    transition: .5s;
}

.scoreBoard div{
    position: absolute;
}
.scoreBar {
    border-left:1px solid #fff;
    height: 50px;
    width: 1px;
    left: 50%;
}
#player1 {
    margin-top: -3px;
    right: calc(50% + 20px);
    text-align: right;
}
#player2 {
    margin-top: -3px;
    left: calc(50% + 24px);
}
.pongTitle {
    position: absolute;
    right: 20px;
    top: 20px;
}

.pongContainer {
    grid-area: wrap / wrap / wrap / wrap;
    touch-action: none;
}
.blueborder {
    border: 1px solid #6cd0f9;
}
.hidden {
    display: none !important;
}
.gameMenuControls {
    display: flex;
    justify-content: center;
    grid-area: area3 / area3 / area3 / area3;
}

#wrap {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
    padding-bottom: 10px;
}

#startMenu{
    position: absolute;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: -260px;
   
 
}
.gameMenuControls > div {
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
    filter: blur(20px);
    transform: scale(.5);
    margin-left: auto;
    margin-right: auto;
    position: absolute;
}

.gameMenuControls > div.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    filter: blur(0);
    transform: scale(1);
}

.gameMenuControls > #gameplay {
    opacity: 1;
    z-index: 0;
    transform: scale(1);
    filter: blur(0);
}

.gameMenuControls > div.active ~ #gameplay {
    opacity: .75;
    filter: blur(10px);
    transform: scale(.95);
}

button {
    background-color: #03D5FB;
    border: 0;
    border-radius: 5px;
    padding: 8px 24px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.25px;
    font-size: 18px;
    margin: 16px;
    min-width: 160px;
    outline: none;
    transition: .25s;
    opacity: .85;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    color: #072034;
}

button:hover {
    opacity: 1;
}

h1 {
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 48px;
    margin-top: 0;
}
#gameOverText {
    margin-top: 50px;
    margin-bottom: 0px;
}
#gameMessage {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 36px;
}

#gameOverMenu {
    text-align: center;
    font-size: 40px;
    color: #03D5FB;
    font-family: 'Rajdhani', sans-serif;
    margin-top: 20px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    z-index: 100;
    position: relative
}

#gameOverMenu a,
#confirmationMenu a{
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    color: #03D5FB;
    text-decoration: none;
    transition: .25s;
    opacity: .85;
}
#gameOverMenu a:hover,
#confirmationMenu a:hover{
    opacity: 1;
}

#pongWrap input[type="text"]  {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    border: 1px solid #6cd0f9;
    background-color: rgba(0,0,0,0);
    border-radius: 5px;
    color: #fff;
    padding: 8px 8px;
    width: 265px;
    height: auto
}
#pongWrap .nf-field-container {
    margin: 0;
}
#pongWrap .ninja-forms-form-wrap * {
    line-height: initial;
    margin: 0;
    padding: 0;
}
#pongWrap input[type="submit"]  {
    background-color: #03D5FB;
    border: 0;
    border-radius: 5px;
    padding: 8px 24px;
    text-transform: uppercase;
    font-size: 18px;
    margin: 0px;
    min-width: 160px;
    outline: none;
    transition: .25s;
    opacity: .85;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    color: #072034;
    width: 265px;
    text-shadow: none;
    box-shadow: none;
    height: auto;
}
#pongWrap input[type="submit"]:hover {
    opacity: 1;
}

#confirmationMenu {
    user-select: none;
    -webkit-user-select: none;
    text-align: center;
    font-size: 20px;
    width: 400px;
    margin-top: 30px;
    z-index: 101;
    position: relative;
}
#confirmationMessage {
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    font-size: 20px;
}
#confirmationMessage img{
    width: 24px;
    height: auto;
    margin-right: 10px;
    margin-top: -2px;
    vertical-align: middle;
}

.greenText {
    color: #6de553 !important;
}
.redText {
    color: #e9262b !important;
}
.whiteText {
    color: #fff !important;
}


@media screen and (max-width: 800px) {
    .mainGrid {
        display: grid;
        grid-template: "area1 area1 area1" 100px
        ". wrap ." auto
        "area3 area3 area3" auto / auto 90% auto;
    }
}

.mainGrid.mobile {
    display: grid;
    grid-template: "area1 area1 area1" 200px
    ". wrap ." auto
    "area3 area3 area3" auto / auto 95% auto;


}

.mobile .strideLogo {
        width: auto;
        height: 160px;
}
.mobile .pongLogo {
        width: auto;
        height: 120px;
        margin-top: 20px;
}
.mobile .gameHeader {
    position: relative;
    height: 200px;
    grid-area: area1 / area1 / area1 / area1;
}
.mobile .score {
    width: 500px;
    height: 200px;
    padding-top: 40px;
  
}
.mobile .score div {
    position: relative;
    height: 90px;
    font-size: 100px;
    color: #e9262b;
}
.mobile #player2 {
    left: calc(50% + 28px);
}
.mobile .scoreBoard div{
    position: absolute;
}
.mobile .scoreBar {
    border-left:2px solid #fff;
    height: 40px;
    width: 1px;
    left: 50%;
}


.mobile .pongContainer .pointsAlert {
    position: absolute;
    width: 100%;
    height: 0px;
    top: calc(50% - 32px);
    font-family: "DigitalDream", sans-serif;
   
}
.mobile .pongContainer .pointsAlert div{
    position: absolute;
    font-size: 76px;
    color: #e9262b;
    width: 50%;
    opacity: 0;
    transition: 1s;
    filter: blur(40px);
    transform: scale(.5);
}
.mobile .pongContainer .pointsAlert #point2{
   right: 0px;
}
.mobile .pongContainer .pointsAlert .active{
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
    filter: blur(0);
    transform: scale(1);
}


.mobile #gameMessage {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 48px;
}
.mobile #gameOverText {
    margin-top: 200px;
    margin-bottom: 0px;
}
.mobile #gameOverMenu {
    font-size: 60px;
    margin-top: 40px;
    width: 500px;
}

.mobile #gameOverMenu a, .mobile #confirmationMenu a{
    font-size: 30px;
}

.mobile input[type="text"]  {
    box-sizing: border-box;
    border: 1px solid #6cd0f9;
    background-color: rgba(0,0,0,0);
    border-radius: 5px;
    color: #fff;
    padding: 8px 10px;
    width: 500px;
    font-size: 26px;
}

.mobile input[type="submit"]  {
    border-radius: 5px;
    padding: 8px 34px;
    text-transform: uppercase;
    margin-top: 20px;
    font-size: 48px;
    width: 500px;
}
.mobile button {
    font-size: 48px;
    margin: 48px 32px;
    min-width: 300px;
    padding: 8px 48px;
}

.mobile #confirmationMenu {
    user-select: none;
    -webkit-user-select: none;
    text-align: center;
    font-size: 20px;
    width: 500px;
    margin-top: 60px;
}
.mobile #confirmationMessage {
    font-size: 40px;
}
.mobile #confirmationMessage img{
    width: 48px;
    height: auto;
    margin-right: 10px;
}
#gameOverMenu .email_title {
    margin: 0 0 10px;
    line-height: 1.25;
    font-weight: 500;
}
#pongWrap input[type=text]:focus {
    background: transparent;
    border-color: #fff;
}
#countDown {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: -260px;
    color: #fff;
    font-size: 140px;
    font-weight: bold

}
.mobile #countDown {
    margin-top: -600px;
    color: #fff;
    font-size: 280px;
}

.blur {
    filter: blur(3px);
    transition: .25s;
}

.invisible {
   visibility: hidden;
}
.top {
    z-index: 100;
}

.warning {
    font-family: 'PT Sans', sans-serif;
    font-size: 12px;
    color:#fff;
    margin-top: 2px;
}
.mobile .warning {
    font-size: 32px;
    margin-top: 4px;
}