:root {
--sliderColor:hsl(49, 100%, 50%);
}

/*********** Baseline, reset styles ***********/
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
  }

  /* Removes default focus */
  input[type="range"]:focus {
    outline: none;
  }

  /******** Chrome, Safari, Opera and Edge Chromium styles ********/
  /* slider track */
  input[type="range"]::-webkit-slider-runnable-track {
    background-color: #d6d6d680;
    border-radius: 0.5rem;
    height: 0.3rem;
  }

  /* slider thumb */
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Override default look */
    appearance: none;
    margin-top: -17.6px; /* Centers thumb on the track */
    /* background-color: hsl(49, 100%, 50%); */
    background-color: var(--sliderColor);
    border-radius: 1.25rem;
    height: 2.5rem;
    width: 2.5rem;
  }

  input[type="range"]:focus::-webkit-slider-thumb {
    outline: 0px solid hsl(49, 100%, 50%);
    outline-offset: 0.125rem;
  }

  /*********** Firefox styles ***********/
  /* slider track */
  input[type="range"]::-moz-range-track {
    background-color: #d6d6d680;
    border-radius: 0.5rem;
    height: 0.3rem;
  }

  /* slider thumb */
  input[type="range"]::-moz-range-thumb {
    /* background-color: hsl(49, 100%, 50%); */
    background-color: var(--sliderColor);
    border: none; /*Removes extra border that FF applies*/
    border-radius: 1.25rem;
    height: 2.5rem;
    width: 2.5rem;
  }

  input[type="range"]:focus::-moz-range-thumb{
    outline: 0px solid hsl(49, 100%, 50%);
    outline-offset: 0.125rem;
  }

  .iframe-container {
    border:0px;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 115%;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
  }

  .iframe-container::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
  }

  /* Then style the iframe to fit in the container div with full height and width */
  .responsive-iframe {
    border:0px;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

  .modelContainerParent {
    text-align: center;
  }

  #loadingSpinner {
    width:100%;
    text-align: center;
    height:0px;
    padding-bottom: -75%;
    transition: opacity 1s;
  }

  .lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-top: calc(50% - 80px);
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    margin: 8px;
    border: 2px solid rgb(170, 170, 170);
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: rgb(170, 170, 170) transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  button {
    opacity: 0;
    background-color: rgb(255, 208, 0);
    border: none;
    color: rgb(0, 0, 0);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom:2em;
    width:40%;
    transition: opacity 0.25s;
  }

  button:active {

    background-color: rgb(233, 187, 0);
  }

  .byline {
    font-size: 1em;
    line-height: 1.8em;
    margin-bottom: 2em;
  }


#contentContainer {
    width:720px;
    margin:0 auto;
}

.modelContainer {
    width:100%;
    height: 0;
    padding-bottom: 100%;
    /* opacity:0;
    transition: opacity 0.8s; */
}

input {
    width:50%;
    margin-bottom:8em;
    cursor:pointer;
    /* margin-left:12.5%; */
    margin-top:2rem;
}

button {
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 1em;
    color:black;
}


#siphonSwitchButtonContainer {
  /* background-color: red; */
  user-select: none;
  -webkit-user-select: none;
  position:relative;
  bottom:15em;
  width:100%;
  text-align:center;
  height:4em;
}

#siphonSwitchButton {
  background-color: rgb(255, 208, 0);
  padding: 3px 20px;
  border-radius: 15px;
  display: inline-block;
  width:40%;
  cursor: pointer;
}

#siphonSwitchButton p {
  user-select: none;
  -webkit-user-select: none;
  font-size: 100%;
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}



/* // X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

    #contentContainer {
        width:100%;
        margin:0 auto;
    }
    .modelContainer {
        width:100%;
        height: 0;
        padding-bottom: 100%;
    }
    input {
        width:85%;
        margin-bottom:8em;
        cursor:pointer;
        /* margin-left:5%; */
    }

    button {
      width:95%;
      margin: 0 auto;
    }

    .iframe-container {

      padding-top: 135%;

    }

    #siphonSwitchButtonContainer {
      /* background-color: red; */
      user-select: none;
      -webkit-user-select: none;
      position:relative;
      bottom:13em;
      width:90%;
      margin-left: 5%;
      text-align:center;
      height:4em;
    }

    #siphonSwitchButton {
      background-color: rgb(255, 208, 0);
      padding: 0;
      border-radius: 15px;
      width:100%;
      display: inline-block;
      cursor: pointer;
    }

}
