body {
  font-family: "Montserrat", sans-serif;
  background-color: #222831;
  position: relative;
}

.appWrapper {
}

.icon-background {
  position: absolute;
  bottom: 0px;
  right: 0px;
  overflow: hidden;
}

.icon-background img {
  height: 300px;
  width: auto;
  margin-right: -50px;
  margin-bottom: -50px;
}

.appWrapper .appHeader {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.appWrapper .appHeader img {
  height: 60px;
  margin-right: 15px;
}

.appWrapper .appHeader h1 {
  color: white;
  font-weight: bold;
  font-size: 32px;
}

.content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.content .left {
  width: 65%;
  margin-right: 5%;
}

.content .coins-wrapper {
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #306fe7;
  margin-bottom: 20px;
}

.content .right {
  width: 30%;
}

@media (max-width: 992px) {
  .appWrapper .appHeader h1 {
    margin-top: 30px;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .content .left {
    width: 100%;
    margin-right: 0%;
    margin-bottom: 30px;
  }

  .content .right {
    width: 100%;
    padding-bottom: 40px;
  }
}

#coin {
  position: relative;
  margin: 0 auto;
  width: 300px;
  height: 300px;
  cursor: pointer;
}
#coin div {
  width: 100%;
  height: 100%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.3),
    0 12px 20px -10px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.3),
    0 12px 20px -10px rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 0 45px rgba(255, 255, 255, 0.3),
    0 12px 20px -10px rgba(0, 0, 0, 0.4);
}
.side-a {
  background: url("/assets/images/coin-1.svg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.side-b {
  background: url("/assets/images/coin-2.svg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#coin {
  transition: -webkit-transform 1s ease-in;
  -webkit-transform-style: preserve-3d;
}
#coin div {
  position: absolute;
  -webkit-backface-visibility: hidden;
}
.side-a {
  z-index: 100;
}
.side-b {
  -webkit-transform: rotateY(-180deg);
}

#coin.heads {
  -webkit-animation: flipHeads 3s ease-out forwards;
  -moz-animation: flipHeads 3s ease-out forwards;
  -o-animation: flipHeads 3s ease-out forwards;
  animation: flipHeads 3s ease-out forwards;
}
#coin.tails {
  -webkit-animation: flipTails 3s ease-out forwards;
  -moz-animation: flipTails 3s ease-out forwards;
  -o-animation: flipTails 3s ease-out forwards;
  animation: flipTails 3s ease-out forwards;
}

@-webkit-keyframes flipHeads {
  from {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    transform: rotateY(0);
  }
  to {
    -webkit-transform: rotateY(1800deg);
    -moz-transform: rotateY(1800deg);
    transform: rotateY(1800deg);
  }
}
@-webkit-keyframes flipTails {
  from {
    -webkit-transform: rotateY(0);
    -moz-transform: rotateY(0);
    transform: rotateY(0);
  }
  to {
    -webkit-transform: rotateY(1980deg);
    -moz-transform: rotateY(1980deg);
    transform: rotateY(1980deg);
  }
}

.content .right .title {
  font-size: 28px;
  font-weight: bold;
  opacity: 0.4;
  color: white;
}

.trade {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 20px;
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.trade i {
  margin-right: 10px;
}

.trade .amount {
}

.trade.plus i {
  color: #7ae7a9;
}

.trade.minus i {
  color: #dc6c68;
}

.trade.plus .amount {
  color: #7ae7a9;
}

.trade.minus .amount {
  color: #dc6c68;
}

.net {
  color: white;
  font-size: 26px;
  font-weight: bold;
}

#netProfit.plus {
  color: #7ae7a9;
}

#netProfit.minus {
  color: #dc6c68;
}

.flipBtn {
  background-color: #306fe7;
  border: 1px solid #306fe7;
  color: white;
  font-size: 22px;
  font-weight: bold;
  padding: 12px 25px;
  text-align: center;
  width: 100%;
  border-radius: 10px;
  margin-bottom: 50px;
}

.flipBtn:hover {
  background-color: #222831;
  cursor: pointer;
  transition: 0.2s;
}

.flipBtn:disabled {
  opacity: 0.4;
}

.subHeader p {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: white;
  margin-top: 30px;
  color: #d6e9ff;
}

.take p {
  font-size: 18px;
  color: white;
}

.hidden {
  display: none !important;
}

.gif-wrapper {
  display: block;
  position: relative;
}

.gif-wrapper img {
  position: absolute;
  top: 0px;
  left: 0px;
}

.gif-wrapper .still {
  position: relative;
}

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: white;
  background-color: #222831 !important;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  z-index: 999;
}

.loader img {
  height: 1px;
  width: 1px;
  opacity: 0.01;
}
