:root {
  --auditsoft-blue: #53a2da;
  --auditsoft-beige: #eaebe7;
  --auditsoft-navy: #13384f;
  --auditsoft-green: #8dc637;
  --auditsoft-off-white: #f7f7f7;

  --linkedin-blue: #0274b3;

  --warning-yellow: #e9d502;
}

.gap-half-rem {
  gap: 0.5rem;
}

/* Link Styling */
a {
  font-weight: bold;
}

.light-link {
  color: var(--auditsoft-blue);
  text-decoration: underline;
  &:hover {
    color: var(--auditsoft-green);
  }
}

.dark-link {
  color: var(--auditsoft-navy);
  text-decoration: underline;
  &:hover {
    color: var(--auditsoft-green);
  }
}
/* Link Styling End */

/* Icon Styling */
.fa-linkedin {
  color: var(--linkedin-blue);
  font-size: 2rem;
}

.fa-square-envelope {
  color: var(--auditsoft-blue);
  font-size: 2rem;
}

.fa-comment-dots {
  color: var(--auditsoft-green);
  font-size: 1.5rem;
}

.fa-phone {
  color: var(--auditsoft-green);
  /* Phone icon is slightly larger visually than the comment bubble icon */
  font-size: 1.25rem;
}

.auditsoft-icon-container {
  max-width: 40px;
  max-height: 40px;
}
/* Icon Styling End */

canvas {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

.login-screen {
  position: relative;
  background-color: var(--auditsoft-navy);
  font-family: "Inter";
  width: 100vw;
  height: 100vh;
}

.login-header {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 2/3;
  box-sizing: border-box;
}

.login-body {
  grid-column: 2/3;
}

.login-footer {
  background-color: var(--auditsoft-beige);
  grid-column: 1/-1;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#promo-section {
  grid-column: 1/2;
  justify-content: flex-start;
  gap: 1rem;
}

#contact-section {
  grid-column: 3/-1;
  justify-content: flex-end;
  gap: 1rem;
}

@media screen and (max-width: 1000px) {
  .login-footer {
    grid-template-columns: 1fr 1fr;
  }
  #promo-section {
    grid-column: 1/2;
    gap: 0.5rem;
  }

  #contact-section {
    grid-column: 2/-1;
    gap: 0.5rem;
  }
}

@media screen and (max-width: 600px) {
  .login-footer {
    grid-template-columns: 1fr;
  }
  #promo-section {
    grid-column: 1/-1;
    justify-content: center;
    gap: 0.5rem;
  }

  #contact-section {
    grid-column: 1/-1;
    justify-content: center;
    gap: 0.5rem;
  }
}

.message-container {
  max-height: 128px;
  overflow-y: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  & article {
    width: 100%;
  }
}

h1 {
  font-size: 2rem;
  font-weight: bold;
}

.signin-form-container {
  border: 2px solid var(--auditsoft-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: white;
  background-color: var(--auditsoft-navy);
  padding: 1rem;
  gap: 1rem;

  & form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 90%;

    & button {
      background-color: var(--auditsoft-green);
      color: white;
      font-size: 1rem;
      font-weight: bold;
      width: 100%;
      border: none;
      padding: 0.5rem 0.75rem;
      border-radius: 4px;
    }
  }

  & > .message-container {
    width: 90%;
  }

  & p {
    text-align: center;
  }
}

.bg-container {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: grid;
  grid-template-rows: 3fr 8fr 1fr;
  grid-template-columns: 3fr 4fr 3fr;
  gap: 1rem;
}

@media screen and (max-width: 1000px) {
  .bg-container {
    grid-template-columns: 1fr 4fr 1fr;
  }
}

@media screen and (max-width: 600px) {
  .bg-container {
    grid-template-rows: 1fr 8fr 1fr;
    grid-template-columns: 0.25fr 10fr 0.25fr;
  }
}

.build-detail {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--warning-yellow);
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 0.5rem solid darkorange;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .build-detail {
    padding: 0.125rem;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    font-size: 12px;
  }
}

.login-header img {
  max-height: 200px;
}

html {
  background-color: var(--auditsoft-navy);
}

@media screen and (max-width: 600px), screen and (max-height: 600px) {
  .login-header img {
    max-height: 100px;
  }

  h1 {
    font-size: 1.5rem;
  }
}
article.message {
  width: 100%;
}
