.form-group {
    margin: 0 !important;
    position: relative;
}

.form-with-image {
    max-width: 960px;
    padding: 1em 2em;
    box-sizing: content-box;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4em;
    justify-items: center;
}

.form-side-image {
    width: 100%;
    max-width: 450px;
}

label {
    font-size: 1.0em;
    margin-top: 10px;
    margin-bottom: 3px;
    display: block;
    font-weight: 400;
}

input,
textarea,
select {
    padding: 10px 13px;
    /* width: -webkit-fill-available; */
    border-radius: 2px;
    border: 1px solid #d4d9e3;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    transition: all .3s ease-out;
    font-size: .9em;
    outline-color: transparent;
    outline-style: none;
}

input[type="email"]::placeholder,
input[type="text"]::placeholder {
    color: #82a0db;
}

input[type="email"]:hover,
input[type="password"]:hover,
input[type="text"]:hover,
input[type="tel"]:hover,
select:hover,
textarea:hover {
    border-color: #b565ff;
    background: #f9ffd9;
}

input[type="submit"] {
    background: #4c4cff;
    color: white;
    border-radius: 4px;
    margin-top: 15px;
    font-weight: 500;
}

input[type="submit"]:hover {
    cursor: pointer;
    background: #2e2e8a;
    color: white;
}

/* RESPONSIVE CSS
  -------------------------------------------------- */

@media (max-width: 1000px) {
    .form-with-image {
        width: 95%;
        max-width: 800px;
        gap: 2.5em;
    }

    label {
        font-size: 0.9em;
    }

    input {
        padding: 7px 9px;
    }
}

@media (max-width: 768px) {
    .form-with-image {
        display: block;
        max-width: 480px;
        padding: 1em;
    }

    .form-side-image {
        display: none;
    }

    label {
        font-size: 0.9em;
    }

    input {
        padding: 7px 9px;
    }
}