@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    display: grid;
    place-items: center;
    gap: 50px;
    margin: 0;
    height: 100vh;
    /* padding: 0 32px; */
    background: #eff9ff;
}

/* @media (width >= 500px) {
    body {
      padding: 0;
    }
  } */

.background {
    position: fixed;
    top: -50vmin;
    left: -50vmin;
    width: 85vmin;
    height: 85vmin;
    border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
    background: #65c8ff;
    z-index: 1;
  }
  
  .background_1 {
    position: fixed;
    right: -50vmin;
    bottom: -55vmin;
    width: 85vmin;
    height: 85vmin;
    border-radius: 47% 53% 61% 39% / 45% 51% 49% 55%;
    background: #143d81;
    z-index: 2;
  }

.wrapper {
    /* background: #ececec; */
    padding: 0 20px 0 20px;
    z-index: 3;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.row {
    width: 900px;
    height: 550px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, .2);
}

.side-image{
    background-image: url("../images/hero.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    border-radius: 10px 0 0 10px;
}

img {
    width: 110px;
    position: absolute;
    top: 0;
    /* left: 10px; */
}

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text p {
    color: #fff;
    font-size: 18px;
}

i {
    font-size: 15px;
    font-weight: 400;
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.input-box {
    width: 330px;
    box-sizing: border-box;
}

.input-box header{
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 45px;
}

.input-field {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0 10px 0 10px;
}

.input {
    height: 45px;
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    outline: none;
    margin-bottom: 20px;
    color: #40414a;
}

.input-box .input-field label {
    position: absolute;
    top: 10px;
    left: 10px;
    pointer-events: none;
    transition: .5s;
}

.input-field .input:focus ~ label {
    top: -10px;
    font-size: 13px;
}

.input-field .input:valid ~ label {
    top: -10px;
    font-size: 13px;
    color: #5d5076;
}

.input-field .input:focus, .input-field .input:valid {
    border-bottom: 1px solid #743ae1;
}

/* .submit {
    border: none;
    outline: none;
    height: 45px;
    background: rgba(37, 95, 156, 0.9);
    border-radius: 5px;
    transition: .4s;
    font-weight: 600;
}

.submit:hover {
    background: #438bbc;
    color: #fff;
} */

.submit {
    display: table-cell;
    vertical-align: middle;
    border: none;
    background-color: transparent;
}

.submit {
    color: white;
    margin: auto;
    width: 300px;
    line-height: 40px;
    font-size: 14px;
    letter-spacing: 2px;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #269ce0;
    box-shadow: 0px 15px 18px -6px #2db2ff;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    position: relative;
}

.submit:hover {
    background-color: #0544f1;
    box-shadow: 0px 22px 19px -8px #0740df;
    transform: scale(1.02,1.02);
}

.submit:active {
    background-color: #0544f1;
    box-shadow: 0px 12px 18px -4px #0544f1;
    transform: scale(0.95,0.95);
    transition: all 0.4s -0.125s;
}

.signin {
    text-align: center;
    font-size: small;
    margin-top: 25px;
}

.signin a {
    text-decoration: none;
    font-weight: 700;
    color: #000;
    transition: .5s;
}

span a:hover {
    text-decoration: underline;
    color: #000;
}

@media only screen and (max-width: 768px) {
    .side-image {
        border-radius: 10px 10px 0 0;
    }

    img {
        width: 100px;
        position: absolute;
        top: 10px;
        /* left: 38%; */
    }

    .text {
        position: absolute;
        top: 70%;
        text-align: center;
    }

    .text p, i {
        font-size: 17px;
    }

    .row {
        max-width: 420px;
        width: 100%;
    }
}