@keyframes slidein {
    from {
        translate: 150vw 0;
        opacity: 0;
    }

    to {
        translate: 0 0;
        opacity: 1;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: "Gilroy-Medium", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow-x: hidden;
}

.maxed {
    max-width: 80vw;
}

.callouts {
    width: 100%;
    box-sizing: content-box;
}

button, input {
    font-family: "Gilroy-Medium", sans-serif;
    font-size: 1em;
}

header {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    display: flex;
    place-items: center;
    width: 100%;
    border-bottom: 0.1em #dae0e8 solid;
    justify-content: center;
    margin-bottom: 1em;
    background-color: rgba(255, 255, 255, 0.52);
}

h2 {
    position: relative;
}

a {
    text-decoration: none;
    color: #2f55d4;
    transition: all 0.3s;
}

a:hover {
    color: #4d75ff;
    transition: all 0.3s;
}

a:visited {
    color: #2f55d4;
}

h2:after {
    content: "";
    width: 100%;
    height: 0.1em;
    background-color: #dae0e8;
    position: absolute;
    bottom: -0.3em;
    left: 0;
}

.btn {
    cursor: pointer;
    box-shadow: 0 3px 5px 0 rgba(47, 85, 212, 0.3);
    padding: 8px 20px;
    outline: none;
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-weight: 600;
    border-radius: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: #2f55d4;
    border: 1px solid #2f55d4;
    color: #ffffff;
    font-family: "Gilroy-UltraLight", sans-serif;
    -webkit-box-shadow: 0 3px 5px 0 rgba(47, 85, 212, 0.3);
}

.callout {
    width: fit-content;
    padding: 1em;
    margin: 1em;
    background-color: #f1f3f9;
    border: 0.1em solid #f3f3f3;
    box-sizing: content-box;
}

.callout.success {
    background-color: #3ed397;
}

.callout.error {
    background-color: #f64f59;
}

.btn-flat {
    background-color: transparent;
    border: none;
    color: #2f55d4;
    transition: all 0.3s;
    width: fit-content;
}

.btn-flat:hover {
    color: #4d75ff;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #4d75ff;
    transition: all 0.3s;
}

.btn-flat:disabled {
    color: #6e6e6e;
}

.btn:disabled {
    background-color: #6e6e6e;
    transition: all 0.3s;
}

main {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    place-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    font-size: 1em;
}

form {
    background-color: #f3f3f3;
    border: 0.1em solid rgba(110, 110, 110, 0.47);
    padding: 2em;
    border-radius: 0.5em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    animation-duration: 300ms;
    animation-name: slidein;
}

.form-control {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
}

.under {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

form input {
    box-sizing: border-box;
    padding: 0.5em;
}

header img {
    width: 3em;
}