/* 
    Author: Mark Schuurmans
    Date: 29-5-2021
    File: styles/login.css

    Stylesheet Project Thema 4
*/

.logo {
  color: white;
}

main {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0;
}

section {
  width: 100%;
  /* Zet de height naar 100vh totdat de content te groot wordt */
  height: 100vh;
  min-height: 100vh;
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 5em;
}

article {
  flex: 1 1 500px;
}

article:first-of-type {
  background-color: var(--primary-color);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

article img {
  height: 60%;
  max-height: 500px;
}

h1 {
  color: var(--text-color);
  font-size: clamp(2.75rem, 2.2rem + 2.4vw, 4rem);
}

h4 {
  color: var(--primary-color);
}

form {
  display: block;
  max-width: 400px;
}

a,
input {
  width: 100%;
  display: block;
}

label {
  display: inline-block;
  color: var(--text-color);
  font-weight: 500;
  margin: 1.5em 0 0.5em 0;
  cursor: pointer;
  font-size: 14px;
}

input {
  font-size: 16px;
  padding: 0.5em;
  border-radius: 5px;
  border: 1px solid #e1e8f2;
  background-color: #fcfdff;
  color: var(--text-color);
  transition: border 300ms ease;
}

input:focus {
  border-color: var(--primary-color);
  background-color: #fcfdff;
}

form a {
  margin-top: 2em;
  text-align: center;
  cursor: pointer;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5em 2em;
  font-size: 16px;
  border-radius: 5px;
  border: 2px solid var(--primary-color);
  transition: opacity 300ms ease;
  display: block;
}

form a:hover {
  opacity: 0.9;
}

.login-message {
  margin: 1em 0 -1em 0;
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.login-message a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border 300ms ease;
}

.login-message svg {
  height: 2.5em;
  margin-right: 0.5rem;
  fill: var(--primary-color);
}

.login-message a:hover {
  border-bottom: 2px solid currentColor;
}

@media screen and (max-width: 600px) {
  section {
    flex-direction: column;
  }

  article svg {
    display: none;
  }

  article:first-of-type {
    flex: 0 0 125px;
  }
}
