@import './reset';

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: #1e202c;
  

  .logo {
    width: 350px;
    border-radius: 50px;
    padding: 7px 10px;
    background: #fff;
    border-bottom: 3px solid #333;
    margin-top: 2%;

    & img {
      width: 100%;
      object-fit: cover;
    }
  }

  .ringue {
    background: #376CE3;
    width:600px;
    height: 600px;
    transform: rotateX(45deg) rotateZ(45deg);
    display: flex;
    justify-content: center;
    margin-top:10%;

    .lona {
      background: #376CE3;
      width: 500px;
      height: 500px;
      display: flex;
      align-self: center;
      flex-wrap: wrap;
      border-radius: 7px;
      /* box-shadow: 10px 10px 20px 1px rgba(160, 157, 157, 0.788); */

      .sub-box{
        width: 30.5%;
        height: 30.5%;
        margin: 7px;
        background: #050949;
        border: none;
        border-radius: 5px; 
        cursor: pointer;

      }

      .pilar {
        width: 25px;
        height:120px;
        background: #D7D7D7;
        border-radius: 7px;
        transform: rotate(135deg);
        position: absolute;
        border: 1px solid #000;

        &.pilar1 {
          top: -11%;
          left:-3%;
        }

        &.pilar2 {
          bottom:0;
          left:-3%;
        }

        &.pilar3 {
          right: 10%;
          top: -12%;
        }
      }
      
      .cordaLadoDireito {
        width: 5px;
        height: 90%;
        background: rgb(255, 255, 255);
        position: absolute;
        border: 1px solid #333;

        &.corda1 {
          top:-5%;
          right: 105%;
        }

        &.corda2 {
          top:0%;
          right: 101%;
        }

        &.corda3 {
          top: 2%;
          right: 97%;
          z-index: -1;
        }
      }
      
      .cordaLadoEsquerdo {
        width: 90%;
        height: 5px;
        background: rgb(255, 255, 255);
        position: absolute;
        border: 1px solid #333;

        &.corda4 {
          top: -6%;
          left: -6%;
        }

        &.corda5 {
          top: -3%;
          left: -3%;
        }

        &.corda6 {
          top: 1%;
          left: 1%;
        }
      }

      
      .lonaLadoEsquerdo {
        width:100%;
        height: 50px;
        background: #172AB7;
        position: absolute;
        bottom: -8%;
        right: -4%;
        transform: skew(45deg);
      }
      
      .lonaLadoDireito {
        width:50px;
        height: 100%;
        background: #1e37f7;
        position: absolute;
        bottom: -4%;
        right: -8%;
        transform: skew(0deg,45deg);
      }
      
    }

  }

  .pickColor{
    width: 60px;
    height: 60px;
    background: #000000fd;
    border-top: 1px solid #a7aab9;
    border-left: 1px solid #a7aab9;
    border-radius: 50%;
    position: fixed;
    top: 12%;
    left: 3%;
    z-index: 4;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
  }

  .colorOption {
    position: fixed;
    top: 12.5%;
    left: 4%;
    width: 0px;
    height: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 25px;
    z-index: 2;
    background-color: #000000fd;
    transition: 250ms ease;
    

    p {
      color: #fff;
    }

    .Option {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: none;
      position: absolute;
      // z-index: 5;
      left: 0%;
      top: 8%;
      

      &.op1{
        background-color: #e33737;
        transition: 250ms ease;
      }
      &.op2 {
        background-color: #376CE3;
        transition: 250ms ease;
      }
      &.op3{
        background-color: #e3c937;
        transition: 250ms ease;
    
      }
    }
  }

  #coin {
    width: 70px;
    height: 70px;
    border-radius: 50% 0 0 50%;
    border-top: 3px solid #333;
    border-left: 3px solid #333;
    border-bottom: 3px solid #333;
    background: #fff;
    padding: 5px;
    position: fixed;
    right: 0;
    top: 35.5%;
    cursor: pointer;
    z-index: 1;
    transition: 0.5s ease;

    img {
      width: 100%;
      object-fit: cover;
    }

  }

  .sideflip {
    height: 50%;
    width: 0px;
    position: fixed;
    z-index: 1;
    top: 35.5%;
    right: 0;
    background-color: #fff;
    border-top: 3px solid #333;
    border-left: 3px solid #333;
    border-bottom: 3px solid #333;
    overflow: hidden;
    padding-top: 50px;
    transition: 0.5s;
    border-radius: 0 0 0 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    

    .cointImg {
      width: 70px;
      height: 70px;
      margin-top: 5px;
      // background-color: #fcbe16;

      & img {
        width: 100%;
        object-fit: cover;
      }
    }

    .localCoin{
      display: flex;

      & .btnflip{
        width: 100px;
        height:50px;
        border-radius: 5px;
        color:#fff;
        background: #636ce4;
        padding: 4px 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;

        &:nth-child(1) {
          margin-right: 5px;
        }
      }
    }

    .resultado {
      padding: 30px;
      font-size: 1.5em;
      font-weight: bold;
    }

  }

  .choise {
    width: 70%;
    height: 70%;
    background: #D7D7D7;
    border-radius: 7px;
    z-index: 100;
    text-align: center;
    position: absolute;
    top: 10%;
    display: none;

    @media screen and (max-width: 1024px){
      height: 50%;
    }
    @media screen and (max-width: 425px){
      height: 25%;
    }


    & span {
      display: inline-block;
      width: 100%;
      font-size: 3em;
      font-weight: bold;

      @media screen and (max-width: 425px){
        font-size: 1.3em;
      }
    }

    .personagem {
      width: 100%;
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-top: 10%;
      

      .Wolve {
        width: 300px;
        height: 300px;
        background: #d32828;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        cursor: pointer;
        
        @media screen and (max-width: 1025px){
          width: 200px;
          height: 200px;

          img {
            width: 90%;
          }
          
        }
        @media screen and (max-width: 425px){
          width: 100px;
          height: 100px;
          
        }
        
      }
  
      .Blob {
        width: 300px;
        height: 300px;
        background: #3e4bff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 7px;
        cursor: pointer;

        @media screen and (max-width: 1025px){
          width: 200px;
          height: 200px;

          img {
            width: 70%;
          }
          
        }
        @media screen and (max-width: 425px){
          width: 100px;
          height: 100px;
          
        }
        
      }
    }

  }

  .tela {
    width: 110%;
    height: 110%;
    background-color: rgba(0, 0, 0, 0.507);
    z-index: 50;
    position: absolute;
  }

  .puxaPlacar{
    display: none;
    background: #fff;
    width: 70px;
    height: 70px;
    position: fixed;
    top: 10%;
    right: 0;
    border-radius: 50% 0 0 50%;
    transition: 250ms ease;
    z-index: 1;
    
      
    @media screen and (max-width: 1025px){
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }
  }

  .puxaPlacarSubistituto {
    height: 150px;
    width: 0;
    background: #fff;
    position: fixed;
    top: 10%;
    right: 0;
    transition: 250ms ease;
    z-index: 1;
    border-radius: 0 0 0 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;

    & span {
      font-size: 1.3em;
      font-weight: bold;
    }

    & .victory {
      font-size: 2em;
      font-weight: bold;
    }
   
  }

  
  .Placar {
    width: 300px;
    height: 150px;
    background: #fff;
    border: 2px solid #333;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 25%;
    left: 10%;
    transform: rotateX(-45deg) rotateZ(-45deg) skewX(-35deg) ;
    z-index: 1;

    @media screen and (max-width: 1025px){
      display: none;
    }

    .paper{
      width: 90%;
      height: 90%;
      background-color: #e3c937;
      border-bottom: 3px solid #af9b2a;
      border-right: 3px solid #af9b2a;
      border-radius: 7px;

      span {
        display: inline-block;
        width: 100%;
        text-align: center;
        font-size: 2em;
        font-weight: bold;
        margin-top: 7px;
      }

      .victory {
        font-size: 3em ;
      }
    }
    
  }

  .PlacarTras{
    width: 300px;
    height: 150px;
    background: rgb(161, 161, 161);
    border: 2px solid #333;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 25%;
    left: 9%;
    transform: rotateX(-45deg) rotateY(45deg) skewX(180deg) ;

    @media screen and (max-width: 1025px){
      display: none;
    }

  }

  .estatos {
    width: 900px;
    height:500px;
    background: #D7D7D7;
    border-radius: 7px;
    z-index: 1000;
    position: absolute;
    top:10%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: none;

    .fraseEstatos{
      font-size: 2em;
      font-weight: bold;
    }

    video {
      display: none;
      width: 800px;
      z-index:1000;
    }

  }


  .dificuldade {
    width: 300px;
    height: 330px;
    background-color: rgb(61, 64, 82);
    border-radius: 7px;
    position: fixed;
    top:20%;
    z-index: 110;
    display: flex;
    align-items: center;
    flex-direction: column;

    .iniciar {
      background-color: #e33737;
    }

    span {
      color: #fff;
      font-size: 1.5em;
      font-weight: bold;
      margin-bottom: 20px;
    }

    button {
      width: 200px;
      height: 70px;
      font-size: 1.3em;
      font-weight: bold;
      margin: 7px 0 7px 0;
      border-radius: 5px;
      transition: 100ms ease-in;
      border: none;
      
      &:hover {
        box-shadow: inset 0 0 .80em #333;
      }
    }
  }

  .btnReset{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e33737;
    color: #fff;
    position: fixed;
    top: 24%;
    left: 3%;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%;
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);

    .modal-content {
      background-color: #fefefe;
      margin: 15% auto;
      padding: 20px;
      border: 1px solid #888;
      width: 80%;
      display: flex;
      align-items: center;
      border-radius: 5px;

      .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        margin-left: 70px;
        cursor: pointer;

        .close:hover,
        .close:focus {
          color: black;
          text-decoration: none;
          cursor: pointer;
        }
      }
    }
  }



  

}