.contact {
    background: url("image/ring.webp");
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact > div {
    display: flex;
    border-radius: 5px;
    background-color: var(--color-white);
    width: 600px;
    height: 600px;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact > div > form {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.contact > div > form > img {
    height: 80px;
    width: auto;
}

.contact > div > form > h1 {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.contact > div > form > span {
    width: 50%;
    display: inline-flex;
    padding: 0 10px;
}

.contact > div > form > span > i {
    position: absolute;
    right: 20px;
    top: 14px;
    display: none;
}

.contact > div > form > span.visible > i {
    display: block;
}

.contact > div > form > span > i.fa-check {
    color: var(--color-main-light);
}

.contact > div > form > span > i.fa-xmark {
    color: var(--color-alter);
}

.contact > div > form > span:last-of-type {
    width: 100%;
}

.contact > div > form > span > input {
    width: 100%;
    padding: 8px 32px 8px 16px;
    font-size: 18px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.contact > div > form > span > input:nth-child(even) {
    margin-left: auto;
}

.contact > div > form > span > textarea {
    resize: none;
    width: 100%;
    height: 200px;
    border: 1px solid var(--color-border);
    padding: 16px 32px 16px 16px;
    font-size: 18px;
    margin-bottom: 20px;
}

.contact > div > form > span > input:focus, .contact > div > form > span > textarea:focus {
    border: 1px solid var(--color-main-light);
}

.contact > div > form > button {
    margin-left: auto;
    padding: 8px 16px;
    background-color: var(--color-main);
    border-radius: 5px;
    color: var(--color-white);
    border: none;
    font-weight: 600;
    font-size: 18px;
}

.contact > div > form > button:hover {
    background-color: var(--color-main-alter);
    text-decoration: underline;
}

.contact > div > form > button > i {
    margin-right: 10px;
}

.contact > div > form > input:focus, .contact > div > form > textarea:focus {
    border: 2px solid var(--color-main);
}

.contact > div > form > p {
    font-size: 12px;
    width: 50%;
    cursor: pointer;
}

.contact > div > form > p:hover {
    text-decoration: underline;
}

@media screen and (max-width: 1100px) {
    .contact {
        margin-top: 0;
    }
}

@media screen and (max-width: 800px) {
    .contact, .contact > div {
        height: auto;
    }

    .contact > div > form > img {
        margin-top: 30px;
    }

    .contact > div > form > span, .contact > div > form > p, .contact > div > form > button {
        width: 100%;
    }
}