body,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin: 0;
}

body {
    /* background: gray; */
    background: #f5f5f4;
}

input {
    width: 16.5rem;
    max-width: 20rem;
    height: 2.25rem;
    outline: none;
    background: transparent;
    color: #fff;
    border: none;
    border-bottom: solid #fff 1px;
    font-size: 1rem;
    padding-left: 3.5rem;
}

::placeholder {
    opacity: 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.h-screen {
    height: 100vh;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.grid {
    display: grid;
}

.place-content-center {
    place-content: center;
}

.text-light {
    color: #fff;
}

.select-none {
    user-select: none;
}

button[data-type="link"] {
    background: transparent;
    border: none;
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
    height: fit-content;
    margin-top: auto;
    margin-bottom: auto;
    color: inherit;
}

button[type="submit"], a[role="button"] {
    background: #fff;
    border: none;
    cursor: pointer;
    border-radius: 0.625rem;
    width: 13rem;
    height: 2.5rem;
    color: #3F9B27;
    font-size: 12px;
    font-weight: 700;
}

button[type="submit"]:hover, a[role="button"]:hover {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
    transition-duration: 200ms;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

button[type="submit"]:active {
    opacity: 0.75;
}

.text-12 {
    font-size: 12px;
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    margin-top: 1rem;
}

.my-8 {
    margin-top: 2rem;
}

.floating-label {
    cursor: text;
    font-size: 1rem;
    color: #fff;
    position: absolute;
    transform-origin: left;
    left: 56px;
    top: 9px;
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
    transition-duration: 200ms;
}

input:focus-within ~ label, input:not(:placeholder-shown) ~ label {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    transform: scale(0.7) translateY(-1.5rem);
}
input.empty:not(:focus-within) ~ label {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    transform: scale(1);
    translate: 0;
    color: black;
}

.floating-field {
    position: relative;
}

.floating-field[data-input="username"] {
    background-image: url('/static/img/user_icon.svg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 1rem;
}
.floating-field[data-input="password"] {
    background-image: url('/static/img/password_icon.svg');
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 1rem;
}

@media (max-width: 639px) {
    .container {
        display: none;
    }
    .mobile-declaimer {
        max-width: 100%;
        height: 100vh;
        padding-left: 1rem;
        padding-right: 1rem;
        color: #fff;
        font-weight: 500;
        font-size: x-large;
        text-align: center;
        overflow: hidden;
        display: grid;
        place-content: center;
    }
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
    .mobile-declaimer {
        display: none;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}


@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}