html {
  min-height: 100vh;
  background: url('/assets/backgroundblurred.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  a {
    color: #fff;
  }
}

#content {
  padding-inline: 2rem;
}

img {
  display: block;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;

  img {
    max-height: 80dvh;
    max-width: 80dvw;

    &.name {
      max-width: 100%;
    }
  }

  a {
    color: inherit;
    text-decoration: none;
    display: block;
    border: 2px solid #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 2rem;
  }
}

.preview {
  display: flex;
  justify-content: center;

  img {
    max-height: 80dvh;
    max-width: 80dvw;
  }
}

.info {
  display: flex;
  flex-direction: column;
  min-width: min(370px, 86dvw);
  justify-content: center;
}

.preview,
.logo,
.info {
  flex: 1;
  max-width: 540px;
  padding: 2rem 1rem;
}

#footer {
  padding-block-end: 1rem;
  display: flex;
  gap: 1rem;
}

.account-card {
  width: min(420px, calc(100dvw - 2rem));
  box-sizing: border-box;
  padding: 1.5rem;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 8px;
  background: rgb(0 0 0 / 54%);
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
}

.account-card h1 {
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.account-card p {
  line-height: 1.45;
}

.account-card__logo {
  max-width: 180px;
  height: auto;
}

.web-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block-start: 1rem;
}

.web-form label {
  font-size: 0.66rem;
}

.web-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2rem;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  background: rgb(255 255 255 / 92%);
  color: #111;
  font: inherit;
  font-size: 0.7rem;
}

.web-form button {
  min-height: 2.1rem;
  margin-block-start: 0.5rem;
  border: 0;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.7rem;
  cursor: pointer;
}

.web-form .danger-button {
  background: #d92828;
  color: #fff;
}

.form-error {
  border: 1px solid rgb(255 120 120 / 60%);
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  background: rgb(120 0 0 / 42%);
}
