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

#canvas1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

  .projects {
    position: absolute;
    padding: 5vh 5vw;
    width: 35vw;
    height: 70vh;
    font-size: 11vw;
    font-family: "Luckiest Guy", cursive;
    font-weight: 400;
    font-style: normal;
    line-height: .8;
    color: white;
    word-wrap: break-word;
    background: black;
    color: white;
    mix-blend-mode: multiply;
  }

  .left-hand {
    position: absolute;
    top: 69vh;
    width: 35vw;
    height: 31vh;
    background-color: black;
  }

  .right-hand {
    position: absolute;
    left: 35vw;
    width: 65vw;
    height: 100vh;
  }

  h1 {
position: relative;
top: 35vh;
margin-left: 5vw;
width: 30vw;
font-size: 70px;
  }

  .subtitle {
    position: relative;
top: 38vh;
margin-left: 5vw;
width: 30vw;
font-size: 20px;
  }

  ul {
    list-style: none;
    margin: 0px 0px 0px 5vw;
    line-height: 2;
  }

  li {
    margin: 0px;
    color: white;
    font-size: 20px;
  }

  a {
    all: unset;
  }

  a:hover {
    cursor: pointer;
    color: pink;
    border-color: pink;
  }

  .contact {
    position: absolute;
    bottom: 15vh;
    right: 10vw;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    color: black;
    padding: 5px 10px;
    z-index: 1;
  }

@media only screen and (max-width: 520px) {
  .projects {
    padding-right: 25vw;
  }
}

@media only screen and (min-width: 520px) and (max-width: 820px) {
  .projects {
    padding-right: 10vw;
    font-size: 14vw;
  }
}

@media only screen and (min-width: 820px) and (max-width: 1200px) {
  .projects {
    padding-right: 5vw;
    font-size: 11vw;
  }
}

/* Optimised styling for mobile */

@media only screen and (max-width: 600px) {
  body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
  }

.right-hand {
    width: 50vw;
    left: 50vw;
    height: 100%;
  }
  .left-hand {
    top: 49vh;
    width: 50vw;
    height: 51vh;
  }

  .projects {
    width: 50vw;
    height: 50vh;
    padding-right: 5vw;
    font-size: 18vw;
  }

  .contact {
    position: relative;
    top: 65vh;
    left: 55vw;
    width: 100px;
}

h1 {
  font-size: 45px;
}
}
