/* a minimalist set of CSS resets */

/* default to border-box */
html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* adjust typography defaults */
body {
  margin: 0rem;
  font-family: sans-serif;
  line-height: 1.5;
  height: 100vh;
  background: #794a78;
}

/* images and videos max out at full width */
img,
video {
  height: auto;
  max-width: 100%;
}

@font-face {
  font-family: ascend;
  src: url(https://cdn.glitch.global/2355e551-2857-4902-b212-1627b2cbb0e1/ascentstairtrialVF.ttf?v=1661543170396);
}

#title, #description, #tagline, #main-input{
  font-family: ascend, sans-serif; 
  text-transform: uppercase;
}


#title {
      font-size: 150px;
    margin: 50px 0;
    font-weight: var(--text-weight,500);
  font-variation-settings: "ACND" var(--text-acnd, 50);
}

#description {
  font-size: 70px;
  color: #cec7be;
}

#bottom-section {
  padding: 20px;
}

#main-input {
  font-size: 70px;
  border: none;
  color: #cec7be;
  background: #794a78;
  max-width: 75%;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #cec7be;
  opacity: 1; /* Firefox */
}

textarea:focus, input:focus{
    outline: none;
}


#tagline {
  font-size: 12px;
  position: absolute;
  bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
  color: #cec7be;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variation-settings: "wght" 600, "ACND" 100;
}

#tagline div:nth-of-type(1) {
  padding-bottom: 0px;
  margin: 2px;
}

#tagline div:nth-of-type(2) {
  padding-bottom: 15px;
  margin: 2px;
}

#tagline div:nth-of-type(3) {
  padding-bottom: 30px;
  margin: 2px;
}

#tagline div:nth-of-type(4) {
  padding-bottom: 45px;
  margin: 2px;
}

#tagline div:nth-of-type(5) {
  padding-bottom: 60px;
  margin: 2px;
}

#tagline div:nth-of-type(6) {
  padding-bottom: 75px;
  margin: 2px;
}

#top-section{
      display: flex;
      flex-direction: column;
    align-items: center;
    justify-content: space-between;
  background: #cec7be;
    color: #794a78;
  position: relative;
  padding: 20px;
}

.slider-section {
  display: flex;
}

.slider-container {
    padding: 0 20px;
    color: #794a78;
    font-size: 12px;
  display: flex;
}

.slider-label {
  margin: 0 10px;
}

.button {
      background: none;
    border: none;
      color: #794a78;

    padding: 0;
    font-size: 12px;
  cursor: pointer;
}

.button:hover {
  text-decoration: underline;
}

input[type=range] {
  -webkit-appearance: none;
  background: none;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #794a78;
  border-radius: 1px;
  border: 0px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #794a78;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #794a78;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #794a78;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 0px 0px 0px #000000;
  background: #794a78;
  border-radius: 1px;
  border: 0px solid #000000;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #794a78;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #794a78;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #794a78;
  border: 0px solid #000000;
  border-radius: 2px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-fill-upper {
  background: #794a78;
  border: 0px solid #000000;
  border-radius: 2px;
  box-shadow: 0px 0px 0px #000000;
}
input[type=range]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #794a78;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #794a78;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #794a78;
}
input[type=range]:focus::-ms-fill-upper {
  background: #794a78;
}

@media only screen and (max-width: 1000px) {
  body {
    height: fit-content;
  }
  img {
    display: none;
  }
  #description {
    font-size: 30px;
  }
  #top-section {
  }

  .slider-section {
    flex-direction: column;
  }

  .slider-container {
    margin: 20px 0;
  }
  
  #main-input {
    font-size: 30px;
    width: 100%;
  }
  
  #title {
    font-size: 50px;
    left: 20px;
    right: inherit;
  }
}