body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background: #e1e1e1;
  font-family: sans-serif;
  font-size: 16px;
}

/* Base Grid Layer */

#maincontainer {
  display: grid;
  grid-template: 80px auto / 80px auto;
  height: 100%;
  padding: 10px;
}
#topnav {
  background-color: #e1e1e1;
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  padding: 10px;
}
#sidebar {
  grid-row: 2 / 4;
  grid-column: 1 / 2;
  background-color: #e1e1e1;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
#maincontent {
  background-color: #fff;
  grid-row: 2 / 4;
  grid-column: 2 / 3;
  padding: 10px;
  border: 8px solid #e1e1e1;
  border-radius: 20px 0px 0px 0px;
}
#logowrapper {
  background-color: #e1e1e1;
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Sidebar Children Attributes*/

#profilepicdiv {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  bottom: 32px;
  left: 26px;
  position: fixed;
  cursor: pointer;
}

#clipboardbtn {
  background-color: #e2e2e2;
  border: none;
  color: black;
  padding: 6px 6px;
  cursor: pointer;
  border-radius: 6px;
}

#clipboardbtn:hover {
  background-color: #40f99b;
  box-shadow: 0 5px 5px #a3a3a3;
}

#clipboardbtn:active {
  box-shadow: #e1e1e1aa 0 4px 7px inset;
  transform: translateY(2px);
}

#tokencontainer {
  background-color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Courier New", Courier, monospace;
  font-weight: 500;
  padding: 12px;
  word-break: break-all;
  white-space: normal;
  width: 480px;
  height: 100px;
  position: relative;
}

#profilepopup {
  height: 300px;
  width: 500px;
  background-color: #aaaaaaee;
  border-radius: 6px;
  bottom: 80px;
  left: 80px;
  position: fixed;
  box-shadow: 0 5px 5px #a3a3a3;
  padding: 10px;
  display: none;
  z-index: 999;
}

#avatar {
  border-radius: 50%;
}

#copybutton {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 32px;
  width: 32px;
  cursor: pointer;
}

/* Sidebar Profile Popup Animation Class */

.animated {
  animation-duration: 2s;
  animation-fill-mode: both;
}
.fadeOut {
  animation-name: fadeOut;
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Error Div */
#errordiv {
  position: absolute;
  margin: 0 auto;
  height: 30px;
  left: 50%;
  display: none;
  align-items: center;
  transform: translate(-50%, -50%);
  bottom: 0;
  width: 60%;
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
  background-color: #f6bfb4;
  white-space: pre-wrap;
  font-family: monospace;
  box-shadow: 2px 2px 10px #999;
}

#bannermessage {
  font-family: "Nanum Pen Script", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  color: #0000ff;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04aa6d;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #04aa6d;
  cursor: pointer;
}

#sliderwrapper {
  width: 300px;
  display: inline-block;
}

#buttonwrapper {
  padding: 15px;
}

.checkbox {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.checkbox + label {
  position: relative;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 26px;
  color: rgb(0, 0, 0);
}

.checkbox + label::before {
  content: " ";
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
  width: 24px;
  height: 24px;
  background-color: white;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(204, 204, 204);
  border-radius: 4px;
  box-shadow: none;
}

.checkbox:checked + label::after {
  content: " ";
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjOWRjYjM5IiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center center;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
  left: 0px;
  top: 0px;
  text-align: center;
  background-color: transparent;
  font-size: 10px;
  height: 26px;
  width: 26px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switchknob {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #99cb39;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.switchknob:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .switchknob {
  background-color: #40bcd8;
}

input:focus + .switchknob {
  box-shadow: 0 0 1px #40bcd8;
}

input:checked + .switchknob:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.switchknob.round {
  border-radius: 34px;
}

.switchknob.round:before {
  border-radius: 50%;
}
