@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  height: 100%;
}

body {
  font-family: Montserrat, sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  height: 100%;
  background: #dfe7e9;
}

::-moz-selection {
  /* Code for Firefox */
  color: #fff;
  background: #48a374;
}

::selection {
  color: #fff;
  background: #48a374;
}

a,
a:visited {
  color: #2f8056;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

a.btn {
  display: block;
  padding: 0.5rem;
  border-radius: 0.25rem;
  background: #48a374;
  color: #fff;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
}

a.btn:hover {
  text-decoration: none;
  background-color: #2f8056;
}

p {
  color: #0f0e0e;
}

.container {
  display: flex;
  flex-direction: column;
  align-content: center;
  height: 100%;
  width: 100%;
  padding: 1.5rem;
}

.container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #48a374;
  opacity: 0.4;
  -webkit-mask: radial-gradient(circle at 0% 0%, black, transparent 50%);
  mask: radial-gradient(circle at 0% 0%, black, transparent 50%);
  z-index: 0;
}

.main {
  flex: 1;
  flex-shrink: 0;
  text-align: center;
  align-self: center;
  padding: 0 4rem;
}

.moose-graphic {
  padding: 3.75rem 0.8rem 0rem 0.6rem;
  flex: 1;
  flex-shrink: 2;
  flex-direction: column;
  align-items: center;
  display: flex;
  color: #fff;
  height: 100%;
  background: #48a374;
  max-width: 22rem;
  position: relative;
}

.moose-graphic::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0.36;
  background-image: url(../images/shapes-bg.png);
  background-position: -3rem -3rem;
  background-repeat: no-repeat;
  background-size: 26rem;
  z-index: 0;
}

.moose {
  position: absolute;
  top: 0.3rem;
  left: 0.15rem;
  width: 3.5rem;
  animation: bounce 2s infinite both;
}

.pulse {
  display: block;
  width: 4.3rem;
  height: 4.3rem;
  border-radius: 50%;
  background: #31a66a;
  position: relative;
  border: 0.28rem solid #6ebf96de;
}

.pulse:after {
  content: "";
  display: block;
  width: 4.3rem;
  height: 4.3rem;
  border-radius: 50%;
  border: 3px solid #6ebf96de;
  position: absolute;
  top: -4px;
  left: -4px;
  -webkit-animation: pulse 2s ease 0s infinite;
  animation: pulse 2s ease 0s infinite;
}

@-webkit-keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  80% {
    opacity: 0;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(2);
    -webkit-transform: scale(2);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  80% {
    opacity: 0;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(2);
    -webkit-transform: scale(2);
  }
}

@-webkit-keyframes bounce {
  0%,
  100% {
    transform: translateY(-7%);
    -webkit-transform: translateY(-7%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(15%);
    -webkit-transform: translateY(15%);
    animation-timing-function: cubic-bezier(0, 0, 0.5, 1);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-7%);
    -webkit-transform: translateY(-7%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(15%);
    -webkit-transform: translateY(15%);
    animation-timing-function: cubic-bezier(0, 0, 0.5, 1);
  }
}

.flex-container {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  z-index: 40;
}

.login-container {
  background: #fff;
  display: flex;
  align-self: center;
  border-radius: 0.5rem;
  height: 25.9rem;
  box-shadow: 0 0 80px rgb(0 0 0 / 10%);
  max-width: 46.75rem;
  overflow: hidden;
}

.logo {
  margin: 1rem 0 1.5rem;
}

.logo img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 10rem;
}

.title {
  font-weight: 700;
  text-align: center;
  font-size: 1.3rem;
  color: #fff;
  margin-top: 1rem;
}

.subtitle {
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.error-container {
  margin-bottom: 0.5rem;
  height: 1.87rem;
}

#error-msg {
  background: #f4d1d1;
  padding: 0 1rem;
  text-align: left;
  border-radius: 0.5rem;
  border: 1px solid #e08787;
  -webkit-animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94)
    both;
  animation: slide-in-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

#error-text {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}

#error-text .icon {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c53535;
  margin-right: 0.5rem;
}

.form {
  display: block;
  max-width: 30rem;
  margin: 0 auto;
}

.form .input {
  display: flex;
  position: relative;
}

.form .input .input-field {
  margin-bottom: 0;
}

.form .input .suffix {
  background: #f1f3f3;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid #e4e9e9;
  align-self: center;
  margin-left: 6px;
  margin-bottom: -6px;
}

.form #url {
  padding-right: 6.5rem;
}

.form #url.error {
  border-color: #c00;
}

.form #url.error::placeholder {
  color: #c00;
}

.form .btn {
  font-size: 1rem;
  height: 3rem;
  line-height: 3rem;
  padding: 0 1rem;
}

.support p {
  color: #565656;
  padding: 1rem 0;
}

.support a {
  color: #4db17e;
}

.footer {
  display: flex;
  align-items: end;
  justify-content: center;
  padding-top: 3rem;
  z-index: 40;
}

.footer .links {
  display: flex;
  list-style: none;
}
.footer .links li {
  padding: 0.5rem;
}

.footer .links li a {
  color: #0f0e0e;
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer .links li a:hover {
  opacity: 1;
}
