﻿
*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* background image with blur + dim */
body::before {
    content: "";
    background: url('background_img.png') no-repeat center center/cover;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    filter: blur(0px) brightness(80%);
    z-index: -1; /* keeps it behind form */
}

/* body {
    background-color: #080710;
    background-image: url('background_img.png');
    background-size: cover;
    height: 100vh;
    background-repeat: no-repeat;

} */

.background {
    width: 430px;
    height: 520px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
}

    .background .shape {
        height: 200px;
        width: 200px;
        position: absolute;
        border-radius: 50%;
    }

.shape:first-child {
    background: linear-gradient( #1845ad, #23a2f6 );
    left: -80px;
    top: -80px;
}

.shape:last-child {
    background: linear-gradient( to right, #ff512f, #f09819 );
    right: -30px;
    bottom: -80px;
}

form {
    height: 32.5rem;
    width: 25rem;
    background-color: rgba(255, 255, 255, 0);
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    right: 2%;
    /* left: 18%; */
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 50px 35px;
}

    form * {
        font-family: 'Poppins',sans-serif;
        /*color: #ffffff;*/
        letter-spacing: 0.5px;
        outline: none;
        border: none;
    }

    form h3 {
        font-size: 2rem;
        font-weight: 500;
        line-height: 2.625rem;
        text-align: center;
    }

label {
    display: block;
    margin-top: 1.875rem;
    font-size: 1rem;
    font-weight: 500;
}

input {
    display: block;
    height: 3.125rem;
    width: 100%;
    /*background-color: rgba(255,255,255,0.07);*/
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 0.875rem;
    font-weight: 300;
}

::placeholder {
    color: #e5e5e5;
}

button {
    margin-top: 3.125rem;
    width: 100%;
    background-color: #078bc9f5;
    color: #080710;
    padding: 10px 0;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    border: 2px solid #fff;
}

    button:hover {
        background-color: #31b1fae7;
        color: #ffffff9a;
    }

input {
    border-radius: 12px;
    
}

    input:focus {
        border: 1px solid #2a9cffbe;
    }

.background {
    display: none;
}

@media only screen and (max-width: 1500px) {
    form {
        left: 30% !important;
    }
}

@media only screen and (max-width: 885px) {
    body {
        background-color: #080710 !important;
        background-image: none !important;
    }

    form {
        left: 50% !important;
    }

    .background {
        display: block !important;
    }
}

@media only screen and (max-width: 429px) {
    body {
        background-color: #080710 !important;
        background-image: none !important;
    }

    form {
        left: 50% !important;
    }

    .background {
        display: block !important;
    }

    form {
        width: 90%;
    }
}
