@font-face {
    font-family: 'Gotham Light';
    font-weight: 300;
    src: url('./fonts/Gotham-Light.woff') format('woff'), url('./fonts/Gotham-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'GT America Compressed Medium';
    font-weight: 500;
    src: url('./fonts/GT-America-Compressed-Medium.woff') format('woff'),
    url('./fonts/GT-America-Compressed-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'GT America Expanded Bold';
    font-weight: 700;
    src: url('./fonts/GT-America-Expanded-Bold.woff') format('woff'),
    url('./fonts/GT-America-Expanded-Bold.ttf') format('truetype');
}

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

html {
    font-size: 16px;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Gotham Light', sans-serif;
    display: flex;
    flex-direction: column;
    background-color: #eef2f4;
}

h2 {
    font-family: 'GT America Compressed Medium', sans-serif;
    font-weight: 500;
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: -16px;
}

header {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 1);
}

header h1 {
    font-size: 32px;
    color: rgba(26, 54, 93, 1);
    font-family: 'GT America Compressed Medium', sans-serif;
}

header h1 strong {
    font-family: 'GT America Expanded Bold', sans-serif;
}

.main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main::after {
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    content: ' ';
    display: block;
    position: absolute;
    background: #eef2f4;
    background: linear-gradient(0deg, rgba(238, 242, 244, 1) 0%, rgba(238, 242, 244, 0) 100%);
}

.wrapper {
    width: 100%;
    max-width: 750px;
    z-index: 1;
    position: relative;
}

.content {
    margin: 0 auto;
    z-index: 1;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.logo {
    top: 50%;
    left: 50%;
    height: 70%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.form-row {
    display: flex;
    align-items: center;
}

.form-group {
    flex: 1 1 auto;
    position: relative;
}

.form-group__button {
    width: 170px;
    flex-grow: 0;
}

label {
    top: 20px;
    left: 16px;
    position: absolute;
}

input,
button {
    font-family: inherit;
    width: 100%;
    height: 3.75rem;
    font-size: inherit;
    border-radius: 4px;
    outline: none;
}

input {
    padding: 0 24px;
    border: 1px solid rgba(209, 219, 227, 1);
    background-color: white;
    color: rgba(149, 165, 166, 1);
}

input::placeholder {
    color: rgba(209, 219, 227, 1);
}

button {
    border: 0;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(52, 146, 193, 1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    transition: background-color 200ms ease-out;
}

button:hover {
    cursor: pointer;
    background-color: rgb(34, 98, 131, 1);
}

.error {
    padding: 12px 30px;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(223, 61, 126, 1);
}

.error + .content {
    border-radius: 0 0 8px 8px;
}

.reset {
    margin-top: 15px;
    font-size: 12px;
    margin-bottom: -10px;
    color: rgba(157, 175, 189, 1);
}

.reset a {
    color: inherit;
}

@media (min-width: 768px) {
    .form-group + .form-group {
        margin-left: 30px;
    }
}

@media (max-width: 991px) {
    .wrapper {
        max-width: 560px;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 12px;
    }

    .wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .logo {
        width: 150%;
        max-width: auto;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }

    .form-group + .form-group {
        margin-top: 15px;
    }
}