body  {
    background-color: #1e1e1e;
    overflow-x: hidden;
    font-weight: bold;
}
a {
    text-decoration: none;
}
bg-ocean {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-image: url("../img/bg-ocean.webp");
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: -1000;
}
back-color-ocean {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-image: url("../img/back-color.webp");
    background-size:100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    opacity: 0.5;
    z-index: -999;
}

badge {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-image: url("../img/badges.webp");
    background-size: 55rem ;
    background-repeat: no-repeat;
    background-position: center 11rem;
    z-index: -998;
    animation: badge 10s forwards infinite;
}
poseidon {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-image: url("../img/poseidon.webp");
    background-size:50rem;
    background-repeat: no-repeat;
    background-position: center 7.5rem;
    z-index: -997;
    animation: poseidon 12s forwards infinite;
}
back-color {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-image: url("../img/back-color.webp");
    background-size:100% auto;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: -996;
    animation: back-color 8s forwards infinite;
}
/* Lightning */
#canvas {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-size: cover ;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: -995;
    min-height: 100vh;
}
smoke {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 250vh;
    background-image: url("../img/smoke.webp");
    background-size: cover;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
    z-index: -994;
    animation: smoke 8s alternate infinite;
    overflow: hidden;
}

#logo{
    max-height: 4.5rem;
}

.serit-l {
    height: 30px;
    width: 100%;
    background-color: red;
    transform: skewX(-15deg);
    margin-left: -10px;
}
.serit-r {
    height: 30px;
    width: 102%;
    background-color: red;
    transform: skewX(-15deg);
    margin-right: -10px;
}
.top-register {
    height: 2rem;
    width: 100%;
    max-height: 30px;
    position: relative;
}
.top-register img {
    max-height: 2rem;
}
.btn-register {
    height: 2rem;
}
.btn-register:hover {
    opacity: 1;
}
.btn-login {
    height: 2rem;
}
.btn-login:hover {
     opacity: 0.9;
 }
.game-btn {
    opacity: 0.7;
}
.game-btn:hover {
    opacity: 1;
}
#clouds {
    position: relative;
    z-index: -995;
}

/* Lightning */
ul.lightning {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1;
    list-style: none;
    margin: 0px;
}
ul.lightning li.line {
    z-index: 1;
    display: block;
    width: 0px;
    border: 1px solid #FFF;
    left: 0px;
    background-color: #FFF;
    position: absolute;
}

.flash {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 250vh;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 995;
    display: none;
}
#p1-mobile {
    display: none;
}
@keyframes poseidon {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes badge {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.9);
    }
}
@keyframes smoke {
    0% {
        opacity: 0.2;
        background-position: center 0rem;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        background-position: center 15rem;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.2;
        background-position: center 0rem;
        transform: scale(1);
    }
}
@keyframes back-color {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.85;
    }
    100% {
        opacity: 0.5;
    }
}

/* Sweep To Right */
.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;

}
.hvr-sweep-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: red;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
    color: white;
}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    transform: scale(1.03);
}
/* Sweep To Left */
.hvr-sweep-to-left {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.hvr-sweep-to-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.hvr-sweep-to-left:hover, .hvr-sweep-to-left:focus, .hvr-sweep-to-left:active {
    color: white;
}
.hvr-sweep-to-left:hover:before, .hvr-sweep-to-left:focus:before, .hvr-sweep-to-left:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    transform: scale(1.03);
}
/* Bounce In */
.hvr-bounce-in {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.hvr-bounce-in:hover, .hvr-bounce-in:focus, .hvr-bounce-in:active {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}

/* Bounce Out */
.hvr-bounce-out {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.hvr-bounce-out:hover, .hvr-bounce-out:focus, .hvr-bounce-out:active {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
    transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
#p2 {
    margin-top: 19rem;
}
.games-mobile {
    display: none;
}
.promos-mobile {
    display: none;
}
#promos {
    transform: scale(0.90);
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .d-flex, p {
        max-width: 100vw;
        padding: 0px;
    }
    p {
        font-size: 0.6rem;
    }
    body {
        max-width: 100vw;
        box-sizing: content-box;
        margin: 0px;
        padding: 0px;
        overflow-x: hidden;
    }
    #games {
        flex-direction: column;
        animation: none;
        display: none;
    }
    #promos {
        display: none;
    }
    #top-block {
        flex-direction: column;
        display: block;
    }
    #top-register {
        display: none    }
    #top-serit {
        display: none;
    }
    #logo {
        margin-left: -1rem;
        margin-top: -1rem;
    }
    bg-ocean {
        min-width: 100%;
        mix-blend-mode: overlay;
    }
    back-color-ocean {
        min-width: 100%;
        display: none;
    }
    #footer {
        width: 100%;
        flex-direction: row;
    }
    #logo-footer {
        width: 50%;
    }
    #logo-footer img {
        width: 12rem;
        margin-top: 0.2rem;
    }
    badge {
        background-size:100%;
        background-position: -2.5vw 11rem;
        padding: 0px;
        margin: 0px;
        margin-top: -2rem;
    }
    poseidon {
        min-width: 100%;
        background-size:90%;
        padding: 0px;
        margin-top: -3.5rem;
    }
    back-color {
        min-width: 100%;
        background-size:300vh;
        background-repeat: no-repeat;
        background-position: 100% 100%;
        z-index: -996;
        animation: none;
        opacity: 0.85;
        mix-blend-mode: screen;
        padding: 0px;
        margin: 0px;

    }
    /* Lightning */
    #canvas {
        min-width: 100%;
        padding: 0px;
        margin: 0px;
    }
    smoke {
        min-width: 100%;
        max-width: 100vw;
        animation: none;
        background-position: 0px -15rem;
        opacity: 1;
        mix-blend-mode: screen;
        z-index: -1000;
    }
    #p1 {
        display: none;
    }
    #p1-mobile {
        display: block;
        margin-top: 19rem;
    }
    #top-register-mobile {
        padding: 0px;
        margin: 0px;
        margin-top: -5rem;
        left: 0px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    #p1-mobile-text {
        padding: 0px;
        margin: 0px;
        margin-top: -5rem;
        left: 0px;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
    }
    #p2 {
        margin-top: 2rem;
    }
    .games-mobile {
        display: flex;
    }
    .promos-mobile {
        display: flex;
    }
    .serit-l, .serit-r {
        height: 10px;
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #games {
      transform: scale(0.90);
  }
  .h1img-tablet {
      transform: scale(0.7);
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

}