

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500&display=swap');
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #aacfcf;
}
a{
  color:#4e4d4d;
}
html {
  font-size: 60.5%;
  font-family: 'Mulish', sans-serif;
  font-weight: 400;
  color:#4e4d4d;
}

main {
  max-width: 50rem;
  margin: 3rem auto;
  background: #f1d1d1;
  padding: 3rem 2.2rem 6rem 2.2rem;
  border-radius: 15px;
  -webkit-box-shadow: 0px 2px 5px #654062;
          box-shadow: 0px 2px 5px #654062;
}

h1 {
  font-weight: 600;
  font-size: 2.8rem;
  text-align: center;
  padding-bottom: 3rem;
  color: #838383;
}
h3{
  text-align: center;
  font-size: 1.4rem;
}

section {
  background: #ffffff;
  font-size: 1.9rem;
  color: #3a3a3a;
  margin-bottom: 1.6rem;
  padding: 0 1.6rem;
  border-radius: 15px;
  -webkit-box-shadow: inset 0px 2px 2px #c5c5c3;
          box-shadow: inset 0px 2px 2px #c5c5c3;
}

.tip-calculator {
  margin-bottom: 4rem;
}

section > div {
  padding: 1.5rem 0;
}

.bill-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.bill-section label {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
}

.bill-section input {
  -webkit-box-flex: 3;
      -ms-flex: 3;
          flex: 3;
}

input[type="number"] {
  font-family: inherit;
  background: #f4f4f5;
  font-size: 1.6rem;
  border: 1px solid #c5c5c5;
  border-radius: 8px;
  padding: 0.8rem 0 0.8rem 0.8rem;
  -webkit-box-shadow: inset 0px 2px 2px #c5c5c5;
          box-shadow: inset 0px 2px 2px #c5c5c5;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.space-between {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.total {
  font-size: 1.6rem;
  font-weight: 600;
}
.total_final {
  font-size: 2.1rem;
  font-weight: 600;
}
.range {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 100%;
  height: 6px;
  background: #d9adad;
  border-radius: 15px;
  margin-top: 1.2rem;
  outline-color: #d76d77;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #838383;
  cursor: pointer;
}

.range::-moz-range-thumb {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #d9adad;
  cursor: pointer;
  border: none;
}

.range::-moz-focus-outer {
  border: 0;
}


@media screen and (max-width: 600px) and (max-height: 812px) {
  main {
    margin: initial;
    padding: 10.65rem 2.2rem;
    border-radius: initial;
    -webkit-box-shadow: initial;
            box-shadow: initial;
  }
}

@media screen and (max-height: 736px) {
  main {
    padding: 6.8rem 2.2rem;
  }
}

@media screen and (max-height: 568px) {
  main {
    padding: 0.01rem 2.2rem;
  }
}
