/* style.css */

/* Set the canvas element to be the full size of the container */
canvas {
    width: 100%;
    height: 100%;
}

/* Center the canvas element on the page */
body {
    display: flex;
    justify-content: center;
    align-items: center;
}

#canvas-container {
    width: 100%;
    height: 600px;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    background-color: black;
    color: lightblue;
  }
  
  /*rocket*/
  .rocket {
    position: relative;
    display: inline-block;
  }
  .rocket-body {
    width: 40px;
    height: 100px;
    background-color: #CCC;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 1;
  }
   .red-fin {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid red;
  }
  .left-fin {
    top: 60px;
    left: 35px;
    transform: rotate(-45deg);
  }
  .right-fin {
    top: 60px;
    right: 35px;
    transform: rotate(-135deg);
  }
  .rocket-head {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background-color: #FF0000;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 3;
  }
  .rocket-flame {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 30px solid orange;
  }
  .window {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #6495ED;
    z-index: 3;
  }
  .triangle {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #CCC;
  }
  
  /*puts rocket next to box*/
  .content-wrapper {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0px;
    }
  
    @media (max-width: 600px) {
      .content-wrapper {
        flex-direction: column;
      }
  
      header {
          height: 325px;
        }
    }
  
    body, html {
      margin: 0;
      padding: 0;
    }
  
    /*regen button*/
    #clicker {
      display: inline-block;
      padding: 10px 10px 10px 10px;
      margin: 10px 10px 10px 10px;
      background-color: #ff00f2;
      color: white;
      text-decoration: none;
      border-radius: 5px;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s, box-shadow 0.3s;
    }
  
    #clicker:hover {
      background-color: #ff00f2;
      box-shadow: 0 0 10px #d1fdff;
    }


    /* queried chatgpt ab rocket and edited it https://chat.openai.com/share/55ca6791-5994-41cb-bb00-6eb9267f7dbe 
and https://chat.openai.com/share/5a778afb-3088-42cb-bf7c-1e99d492f4b2*/