* {
  box-sizing:border-box;
}

body {
  padding-top:16px !important;
  width:100%;
  max-width:500px;
  margin:0 auto;
}


/* one link navigation back to the home page */
nav {
  padding-left:0;
}
nav a {
  text-decoration:none;
  font-family: "Quicksand", sans-serif !important;
  font-size:24px !important;;
  font-weight: bold !important;;
}


quote {
  font-family: "Quicksand", sans-serif;
  /*font-size:30px;*/
  font-size:clamp(14px, 6vw, 30px);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  
  background:lightgray;
  display:block;
  padding:48px 16px !important;
}


img {
  width:clamp(168px, 100%, 468px);
}

#audio_controls > span {
  font-size:12px;
  display:block;
}

input[type="checkbox"] {
  appearance:none;
  
  position:relative;
  width:40px;
  height:40px;
  margin:0;
  float:left;
  
  cursor:pointer;
}
  
#play {
  margin:0 !important;
}

input[type="checkbox"]::before {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  
  text-rendering: auto;
  font: var(--fa-font-solid);
}

input[type="checkbox"].hover:hover {
  background-color:rgb(204, 204, 204) !important;
  color:black !important;
}

#seekSlider {
  height:40px;
  width:100%;
  float:left;
  margin:0;
  padding:0;
  
  accent-color:white;
  
}


/* Play / Pause - checkbox */
#play::before {
  content: "\f04b"; /* play icon - Unicode */
}

#play:checked::before {
  content: "\f04c"; /* pause icon - Unicode */
}



/* Loop - checkbox */
#loop::before {
  --white: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 224c0 17.7 14.3 32 32 32s32-14.3 32-32c0-53 43-96 96-96l160 0 0 32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9S320 19.1 320 32l0 32L160 64C71.6 64 0 135.6 0 224zm512 64c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 53-43 96-96 96l-160 0 0-32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-32 160 0c88.4 0 160-71.6 160-160z"  fill="white" /></svg>');
  
  --black: url('data:image/svg+xml, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M0 224c0 17.7 14.3 32 32 32s32-14.3 32-32c0-53 43-96 96-96l160 0 0 32c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-9.2-9.2-22.9-11.9-34.9-6.9S320 19.1 320 32l0 32L160 64C71.6 64 0 135.6 0 224zm512 64c0-17.7-14.3-32-32-32s-32 14.3-32 32c0 53-43 96-96 96l-160 0 0-32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-32 160 0c88.4 0 160-71.6 160-160z"  fill="black" /></svg>');
  
  background-image: var(--white);
  background-size: 15px 15px;
  background-repeat:no-repeat;
  background-position:center;
  
  content: "\f715"; /* slash icon - Unicode */
}

#loop.hover:hover::before {
 background-image: var(--black);
}
  
#loop:checked::before {
  content: "\00a0\00a0\00a0\00a0\00a0";
}



/* Media Queries *****/
@media only screen and (min-width: 225px) {
  quote {
    padding:48px 20px !important;
  }
  
  input[type="checkbox"] {
    margin:0 8px;    
  }
}

@media only screen and (min-width: 275px) {
  #seekSlider {
    width:calc(100% - 96px);
  }
}

@media only screen and (min-width: 300px) {
  quote {
    padding:48px 24px !important;
  }
  
  #seekSlider {
    width:calc(100% - 104px);
    max-width:200px;
  }
  
  input[type="checkbox"] {
    display:inline;
    margin:0 16px 0 8px;
  }
  

}

@media only screen and (min-width: 350px) {
  quote {
    padding:48px 30px !important;
  }
}

@media only screen and (min-width: 400px) {
  quote {
    padding:48px 36px !important;
  }
}

@media only screen and (min-width: 450px) {
  quote {
    padding:48px 42px !important;
  }
}

@media only screen and (min-width: 500px) {
  quote {
    padding:48px !important;
  }
}
  