.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 50px;
}

form {
    background-color: #fbfbfb;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: 30px;
}

.contact-head {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25em;
    margin-bottom: 26px;
    max-width: 400px;
}

form input, form textarea {
    resize: none;
    outline: none;
    color: #1b1b1b;
    background-color: #f4f4f4;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 20px;
    font-weight: 500;
    font-size: 15px;
}

form button {
    background-color: #1b1b1b;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1b1b1b;
    gap: 12.5px;
    box-shadow: 0 6px 12px rgba(27, 27, 27, .25);
    padding: 20px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    margin-top: 20px;
    transition: 0.3s
}

form button:hover {
    background-color: rgb(57, 57, 57);
}

.contact-img {
    overflow: hidden;
    position: relative;
    border-radius: 30px;
}

.contact-img::before {
    content: "";
    position: absolute;
    background-image: linear-gradient(135deg, #1b1b1b 15%, rgba(27, 27, 27, 0) 80%);
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
}

.contact-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.contact-img-div {
    position: absolute;
    left: 0%;
    top: 0%;
    z-index: 1;
    margin: 40px;
}

.contact-img-div .links {
    justify-content: left;
}

.contact-img-div .links a {
    background-color: #fbfbfb;
    border: 1px solid #fbfbfb;
}

.contact-img .subhead {
    position: absolute;
    bottom: 0%;
    left: 0%;
    margin: 40px;
    z-index: 1;
}