
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;800&family=Paytone+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Open Sans', sans-serif;
}

.hero-section{
    height: 100vh;
    margin: 40px;
    border-radius: 16px 16px 0 0;
    background: #f2edff;
}

.bg-color{
    background: #f2edff;
    border-radius:  0 0 16px 16px;
    margin-bottom: 20px;
}

.form-container{
    width: fit-content;
    height: fit-content;
    padding: 40px 50px;
    background-color: #d9ccff;
}

.hero-section-title{
    margin-left: -34px;
}

.hero-section-title img{
    margin-bottom: 80px;
}

.hero-section-title h1{
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 40px;
    line-height: 60px;
    background: linear-gradient(108.79deg, #FC0599 19.77%, rgba(252, 5, 153, 0) 70.89%), linear-gradient(178.51deg, #FC05D4 13.78%, rgba(252, 5, 212, 0) 91.22%), linear-gradient(264.9deg, #5405FC 0.49%, rgba(84, 5, 252, 0) 104.13%), radial-gradient(104.94% 242.73% at 6.64% 17.66%, #0591FC 0%, rgba(5, 145, 252, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, #FFFFFF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    background-blend-mode: darken, darken, darken, darken, normal;
    margin-bottom: 24px;
}

.hero-section-title p{
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #343434;
}

.hero-section .row{
    height: 100vh;
}

.formStyle{
    padding: 40px 60px;
    background: #FFFFFF;
    box-shadow: 8px 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    float: right;
    width: 540px;
}

.dummy{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

select:invalid{
    color: #CECECF;
}

.hero-section-form form label{
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: #888A98;
}

.hero-section-form-input{
    width: 100%;
    padding: 16px;
    border-radius: 5px;
    border:1px solid #DDDDDD;
    margin-bottom: 24px;
}

.shake {
    animation: shake 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}
  
@keyframes shake {
    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.emailError{
    color: red;
    font-size: 14px;
    margin-top: -23px;
    display: none;
}

.hoverStyle:hover{
    transform: translateY(-2px);
    box-shadow: 0px 3px 6px #6e6c6c;
}

.hoverStyle:active{
    transform: translateY(-1px);
    box-shadow: 0px 2px 6px #6e6c6c;;
}


.emailErrorShow{
    display: block !important;
    animation: shake 1s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.hero-section-form-input input::placeholder{
    color: #CECECF;
}

.hero-section-form form input{
    border: none;
    width: 100%;
}

.hero-section-form-input select{
    border: none;
    width: 100%;
}

.hero-section-form-input select:focus{
    outline: none;
}

.hero-section-form form input:focus{
    outline: none;
}

.hero-section-form-button{
    padding: 12px 24px;
    width: fit-content !important;
    margin: auto;
    display: flex;
    justify-content: center;
    background: linear-gradient(108.79deg, #FC0599 19.77%, rgba(252, 5, 153, 0) 70.89%), linear-gradient(178.51deg, #FC05D4 13.78%, rgba(252, 5, 212, 0) 91.22%), linear-gradient(264.9deg, #5405FC 0.49%, rgba(84, 5, 252, 0) 104.13%), radial-gradient(104.94% 242.73% at 6.64% 17.66%, #0591FC 0%, rgba(5, 145, 252, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, #D9D9D9;
    background-blend-mode: darken, darken, darken, darken, normal;
    border-radius: 4px;
    color: #fff;
}

.borderStyle{
    background: radial-gradient(207.45% 207.45% at 46.5% 100%, rgba(180, 153, 255, 0.8) 0%, rgba(180, 153, 255, 0) 100%);
    border-radius: 16px;
    padding: 40px;
    height: fit-content;
    margin-left: 100px;
    margin-right: -88px;
    height: 770px;
}


@media only screen and (max-width: 600px) {

    .hero-section{
        margin: 24px 16px;
        border-radius: 16px;
    }

    .hero-section-title{
        margin: 0;
    }

    .hero-section-title img{
        margin-top: 24px;
        margin-bottom: 24px;
        margin-left: 50%;
        transform: translateX(-50%) scale(0.8);
    }

    .formStyle{
        width: 100%;
        margin: 0;
        padding: 40px 36px;
    }

    .hero-section-form-input{
        padding: 8px 16px;
    }

    .borderStyle {
        padding: 24px;
        height: fit-content;
        margin-left: 0;
        margin-right: 0;
        height: 680px;
        margin-bottom: 40px;
    }

    .hero-section-title h1{
        font-family: 'Paytone One';
        font-weight: 400;
        font-size: 22px;
        line-height: 31px;
        background: linear-gradient(108.79deg, #FC0599 19.77%, rgba(252, 5, 153, 0) 70.89%), linear-gradient(178.51deg, #FC05D4 13.78%, rgba(252, 5, 212, 0) 91.22%), linear-gradient(264.9deg, #5405FC 0.49%, rgba(84, 5, 252, 0) 104.13%), radial-gradient(104.94% 242.73% at 6.64% 17.66%, #0591FC 0%, rgba(5, 145, 252, 0) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, #FFFFFF;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-fill-color: transparent;
        background-blend-mode: darken, darken, darken, darken, normal;
    }

    .hero-section-title p{
        font-weight: 400;
        font-size: 14px;
        line-height: 21px;
    }
}