html, body {
    height: 100%;
    margin: 0;
}

body {
    scrollbar-width: thin;
    background: linear-gradient(
        135deg,
        rgb(17, 17, 17) 0%,
        rgb(17, 17, 17) 55%,
        rgb(42, 38, 26) 100%
    );
    background-attachment: fixed;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 2147483647s ease;
}

.font {
    font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.bold {
    font-weight: bold;
}

main {
    color: white;
    display: flex;
    justify-content: center;
    min-height: 100svh;
}

.centered {
    justify-content: center;
    align-items: center;
}

.vcentered {
    align-items: center;
}

.flex {
    display: flex;
}

.gap {
    gap: 4px;
}

.gap-1-5 {
    gap: 6px;
}

.card {
    background-color: rgb(21, 21, 23);
    box-shadow: 0px 0px 24px rgb(0, 0, 0);
    padding: 16px;
    border-radius: 12px;
}

.column {
    flex-direction: column;
}


.text-field {
    position: relative;
    width: 280px;
    transition: color 0.2s ease;
}

.text-field input {
    width: 260px;
    padding: 16px 14px;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
    color: white;
}

.text-field fieldset {
    display: flex;
    text-align: left;
    position: absolute;
    inset: 0;
    border: 1.5px solid #9e9e9e;
    border-radius: 8px;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s, border-radius 0.3s;
}

.text-field fieldset legend {
    display: none;
    line-height: 12px;
    white-space: nowrap;
    overflow: hidden;
    transition: max-width 0.3s ease;
    padding: 0 4px;
    margin: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    border: 0;
}

.text-field label {
    position: absolute;
    padding: 0 4px;
    left: 14px;
    top: 50%;
    transform: translateY(-55%) scale(1);
    transform-origin: top left;
    font-size: 16px;
    color: #757575;
    pointer-events: none;
    transition: transform 0.3s ease, color 0.3s ease;
    background: transparent;
}

.text-field:focus-within label,
.text-field input:not(:placeholder-shown) + label {
    transform: translateY(-155%) scale(0.75);
    color: rgb(0, 120, 240);
}

.text-field:focus-within fieldset legend,
.text-field input:not(:placeholder-shown) ~ fieldset legend {
    max-width: 100%;
    display: block;
    font-size: 12px;
}

.text-field:focus-within fieldset,
.text-field input:not(:placeholder-shown) ~ fieldset {
    border-color: rgb(0, 120, 240);
    border-width: 2px;
}

input[type=submit] {
    color: white;
    background-color: rgb(0, 120, 240);
    border-radius: 12px;
    padding: 16px 96px;;
    border-style: none;
}

.white {
    color: white;
}

.no-decorations {
    text-decoration: none;
}