@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&display=swap");

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(88, 85, 126);
  background: linear-gradient(
    0deg,
    rgba(88, 85, 126, 1) 0%,
    rgba(129, 128, 173, 1) 49%,
    rgba(242, 172, 222, 1) 100%
  );
}

.freq-text {
  font-size: 16px;
  font-family: "IBM Plex Mono", monospace;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.5);
}

.visualization {
  background-color: #000;
  border: 1px solid #67648f;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

#chime-container {
  position: relative;
  width: 100%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#hook {
  width: 550px;
  height: 30px;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 40px solid #000000;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.string {
  position: absolute;
  width: 2px;
  background-color: #555;
  top: 50px;
}

.waveform {
  width: 100%;
  height: 100%;
}

.waveform canvas {
  width: 100%;
  height: 100%;
}

.chime {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
  perspective: 1000px;
}

.chime img {
  transition: transform 0.6s;
}

.chime.flip img {
  transform: rotateY(180deg);
}

.chime {
  transform: rotateY(0deg);
}

.circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #000;
}

.flower {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.flower img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.square {
  width: 50px;
  height: 50px;
  background-color: #000;
}

.rectangle {
  width: 10px;
  height: 100px;
  background-color: #000;
}

#site-footer {
  text-align: center;
  padding: 20px;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  position: fixed;
  width: 100%;
  bottom: 0;
}

#site-footer a {
  color: #fff;
  text-decoration: none;
}

#site-footer a:hover {
  color: pink;
}

/* Media Query for mobile devices */

@media only screen and (max-width: 768px) {
  #site-footer {
    font-size: 14px;
  }
}
@media only screen and (max-width: 768px) {
  .circle,
  .flower,
  .square {
    width: 30px;
    height: 30px;
  }

  .rectangle {
    width: 8px;
    height: 60px;
  }
}

