body {
  font-size: 1em
}

body h1 {
  font-size: 2em
}

body h2,
body h3,
body h4,
body h5,
body h6 {
  font-size: calc(1em + (0.2em * (6 - var(--level))))
}

body h2 {
  --level: 2
}

body h3 {
  --level: 3
}

body h4 {
  --level: 4
}

body h5 {
  --level: 5
}

body h6 {
  --level: 6
}

body {
  font-size: 14px;
  background-color: #1d181b
}

.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 95%;
  max-width: 500px;
  padding: 24px 0
}

.header img {
  width: auto;
  height: 70px
}

.page-content {
  background-color: #0f0f1385;
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 95%;
  max-width: 500px;
  padding: 24px 0;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgb(0 0 0 / .2)
}

#message {
  font-size: 1.1em
}

.input-container {
  display: block;
  text-align: left;
  width: 100%
}

.input-container label {
  font-size: 16px;
  margin-bottom: 10px;
  display: block
}

.input-container input {
  padding: 12px;
  font-size: 16px;
  width: 100%;
  border: 2px solid #333;
  border-radius: 12px;
  background-color: #1d1d1f;
  color: #f5f5f5;
  box-sizing: border-box
}

.input-container input:focus {
  border-color: #1db4b6;
  outline: none
}

#symbol{
  color: #ff4d6d;
  font-weight: bold;
}

.select-device {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}

.select-device .device {
  background-color: #1d1d1f;
  border: 1px solid #1f1c1c;
  width: 100%;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px;
  gap: 6px;
  align-items: center;
  padding: 8px 6px;
  cursor: pointer;
  transition: all 0.3s ease
}

.select-device .device:hover {
  transform: scale(1.02);
  border: 1px solid #fe2c55;
  background-color: #ff4d6e7e
}

.select-device .device.selected {
  border: 1px solid #fe2c55;
  background-color: #ff4d6e7e
}

.select-device .device .device-icon svg {
  width: 35px;
  height: 35px
}

.action-button {
  padding: 12px 20px;
  background-color: #fe2c55;
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  width: 100%
}

.action-button:hover {
  background-color: #ff4d6d
}

.action-button:focus {
  outline: none
}

.custom-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  font-size: 1.1em;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease
}

.custom-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px)
}

#loadingGif {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / .7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#loading-gif {
  width: 100px;
  height: 100px
}

#modalContent{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / .7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background-color: #ffffffea;
  backdrop-filter: blur(2px);
  color: #252525;
  padding: 20px 10px;
  border-radius: 24px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.processContent {
  display: block;
}

.highlight {
  color: #258ad2;
  font-weight: 700
}

.errorHighlight {
  color: #fe2c55;
  font-weight: 700
}

.errorHighlight img {
  width: 20px;
  height: 20px;
  margin-bottom: 6px
}

#dynamic-content {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 12px
}

#verifyButton {
  animation: pulse 2s infinite
}

@keyframes pulse {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.01)
  }

  100% {
    transform: scale(1)
  }
}

.verifyContent {
  display: none
}

.verifyContent #paragraph {
  font-size: 1.1em;
  padding: 0 8px;
  font-weight: 500
}

#loading-gif-2 {
  width: 55px;
  height: 55px
}

.offers {
  text-decoration: none;
  color: #fff
}

.offer-load {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.offerplace {
  display: flex;
  align-items: center;
  background-color: #fe2c55;
  border: 2px solid #ff4d6d;
  border-radius: 12px;
  padding: 8px;
  gap: 8px;
  transition: background-color 0.3s, color 0.3s
}

.offerplace:hover {
  background-color: #ff4d6d
}

.offer-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  text-align: center
}

.offer-details #title {
  font-size: 1.1em;
  font-weight: 700;
  display: inline-block;
  max-width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center
}

.offer-details #desc {
  font-size: 0.9em;
  display: none;
  max-width: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

#inputValue {
  font-weight: 500;
  font-size: 1.2em;
  color: #fe2c55
}

.coin-container {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between
}

.coin-item {
  flex: 1 1 calc(50% - 10px);
  box-sizing: border-box;
  padding: 20px;
  background-color: #1d1d1f;
  border: 1px solid #1f1c1c;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgb(0 0 0 / .1);
  cursor: pointer;
  transition: all 0.3s ease
}

.coin-item:hover {
  transform: scale(1.02);
  border: 1px solid #fe2c55;
  background-color: #ff4d6e7e
}

.coin-item.selected {
  border: 1px solid #fe2c55;
  background-color: #ff4d6e7e
}

.coin-item .coin-amount svg {
  width: 25px;
  height: 25px
}

.coin-item .coin-amount {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: 700;
  gap: 6px
}

.coin-item .coin-amount svg {
  width: 25px;
  height: 25px
}

.coin-item p {
  margin: 0;
  font-size: 1.1em;
  color: #fff
}

.coin-item.custom {
  flex: 1 1 100%
}

.faq-container {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.faq-container .faq {
  padding: 4px 6px
}

.faq-container h2 {
  text-align: center
}

.faq-container h3 {
  color: #258ad2;
  font-size: 1.2em
}

.bgBlue {
  background-color: #258ad2
}

.bgtrans {
  background-color: #fff0;
  box-shadow: none
}

.footer {
  color: #fff;
  padding: 20px 0;
  text-align: center
}

.footer .links a {
  color: #fff;
  margin: 0 6px;
  text-decoration: none;
  font-size: 14px
}

.footer .links a:hover {
  text-decoration: underline
}

.footer .social-icons {
  margin-top: 15px
}

.footer .social-icons a {
  color: #fff;
  margin: 0 5px;
  font-size: 20px
}

.fab svg {
  width: 35px;
  height: 35px;
  background-color: #333;
  border: 1px solid #1f1c1c;
  padding: 4px
}

.footer .copyright {
  margin-top: 15px
}

.footer .copyright a {
  color: #bbb;
  text-decoration: none
}

.footer .copyright a:hover {
  text-decoration: underline
}

@media (min-width:600px) {
  .coin-item {
    flex: 1 1 calc(33.333% - 10px)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px)
  }

  to {
    transform: translateY(0)
  }
}