/* @import url("./bootstrap.min.css"); */
@import url("./all.min.css");
@import url("./global.css");

header {
  padding: 30px 0;
  background-color: var(--primary-color);
  z-index: 2 !important;
}
.header-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

header a {
  color: var(--menu-color);
  text-decoration: none;
}

.main-nav {
  background-color: var(--primary-color);
}

.hamburger {
  display: none;
}

.hamburger button {
  background: transparent;
  border: none;
  font-size: 15px;
  color: var(--menu-color);
}

.logo {
  font-size: 18px;
  color: #feffff;
}

.logo img {
  width: 120px;
}

header li:hover {
  background-color: var(--secondary-color);
}

.navbar {
  letter-spacing: 1px;
}

.user i {
  padding: 5px;
  border: 1px var(--menu-color) solid;
  border-radius: 50%;
  cursor: pointer;
  color: var(--menu-color);
}

.user hr {
  border: 1px #ccc solid;
}

.user-btn {
  background-color: transparent;
  border: none;
}

.profile-menu {
  width: 100px;
  padding: 10px 0;
  box-shadow: 2px 2px 5px #ccc;
  position: absolute;
  top: 60px;
  right: 100px;
  background: var(--secondary-color);
  z-index: 2;
}

.profile-menu ul {
  padding: 0;
}

.profile-menu li {
  padding: 10px 0 10px 10px;
  list-style: none;
}

.profile-menu li:hover {
  background-color: var(--primary-color);
}

.header-wrapper .hidden {
  display: none;
}

header sup {
  color: var(--menu-color);
}

/********************** Login/register **********************/
#login {
  width: 100%;
  height: 100vh;
  /* background: var(--secondary-color); */
  background: url(../img/bg-3.png);
  background-position: center;
  background-size: cover;
  position: relative;
}

.signup-heading {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
}

.signup-heading h1 {
  font-size: 25px;
  color: var(--secondary-color);
}
.signup-heading h3 {
  padding-top: 10px;
  font-size: 18px;
  color: var(--secondary-color);
}

.login-wrapper {
  width: 100%;
  padding-top: 100px;
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.login-form {
  max-width: 350px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
}

.login-form:hover {
  box-shadow: 1px 7px 6px 0px rgba(0, 0, 0, 0.36);
}

.login-form .title {
  padding: 10px 5px;
  border-left: 2px var(--primary-color) solid;
  margin-bottom: 40px;
  font-weight: 300;
  font-size: 30px;
}

.login-form p {
  margin-top: 20px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}

.login-form a {
  color: var(--primary-color);
}

.agreement {
  display: flex;
  font-size: 10px;
  padding: 10px 0;
}
.agree-text {
  line-height: 15px;
  margin-left: 10px;
}
.agreement input {
  border: 1px var(--primary-color) solid;
}

/* *********************Quick links*********************** */
#quick-link {
  width: 100%;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qlink {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.qlink a {
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.qlink a:hover {
  background: var(--secondary-color);
  color: var(--menu-color);
}

.qlink i {
  font-size: 20px;
}

.qlink span {
  padding: 10px 0;
  text-transform: uppercase;
}

.qlink-send,
.qlink-receive {
  cursor: pointer;
}

#my-coin {
  width: 100%;
  padding: 20px 0px;
  display: flex;
  justify-content: center;
}

.coin-li {
  display: flex;
  align-items: center;
}

.coin-li .icon {
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--secondary-color);
}

.coin-li .icon img {
  width: 100%;
}

.coin-li i {
  font-size: 16px;
}

.coin-info {
  margin-left: 10px;
}

.coin-info div,
.trans-info span {
  color: var(--secondary-color);
  font-weight: bold;
  padding-bottom: 5px;
}

.coin-info p,
.trans-info p {
  color: var(--secondary-color);
}

.usd-val {
  position: absolute;
  top: 30%;
  right: 12px;
}

.selection {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding-top: 40px;
  z-index: 1;
}

.selection::after {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.9;
  z-index: 3;
}

.selection-wrapper {
  z-index: 4;
  width: 400px;
  position: relative;
}

.close-select-coin {
  position: absolute;
  font-size: 18px;
  right: 10px;
  padding: 10px;
  transform: translateY(0);
  /* color: red; */
  background: transparent;
  border: none;
}

/* ***************wallet info*************** */
#jumbotron {
  width: 100%;
  padding: 50px 0 30px 0;
  background: var(--primary-color);
}

.jumbotron {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.jumbotron img {
  width: 40px;
}

.jumbotron h3 {
  padding: 10px 0;
  font-weight: 400;
  color: var(--menu-color);
}
.jumbotron p {
  padding-top: 5px;
  font-weight: 400;
  color: var(--menu-color);
}

#no-transaction {
  width: 100%;
  padding: 50px 0 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sent i {
  color: red;
}

.received i {
  color: green;
}

/* ***************profile*************** */
#profile {
  width: 100%;
  padding: 100px 0px;
  display: flex;
  justify-content: center;
}

.profile-wrapper {
  width: 500px;
}

.profile-li {
  display: flex;
  align-items: center;
}

.profile-li .icon {
  border-radius: 50%;
  height: 40px;
  width: 40px;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--menu-color);
}

.profile-li i {
  font-size: 16px;
}

.profile-info {
  margin-left: 10px;
}

.profile-info div {
  color: var(--primary-color);
  font-weight: bold;
  padding-bottom: 5px;
}

.profile-info p {
  color: var(--primary-color);
}

.pin-code-update {
  width: 70px;
  margin: auto;
}

/* *****************send-receive****************** */
#send-receive {
  width: 100%;
  padding: 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-send-pin {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  padding-top: 100px;
  z-index: 1;
}

.input-send-pin::after {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.9;
  z-index: 3;
}

.input-send-pin-wrapper {
  z-index: 4;
  width: 400px;
  position: relative;
}

.receive-address {
  padding: 0 25px 0 5px;
  border-radius: 5px;
  /* width: 350px; */
  background: #f8f8f8;
  position: relative;
}

.receive-address textarea {
  font-size: 13px;
  background: transparent;
  border: none;
  width: 100%;
  min-height: 30px;
  margin: 0;
  font-family: inherit;
  word-wrap: break-word;
  overflow: hidden;
  resize: none;
  padding: 10px 0;
}

.receive-address button {
  color: var(--primary-color);
  background: transparent;
  border: none;
  font-size: 18px;
  padding: 5px;
  position: absolute;
  top: 0;
  right: 2px;
}

.receive-address button:active {
  transform: scale(0.95);
}
/*************** widgets*************** */
#chart-sect {
  padding-left: 0;
  position: relative;
}
#chart-btn {
  position: absolute;
  width: 150px;
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  align-items: center;
  background-color: #fdfdfd;
  transform: translateX(-150px);
  box-shadow: 1px 3px 3px 0px rgba(131, 131, 131, 0.36);
}

.chart-btn-close {
  padding: 0;
  position: absolute;
  top: 800px;
  left: 40px;
  background-color: transparent;
  border: none;
  color: #ff4a9d;
  font-size: 16px;
  animation: dance 1s infinite;
}

@keyframes dance {
  0% {
    top: 100px;
    color: #ff4a9d;
  }
  50% {
    top: 105px;
    color: #451175;
  }
  100% {
    top: 100px;
    color: var(--primary-color);
  }
}

#chart-btn button {
  width: 130px;
  font-size: 10px;
  padding: 10px 0;
  margin: 10px 0;
  font-family: inherit;
}

#live-rate {
  width: 100%;
  height: 80vh;
  position: relative;
}

#live-rate::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

#live-rate .top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #fff;
  z-index: 1;
}

/* ******loader******************************* */

.loader {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  margin: auto;
  display: none;
  align-items: center;
  justify-content: center;
}
.loader::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #f1f1f1;
  opacity: 0.9;
  z-index: 4;
}

.loader .inner {
  animation: rotate 1s linear infinite;
  z-index: 5;
}

.loader img {
  width: 40px;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(90deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(270deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/******************SWAP************************/
.swap-option select{
  padding: 7px 0;
  border: 1px #ccc solid;
  width: 23%;
  text-transform: uppercase;
}

.swap-option input{
  padding: 7px 0;
  border: 1px #ccc solid;
  width: 72%;
}

.swap-option h2{
  margin-bottom: 30px;
}

.swap-option button{
  width: 95%;
}

.from-div, .to-div{
  margin-bottom: 30px;
}


.preview-result{
  text-align: center;
  padding: 20px;
}

.preview-result p{
  padding-top: 30px;
}
.preview-result .swap-prev{
  padding: 10px 0 20px 0;
}

.preview-result .swap-amt{
  font-size: 23px;
  letter-spacing: 2px;
}

.swap-result-coin{
  text-transform: uppercase;
}

.swap-loader{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swap-loader::after{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: .7;
  z-index: 4;
}


/* ******************Media query************** */
@media only screen and (max-width: 768px) {
  .profile-menu {
    right: 50px;
  }
}

@media only screen and (max-width: 600px) {
  body {
    font-size: 12px;
  }
  .profile-menu {
    right: 10px;
  }

  .hamburger {
    display: block;
  }

  .logo img {
    width: 120px;
  }

  .navbar {
    display: none;
  }

  .nav-name{
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 60px;
    width: 100%;
    padding: 10px;
    margin: auto;
    text-align: center;
    z-index: 2;
  }

  .login-form {
    max-width: 90%;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
  }

  .signup-heading h1 {
    font-size: 19px;
  }
  .signup-heading h3 {
    font-size: 15px;
  }

  .profile-wrapper {
    width: 300px;
  }

  .selection-wrapper {
    width: 300px;
  }

  #chart-sect {
    padding-left: 0;
  }
  #chart-btn {
    transform: translateX(-150px);
  }

  #chart-btn button {
    text-transform: uppercase;
    font-size: 10px;
    padding: 5px 5px;
  }

  .chart-btn-close {
    left: 10px;
  }

  .input-send-pin-wrapper {
    width: 300px;
  }
}
