@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    justify-content: center;
    align-items: center;

    font-family: Inter, Arial, sans-serif;
    color: #ffffff;
    background-color: #07090B;

    /* Dark car image behind the login form */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5)), url("images/login_background_new.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-container {

    display: grid;
    place-items: center;

    width: 100%;
    max-width: 420px;
    padding: 10px 10px;
    text-align: center;

    zoom: 1.25;
}

.brand {
    margin-bottom: 33px;
}

.brand h1 {
    font-size: 75px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: normal;
}

.brand h1 span {
    color: #7DFFB8;
    font-weight: 800;
}

.brand p {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.login-form {
    width: 100%;
}

.form-background {
    display: flex;
    flex-direction: column;
    gap: 10px;

    background-color: #0d1115;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 10px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;

    height: 40px;
    padding: 10px;

    background-color: #0d1115;
    background-image: linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07));
    border: 1px solid #333333;
    border-radius: 10px;

    text-align: left;
}

.icon-email, .icon-key {
    display: block;
    flex-shrink: 0;

    width: 14px;
    height: 14px;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-email {
    background-image: url("images/email.png");
}

.icon-key {
    background-image: url("images/key.png");
}

.input-group input {
    width: 100%;
    height: 100%;

    border: none;
    outline: none;
    background: transparent;

    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
}

.input-group input::placeholder {
    color: #92979b;
    font-family: inherit;
}

.input-group:focus-within {
    border-color: #7DFFB8;
    transition: border-color 0.2s ease;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 33px;
}

.buttons button {
    width: 100%;
    min-height: 40px;

    border: none;
    border-radius: 10px;

    font-family: inherit;
    font-size: 15px;
    cursor: pointer;

    transition: background-color 0.2s ease;
}

.login-button {
    background-color: #7DFFB8;
    color: #07110c;
    font-weight: 500;
}

.login-button:hover {
    background-color: #B2FFD4;
}

.register-button {
    background-color: #20292f;
    color: #9ba4ab;
    font-weight: 500;
}

.register-button:hover {
    background-color: #2b353c;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.copyright {
    margin: 0;
    padding: 12px 12px;

    font-family: inherit;
    font-size: 10px;
    text-align: center;

    color: #9ba4ab;
    font-weight: 300;
}

@media (max-width: 480px) {
    .brand h1 {
        font-size: 52px;
    }

    .brand p {
        font-size: 16px;
    }

    .login-container {
        max-width: 380px;
    }
}
