/*
  Variables
*/

:root {
  --blue: #2164B9;
  --yellow: #FDC325;
  --pink: #ff32cd;
  --red: #f90e29;
  --cream: #F6E9D9;
  --off-black: #1D1518;
}

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}

/*
  Archivo Font
*/

/* archivo-200 */
@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-display: swap; 
    font-style: normal;
    font-weight: 200;
    src: url('./archivo-200.woff2') format('woff2');
}
/* archivo-regular */
@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400;
    src: url('./archivo-regular.woff2') format('woff2'); 
}
/* archivo-600 */
@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600;
    src: url'./archivo-600.woff2' format('woff2');
}
/* archivo-800 */
@font-face {
    font-display: swap;
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 800;
    src: url('./archivo-800.woff2') format('woff2');
}

/*
  Styles
*/

html {
    height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-family: 'Archivo', 'Helvetica', 'Arial', sans-serif;
    color: var(--off-black);
    height: 100%;
    letter-spacing: -0.5px;
    background: #ffffff;
}

.login-container {
    width: 100%;
    max-width: 330px;
    margin: auto;
    padding: 1rem;
}

.login-header h1 {
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 0.8;
    word-break: break-all;
    margin-bottom: 1.75rem;
}

.login-card {
    background: #ffffff;
    border: 3px solid var(--off-black);
    border-radius: 0;
    padding: 2rem;
    box-shadow: 8px 8px 0 var(--off-black);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--off-black);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    background: transparent;
    position: relative;
    border: 2px solid var(--off-black);
    padding: 0.75rem 1rem;
    color: #000000;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.form-group input:focus {
    border-color: var(--pink);
}

.form-error p {
    color: var(--red);
    font-weight: 800;
    letter-spacing: -1px;
}

.btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--off-black);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    text-transform: uppercase;
}

.btn:hover, .btn:focus {
    background-color: var(--pink);
}

.btn-login {
    margin-top: 2rem;
}

@media (min-width: 576px) {
    .login-container {
        max-width: 400px;
    }

    .login-card {
        padding: 3rem;
    }
}