:root {
   --transition: all 0.7s ease 0s;
   --animation: element 50s linear infinite 0s;
}

* {
   padding: 0;
   margin: 0;
   box-sizing: border-box;
}

#container {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   position: relative;
   font-family: "Lexend", sans-serif;
   font-weight: 400;
   min-height: 450px;
   height: auto;
   padding: 0rem .6rem .6rem;
}

canvas {
   width: 100%;
   max-width: 960px;
   max-height: 400px;
   height: auto;
   z-index: 1;
}

.bg_screen {
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
}
.bg_screen img {
   width: 100%;
   height: 100%;
   max-height: 500px;
   object-fit: cover;
   object-position: center;
}
.logo {
   top: 0;
   position: relative;
   z-index: 10;
}
.containerCanvas {
   animation: var(--animation);
   background: url(./assets/bggamep.png);
   background-size: contain;
   max-height: 330px;
   height: auto;
   max-width: 960px;
   width: auto;
   z-index: 1;
   overflow: hidden;
   border-radius: 12px;
}
@keyframes element {
   from {
      background-position: 0 0;
   }
   to {
      background-position: 960px 0;
   }
}
.container {
   max-width: 100%;
   width: auto;
   z-index: 1;
   display: flex;
   justify-content: center;
   position: relative;
   margin-top: 1rem;
}

.container > img {
   width: 100%;
   height: 60px;
}

.container .container-bt {
   position: absolute;
   top: 0;
   bottom: 0;
   right: 0;
   left: 0;
   display: flex;
   justify-content: center;
   align-items: center;
}

.bt-stop {
   display: none;
   cursor: pointer;
}
.bt-start {
   cursor: pointer;
}

.container-modal {
   display: none;
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   background-color: #00000050;
   z-index: 1000;
}

.container-modal .modal-bg {
   position: relative;
   height: 90%;
}
.container-modal .modal-content {
   position: absolute;
   top: 0;
   bottom: 0;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   padding: 20px;
   gap: 10px;
   font-size: 24px;
   text-align: center;
}
.content-cupon {
   border: 1px solid black;
   padding: 10px 20px;
   margin-top: 20px;
   cursor: pointer;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 10px;
}

.content-bt {
   cursor: pointer;
   border: none;
   background-color: #e65533;
   color: #ffffff;
   padding: 10px 30px;
   border-radius: 10px;
   font-size: 20px;
}
.pCheck {
   display: none;
   font-size: 14px;
   margin: .6rem 0;
}
.modal-bg img {
   height: 100%;
   max-width: 100%;
   width: auto;
}

@media (max-width: 960px) {
   .containerCanvas {
      width: 100%;
      height: 100%;
   }
   canvas {
      width: 100%;
   }

   .container {
      max-width: 100%;
   }

   .container-modal {
      width: 100%;
   }

   .container-modal .modal-content {
      right: 0;
      left: 0;
      font-size: 1.2rem;
      gap: 0;
      text-align: center;
      align-items: center;
      justify-content: center;
   }
   .content-cupon {
      padding: 10px 20px;
      margin-top: 10px;
   }
   .content-bt {
      width: 80%;
      padding: 10px 10px;

      font-size: .85rem;
      margin-top: 10px;
   }
}

@media (max-width: 600px) {
   .content-msn {
      font-size: 1rem;
   }
   .content-cupon {
      font-size: 1rem;
   }
   .logo {
      top: 5vw;
      position: absolute;
      z-index: 10;
   }
}