.contact-us {
    padding: 1em 1.2em;
    margin: 1.2em auto;
    width: 100%;
    max-width: 100%;
    background-color: var(--input-background);
    border-radius: 0.5em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
    font-family: Arial, sans-serif;
    color: var(--body-shadow-color);
    overflow-wrap: break-word;
    word-wrap: break-word;
    box-sizing: border-box;
}

.success-message, .error-message {
    font-size: 0.9em; /* Smulkesnis šriftas */
    padding: 0.8em;
    border-radius: 0.5em;
    margin-bottom: 1em;
}

.success-message {
    color: var(--body-a-hover-color); /* žalsva spalva */
    border: 1px solid var(--body-a-hover-color); /* žalsvas kraštas */
}

.error-message {
    color: var(--error-border-color); /* Raudonai-morkava spalva */
    border: 1px solid var(--error-border-color); /* Raudonai-morkava kraštas */
}

.contact-us h1,
.contact-us h2 {
    font-size: 1.8em;
    margin-bottom: 1em;
    text-align: center;
    color: var(--bold-font-color);
    box-sizing: border-box;
}

.contact-us p,
.contact-us li {
    font-size: 1em;
    margin-bottom: 0.9em;
    box-sizing: border-box;
}

.contact-us ul {
    padding-left: 1.2em;
    margin-bottom: 1.5em;
}

.contact-us form {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.contact-us label {
    font-weight: bold;
    margin-bottom: 0.2em;
}

.contact-us input,
.contact-us textarea {
    padding: 0.6em;
    border: 1px solid #ccc;
    border-radius: 0.3em;
    font-size: 1em;
    background-color: #fff;
    color: #000;
    box-sizing: border-box;
    width: 100%;
}

.contact-us button {
	width: 100%;
    padding: 0.8em;
    border: none;
    border-radius: 0.5em;
    background-color: var(--form-button-color);
    color: white;
    font-size: 1em;
    cursor: pointer;
}

.contact-us button:hover {
	background-color: var(--body-a-hover-color);
}


/* Desktop (tablet ir didesni ekranai) */
@media (min-width: 600px) {
    .contact-us {
        padding: 1.2em 2em;
        max-width: 40em;
    }

    .contact-us h1,
    .contact-us h2 {
        font-size: 2.2em;
    }

    .contact-us p,
    .contact-us li,
    .contact-us input,
    .contact-us textarea {
        font-size: 1.1em;
    }

    .contact-us button {
        font-size: 1.1em;
    }
}
