@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Damion|Muli:400,600');
body{
  font-family: 'Muli', sans-serif;
  background: rgb(236, 223, 204);
}
h2 {
    font-family: 'Damion', cursive;
    font-weight: 400;
    color: #4caf50;
    font-size: 35px;
    text-align: center;
    position: relative;
}
h2:before {
    position: absolute;
    content: '';
    width: 100%;
    left: 0;
    top: 22px;
    background: #4caf50;
    height: 1px;
}
h2 i {
    font-style: normal;
    background: #fff;
    position: relative;
    padding: 10px;
}
:focus{outline: none;}

/* necessary to give position: relative to parent. */
input[type="number"]{font: 15px/24px 'Muli', sans-serif; color: rgb(105, 117, 101); width: 100%; box-sizing: border-box; letter-spacing: 1px;}

:focus{outline: none;}

.col-3{float: left; width: 27.33%; margin: 40px 3%; position: relative;} /* necessary to give position: relative to parent. */
input[type="number"]{font: 15px/24px "Lato", Arial, sans-serif; color: rgb(105, 117, 101); width: 100%; box-sizing: border-box; letter-spacing: 1px;}

.effect-16, 
.effect-17, 
.effect-18{border: 0; padding: 4px 0; border-bottom: 1px solid rgb(105, 117, 101); background-color: transparent;}

.effect-16 ~ .focus-border{position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: rgb(60, 61, 55); transition: 0.4s;}
.effect-16:focus ~ .focus-border,
.has-content.effect-16 ~ .focus-border{width: 100%; transition: 0.4s;}
.effect-16 ~ label{position: absolute; left: 0; width: 100%; top: 9px; color: rgb(105, 117, 101); transition: 0.3s; z-index: -1; letter-spacing: 0.5px;}
.effect-16:focus ~ label, .has-content.effect-16 ~ label{top: -16px; font-size: 12px; color: rgb(60, 61, 55); transition: 0.3s;}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

#title {
  position: fixed;
  left: 0%;
  color: rgb(236, 223, 204);
  margin-top: 35px;
  margin-left: 75px;
  font-size: 54px;
  font-family: roboto;
  font-weight: 600;
}

#result {
  margin: 80px;
  position: fixed;
  top: 41%;
  left: 10%;
  font-family: roboto;
  font-weight: 600;
}

#kd {
  position: fixed;
  margin: 20px;
  width: 100%;
  top: 10%;
}

#wl {
  position: fixed;
  margin: 20px;
  width: 100%;
  top: 20%;
}

#hs {
  position: fixed;
  margin: 20px;
  width: 100%;
  top: 30%;
}

.button {
  top: 40%;
  margin: 80px;
  position: fixed;
  align-items: center;
  background: rgb(60, 61, 55);
  border: 0 solid #E2E8F0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  color: #ffffff;
  display: inline-flex;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  height: 56px;
  justify-content: center;
  line-height: 24px;
  overflow-wrap: break-word;
  padding: 24px;
  text-decoration: none;
  width: auto;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#titlebox {
  left: -3%;
  top: -1%;
  position: fixed;
  height: 10%;
  width: 200%;
  background-color: rgb(30, 32, 30);
}

#average {
  left: 2%;
  top: 57%;
  position: fixed;
  margin-left: 80px;
  color: rgb(30, 32, 30);
}

#valorant {
  top: 56.8%;
  left: 4.5%;
  position: fixed;
}

#average2 {
  left: 2%;
  top: 62%;
  position: fixed;
  margin-left: 80px;
  color: rgb(30, 32, 30);
}

#siege {
  top: 61.8%;
  left: 4.5%;
  position: fixed;
}

#average3 {
  left: 2%;
  top: 67%;
  position: fixed;
  margin-left: 80px;
  color: rgb(30, 32, 30);
}

#cs2 {
  top: 66.8%;
  left: 4.5%;
  position: fixed;
}

#warning {
  font-weight: 600;
  left: 0.2%;
  top: 72%;
  position: fixed;
  margin-left: 80px;
  color: rgb(30, 32, 30);
}


#bottombar {
  left: -3%;
  position: fixed;
  top: 93%;
  background-color: rgb(30, 32, 30);
  height: 20%;
  width: 200%;
  padding: 20px;
}

#text1 {
  font-family: roboto;
  font-size: small;
  top: 95%;
  left: 1%;
  position: fixed;
  color: rgb(105, 117, 101);
}

#text2 {
  font-family: roboto;
  font-size: small;
  top: 97%;
  left: 1%;
  position: fixed;
  color: rgb(105, 117, 101);
}

@media screen and (max-width: 900px)
{
  #title {
    position: fixed;
    color: rgb(236, 223, 204);
    margin-top: 15px;
    font-size: 40px;
    font-family: roboto;
    font-weight: 600;
    width: 100%;
  }
  
  #kd {
    position: fixed;
    margin: 20px;
    width: 100%;
    top: 10%;
  }

  #wl {
    position: fixed;
    margin: 20px;
    width: 100%;
    top: 20%;
  }

  #hs {
    position: fixed;
    margin: 20px;
    width: 100%;
    top: 30%;
  }

    /* necessary to give position: relative to parent. */
  input[type="number"]{font: 15px/24px 'Muli', sans-serif; color: rgb(105, 117, 101); width: 100%; box-sizing: border-box; letter-spacing: 1px;}

  :focus{outline: none;}

  .col-3{float: left; width: 80%; margin: 40px 3%; position: relative;} /* necessary to give position: relative to parent. */
  input[type="number"]{font: 15px/24px "Lato", Arial, sans-serif; color: rgb(105, 117, 101); width: 100%; box-sizing: border-box; letter-spacing: 1px;}

  .effect-16, 
  .effect-17, 
  .effect-18{border: 0; padding: 4px 0; border-bottom: 1px solid rgb(105, 117, 101); background-color: transparent;}

  .effect-16 ~ .focus-border{position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: rgb(60, 61, 55); transition: 0.4s;}
  .effect-16:focus ~ .focus-border,
  .has-content.effect-16 ~ .focus-border{width: 100%; transition: 0.4s;}
  .effect-16 ~ label{position: absolute; left: 0; width: 100%; top: 9px; color: rgb(105, 117, 101); transition: 0.3s; z-index: -1; letter-spacing: 0.5px;}
  .effect-16:focus ~ label, .has-content.effect-16 ~ label{top: -16px; font-size: 12px; color: rgb(60, 61, 55); transition: 0.3s;}

  #average {
    left: 0%;
    top: 65%;
    position: fixed;
    margin-left: 80px;
    color: rgb(30, 32, 30);
    font-size: small;
  }
  
  #valorant {
    top: 64.4%;
    left: 10%;
    position: fixed;
  }
  
  #average2 {
    left: 0%;
    top: 70%;
    position: fixed;
    margin-left: 80px;
    color: rgb(30, 32, 30);
    font-size: small;
  }
  
  #siege {
    top: 69.4%;
    left: 10%;
    position: fixed;
  }  

  .button {
    top: 37%;
    margin-left: 40px;
    position: fixed;
    align-items: center;
    background: rgb(60, 61, 55);
    border: 0 solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    color: #ffffff;
    display: inline-flex;
    font-family: Inter, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    line-height: 24px;
    overflow-wrap: break-word;
    padding: 24px;
    text-decoration: none;
    width: auto;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }

  #result {
    width: 100%;
    margin-left: 40px;
    position: fixed;
    top: 38%;
    left: 47%;
    font-family: roboto;
    font-weight: 600;
  }

  #average3 {
    left: 0%;
    top: 75%;
    position: fixed;
    margin-left: 80px;
    color: rgb(30, 32, 30);
    font-size: small;
  }
  
  #cs2 {
    top: 74.4%;
    left: 10%;
    position: fixed;
  }
  
  #warning {
    font-weight: 600;
    left: -8%;
    top: 80%;
    position: fixed;
    margin-left: 80px;
    color: rgb(30, 32, 30);
    font-size: small;
  }

}