:root {
    --City-Streets: #e67e22;
    --City-Streets-Darken: #d4711b;
    --Nighttime-Sky: #151B26;
    --Cloud-Whisper: white;
    --Mystical-Elephant-Haze-Light: rgba(126, 126, 126, 0.822);
    --Mystical-Elephant-Haze: rgba(88, 87, 87, 0.822);
    --Lunar-Pewter-Mist: rgba(105, 105, 105, 0.397);

    --Body-Font-Size: 16px;
    --Title-Font-Size: 28px;
    --Message-Font-Size: 14px;
    --Input-Label-Font-Size: 0.9em;
    --Input-Label-Force-Font-Size: 0.7em;
}

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

body {
    font-family: 'Poppin', sans-serif;
    margin: 40px;
    background-color: #f4f4f4;
    color: var(--Nighttime-Sky);
    font-weight: 400;
    font-size: var(--Body-Font-Size);
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
}


.login__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    background-color: var(--Cloud-Whisper);
    padding: 20px;
    border-radius: 20px;
    position: relative;
}
  
.login__title {
    font-size: var(--Title-Font-Size);
    color: var(--City-Streets);
    font-weight: 700;
}

.login__message,
.signin {
    color: var(--Mystical-Elephant-Haze); 
}
  
.login__name-parts {
    display: flex;
    gap: 10px;
}
  
.login__form label {
    position: relative;
}
  
.login__form label .input {
    width: 100%;
    padding: 10px 10px 20px 10px;
    outline: 0;
    border: 1px solid var(--Lunar-Pewter-Mist);
    border-radius: 10px;
}
  
.login__form label .input + span {
    position: absolute;
    left: 10px;
    top: 15px;
    color: var(--Mystical-Elephant-Haze-Light);
    font-size: var(--Input-Label-Font-Size);
    cursor: text;
    transition: 0.3s ease;
}
  
.login__form label .input:placeholder-shown + span {
    top: 15px;
    font-size: var(--Input-Label-Font-Size);
}
  
.login__form label .input:focus + span,
.login__form label .input:valid + span,
.login__form__label__email .input:not(:placeholder-shown) + span {
    top: 30px;
    font-size: var(--Input-Label-Force-Font-Size);
    font-weight: 600;
}
  
.login__form label .input:valid + span {
    color: var(--City-Streets);
}
  
.submit {
    border: none;
    outline: none;
    background-color: var(--City-Streets);
    padding: 10px;
    border-radius: 10px;
    color: var(--Cloud-Whisper);
    font-size: var(--Body-Font-Size);
    cursor: pointer;
}
  
.submit:hover {
    background-color: var(--City-Streets-Darken);  
}

.signin {
    font-size: var(--Message-Font-Size);
    text-align: center;
}
  
.signin a {
    text-decoration: none;
    color: var(--City-Streets);
}

