@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&family=Rubik&display=swap') ;

body{
    font-family: Montserrat, sans-serif; 
    overflow: hidden;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 480px;
    padding: 20px;
    border-radius: 20px;
    position: relative;
    margin: 100px auto;
    background: #f8f9fd;
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
}

.title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 30px;
    color: black;
}

.title::before {
    width: 18px;
    height: 18px;
}

.title::after {
    width: 18px;
    height: 18px;
    animation: pulse 1s linear infinite;
}

.title::before,
.title::after {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 0px;
    background-color: #FA5229;
}

.message, 
.signin {
    font-size: 14px;
    color: black;
}

.signin {
    text-align: center;
}

.signin a:hover {
    text-decoration: underline royalblue;
}

.signin a {
    color: #00bfff;
}

.flex {
    display: flex;
    width: 100%;
    gap: 30px;
}

.fle {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.fle label{
    max-width: 460px;
}

.form label {
    position: relative;
}

.form label .input {
    background: white;
    color: #000000;
    width: 100%;
    padding: 20px 05px 05px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 10px;
}

.form label .input + span {
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 10px;
    top: 0px;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
}

.form label .input:placeholder-shown + span {
    top: 12.5px;
    font-size: 0.9em;
    color: black;
}

.form label .input:focus + span,
.form label .input:valid + span {
    color: #FA5229;
    top: 0px;
    font-size: 0.7em;
    font-weight: 600;
}

.input {
    font-size: medium;
}

.submit {
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transform: .3s ease;
    background-color:  #FA5229;
}

.submit:hover {
    background-color: #00b383;
}

@keyframes pulse {
    from {
        transform: scale(0.9);
        opacity: 1;
    }

    to {
        transform: scale(1.8);
        opacity: 0;
    }
}
