.sf-form-section {
    max-width: 800px;
    margin: 50px auto 0;
}

.sf-form-container {
    overflow: hidden;
}

.sf-form-container article {
    padding: 2.3rem 2.2rem;
    background: #A18276;
    background: var(--bg-quaternary);
    overflow: hidden;
}

h2 {
    color: var(--color-white);
}

.sf-form-container article h2 {
    color: var(--color-white);
    color: var(--color-black);
    margin-bottom: 20px;
}

.sf-resume {
    color: var(--color-black);
}

.sf-socials li {
    background-color: var(--bg-primary);
    border-radius: 5px;
}

.sf-honey {
    position: absolute;
    left: -9999px;
}
  
#sf-form {
    background-color: var(--bg-secondary);
}

.circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, #201013);
    position: absolute;
}

.circle.one {
    width: 130px;
    height: 130px;
    top: 130px;
    right: -40px;
}

.circle.two {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 30px;
}

#sf-form:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: var(--bg-primary);
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
}

.sf-form-block {
    padding: 2.3rem 2.2rem;
}

#sf-form input {
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: 0.3s;
    box-sizing: border-box;
}

#sf-form input[type="file"] {
    border: none;
}

#sf-form textarea {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 22px;
    resize: none;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.sf-form-element {
    margin: 20px 0;
    position: relative;
}

.sf-form-element label {
    display: inline-block;
    padding-bottom: 10px;
}

.sf-form-container .sf-socials {
    margin-top: auto;
}

.sf-form-container article:before {
    content: "";
    position: absolute;
    width: 110px;
    height: 100px;
    border: 22px solid #000;
    border-radius: 50%;
    left: -22px;
    bottom: -48px;
    opacity: 0.3;
}

.sf-form-element label[for="file"] {
    width: 100%;
}

.sf-upload-btn {
    display: block;
    text-align: center;
    border-radius: 50px;
    padding: 5px 0;
    border: 2px solid #fff;
    margin-bottom: 20px;
}

#sf-form input[type="file"] {
    border: none;
    position: absolute;
    top: 6px;
    left: 0;
    opacity: 0;
    z-index: 2;
    padding: 0;
    cursor: pointer;
}

#sf-form input[type=submit]{
    cursor: pointer;
}

#sf-form input[type=submit]:hover{
    background: var(--bg-black-opacity);
}

.sf-alert {
    text-align: center;
    margin: 0px auto 30px;
    border: 1px solid #fff;
    padding: 10px 0;
    width: 100%;
}

.sf-alert svg {
    position: absolute;
    left: -12px;
}

.sf-alert p {
    font-weight: bold;
}

#sf-form .sf-form-control.success input,
#sf-form .sf-form-control.success textarea {
	border-color: #2ecc71;
}

#sf-form .sf-form-control.error input,
#sf-form .sf-form-control.error textarea {
	border-color: var(--color-red);
}

.sf-form-control small {
	color: var(--color-red);
	visibility: hidden;
}

.sf-form-control.error small {
	visibility: visible;
}


/* RESPONSIVE */

@media (max-width: 959px) {
    .sf-form-section {
        max-width: 90%;
    }

    #sf-form:before {
        top: -13px;
        left: calc(50% - 13px);
    }

    .sf-form-container .sf-socials {
        margin-top: 50px;
    }
}