
.n-audio-player{
  margin-bottom: 2em;
}

.controlColorClass{color:#808080}
.textColorClass{color:#000}
.backColorClass{background-color:#FFF}
.sliderColorClass{background-color:#D9D9D9}
.progressColorClass{background-color:#808080}

.altControlColorClass{color:#FF8080}
.altTextColorClass{color:#F00}
.altBackColorClass{background-color:#0FF}
.altSliderColorClass{background-color:#00D9D9}
.altProgressColorClass{background-color:#FF8080}


/* Audio Player */
.audio-container {
  font-size: 10px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 33em;
  min-width: 20em;
  height: 4.6em;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2em;
  padding-right: 2em;
  border-radius: 0.333em;
  user-select: none;
  -webkit-user-select: none;
}
.audio-container.tiny{
  font-size: 6px !important;
}
.audio-container.tiny .controls {
  font-family: sans-serif;
  font-size: 1.66em;
}
.audio-container.small{
  font-size: 8px !important;
}
.audio-container.medium{
  font-size: 10px !important;
}
.audio-container.large{
  font-size: 12px !important;
}
.audio-container .play-pause-btn {
  display: none;
  cursor: pointer;
  width: 1em;
}
.audio-container .slider {
  flex-grow: 1;
  cursor: pointer;
  position: relative;
}
.audio-container .slider .progress {
  border-radius: inherit;
  position: absolute;
  pointer-events: none;
}
.audio-container .slider .progress .pin {
  height: 1.333em;
  width: 1.333em;
  border-radius: 0.667em;
  position: absolute;
  pointer-events: all;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.32);
}
.audio-container .controls {
  font-family: sans-serif;
  font-size: 1.333em;
  line-height: 1.5em;
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
  align-items: center;
  margin-left: 2em;
  margin-right: 2em;
}
.audio-container .controls .slider {
  margin-left: 1.333em;
  margin-right: 1.333em;
  border-radius: 0.167em;
  height: 0.333em;
}
.audio-container .controls .slider .progress {
  width: 0;
  height: 100%;
}
.audio-container .controls .slider .progress .pin {
  right: -0.667em;
  top: -0.5em;
}
.audio-container .controls span {
  cursor: default;
}
.audio-container .volume {
  position: relative;
}
.audio-container .volume .volume-btn {
  cursor: pointer;
  width: 1em;
}
.audio-container .volume .volume-controls {
  width: 2.5em;
  height: 11.25em;
  background-color: rgba(0, 0, 0, 0.62);
  border-radius: 0.583em;
  position: absolute;
  left: -0.25em;
  bottom: 4.333em;
  flex-direction: column;
  align-items: center;
  display: flex;
}
.audio-container .volume .volume-controls.hidden {
  display: none;
}
.audio-container .volume .volume-controls .slider {
  margin: 1em;
  width: 0.5em;
  border-radius: 0.25em;
}
.audio-container .volume .volume-controls .slider .progress {
  bottom: 0;
  height: 100%;
  width: 0.5em;
}
.audio-container .volume .volume-controls .slider .progress .pin {
  left: -0.417em;
  top: -0.667em;
}
/*
    ================================
        Best Viewed In Full Page
    ================================
*/

/* Because I'm using the fixed position for modals, if the screen height is small then you would not be able to see a full modal that's why it's recommended that you see this pen in full-page and not on editor view. */

/* defaults */
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  --light: hsl(220, 50%, 90%);
  --primary: hsl(255, 30%, 55%);
  --focus: hsl(210, 90%, 50%);
  --border-color: hsla(0, 0%, 100%, .2);
  --background: linear-gradient(to right, hsl(210, 30%, 20%), hsl(255, 30%, 25%));
  --shadow-1: hsla(236, 50%, 50%, .3);
  --shadow-2: hsla(236, 50%, 50%, .4);

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Open Sans', sans-serif;
  color: var(--light);
  background: var(--global-background);
}

a,
a:link {
  font-family: inherit;
  text-decoration: none;
}

a:focus {
  outline: none;
}

button::-moz-focus-inner {
  border: 0;
}


/* box */
.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0 4rem 2rem;
}

.box:not(:first-child) {
  height: 45rem;
}

.box__title {
  font-size: 10rem;
  font-weight: normal;
  letter-spacing: .8rem;
  margin-bottom: 2.6rem;
}

.box__title::first-letter {
  color: var(--primary);
}

.box__p,
.box__info,
.box__note {
  font-size: 1.6rem;
}

.box__info {
  margin-top: 6rem;
}

.box__note {
  line-height: 2;
}


/* modal */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  display: none;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;

  /* --m-background is set as inline style */
  background: var(--m-background);
}

/* using :target */
/*
when users will click/enter button(link) browser will add a #id in a url and when that happens we'll show our users the modal that contains that id.
*/
.modal-container:target {
  display: flex;
}

.modal {
  width: 80%;
  height:80%;
  padding: 4rem 2rem;
  border-radius: .8rem;

  color: hsl(0, 0%, 0%);
  background: #eee;
  box-shadow: var(--m-shadow, .4rem .4rem 10.2rem .2rem) var(--shadow-1);
  position: relative;

  overflow-y: scroll;
}

.modal__title {
  font-size: 3.2rem;
}

.modal__text {
  padding: 0 4rem;
  margin-top: 4rem;

  font-size: 1.1rem;
  line-height: 2;
}

.modal__btn {
  margin-top: 4rem;
  padding: 1rem 1.6rem;
  border: 1px solid var(--border-color);
  border-radius: 100rem;

  color: inherit;
  background: transparent;
  font-size: 1.4rem;
  font-family: inherit;
  letter-spacing: .2rem;

  transition: .2s;
  cursor: pointer;
}

.modal__btn:nth-of-type(1) {
  margin-right: 1rem;
}

.modal__btn:hover,
.modal__btn:focus {
  background: var(--focus);
  border-color: var(--focus);
  transform: translateY(-.2rem);
}


/* link-... */
.link-1 {
  font-size: 1.8rem;

  color: var(--light);
  background: var(--background);
  box-shadow: .4rem .4rem 2.4rem .2rem var(--shadow-1);
  border-radius: 100rem;
  padding: 1.4rem 3.2rem;

  transition: .2s;
}

.link-1:hover,
.link-1:focus {
  transform: translateY(-.2rem);
  box-shadow: 0 0 4.4rem .2rem var(--shadow-2);
}

.link-1:focus {
  box-shadow:
    0 0 4.4rem .2rem var(--shadow-2),
    0 0 0 .4rem var(--global-background),
    0 0 0 .5rem var(--focus);
}

.link-2 {
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--border-color);
  border-radius: 100rem;

  color: inherit;
  font-size: 2.2rem;

  position: absolute;
  top: 2rem;
  right: 2rem;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: .2s;
}

.link-2::before {
  content: '×';

  transform: translateY(-.1rem);
}

.link-2:hover,
.link-2:focus {
  background: var(--focus);
  border-color: var(--focus);
  transform: translateY(-.2rem);
}

.abs-site-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  color: hsla(0, 0%, 1000%, .6);
  font-size: 1.6rem;
}
