:root {
    --clr-body: hsl(0, 0%, 0%);
    --clr-card: hsl(0, 0%, 7%);
    --clr-border: hsl(0, 0%, 25%);
    --clr-disabled: hsl(0, 0%, 50%);
    --clr-accent: hsl(0, 0%, 100%);
}

@font-face {
    font-family: "VKP Sans";
    src: url("../assets/fonts/GoogleSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "VKP Sans";
    src: url("../assets/fonts/GoogleSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "VKP Sans", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--clr-body);
    color: var(--clr-accent);
}

.seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#userLogin {
    width: 28%;
    background: var(--clr-card);
    border: 2px solid var(--clr-border);

    padding: 28px;
    padding-top: 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    border-radius: 40px;
    corner-shape: squircle;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    corner-shape: squircle;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;

    & input {
        width: 100%;
        padding: 16px;

        border: none;
        outline: none;
        background: none;

        border: 2px solid var(--clr-border);
        border-radius: 20px;
        corner-shape: squircle;

        font-size: 16px;
        font-weight: 400;
        color: var(--clr-accent);

        &::placeholder {
            color: var(--clr-border);
        }

        &:focus {
            border: 2px solid var(--clr-accent);
        }
    }

    & button {
        width: 100%;
        padding: 18px;
        margin-top: 8px;

        border: none;
        outline: none;

        border-radius: 500px;
        background: var(--clr-accent);

        font-size: 16px;
        font-weight: 700;
        color: var(--clr-body);

        cursor: pointer;
    }

    & button:focus {
        outline-offset: 3px;
        outline: 2px solid var(--clr-accent);
    }

    & button.disabled:focus {
        outline-color: var(--clr-disabled);
    }
}

@media screen and (max-width: 1024px) {
    #userLogin {
        width: 40%;
    }
}

@media screen and (max-width: 768px) {
    #userLogin {
        width: 50%;
    }
}

@media screen and (max-width: 600px) {
    #userLogin {
        width: calc(100% - 64px);
    }

}