﻿@import url("css2-Quicksandwght300400700_swap.css");
@import url("css2-Poppinswght100300700_swap.css");

:root {
  --foreground-color: #fff;
  --background-color: #121212;
  --danger-color: #f08686;
  --purple: #9966ff;
  --purple-lighter: #9966ff;
  --gray: #272727;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  color: var(--foreground-color);
  width: 100%;
  margin: 0;
  background-color: var(--background-color);
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  width: 100%;
}

.logo img {
  height: 32px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--foreground-color);
  margin-bottom: 0;
}

h2 {
  font-size: 2rem;
}

input {
  all: unset;
  padding: 12px 16px;
  background: #f9f4ff;
  border: 1px solid var(--purple);
  border-radius: 4px;
  width: 50%;
}
table {
  width: 100%;
}
td {
  border-bottom: 1px solid black;
}

button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  gap: 10px;
  color: white;
  border: 1px solid var(--purple);
  border-radius: 4px;
  background: var(--purple);
  text-transform: uppercase;
}

button:hover {
  background: #9150e0;
  color: var(--background-color);
  cursor: pointer;
  transition: 0.9s;
}
p {
  max-width: 90%;
  margin-bottom: 4em;
}
select {
  padding: 1em;
}
textarea {
  margin-bottom: 5em;
}

#erc-info {
  margin-left: 1em;
  width: 100%;
}
#kondor-info {
  margin-left: 1em;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 1em 0;
  background-color: var(--background-color);
  color: var(--foreground-color);
  font-weight: 300;
  border-bottom: 1px solid var(--background-color);
  width: 100%;
}

.footer {
  padding: 2em 0em;
  color: #d1d1d1;
  font-weight: 300;
  border-top: 1px solid var(--background-color);
  width: 100%;
  text-align: center;
}

.footer > div > a {
  color: white !important;
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 2em;
}
.mini-card {
  column-gap: 1em;
}
.mini-card .title {
  font-weight: 700;
  display: flex;
  column-gap: 8px;
}
.bold {
  font-weight: 700;
}

.padding-1 {
  padding: 1em;
}

.padding-2 {
  padding: 2em;
}

.padding-3 {
  padding: 3em;
}

.right-text {
  margin-left: 3em;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 2em;
  width: 100%;
}
.input-group-2 {
  display: flex;
  flex-direction: row;
  gap: 1em;
  width: 100%;
}
.input-group-2 input {
  width: 100%;
}
.right .title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 0.5em;
}
.group {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.center {
  text-align: center;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.flow {
  padding: 0.8rem;
  border: none;
}

.flow-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 81%;
  position: absolute;
  bottom: 24px;
}
.flow img {
  width: 20%;
}
.modal-button {
  width: 100%;
  text-align: right;
  cursor: pointer;
  color: var(--purple);
  text-decoration: underline;
}
.counter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 1em;
  margin-bottom: 1em;
  width: 100%;
}
.step {
  background: #d4d4d4;
  width: 3em;
  height: 3em;
  text-align: center;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #121212;
}
.active {
  background: var(--purple-lighter);
  color: white;
}

.info {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1em;
  font-weight: 300;
  margin-bottom: 1em;
  width: 100%;
}
.info .title {
  font-weight: 700;
  margin: 0.5em 0;
}
.align-right {
  text-align: right;
}
.messages {
  font-weight: 300;
  margin: 1em;
  top: 0;
  padding: 0.2em 3em;
  text-align: center;
  color: rgb(226, 53, 23);
}
.payer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.payer input {
  width: 100%;
}
.payer-link {
  text-decoration: underline;
  color: var(--purple);
  cursor: pointer;
  right: 0;
  text-align: right;
}
.payer p {
  margin: 0;
}
.payer-input {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 25%;
  gap: 1em;
  margin-top: 1em;
  text-align: left;
}
.payer-input button {
  padding: 0.9em 2em;
}
.disclaimer {
  padding: 0.5em 1em;
  background: red;
  color: white;
  text-align: center;
  font-weight: 700;
  position: relative;
}
.sm-column {
  max-width: 500px;
}

.hide {
  display: none !important;
}

.console {
  font-family: monospace;
  white-space: break-spaces;
  margin: 1em 0em;
  max-width: 100%;
  background: black;
  color: white;
  padding: 1em;
}

.eth-message {
  word-break: break-all;
  color: fuchsia;
}

.button-85 {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: var(--foreground-color);
  background: #000;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 4px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  font-size: 1.2em;
  font-weight: lighter;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 4px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--background-color);
  left: 0;
  top: 0;
  border-radius: 4px;
}

@media (max-width: 70em) {
  .header {
    flex-direction: column;
  }
  .info {
    flex-direction: column;
    row-gap: 1em;
    margin-top: 1em;
  }
  .right {
    padding-left: 0.5em;
    margin-top: 2em;
  }
  #erc-info,
  #koinos-info {
    min-height: 0;
  }
}

/* CARD */

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1em;
  border: 1px solid var(--purple);
  border-radius: 4px;
  background: rgba(217, 217, 217, 0.1);
  color: var(--foreground-color);
  font-weight: 300;
  margin: 1em;
  position: relative;
  padding: 2em 3em 2em 3em;
  min-height: 25em;
}

input {
  color: var(--background-color);
}
.card .group {
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  width: 100%;
}
.toggle-group input {
  -webkit-appearance: none;
  position: relative;
  width: 20px;
  height: 4px;
  border-radius: 25px;
  background-color: #ccc;
  transition: background 0.3s;
  outline: none;
  cursor: pointer;
  border: none;
}
.toggle-group input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  height: 1.4rem;
  width: 1.4rem;
  background-color: white;
  transition: left 0.4s;
}
.toggle-group input:checked {
  background-color: #27ae60;
}
.toggle-group input:checked::after {
  left: 70%;
}
.toggle-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  width: 100%;
  font-size: 0.8em;
  justify-content: flex-end;
  float: right;
  position: relative;
  margin-bottom: 2em;
}
.left {
  justify-content: flex-start;
}
.heading {
  font-size: 2em;
  font-weight: 700;
}

.radio {
  margin: 0.5rem;
}
.radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.radio input[type="radio"] + .radio-label:before {
  content: "";
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}
.radio input[type="radio"]:checked + .radio-label:before {
  background-color: #3197ee;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type="radio"]:focus + .radio-label:before {
  outline: none;
  border-color: #3197ee;
}
.radio input[type="radio"]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio input[type="radio"] + .radio-label:empty:before {
  margin-right: 0;
}

.bg-animate {
  background: linear-gradient(315deg, #ec093a, #be1616, #f62500, #d80808);
  background-size: 1000% 1000%;
  -webkit-animation: AnimateBg 6s ease infinite;
  -moz-animation: AnimateBg 6s ease infinite;
  -o-animation: AnimateBg 6s ease infinite;
  animation: AnimateBg 6s ease infinite;
}
@-webkit-keyframes AnimateBg {
  0% {
    background-position: 0% 63%;
  }
  50% {
    background-position: 100% 38%;
  }
  100% {
    background-position: 0% 63%;
  }
}
@-moz-keyframes AnimateBg {
  0% {
    background-position: 0% 63%;
  }
  50% {
    background-position: 100% 38%;
  }
  100% {
    background-position: 0% 63%;
  }
}
@-o-keyframes AnimateBg {
  0% {
    background-position: 0% 63%;
  }
  50% {
    background-position: 100% 38%;
  }
  100% {
    background-position: 0% 63%;
  }
}
@keyframes AnimateBg {
  0% {
    background-position: 0% 63%;
  }
  50% {
    background-position: 100% 38%;
  }
  100% {
    background-position: 0% 63%;
  }
}
