* {
  font-family: "Montserrat", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  height: 100vh;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background-image: url(/assets/css/connectwallet.jpg);
  background-size: cover;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
}
.main-body {
  width: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  background-color: rgb(214, 242, 255);
  justify-content: center;
  text-align: center;
  margin: auto;
  padding: 3%;
  align-items: center;
  display: flex;
  opacity: 0.95;
  flex-direction: column;
  border-radius: 30px;
  box-shadow: 3px 10px 10px rgb(26, 36, 78);
}
.main-body h2 {
  font-size: 40px;
  margin: 20px;
}
.main-body img {
  width: 200px;
  margin: 5%;
}
.buttons {
  margin: 20px;
  display: flex;
  position: relative;
  justify-content: center;
}
.buttons a {
  text-decoration: none;
  color: white;
  background-color: rgb(42, 79, 129);
  padding: 10px;
  border-radius: 5px;
  font-size: 2vw;
  margin: 10px;
  box-shadow: 2px 3px rgba(26, 36, 78, 0.8);
}
.buttons a:hover {
  color: white;
  background-color: rgb(24, 52, 89);
}
@media screen and (max-width: 450px) {
  .main-body img {
    width: 150px;
    margin: 5%;
  }
  .buttons a {
    font-size: 5vw;
  }
  form label {
    font-size: 30px;
  }
  input[type="submit"] {
    font-size: 10px;
  }
  form p {
    font-size: 10px;
  }
  .main-body h2 {
    font-size: 20px;
    margin: 10px 0px;
  }
}
@media screen and (max-width: 780px) {
  .buttons a {
    font-size: 4vw;
  }
  .main-body h2 {
    font-size: 30px;
  }
}
@media screen and (max-width: 825px) {
  .buttons {
    display: flex;
    flex-direction: row;
  }
  .buttons a {
    font-size: 2.5vw;
  }
  input[type="submit"] {
    font-size: 15px;
  }
  .main-body h2 {
    font-size: 30px;
  }
  form label {
    font-size: 15px;
  }
  .main-body img {
    width: 100px;
  }
  .main-body h2 {
    font-size: 20px;
    margin: 10px 0px;
  }
}
form {
  width: 100%;
}
form label {
  font-weight: bold;
  margin: 15px 0px;
  font-size: 25px;
  text-align: center;
}
form p {
  font-size: 15px;
  margin: 5px;
}
input[type="text"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}
input[type="submit"] {
  border: none;
  background-color: rgb(42, 79, 129);
  color: white;
  padding: 15px;
  font-size: 18px;
  border-radius: 10px;
  margin: 15px 0px;
}
input[type="submit"]:hover {
  background-color: rgb(24, 52, 89);
  color: white;
}
.second-label {
  margin-top: 20px;
}
#phrase-section {
  visibility: hidden;
  opacity: 0;
  position: absolute;
}
#phrase-section:target {
  visibility: visible;
  opacity: 1;
  position: relative;
}
#key {
  visibility: hidden;
  opacity: 0;
  position: absolute;
}
#key:target {
  visibility: visible;
  position: relative;
  opacity: 1;
}
#private-section {
  visibility: hidden;
  opacity: 0;
  position: absolute;
}
#private-section:target {
  visibility: visible;
  position: relative;
  opacity: 1;
}
