/* tag selector */

body {
   left:0;
   right: 0;
   top: 0;
   bottom: 0;
   position: absolute;
   background: linear-gradient(124deg, #ff2400, #e81d1d, blue, #e3e81d, #1de840, #1ddde8, red, #dd00f3, #dd00f3);
   background-size: 1800% 1800%;
   -webkit-animation: rainbow 18s ease infinite;
   -z-animation: rainbow 18s ease infinite;
   -o-animation: rainbow 18s ease infinite;
   animation: rainbow 18s ease infinite;}
   @-webkit-keyframes rainbow {
      0%{background-position:0% 82%}
      50%{background-position:100% 19%}
      100%{background-position:0% 82%}
   }
   @-moz-keyframes rainbow {
      0%{background-position:0% 82%}
      50%{background-position:100% 19%}
      100%{background-position:0% 82%}
   }
   @-o-keyframes rainbow {
      0%{background-position:0% 82%}
      50%{background-position:100% 19%}
      100%{background-position:0% 82%}
   }
   @keyframes rainbow {
      0%{background-position:0% 82%}
      50%{background-position:100% 19%}
      100%{background-position:0% 82%}
}

h1 {
    color: rgba(65, 59, 244, 0.265);
    text-align: center;
    font-family: "Protest Riot", sans-serif;
    -webkit-text-stroke: .7px #ebebeb;
	text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.683);
}

p {
    color: black;
}

input {
    padding: 3%;
    border-radius: 5px;
    background-color: rgba(254, 254, 254, 0.708);
    border-width: 1px;
    border-top: 0cap;
    border-left: 0cap;
    border-right: 0cap;
    text-align: center;
    font-family: "Anta", sans-serif;
    font-weight: 400;
    font-style: normal;
}

button {
    font-family: "Protest Riot", sans-serif;
    font-size: large;
    -webkit-text-stroke: .7px #000000;
	text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.683);
    display: inline-block;
    outline: 0;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    font-size: 18px;
    height: 58px;
    width: 250px;
    margin-left: 300px;
    padding: 8px 24px;
    border-radius: 50px;
    background-image: linear-gradient(180deg, rgba(65, 59, 244, 0.265),#3c4fe0);
    box-shadow: 0 4px 11px 0 rgb(37 44 97 / 15%), 0 1px 3px 0 rgb(93 100 148 / 20%);
    transition: all .2s ease-out;
}button:hover{
    box-shadow: 0 8px 22px 0 rgb(37 44 97 / 15%), 0 4px 6px 0 rgb(93 100 148 / 20%);
}

/* class selector */

.form {
    background-color: rgb(233, 241, 241);
    outline: 2px;
    outline-color: rgba(0, 0, 0, 0.541);
    outline-style: solid;
    margin-top: 2.5%;
    margin-left: 25%;
    margin-right: 25%;
    margin-bottom: 2.5%;
    padding: 4%;
    padding-top: 1%;
    padding-bottom: 1%;
    box-shadow: 7px 7px rgba(0, 0, 0, 0.58);
    border-radius: 10px;
    font-family: "Long Cang", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: larger;
    text-align: center;
}

.view {
    display: flex;
}

.sideview {
    margin: 2%;
    padding: 8%;
    text-align: center;
}

.verticalLine {
    border-left: 1px solid rgba(51, 51, 51, 0.74);
    height: 300px;
    position:absolute;
    left: 50%;
}

/* id selector */

#display {
    width: 225px;
}

#totalWeightInGram {
    width: 225px;
}

#costPerGram {
    width: 225px;
}

#textSize {
    font-size: large;
}

#textSize3 {
    font-size: large;
    font-weight: 400;
}

#textSize2 {
    font-size: medium;
    margin-right: -100px;
    text-align: left;
}

#customerName {
    font-size: medium;
    margin-right: -180px;
    text-align: left;
    height: 10px;
}

#customerPhone {
    font-size: medium;
    margin-right: -180px;
    text-align: left;
    height: 10px;
}

#gold_logo {
    width: 300px;
    margin-left: -20px;
}

#silvercalculator {
    margin-top: 25px;
}

body {
  padding-bottom: 10px;
  position: relative; /* not absolute */
}