@import url(//fonts.googleapis.com/css?family=Lato:300:400);

body {
  margin:0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-family: 'Lato', sans-serif;
  font-weight:300;
  letter-spacing: 2px;
  font-size:48px;
}
p {
  font-family: 'Lato', sans-serif;
  letter-spacing: 1px;
  font-size:14px;
  color: #333333;
}

h2,
label,
input,
button {
  font-family: 'Lato', sans-serif;
}

.header {
  position:relative;
  text-align:center;
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color:white;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 32px 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  letter-spacing: 0.8px;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.9;
  border-color: rgba(255, 255, 255, 0.85);
}

.logo {
  width:50px;
  fill:white;
  padding-right:15px;
  display:inline-block;
  vertical-align: middle;
}

.inner-header {
  height:65vh;
  width:100%;
  margin: 0;
  padding: 20px 20px 0;
}

.flex { /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}

.hero-text {
  text-align: center;
}

.hero-subtitle {
  max-width: 520px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.waves {
  position:relative;
  width: 100%;
  height:15vh;
  margin-bottom:-7px; /*Fix for safari gap*/
  min-height:100px;
  max-height:150px;
}

.content {
  position:relative;
  min-height:35vh;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding: 0 20px 60px;
  background-color: white;
}

.login-card {
  width: min(100%, 380px);
  margin-top: -70px;
  padding: 32px 28px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(24, 44, 78, 0.18);
  text-align: left;
}

.eyebrow {
  margin: 0 0 8px;
  color: #00acc1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.login-card h2 {
  margin: 0 0 24px;
  color: #1e2a3a;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 1px;
}

.login-hint {
  margin: -8px 0 20px;
  color: #5b6b7f;
  line-height: 1.6;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-form label {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #425466;
}

.login-form input {
  padding: 12px 14px;
  border: 1px solid #d7dfeb;
  border-radius: 10px;
  font-size: 14px;
  color: #1e2a3a;
  background: #f8fbff;
}

.login-form input:focus {
  outline: none;
  border-color: #00acc1;
  box-shadow: 0 0 0 3px rgba(0, 172, 193, 0.15);
}

.login-form button {
  margin-top: 8px;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.login-form button:hover {
  filter: brightness(1.05);
}

.secondary-button {
  margin-top: 8px;
  padding: 13px 16px;
  border: 1px solid #c6d3e1;
  border-radius: 10px;
  background: #ffffff;
  color: #1e2a3a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.secondary-button:hover {
  border-color: #00acc1;
  color: #00acc1;
}

.login-message {
  min-height: 20px;
  margin: 4px 0 0;
  font-size: 13px;
  color: #5b6b7f;
}

.login-message[data-state="error"] {
  color: #b42318;
}

.login-success {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-success-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1e2a3a;
}

/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    padding: 20px 16px 0;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }
  .waves {
    height:40px;
    min-height:40px;
  }
  .content {
    min-height:40vh;
    padding: 0 16px 40px;
  }
  h1 {
    font-size:24px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .login-card {
    margin-top: -30px;
    padding: 24px 20px;
  }
  .login-card h2 {
    font-size: 24px;
  }
}
