@font-face{font-family:'harbour';src:url('lib/PFPlasmaticHeavy-Regular.ttf')}
@font-face{font-family:'harbour_2';src:url('lib/courbd.ttf')}

body{
    margin: 0;
    font-family:'harbour', cursive;
    user-select: none;
    font-family:'harbour', cursive;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: hidden;
    }
    
    #full-area {
        width: 100%;
        height: 100vh;
        user-select: none;
        background-size: cover;
        overflow: hidden;
        background: #000;
        background: url("./media/Game\ Background.jpg");
        background-size: cover;
        background-repeat: no-repeat;
      }
      #full-area #game-area {
        width: 1024px;
        height: 600px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1);
        border-radius: 0px;
        overflow: hidden;
        background: url("./media/Game\ Background.jpg");
        background-size: cover;
        background-repeat: no-repeat;
      }

      .titles:active {
        cursor: grabbing;
      }
      #canvas1{
        position: absolute;
         
        width: 1024px;
        font-family:'Press Start 2P', cursive;
        height: 600px;
        top: 50%;
        left: 50%;
        background-repeat: no-repeat;
        background-size: cover;
        transform: translate(-50%,-50%);
        background-color: transparent; 
    
    }

    #placeholders{
      position: absolute;
      top: 42%;
      left: 50%;
      transform: translate(-50%,-50%);
      width: 1024px;
      height: 600px;
  
    }

    #placehold{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
    }

    #placehold1{
      position: absolute;
      margin-top: 294px;
      left: 49.4%;
      transform: translate(-50%,-50%);
      display: none;
       
    }

    #tit3{
      opacity: 100%;
    }

    #titles1 {
      display: flex;
      flex-wrap: wrap;
      position: absolute;
      top: 90%;
      left: 50%;
      transform: translate(-50%,-50%);
      width: 1024px;
      justify-content: center;
      align-items: center;
    }
    
    #titles1 img {
      /*width: calc(100% / 5);*/
      width: 200px;
      box-sizing: border-box;
      padding-left: 8px;
      padding-right: 8px;
      padding-bottom: 5px;
      cursor: grab;
    }

    #sponge1{
      position: absolute;
      margin-left: 15%;
      margin-top: 80px;
    }
    
    #scuba{
      position: absolute;
      margin-left: 68%;
      margin-top: 105px;
    }
    

    /* body suit scuba */

    #bodyparts1sc{
      position: absolute;
      width: 1024px;
      height: 600px;
      
    }

    #suit{
      position: absolute;
      width: 210px;
      margin-top: 106px;
      margin-left:565px;
      z-index: 1;
      opacity: 0;
    }

    #tanks{
      position: absolute;
      width: 179px; /*79*/
      height: 200px;
      margin-top: 141px; /*141*/
      margin-left:568px; /*628*/
      opacity: 0;
    }

    #fins{
      width: 158px;
      margin-top: 470px;
      margin-left:593px;
      z-index: 2;
      opacity: 0;
    }

    #mask{
      width: 55px;
      margin-top: 123.5px;
      margin-left:642px;
      z-index: 2;
      opacity: 0;
    }

    #regulator{
      width: 65px;
      margin-top: 142px;
      margin-left:612px;
      z-index: 2;
      opacity: 0;
    }

    #instrument{
      width: 40px;
      margin-top: 230px;
      margin-left:622px;
      z-index: 2;
      opacity: 0;
    }

    #computer{
      width: 20px;
      margin-top: 275px;
      margin-left:750px;
      z-index: 2;
      opacity: 0;
    }

      /* body suit sponge */
      #bodyparts2sp{
        position: absolute;
        width: 1024px;
        height: 600px;
     
      }

      #suit1{
        width: 212px;
        margin-top: 167px;
        margin-left:248px;
        opacity: 0;
      }

      #helmet{
        width: 78px;
        margin-top: 90px;
        margin-left:315px;
        z-index: 1;
        opacity: 0;
      }

      #weight{
        width: 74.5px;
        margin-top: 299.92px;
        margin-left:237.99px;
        z-index: 1;
        opacity: 0;
      }

      #sponge{
        width: 80.5px;
        margin-top: 307.92px;
        margin-left:406.99px;
        z-index: 1;
        opacity: 0;
      }

      #boots{
        width: 113px;
        margin-top: 444px;
        margin-left:298.99px;
        z-index: 1;
        opacity: 0;
      }

      #pipe{
        width: 50px;
        margin-top: 90px;
        margin-left:385px;
        transform: rotate(8deg);
        opacity: 0;
      }

      #rope{
        width: 40px;
        margin-top: 81px;
        margin-left:373px;
        opacity: 0;
      }

      /*win screen*/

      #win{
        position: absolute;
        top:45%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 550px;
 

      }

      #win_screen{
        position: absolute;
        width: 1024px;
        height: 600px;
        display: none;
      }

      #wintext{
        position: absolute;
        top:47%;
        left: 50%;
        transform: translate(-50%,-50%);
        font-size: 30px;
        text-align: center;
      }

      #again{
        position: absolute;
        top:78%;
        left: 50%;
        transform: translate(-50%,-50%);
        cursor: pointer;
      }

      /*end win screen*/

      /* timer */
   

.stopwatchApp {
  position: absolute;

  color: white;
  font-size: 25px;
  top: -5%;
  margin-left: 45%;
  height: auto;
  z-index: 99;

}
.stopwatchApp .timeDisplay {

  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  z-index: 99;
  

}
.stopwatchApp .buttonWrapper {
  display: flex;
  gap: 40px;
}
.stopwatchApp .buttonWrapper button {
  font-size: 1.5rem;
  padding: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 999;
  position: fixed;
}


button.startStopwatch {
  color: #008000;
  background-color: rgba(0, 128, 0, 0.5);
  border: 2px solid green;
  transition: ease-in-out 250ms;
  cursor: pointer;
  display: none;
}

button.startStopwatch:hover {
  color: #006600;
  background-color: rgba(0, 102, 0, 0.5);
  border: 2px solid #006600;
  cursor: pointer;
}

button.startStopwatch:active {
  color: #004d00;
  background-color: rgba(0, 77, 0, 0.5);
  border: 2px solid #004d00;
  cursor: pointer;
}

#tit1{
  cursor: grab;
}
#tit1:hover{
  cursor: grab;
}
#tit1:active{
  cursor: grabbing;
}

.titles{
  cursor: grab;
}