body {
  margin: 0;
  background-repeat: no-repeat;
  background-size: 100%;
}

#header {
  background-color: crimson;
  color: white;
  width: 100%;
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 50px 10px 50px;
  transition: .5s;
}

#openButton:hover {
  color: black;
}

#container {
  position: relative;
  top: 50px;
  height: 100%;
}

.follow p {
  float: center;
  font-size: 18px;
  word-spacing: 5px;
}

.follow a {
  text-decoration: none;
  color: white;
}

.follow a:hover {
  color: black;
}

.box {
  background-color: #3d4543;
  width: 400px;
  position: relative;
  left: 36%;
  height: 500px;
  border-radius: 10px;
  box-shadow: 8px 8px 15px black;
}

.display {
  width: 360px;
  background-color: black;
  height: 60px;
  position: relative;
  top: 25px;
  left: 20px;
  border-radius: 5px;
}

.display input {
  width: 350px;
  height: 50px;
  position: relative;
  top: 2px;
  left: 3px;
  line-height: 50px;
  background-color: #bccd95;
  font-size: 35px;
  text-align: right;
  color: black;
}

.keys button {
  width: 60px;
  height: 50px;
  font-size: 20px;
  border-radius: 1px;
  position: relative;
  left: 20px;
  top: 30px;
  color: white;
  margin-right: 10px;
}

.button-black {
  background-color: #303030;
  border-color: #3d4543;
}

.button-black:active {
  border-top: black 2px solid;
  border-bottom: #303030 2px solid;
}

.button-pink {
  background-color: crimson;
  border-color: #3d4543;
  color: white;
}

.button-pink:active {
  border-top: black 2px solid;
  border-bottom: #ff4561 2px solid;
}

#brand {
  font-family: sans-serif;
  color: white;
  display: block;
  text-align: center;
  position: relative;
  top: 15px;
}

#solar input {
  position: relative;
  top: 35px;
  width: 100px;
  height: 25px;
  background-color: black;
  margin-left: 22px;
  border-style: outset;
  border-color: #3d4543;
}

#equals {
  background-color: snow;
  color: black;
  border-color: #3d4543;
}

#equals:active {
  border-top: black 2px solid;
  border-bottom: black 2px solid;
}

#on {
  background-color: gray;
  border-color: #3d4543;
  color: red;
}

#sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1;
  overflow-x: hidden;
  background-color: #111;
  transition: 0.5s;
}

#sidebarContent {
  position: absolute;
  top: 60px;
  
}
.sidebarHeadings {
  display: block;
  padding: 10px 10px 10px 30px;
  font-size: 25px;
  color: white;
  transition: .3s;
}

#sidebar a {
  display: block;
  padding: 10px 10px 10px 60px;
  font-size: 17px;
  color: #818181;
  font-family: Helvetica;
  text-decoration: none;
  transition: .3s;
}

#sidebar a:hover {
  color: #f1f1f1;
}

#sidebar .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 36px;
  background-color: black;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 50%;
  text-decoration: none;
  color: #818181;
  transition: transform 2s;
  cursor: pointer;
}

#sidebar .close:hover {
  color: white;
  transform: rotate(180deg);
}

#main {
  transition: .5s;
  margin-top: 80px;
}

#sidebarRight {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 2;
  overflow-x: hidden;
  background-color: #111;
  transition: 0.5s;
  padding-top: 60px;
}

#sidebarRight .close {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 36px;
  background-color: black;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 50%;
  text-decoration: none;
  color: #818181;
  transition: transform 2s;
}
#sidebarRight .close:hover {
  color: white;
  transform: rotate(180deg);
}

#sidebarRightHeading {
  position: absolute;
  top: 0;
  left: 70px;
  padding: 17px 10px 10px 0px;
  color: #818181;
  font-family: Helvetica;
  font-size: 25px;
}

#sidebarRightContent {
  margin: auto;
  display: block;
  margin-top: 50px;
  margin-bottom: 80px;
  transition: .5s;
}
#sidebarRightContent label {
  display: block;
  text-align: center;
  color: white;
  font-size: 17px;
  margin: 18px 0px 18px 0px;
  font-family: Helvetica;
}

#sidebarRightContent input {
  display: block;
  margin: auto;
  height: 30px;
  width: 200px;
  font-size: 17px;
  font-weight: bold;
  font-family: Helvetica;
  padding: 0px 10px 0px 10px;
}

#sidebarRightContent button {
  margin:auto;
  display: block;
  padding: 7px 7px 7px 7px;
  font-size: 16px;
  margin-top: 30px;
  font-family: Helvetica;
  cursor: pointer;
  color: white;
  background-color: #F44336;
  float: center;
}
#resultOfBMI {
  margin:auto;
  display: block;
  font-family: Helvetica;
  margin-top: 30px;
  color: white;
  font-size: 18px;
  text-align: center;
}
#heightBlock span {
  color: yellow;
  display: block;
  text-align: center;
  margin-top: 20px;
}
#percentageBlock #answer {
  width: 90px;
  margin-top: 30px;
  float: right;
  margin-right: 70px;
  display: inline;
}
#percentageBlock #Answer {
  width: 90px;
  margin-top: 30px;
  float: right;
  margin-right: 70px;
  display: inline;
}
#percentageBlock #percentageCalculate {
  display: inline;
  margin-left: 65px;
}
#percentageBlock #calculatePercentage {
  display: inline;
  margin-left: 65px;
}
#bodyType {
  margin:auto;
  display: block;
  font-family: Helvetica;
  margin-top: 10px;
  color: white;
  font-size: 20px;
  text-align: center;
  color: yellow;
}
hr { 
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #818181;
  width: 250px;
} 
#scientificBlock input {
  margin: auto;
  margin-bottom: 20px;
}
#scientificBlock button {
  display: inline;
  float: center;
  width: 70px;
  margin-left: 20px; 
}
#scientificBlock .marginButton {
  margin-left: 40px;
}
#scientificBlock #scientificAnswer {
  color: yellow;
  background-color: #111;
}
#scientificBlock #clearButton {
  position: absolute;
  top: 166px;
  right: 65px;
  color: white;
  background-color: red;
  width: 20px;
  height: 30px;
  font-size: 13px;
  padding: 0px;
  cursor: pointer;
  border: none;
}
/* .............................Responsive web page .......................................................................................................................................................................................*/

@media screen and (max-width: 1060px) {
  #container {
    width: 100%;
  }
  #header {
    width: 100%;
  }
}


/* Tabled Portrait */

@media screen and (max-width: 768px) {
  body {
    width: 100%;
  }
  #container {
    width: 100%;
  }
  #header {
    width: 100%;
    margin: 0;
    border: none;
  }
  .box {
    width: 310px;
    position: relative;
    margin-top: 30px;
    left: 15px;
    margin: 10px auto;
    height: 400px;
    border-radius: 10px;
    box-shadow: 8px 8px 15px black;
  }
  .display {
    width: 270px;
    background-color: black;
    height: 50px;
    position: relative;
    top: 25px;
    left: 20px;
    border-radius: 5px;
  }
  .display input {
    width: 256px;
    height: 35px;
    position: relative;
    top: 5px;
    left: 5px;
    background-color: #bccd95;
    font-size: 35px;
    text-align: right;
    color: black;
  }
  .keys input {
    width: 46px;
    height: 40px;
    font-family: monospace;
    font-size: 15px;
    border-radius: 1px;
    position: relative;
    left: 20px;
    top: 30px;
    margin-right: 5px;
  }
  .follow p {
    margin-left: 5px;
  }
  #headericon {
    float: left;
    margin-left: 10px;
    margin-down: 10px;
  }
  body {
    margin: 0;
    padding: 0;
  }
  #solar input {
    width: 90px;
  }
}


/*mobile screen*/

@media screen and (max-width: 350px) {
  body {
    width: 100%;
  }
  #container {
    width: 100%;
  }
  #header {
    width: 100%;
    margin: 0;
    border: none;
  }
  #header {
    height: 50px;
  }
  .box {
    width: 290px;
    position: relative;
    margin-top: 30px;
    left: 3px;
    margin: 10px auto;
    height: 400px;
    border-radius: 10px;
    box-shadow: 8px 8px 15px black;
  }
  .display {
    width: 250px;
    background-color: black;
    height: 50px;
    position: relative;
    top: 25px;
    left: 20px;
    border-radius: 5px;
  }
  .display input {
    width: 236px;
    height: 35px;
    position: relative;
    top: 5px;
    left: 5px;
    background-color: #bccd95;
    font-size: 35px;
    text-align: right;
    color: black;
  }
  .keys input {
    width: 44px;
    height: 40px;
    font-family: monospace;
    font-size: 15px;
    border-radius: 1px;
    position: relative;
    left: 20px;
    top: 30px;
    margin-right: 5px;
  }
  .follow p {
    margin-left: 5px;
  }
  #headericon {
    float: left;
    margin-left: 10px;
    font-size: 10px;
  }
  body {
    margin: 0;
    padding: 0;
  }
  #solar input {
    width: 70px;
    height: 20px;
  }
}
/* Selected text attributes */
#main::-moz-selection { color: white; background-color: crimson;}
#main::selection { color: white; background-color: crimson;}
/* To hide spinbox in input type button */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}
/* To make calculator buttons text unselectable */
.box, .close {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.article {
  font-family: Arial, Helvetica, sans-serif;
  padding: 10%;
}