@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Arimo&family=Open+Sans:wght@300&family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish&family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400&display=swap');

body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    overflow: hidden;
}

main{
    background-color: rgba(173, 165, 165, 1);
    display: flex;
    justify-content: space-between;
    height:100vh;
    width:100vw;
    margin: auto;
}

.login {
    width: 50%;
    background: rgb(15, 107, 185);
    background: radial-gradient(circle, rgba(15, 107, 185, 1) 0%, rgba(12, 7, 98, 1) 100%);
}

.form {
    width: 50%;
}

.center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: 'Mulish', sans-serif;
    color: whitesmoke;
    font-size: 1.5;
}

input[type="submit"]:hover {
    background-color: rgba(15, 107, 185, 1);
}

input[type="submit"] {
    background-color: rgba(12, 7, 98, 1);
    font-family: 'Mulish', sans-serif;
    color: white;
}

form {
    width: 400px;
    height: 450px;
    box-sizing: border-box;
    border-radius: 5mm;
    padding: 40px 30px;
    backdrop-filter: blur(5px) saturate(160%);
    -webkit-backdrop-filter: blur(5px) saturate(160%);
    position: relative;
}

.title {
    width: 100%;
    font-family: poppins;
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: rgba(12, 7, 98, 1);
}

.title span {
    font-size: 0.8vw;
    font-family: 'Mulish', sans-serif;
}

.inputs {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.inputf {
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    margin: 15px 0;
    position: relative;
}

.input {
    width: 100%;
    height: 45px;
    box-sizing: border-box;
    border: none;
    border-bottom: 0.55mm solid rgba(12, 7, 98, 1);
    background: none;
    padding: 0 15px;
    font-family: poppins;
    font-size: 15px;
    color: rgba(12, 7, 98, 1);
    outline: none;
}

.input::placeholder {
    color: rgba(12, 7, 98, 1);
}

.label {
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(12, 7, 98, 1);
    font-size: 13px;
    font-weight: 500;
    font-family: poppins;
    opacity: 0;
    z-index: -1;
    transition: 0.25s ease-out;
}

.input:focus+.label {
    top: -20px;
    opacity: 1;
    z-index: 1;
}

.input:focus::placeholder {
    opacity: 0;
}

.input:not(:placeholder-shown)+.label {
    top: -20px;
    opacity: 1;
    z-index: 1;
}

.icon {
    color: rgba(12, 7, 98, 1);
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translate(0, -50%);
    font-size: 18px;
}

form h1{
   display: none;
}

.links {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-family: poppins;
    margin-bottom: 50px;
    color: rgba(12, 7, 98, 1);
}

.links label {
    display: flex;
    align-items: center;
    justify-content: center;
}

.links a {
    font-weight: 600;
    color: rgba(12, 7, 98, 1);
}

.btn {
    width: 100%;
    height: 40px;
    background: white;
    outline: none;
    border: none;
    cursor: pointer;
    border-radius: 6mm;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.btn span {
    color: rgb(40, 40, 40);
    font-family: poppins;
    font-size: 16px;
}

.text {
    width: 100%;
    font-family: poppins;
    font-size: 13px;
    text-align: center;
    color: rgba(12, 7, 98, 1);
}

.text a {
    color: rgba(12, 7, 98, 1);
    font-weight: 600;
}

.dots {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

input:focus{
    border-bottom: 2px solid green;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    margin: 1px;
    animation: load 0.5s ease-out infinite alternate var(--delay);
}

@keyframes load {
    0% {
        background: rgb(0, 0, 0);
    }

    50%,
    100% {
        background: rgba(0, 0, 0, 0.1);
    }
}

.btn .dots {
    display: none;
}

.btn span {
    display: block;
}

.btn.active .dots {
    display: flex;
}

.btn.active span {
    display: none;
}

.input.active {
    animation: shake 0.25s ease-in-out 3;
}

@media screen and (max-width:450px) {
    .login {
        width: 0;
        display: none;
    }

    .form {
        margin: 0;
        width: 100vw;
    }

    form {
        background-color: aqua;
        width: 100%;
        height: 100%;
        border-radius:0;
        background: rgb(15, 107, 185);
        background: radial-gradient(circle, rgba(15, 107, 185, 1) 0%, rgba(12, 7, 98, 1) 100%);
    }



    .title span {
        font-size: 10pt;
    }

    form h1 {
        font-size: 10vw;
        margin-top: 1vw;
        margin-bottom: 15vw;
        height:15vw;
        display: block;
        text-align:center;
        border-bottom:1px solid white;
    }

   
    .icon {
        color: rgb(255, 255, 255);
    }

    .title{
        color: white;
    }

    .input {
        color:white;
    }

    .input::placeholder{
        color:white;
    }

    label{
        color:white;
    }

    .text, .links{
        color: white;
    }

    .links a{
        color: white;
    }

    .text a{
        color: white;
    }


}