.contactinfo {
    display: flex;
    flex-wrap: nowrap;
    gap: 48px;
    padding: 32px;
}

.contactinfohead {
    padding: 8px;
    color: #999;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.contactcard p {
    font-weight: 300;
    font-size: 16px;
}

.contactcard a {
    color: #6aaf08;
}

.contactcard a:hover,
.contactcard a:active {
    color: #518605;
}

.messagehead {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    padding-bottom: 32px;
    color: #fff;
}

#form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

input[type=text],
input[type=email],
textarea {
    color: white;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border: 2px solid #6aaf08;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    box-sizing: border-box;
    outline: 0;
}

input[type=text],
input[type=email],
textarea:active {
    border-color: #518605;
}

textarea {
    height: 150px;
    line-height: 150%;
    resize: horizontal;
    width: 520px;
}

/* [type="submit"] {
    width: 50%;
    background: #6aaf08;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    font-size: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.3s;
    margin-top: -4px;
}

[type="submit"]:hover {
    background: #518605;
} */

dialog {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 2px solid rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    box-shadow: 0 0 12px #333;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
}

dialog h2 {
    margin-bottom: 8px;
}

dialog p {
    font-size: 16px;
    font-weight: 300;
}

dialog button {
    padding: 12px 48px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid #6aaf08;
    box-shadow: 0 0 10px #6aaf08;
    border-radius: 4px;
    transition: 0.25s;
}

dialog button:hover,
dialog button:active {
    color: rgba(0, 0, 0, 0.6);
    background-color: #6aaf08;
    border: 2px solid #518605;
    box-shadow: 0 0 8px #518605;
}


/* Mobile */
@media (max-width: 875px) {
    .contactinfo {
        flex-direction: column;
        gap: 8px;
    }

    .contactinfohead,
    .messagehead {
        color: #fff;
    }

}