* {
  margin: 0;
  padding: 0;
}
body{
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}
.logo{
  max-width: 50%;
  margin:auto;
  display:block;
  max-height: 60px;
  margin-bottom:2em;
}
.hidden{
  opacity: 0 !important;
  height:0 !important;
  margin: 0 !important;
  padding:0 !important;
}
.container {
  /*
  display: flex;
  flex-direction: column;
  justify-content: center;
  width:30%;
  min-width: 800px;
  */
  max-width: 800px;
  position: relative;
  margin: auto;
}
h2{
  font-size: 2.5em;
  font-weight: 900;
  color: #093a83;
}
.basic div{
  margin-top:0.5em;
}
.basic label{
  padding:0.5em;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #FFF;
  display:inline-block;
}
.basic input{
  border-radius: 5px;
  width:100%;
  padding:0.25em;
  font-size: 2em;
  border:none;
  margin-bottom: 0.25em;
  border-top-left-radius: 0;
  background-color: #FFF;
}
.box-minmax {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 1.3em;
  color: #ffffff45;
}
.box-minmax span:first-child {
}

.range-slider {
  width: 100%;
  position:relative;
}

.rs-range {
    margin-top: 0.1em;
    width: 100%;
    -webkit-appearance: none;
    height: 3em;
    background-color: transparent;
    position:relative;
    z-index:999;
}
.rs-range:focus {
  outline: none;
}
.rs-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  box-shadow: none;
  background: #ffffff;
  border-radius: 0px;
  border: 0px solid #010101;
}
.rs-range::-moz-range-track {
  width: 100%;
  height: 1px;
  cursor: pointer;
  box-shadow: none;
  background: #ffffff;
  border-radius: 0px;
  border: 0px solid #010101;
}
.rs-range::-webkit-slider-thumb {
  box-shadow: none;
  border: 0px solid #ffffff;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
  height: 42px;
  width: 22px;
  border-radius: 22px;
  background: white;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -20px;
}
.rs-range::-moz-range-thumb {
  box-shadow: none;
  border: 0px solid #ffffff;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
  height: 42px;
  width: 22px;
  border-radius: 22px;
  background: white;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -20px;
}
.rs-range::-moz-focus-outer {
  border: 0;
}

.rs-label {
    position: relative;
    transform-origin: center center;
    display: block;
    width: 2.01em;
    height: 2.01em;
    background: transparent;
    border-radius: 50%;
    line-height: 30px;
    text-align: center;
    font-weight: bold;
    padding-top: 0.18em;
    box-sizing: border-box;
    border: 2px solid #fff;
    margin-left: -0.66em;
    color: #fff;
    font-style: normal;
    font-weight: normal;
    line-height: normal;
    font-size: 1.5em;
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    background-color: #1dcebea6;
}
.rs-label::after {
  content: "\2103";
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.07em;
  margin-top: -4px;
}
.rs-label .point{
  font-size: 0.5em;
}
.windspeed .rs-label::after {
  content: "m/s";
}
.calculate{
    border: solid 1px #fff0;
    padding: 0.75em 1.5em;
    font-size: 1.4em;
    line-height: 1em;
    border-radius: 0.5em;
    background-color: #063a83;
    color: #FFF;
    cursor: pointer;
    margin-top: 1em;
    width: 100%;
}
.calculate:hover{
  background-color: #00419c;
}
.calculate:focus{
  border-color: #FFF;
}
.range-slider.drytemp::before,
.range-slider.wettemp::before,
.range-slider.globetemp::before,
.range-slider.windspeed::before{
  color: #ffffff45;
  font-size: 1.53em;
  font-weight: bold;
  position: absolute;
  left: 2em;
  top: 16px;
  width: calc(100% - 70px);
}

.range-slider.drytemp::before{
  content: 'Dry Bulb';
}
.range-slider.wettemp::before{
  content: 'Wet Bulb';
}
.range-slider.globetemp::before{
  content: 'Globe Temperature';
}
.range-slider.windspeed::before{
  content: 'Wind Speed';
}
header{
  padding:1em;
  margin-bottom: 2em;
}
p{
  margin-top: 1em;
}
deck {
  height: 100%;
  margin: 0 auto 2em;
  perspective: 1000;
  transform-style: preserve-3d;
  transition: all 0.20s linear;
  width: 100%;
  display: block;
  position: relative;
  z-index: 1000;
}
card{
  backface-visibility: hidden;
  transition: all 0.25s linear;
  background: linear-gradient(180deg, #01e1df 0%, #0bb392 100%) no-repeat;
  padding: 5em 2em 2em;
  display: block;
  position: relative;
  box-sizing: border-box;
  width:100%;
}
card.flipped {
  display: block;
  transform: rotateY(180deg);
  box-sizing: border-box;
  background-color: #0bb394;
}
button.pin{
  position: absolute;
    top: 3em;
    right: 3em;
    background: transparent;
    border: 0px none #FFF;
    padding: 1em;
    width: 60px;
    height: 60px;
    display: block;
    font-size: 0.5em;
    color: #FFF;
    font-weight: bold;
    /* border-radius: 60px; */
    background-image: url(rotate_square.svg);
    background-size: contain;
    cursor: pointer;
    transition: all 0.25s linear;
}
button.pin:hover{
  transform: scale(1.2);
}
.copyme{
    width: 30px;
    vertical-align: middle;
    margin-left: 2em;
    padding: 5px;
    cursor: pointer;
    opacity: 0;
    display:none;
}
card .copyme:hover{
    opacity: 1;
}

card .copyme{
    opacity:0.75;
    overflow: inherit;
    display:inline;
}
.block{
    background-color: green;
    padding: 0.5em 2em;
    border-radius: 0 0.5em 0.5em 0;
    display: block;
    position: relative;
    left: -1em;
    color: #FFF;
    font-size: 1.2em;
    width: max-content;
}
.response{
  background: rgb(255 255 255 / 85%);
  padding: 1em;
  border-radius: 0.5em;
  transition: all 0.25s linear;
  margin-top:2em;
}
.response div{
  margin:0 0 1em 0;
}
.response .result{
  font-size: 1.8em;
}
.response.green .block{
    background-color: green;
}
.response.green .result{
  color: green;
}
.response.green {
  border-left: 20px solid green;
}
.response.red .result{
  color: red;
}
.response.red .block{
    background-color: red;
}
.response.red {
  border-left: 20px solid red;
}
.red card{
  background: linear-gradient(180deg, #e12601 0%, #b3460b 100%) no-repeat;
}
.response.DarkOrange .block{
    background-color:  rgb(255, 102, 0);
}
.response.DarkOrange .result{
  color: rgb(255, 102, 0);
}
.response.DarkOrange {
  border-left: 20px solid rgb(255, 102, 0);
}
.DarkOrange card{
  background: linear-gradient(180deg, #e18401 0%, #c47703 100%) no-repeat;
}
.response.orange .block{
  background-color: rgb(255, 196, 0);
}
.response.orange .result{
  color: rgb(255, 196, 0);
}
.response.orange {
  border-left: 20px solid rgb(255, 196, 0);
}
.orange card{
  background: linear-gradient(180deg, #c47703 0%, #aa9d0c 100%) no-repeat;
}
.error ul,
.response ul{
  margin-left: 1.5em;
}
.error{
  margin-top: 1em;
  color: #d26e11;
  background: #fff4ec;
  padding: 1em;
}
.legal{
  color: #BABABA;
}

footer{
  font-size: 12px;
  padding: 1em;
}

@media only screen and (max-width: 9600px) {
  button.pin{
    transform: scale(0.75);
    top: 1.5em;
    right: 1.5em;
  }
  card{
    padding-top:5em;
  }
  #error{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    margin: 0;
    box-shadow: 0px 7px 11px #0000004d;
  }

  card::before{
    content: 'TWL Calculator';
    color: #093a83;
    font-size: 1.53em;
    font-weight: bold;
    position: absolute;
    left: 1em;
    top: 1em;
  }

  .box-minmax {
      margin-top: 0;
      display: flex;
      justify-content: space-between;
      font-size: 1.3em;
      color: #ffffff45;
      margin-bottom:-0.5em;
      position: relative;
      top: -2em;
      left: -1em;
      width: calc(100% + 2em);
      position:relative;
      z-index:1;
  }
  .range-slider {
    width: 100%;
    position: relative;
    margin: 0 0 0.5em;
  }
  .rs-label{
      margin-bottom:0.25em;
  }
  .advanced .response{
    margin: 0 0 2em;
  }

}


@media only screen and (min-width: 800px) {

  body {
    min-height: 100vh;
    background-color: #FFF; 
  }
  card{
      border-radius:2em;
      padding: 5em 3em 3em;
  }
  .blockmaker{
    display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-content: stretch;
      justify-content: space-between;
      align-items: stretch;
      gap: 2em;
      margin-top:2em;
  }
  .blockmaker .basic{
  }
  .blockmaker .response{
    max-width:320px;
    margin-top: 0;
  }

  .basic{
    width:45%;
  }

  .calculate{
    width: initial;
  }
  h2{
    font-size: 3em;
  }
  .range-slider {
    margin-top: 22px;
  }
  
  .range-slider.drytemp::before, .range-slider.wettemp::before, .range-slider.globetemp::before, .range-slider.windspeed::before {
      color: #ffffff45;
      font-size: 3em;
      left: 70px;
      top: 8px;
  }
    .rs-label {
      backdrop-filter: blur(2.5px);
      background-color: transparent;
      font-size:2.2em;
  }

}




@media  (min-width:1000px) and (max-width:2000px) {
    
    deck{
        transform:scale(0.75);
    }
    
}
