* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: color .2s;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    margin: 0;
}

a {
    text-decoration-skip-ink: auto;
    color: inherit;
    text-decoration: none;
    transition: color .2s;
    position: relative;
}

a::after {
    height: 1px;
    width: 0;
    background-color: #202020;
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: width .2s;
}

a:hover::after {
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
    width: auto;
    height: auto;
}

label {
    cursor: pointer;
}

input, button, textarea, select, h1, h2, h3, h4, h5, h6 {
    font: inherit;
    color: inherit;
}

input, select, textarea {
    border: 0;
    outline: 0;
    -webkit-appearance: none;
}

button[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

textarea {
    resize: vertical;
}

svg path {
    transition: fill .2s, stroke .2s;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
}

.mb-1 {
    margin-bottom: 8px;
}

.fw-500 {
    font-weight: 500;
}

.right {
    text-align: right;
}

body {
    font-family: Montserrat, sans-serif;
    color: #202020;
    font-size: 14px;
    font-weight: 400;
}

.main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 0;
}

.card {
    background-color: #fff;
    width: 600px;
    max-width: calc(100% - 64px);
    margin: 0 auto;
    padding: 32px;
}

.btn {
    background-color: #FFD800;
    color: #000;
    border-radius: 6px;
    padding: 12px 28px;
    line-height: 1;
    transition: box-shadow .2s;
}

.btn:hover {
    box-shadow: 0 8px 25px -8px #FFD800;
}

.header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 0 32px;
}

h1 {
    font-size: 16px;
    margin: 8px 0 0;
}

h1 a::after {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-group {
    margin: 0 0 16px;
    position: relative;
}

.form-group svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    color: #4E5154;
    transition: color .2s;
}

.form-control {
    border: 1px solid #D9D9D9;
    color: #4E5154;
    border-radius: 6px;
    width: 100%;
    height: 40px;
    padding: 8px 28px 8px 42px;
    line-height: 1;
    transition: border-color .2s, box-shadow .2s;
}

.form-control::placeholder {
    font-size: 14px;
    line-height: 1;
    color: #4E5154;
}

.form-control:focus {
    background-color: #FFF;
    border-color: #FFD800;
    box-shadow: 0 3px 10px 0 rgba(0,0,0,.15);
}

.form-control:focus + svg {
    color: #FFD800;
}

h2 {
    font-size: 16px;
    margin: 0 0 16px;
    line-height: 1.33;
}

.alert-danger,
.alert-warning {
    color: red;
}

@media (max-width: 575px) {
    .header {
        flex-direction: column;
        gap: 32px;
    }

    .card {
        padding: 20px;
        max-width: calc(100% - 40px);
    }

    .main {
        padding: 20px 0;
    }
}