/* Nest all Project 1 page styling in the .project1-container class.
Any styling previously applied to either * or body should be placed
at the top of the class selector. */

.project1-container {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  background-color: #4c668f;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Jockey One", sans-serif;
  margin: 0;
  padding: 20px;

  .player {
    background: #1e2a38;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 420px;
    height: 700px;
    box-shadow: 0px 0px 15px rgba(255, 100, 50, 0.5);
  }

  .album-container {
    border: 3px solid #f24e1e;
    border-radius: 15px;
    display: inline-block;
  }

  .album-art {
    width: 100%;
    border-radius: 10px;
  }

  h1 {
    color: #04d2f6;
    margin-top: -5px;
    text-align: left;
  }

  h2 {
    margin-top: -30px;
    text-align: left;
    color: #04d2f6;
  }

  h3 {
    color: #04d2f6;
    text-align: left;
    margin-top: -25px;
  }

  .waveform-container {
    width: 100%;
    height: 50px;
    margin-top: 40px;
    border-radius: 5px;
    color: #f24e1e;
  }

  #play-pause {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
  }

  #seek-slider {
    width: 80%;
    margin: 10px;
    color: #f24e1e;
  }

  #seek-slider {
    -webkit-appearance: none;
    width: 80%;
    height: 6px;
    background: #555;
    border-radius: 5px;
    outline: none;
  }

  #seek-slider::-webkit-slider-runnable-track {
    background: linear-gradient(
      to right,
      #f24e1e var(--progress),
      #555 var(--progress)
    );
    height: 6px;
    border-radius: 5px;
  }

  #seek-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #f24e1e;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px;
  }

  #current-time,
  #duration,
  #slash {
    color: #04d2f6;
  }

  #pause-icon {
    display: none;
  }

  #documentation {
    margin-top: 150px;
    padding: 40px;
    background-color: #f5f5f5;
    color: #333;
    width: 90%;
    max-width: 800px;
    border-radius: 10px;
    text-align: center !important;
  }

  .doc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .doc-images img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
  }

  .doc-text {
    font-size: 16px;
    text-align: justify;
    max-width: 600px;
  }
}
