@charset "utf-8";

.cCon {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 3px;
  margin: 0 auto;
  background-color: #ddfdfa;
  border: none;
  opacity: 0.85;
  z-index: 800;
}

.controller-container {
  display: flex;
  flex-wrap: wrap;
  height: 120px;
  width: 120px;
  justify-content: center;
  align-items: center;
  background-color: white;
  margin: 3px auto;
}

.controller-items-wrapper {
  height: 40px;
  width: 39px;
}

.controller-items {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #80cbc4;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.75s ease-in-out;
  font-size: 0;
  user-select: none;
}

.controller-items:hover {
  opacity: 0.75;
}

.up {
  position: absolute;
  bottom: 25%;
  left: 25%;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.right {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.left {
  position: absolute;
  top: 25%;
  right: 25%;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.down {
  position: absolute;
  top: 25%;
  left: 25%;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

@media only screen and (max-width: 768px) {
  .controller-container {
    height: 180px;
    width: 180px;
  }

  .controller-items-wrapper {
    height: 60px;
    width: 59px;
  }

  .up {
    bottom: 20%;
    left: 16.5%;
    width: 40px;
    height: 40px;
  }

  .right {
    top: 20%;
    left: 16.5%;
    width: 40px;
    height: 40px;
  }

  .left {
    top: 20%;
    right: 16.5%;
    width: 40px;
    height: 40px;
  }

  .down {
    top: 20%;
    left: 16.5%;
    width: 40px;
    height: 40px;
  }
}
