@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900");
body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #ffeba7;
  background-color: #1f2029;
}

a:hover {
  text-decoration: none;
}
.link {
  color: #ffeba7;
}
.link:hover {
  color: #c4c3ca;
}
p {
  font-weight: 500;
  font-size: 14px;
}
h4 {
  font-weight: 600;
}
h6 span {
  padding: 0 20px;
  font-weight: 700;
}
.section {
  position: relative;
  width: 100%;
  display: block;
}
.full-height {
  min-height: 100vh;
}

nav {
  width: 100%;
  height: 12.5vh;
  background-color: #252831;
  text-align: center;
  margin: 0 auto;
}

nav h1 {
  margin: 0 auto;
  padding-top: 14px;
  font-size: 1.3rem;
  transition: 1s;
}

#footer {
  background-color: #444;
  color: #aaa;
  font-size: 1.56vh;
  letter-spacing: 1px;
  padding: 3.91vh;
  text-align: center;
  text-transform: uppercase;
  right: 0;
  bottom: 0;
  left: 0;
}
.text1 {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}
a {
  color: orange;
  text-decoration: none;
}
main {
  background-color: #252831;
  min-height: 56vh;
  max-width: 41vh;
  margin: 0;
  text-align: center;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15vh;
  padding: 20px;
  border-radius: 64px;
}

/* This removes the counter buttons on the input field */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pixelToVH,
.pixelToVW,
.vwToPixel,
.vhToPixel {
  width: 26vw;
  max-width: 200px;
  min-width: 100px;
  height: 36px;
  border-radius: 22px;
  color: #ffeba7;
  background-color: #020305;
  font-family: "unicons";
  content: "\eb4f";
  top: -10px;
  left: -10px;
  line-height: 36px;
  text-align: center;
  font-size: 24px;
}

input {
  color: #ffffff;
  font-size: 18px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

.result {
  display: inline-block;
  margin-top: -7px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}

@media screen and (min-width: 500px) {
  nav h1 {
    font-size: 1.5rem;
  }
}
