.contact-us {
    position: relative;
    padding: 50px 0;
    transition: padding .3s ease;
    margin: 50px 0;
}

.contact-us img {
    position: absolute;
    width: 50%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
    z-index: -1;
    transition: all .3s ease;
    transition: border-radius 2s ease;

    border-radius: 8px;
}

.contact-us .content {
    margin: 50px 25px 50px 33%;
    z-index: 1;
    background: var(--bg-box);
    border-top: solid 8px var(--main-color);
    border-radius: 8px;
    padding: 30px;
    transition: margin .3s ease;

    box-shadow: 2px 4px 25px #0001;
    min-height: 320px;
}

.contact-us .success>div {
    min-height: 250px;
}

.contact-us .success>div>div {
    width: 100%;
}

.contact-us form {
    margin: 0;
}

.contact-us input,
.contact-us button {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 28px;
    border: solid 2px var(--main-color);
    padding: 15px 25px;
    background: var(--bg-box-border);
    color: var(--color-base-2);
}

.contact-us input[type=button],
.contact-us button {
    text-align: center;
    color: black;
    font-weight: bold;
    background: var(--main-color);
    margin: 0;
}

.contact-us button {
    max-width: 128px;
    margin-left: auto;
    margin-right: auto;
}

.contact-us .success {
    display: none;
}

.contact-us .success>div {
    display: flex;
    align-items: center;
}

.contact-us h2 {
    margin: 0 0 20px 0;
}

.contact-us h3 {
    margin: 0;
    text-align: center;
}

.contact-us .success p {
    text-align: center;
}

@media screen and (max-width:768px) {
    .contact-us {
        padding-top: 335px;
    }

    .contact-us img {
        height: 500px;
        width: 100%;
        border-radius: 0;
    }

    .contact-us .content {
        margin-left: 10%;
        margin-right: 10%;
    }

}

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

    .contact-us img {
        height: 483px;
    }

    .contact-us .content {
        margin-left: 10px;
        margin-right: 10px;
    }

}

@media screen and (max-width:460px) {
    .contact-us {
        padding-top: 500px;
    }

    .contact-us img {
        height: 500px;
    }

    .contact-us .content {
        border-radius: 0;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
}