@charset "utf-8";
/* CSS Document */

main {
  min-height: calc(100vh - 5.2rem);
  padding-top: 5rem;
  display: flex;
  align-content: center;
  align-items: center;
}

main .middle {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

main .image {
  aspect-ratio: 5/4;
  background-image: url("../images/isic.webp"), url("../images/isic.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

h1 {
  font-size: 3rem;
  line-height: 120%;
  font-family: 'Samsung Sharp Sans';
  margin-bottom: .5rem;
}

h1+p {
  font-size: 1.25rem;
  line-height: 110%;
}


form {
  margin-top: 2rem;
}

.row {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

input:-webkit-autofill {
  -webkit-text-fill-color: #000 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 5rem #fff inset !important;
}

[type=text],
[type=email],
[type=password],
[type=tel],
[type=number],
textarea,
select {
  background-color: #ffffff;
  color: #000000;
  font-size: 1.125rem;
  line-height: 1.25rem;
  padding: 0 1rem;
  border: 1px solid;
  border-color: #c9c9c9;
  border-radius: 8px;
  font-family: "Samsung", sans-serif;
  width: 100%;
  height: 3.6rem;
}

[type=text]:focus,
[type=email]:focus,
[type=password]:focus,
[type=tel]:focus,
[type=number]:focus,
textarea:focus {
  border-color: var(--black);
}

form .label {
  position: absolute;
  top: 1.175rem;
  left: 0.7rem;
  padding: 0 0.3rem;
  max-width: 100%;
  line-height: 1.25rem;
  height: 1.25rem;
  color: #9a9a9a;
  background: rgb(255, 255, 255);
  font-size: 1.25rem;
  cursor: text;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: all 0.2s;
  pointer-events: none;
  transform-origin: left top;

}

form .label.active {
  color: var(--green);
  font-weight: bold;
  top: -0.625rem;
  font-size: 0.875rem;
}

form .err .label {
  color: var(--red);
}


.server-error {
  margin-top: 2rem;
  color: var(--red);
  font-size: 1.25rem;
  line-height: 110%;
  display: none;
}

.iserror .server-error {
  display: block;
}


.button {
  display: inline-block;
  font-size: 1.4rem;
  line-height: 3.33rem;
  padding: 0 2.5rem;
  margin-bottom: 0.25rem;
  color: #fff;
  background-color: var(--black);
  border: 1px solid var(--black);
  font-weight: bold;
  border-radius: 1.665rem;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.button.outline {
  background-color: transparent;
  color: var(--black);
}

.button:hover {
  background-color: var(--green);
  text-decoration: none;
  border-color: var(--green);
  color: #fff;
}




@media (max-aspect-ratio: 1/1) and (max-width: 1000px) {

  main .image {
    aspect-ratio: 1/1;
    margin-top: 3rem;
  }

  form .label {
    font-size: 1.125rem;
  }

}