body {
  background: url('gorillamapweb.png') no-repeat center center fixed;
  background-size: cover;
  color: #FFFFFF;
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  position: relative;
}

#backgroundLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#gorillaFaceLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

#gorillaFaceCanvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.container {
  background-color: rgba(30, 30, 30, 0.85); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  z-index: 3;
}

h1 {
  margin-bottom: 20px;
}

.color-input {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
}

.color-input label {
  margin-right: 10px;
}

.color-input input {
  width: 60px;
  padding: 5px;
  border: none;
  border-radius: 5px;
  background-color: #2C2C2C;
  color: #FFFFFF;
  text-align: center;
}

.color-display {
  width: 100px;
  height: 100px;
  margin: 20px auto;
  background-color: #FFFFFF;
  border-radius: 10px;
}

.hex-display {
  margin-top: 10px;
  font-weight: bold;
  font-size: 20px;
}

/* Button positioning */
.gt-colors-btn {
  position: absolute;
  top: 5px; /* Adjusted position to be right above the color picker */
  left: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #3A3A3A;
  color: #FFFFFF;
  cursor: pointer;
  z-index: 5; /* Ensure button is above all other elements */
}

.gt-colors-btn:hover {
  background-color: #4A4A4A;
}

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

.modal-content {
  background-color: #1E1E1E;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 10px;
  text-align: left;
}

.close {
  color: #AAA;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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