*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid black; */
}

/**********************
Global HTML ELEMENT
**********************/
a{
  text-decoration: none;
}
input:focus{
  outline: none;
}
/**********************
Utilities
**********************/
.ml-30{
  margin-left: 30px;
}
.ml-42{
  margin-left: 42px;
}
header,.record,footer{
  width: 1024px;
  margin: 0 auto;
}

/**********************
header
**********************/
header{
  height: 300px;
  background-color: #424242;
  position: relative;
}
.BMI-logo{
  width: 117px;
  height: 117px;
  position: absolute;
  left: 173px;
  top: 92px;
}
.BMI-logo img{
  width: 100%;
  height: 100%;
}
.input-section{
  position: absolute;
  width: 250px;
  height: 65px;
}
.height{
  top: 74px;
  left: 387px;
}
.weight{
  top: 162px;
  left: 387px;
}
.input-title{
  display: block;
  width: 70px;
  height: 18px;
  color: #FFD366 ;
  font-size: 18px;
}
.input-style{
  margin-top: 7px;
  width: 100%;
  height: 40px;
  padding: 8px 16px;
  font-size: 24px;
  border: 2px solid #FFD366;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.input-section ::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.5); 
}
.input-section input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.input-section input::-moz-placeholder{
  color: rgba(255, 255, 255, 0.5);
}
.input-section -ms-input-placeholder{
  color: rgba(255, 255, 255, 0.5);
}
.calculation{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  top: 92px;
  right: 214px;
  background-color: #FFD366;
  text-align: center;
  line-height: 120px;
  color: #424242;
  font-size: 24px;
  z-index: 1;
}
.calculation:hover{
  background-color: #FFC432;
  opacity: 0.64;
}
.calculation:active{
  background-color: #DEA821;
}
.result{
  position: absolute;
  top: 89px;
  right: 213px;
  width: 123px;
  height: 123px;
  border: 6px solid;
  border-radius: 50%; 
  text-align: center;
  z-index: 0;
  opacity: 0;
}
.result-number{
  margin-top: 30px;
  margin-bottom: 2px;
  font-size: 32px;
  height: 38px;
}
.result-BMI{
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 14px;
}
.result-text{
  width: 150px;
  height: auto;
  text-align: left;
  display: inline-block;
  position: absolute;
  top: 30px;
  left: 150px;
  font-size: 32px;
}
.reset{
  position: absolute;
  bottom: 6px;
  left: 93px;
  width: 33px;
  height: 33px;
  line-height: 33px;
  border: 3px solid #424242;
  border-radius: 50%;
  text-align: center;
}
.reset:hover{
  transition: all 0.5s;
  transform: scale(1.1);
}


/**********************
record
**********************/
.record{
  height: auto;
  background-color: rgb(231, 231, 231);
  padding-bottom: 74px;
  text-align: center;
  overflow: hidden;
}
.record h1{
  margin-top: 48px;
  margin-bottom: 36px;
  display: inline-block;
  width: 105px;
  height: 24px;
  font-size: 24px;
  color: #424242;
}
.record-item{
  width: 624px;
  height: 62px;
  margin: 0 auto 16px auto;
  background-color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.item-mask{
  width: 7px;
  height: 100%;
  float: left;
}
.item-result{
  width: 80px;
  height: 62px;
  line-height: 62px;
  font-size: 20px;
  color: #4A4A4A;
  margin-left: 19px;
  text-align: center;
  float: left;
}
.item-section{
  width: 85px;
  height: 100%;
  float: left;
}
.title{
  width: auto;
  height: 62px;
  line-height: 62px;
  color: #424242;
  font-size: 12px;
}
.number{
  width: auto;
  height: 62px;
  line-height: 62px;
  margin-left: 7px;
  color: #4A4A4A;
  font-size: 20px;
}
.item-date{
  width: auto;
  height: 62px;
  line-height: 62px;
  color: #424242;
  font-size: 12px;
  margin-left: 52px;
  float: left;
}
.deleteBtn{
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  cursor: pointer;
}

/**********************
footer
**********************/
footer{
  height: 90px;
  background-color: #FFD366;
  text-align: center;
}
.footer-logo{
  width: 55px;
  height: 55px;
  display: inline-block;
  position: relative;
  margin-top: 18px;
  overflow:hidden;  
}
.logo-img{
  background-image: url(../images/BMICLogo.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  display: inline-block;
}
.footer-logo > .logo-img{
  filter: drop-shadow(55px 0 rgb(90, 87, 87)); 
  position: relative;
  left: -55px;
}

@media screen and (max-width: 1200px) {
  header,.record,footer{
    width: 100%;
  }
}
@media screen and (max-width: 992px) {
  .BMI-logo {
    left: 53px;
  } 
  .height ,.weight{
    left: 200px;
  }
  .calculation ,.result{
    right: 170px;
  }
}
@media screen and (max-width: 768px) {
}
@media screen and (max-width: 680px) {
  .BMI-logo {
    left: 23px;
  }
  .input-section {
    width: 220px;
  }
  .height, .weight {
    left: 160px;
  }
  .calculation, .result {
    right: 130px;
  }
}
@media screen and (max-width: 568px) {
  .input-section {
    width: 160px;
  }
  .calculation, .result {
    right: 120px;
  }
  .record-item {
    width: 520px;
  }
  .ml-30 {
    margin-left: 10px;
  }
  .ml-42 {
    margin-left: 15px;
  }
  .item-date {
    margin-left: 32px;
  }
}
@media screen and (max-width: 480px) {
  header {
    height: 450px;
  }
  .BMI-logo {
    width: 90px;
    height: 90px;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
  }
  .input-section {
    width: 260px;
  }
  .height {
    top: 120px;
  }
  .weight {
    top: 200px;
  }
  .height, .weight {
    left: 50%;
    transform: translateX(-50%);
  }
  .calculation, .result {
    top: 300px;
    right: 60%;
  }
  .record-item {
    width: 350px;
    height: 124px
  }
  .item-section {
    height: 62px;
  }
  .item-result {
    margin-left: 60px;
  }
  .ml-30 {
    margin-left: 40px;
  }
  .ml-42 {
    margin-left: 30px;
  }
  .item-date {
    margin-left: 32px;
  }
  .deleteBtn {
    top: 25%;
    right: 15px;
  }
}
@media screen and (max-width: 320px) {
  .record-item {
    width: 310px;
  }
  .ml-42 {
    margin-left: 15px;
  }
  .item-date {
    margin-left: 30px;
  }
  .deleteBtn {
    right: 3px;
  }
}