:root {
  --color-primary: #f9f6e6;
  --color-secondary: #faffc5;
  --color-tertiary: #e7fbb4;
  --color-primary-darker: #8e1616;
  --color-secondary-darker: #754e1a;
  --color-tertiary-darker: #cba35c;
  --color-opacity: #f9f6e6;
  --gradient-primary: linear-gradient(to top left, #39b385, #9be15d);
  --gradient-secondary: linear-gradient(to top left, #f2ae66, #ffcb03);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 12px;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #8e1616;
}
header {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 20px;
  background-color: var(--color-secondary);
}
header img {
  display: inline;
  width: 15px;
  height: 15px;
  margin: 0 30px;
}
header h1 {
  font-size: 70%;
  color: #8e1616;
  margin-left: -20px;
}
.dappsystem-container {
  margin: auto;
  width: 70%;
}
.div-header {
  margin-bottom: 20px;
  text-align: center;
}
.div-paragraph {
  text-align: center;
  color: var(--color-secondary-darker);
  font-size: 80%;
  line-height: auto;
}
.wallets-logo {
  width: 100px;
  height: 100px;
  border-radius: 25%;
  margin: 5px auto;
}
.wallets-div {
  width: 90%;
  display: grid;
  grid: auto / auto auto;
  justify-content: space-evenly;
  align-items: center;
  margin: auto;
}
.wallets-div div {
  margin-bottom: 30px;
}
.wallets-div p {
  text-align: left;
  color: var(--color-primary-darker);
  font-weight: 700;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 100;
  transition: all 0.5s;
}
.hidden {
  visibility: hidden;
  opacity: 0;
}
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 200px;
  max-width: 60rem;
  background-color: #f3f3f3;
  padding: 1.5rem 3rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
  border-radius: 10px;
}
.btn--close-modal {
  font-family: inherit;
  color: inherit;
  position: absolute;
  top: 0.2rem;
  right: 1rem;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  background: none;
}
.logo-div {
  place-items: center;
  -webkit-place-items: center;
}
.btn {
  width: auto;
  height: auto;
  margin: auto;
  max-width: 300px;
  margin-top: 20px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid red;
  background-color: var(--color-opacity);
  display: grid;
  grid: auto/ auto;
  align-content: center;
}
#connect-manually span {
  font-size: 80%;
  text-align: center;
  width: auto;
  color: red;
  display: block;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande',
    'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
#connect-manually button {
  width: auto;
  padding: 5px;
  background-color: var(--color-secondary-darker);
  border-radius: 5px;
  color: white;
  border: 1px solid white;
  margin: 10px auto auto;
}
#id-logo-div p {
  color: black;
  font-weight: 750;
  margin: auto;
  text-align: center;
}
#loader-div {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid;
  border-color: #000 #0000;
  animation: l3 0.5s infinite linear;
  margin: 30px auto 50px;
}

@keyframes l3 {
  to {
    transform: rotate(0.5turn);
  }
}
#loader-container span {
  font-size: 70%;
}
#modal-div {
  display: grid;
  grid: auto/ auto;
  align-content: center;
  align-items: center;
}

/* Form */
.form-div {
  height: auto;
  width: 300px;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60rem;
  background-color: #f3f3f3;
  padding: 1rem 1rem;
  box-shadow: 0 4rem 6rem rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
  border-radius: 10px;
  display: grid;
  align-content: center;
  grid: auto/ auto;
}
.btn-div {
  display: flex;
  justify-content: space-between;
  width: 250px;
  margin: auto;
  margin-bottom: 20px;
}
.operations__tab {
  width: auto;
  border: none;
  background-color: white;
}
.operations__tab--active {
  display: grid;
  border-bottom: 2px solid #754e1a;
  padding-bottom: 5px;
}

.operations__content {
  display: none;
}
.form-div {
  max-width: 100rem;
  margin: 12rem auto 0 auto;

  background-color: #fff;
}
form {
  display: grid;
  grid: auto/ auto;
  align-content: center;
  margin: auto;
  width: 250px;
}
form label,
form input {
  display: block;
  margin: 5px;
  outline: none;
}
form label {
  font-size: 75%;
  text-align: center;
}
form input[type='text'] {
  border: 1px solid rgb(161, 160, 160);
  padding: 2px;
  height: 25px;
  width: 250px;
}
form input[type='submit'] {
  border-radius: 2px;
  border: none;
  padding: 10px 20px;
  height: auto;
  width: auto;
  margin: 15px auto;
  background-color: var(--color-primary-darker);
  color: white;
  font-size: 90%;
  font-weight: 700;
}
form textarea {
  border: 1px solid rgb(161, 160, 160);
  padding: 3px;
  height: 100px;
  width: 250px;
  margin: auto;
  outline: none;
  resize: none;
}

#error-connecting {
  position: fixed;
  background-color: white;
  top: 50%;
  left: 33.3%;
  width: auto;
  height: auto;
  padding: 20px 20px;
  font-size: 100%;
  margin: auto;
  text-align: center;
  border-radius: 5px;
  z-index: 100;
}
.error-btn {
  display: block;
  background-color: var(--color-primary-darker);
  color: var(--color-opacity);
  border-radius: 5px;
  margin: 10px auto;
  padding: 5px;
  border: none;
}
