section#contact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    background-image: url(/images/contact-bg.jpg);
    background-position: center;
    background-size: cover;
    max-width: var(--max-width);
}

section#contact .container {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: row;
    gap: 20px;
}

section#contact .container .item {
    flex-grow: 1;
    width: calc(30% - 20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: white;
}

section#contact .container .item .title {
    font-size: 1.6em;
}

section#contact .container .item.form {
    width: calc(40% - 20px);
}

section#contact .container .item .firma-qr {
    width: 200px;
    height: 200px;
}

section#contact .sub-items {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

section#contact .sub-items.between {
    justify-content: space-between;
    max-width: 300px;
}

section#contact .sub-items i {
    color: greenyellow;
}

dialog#contacto-modal-message {
    border-radius: 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

dialog#contacto-modal-message.d-none {
    display: none;
}

dialog#contacto-modal-message form button {
    width: 100%;
}

dialog#contacto-modal-message::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 849px) {
    section#contact .container {
        display: flex;
        flex-direction: column;
    }
    section#contact .container .item,
    section#contact .container .item.form {
        width: 100%;
    }
}
