/* style variables */
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

:root {
  /* colors */
  --border-color: #1d1d1d;
  --border-color-active: #02cfdd;
  --background-gradient: linear-gradient(
    135deg,
    #01ad88aa 0%,
    #02cfddaa 100%
  );
  --background-color-white: #f0f8ff;
  --background-color-gray: #e8e8e8ff;
  --background-color-error: #cc333333;
  --background-color-success: #33cc4433;
  --text-color: #1d1d1d;
  --text-color-muted: #6d6d6d;
  --text-color-light: #b4b4b4;
  --text-color-active: #02cfdd;
  --text-color-accent: #01ad88;
  --text-color-error: #c33;
  --text-color-success: #3c4;

  /* shadows */
  --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  --btn-box-shadow: 0 5px 15px #0d5b6866;

  /* text */
  --font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  --line-height: 1.3;

  /* spacing */
  --body-padding: 20px 40px;

  /* borders */
  --border-radius: 10px;
  --border-style: solid 1px var(--border-color);

  /* printing styles */
  --print-border-color: #000;
  --print-background-color: #fff;
  --print-text-color: #000;
  --print-page-margin-x: 0.2in;
  --print-page-margin-y: 0.2in;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  min-height: 100vh;
}

body {
  padding: var(--body-padding);
  font-size: 1.4em;
  background: var(--background-gradient);
  min-height: 100vh;
}

html,
body {
  color: var(--text-color);
  font-family: var(--font-family);
  line-height: var(--line-height);
}

/* Header */
header {
  text-align: center;
  margin-bottom: 1em;
  padding-bottom: 1em;
  gap: 2em;
  border-bottom: var(--border-style);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

header h1 {
  text-transform: uppercase;
  font-size: 2em;
  font-weight: bold;
  margin: 0;
  margin-bottom: 5px;
  color: var(--text-color);
}

header h2 {
  font-style: italic;
  font-size: 1.4em;
  margin: 3px 0 0;
  color: var(--text-color);
  font-weight: 400;
}

header img {
  width: auto;
}

.header-auth {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-auth p {
  font-size: 1em;
  color: var(--text-color);
  margin: 0;
}

.btn {
  width: 100%;
  background: var(--background-gradient);
  border: none;
  border-radius: var(--border-radius);
  padding: 1em;
  font-weight: 600;
  font-size: 1.2em;
  color: white;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.btn:hover {
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: var(--btn-box-shadow);
}

.btn:active {
  transform: translateY(0);
}

/* logout button */
.btn-logout {
  display: inline-block;
  max-width: 100px;
  background: var(--text-color-error);
  text-decoration: none;
  margin-top: 0.25em;
}

/* return to project selection button */
.btn-return-projects {
  display: inline-block;
  width: auto;
  padding: 8px 12px;
  background: var(--background-color-white);
  color: var(--text-color);
  text-decoration: none;
  margin-top: 0.25em;
}

.msg {
  background-color: var(--background-color-white);
  padding: 1.2em 1.5em;
  margin-bottom: 2em;
  border-radius: var(--border-radius);
  font-size: 1.4em;
}

.error-msg {
  border-left: 0.4em solid var(--text-color-error);
  color: var(--text-color-error);
  background-color: var(--background-color-error);
}

.success-msg {
  border-left: 4px solid var(--text-color-success);
  color: var(--text-color-success);
  background-color: var(--background-color-success);
}

footer {
  text-align: center;
  margin-top: 2em;
  font-size: 0.9em;
  color: var(--text-color);
  padding: 20px;
  margin-top: auto;
}

footer p {
  margin: 0;
  font-size: 0.95em;
}
