/* background */
.contact {
    background-image: url('images/fot5-reduce.jpg');
}

/* h1 color */
.contact h1 {
    color: #ffffff;
}

.contact::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 100%, rgba(0, 0, 0, 0.8) 0%);
}

/* Form background */
.contact-form {
    opacity: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.849);
}

/* Form label */
.contact-form label {
    color: #ffffff;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Fields in form */
.contact-form .form-control {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 16px;
    background-color: #ffffff;
    opacity: 80%;
    color: #000000;
}

/* Fields placeholders */
.contact-form .form-control::placeholder {
    color: #6b6b6b; /* Change this to your desired placeholder text color */
    opacity: 1; /* Ensure the color is fully applied */
}

/* Button ? */
.contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

/* Button hover */
.contact-form button[type="submit"]:hover {
    background-color:rgba(223, 64, 64, 0.856);
}

/* Button static */
.contact-form button[type="submit"] {
    background-color: #272727;
    opacity: 90%;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    transition: background-color 0.3s ease;
}

/* Social icons */
.contact-icons {
    font-size: 32px;
    color: #ffffff;
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.contact-container a[href*="facebook.com"]:hover .contact-icons {
    color: #0077b5; /* LinkedIn blue */
}

.contact-container a[href*="mailto:"]:hover .contact-icons {
    color: rgb(201, 79, 79); /* White color for mail icon on hover */
}

/* text settings */
.contact p {
    color: #ffffff;
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Contact form message colors */
.success {
    color: rgb(54, 117, 54);
}

.error {
    color: rgba(223, 64, 64, 0.856);
}

.warning {
    color: rgb(216, 164, 68);
}

#contact span {
    display: block;
    background-color: rgba(0, 0, 0, 0.849);
    /* background-color: rgba(0, 0, 0, 0.7); */
    color: #ffffffe8; /* Kolor tekstu, można dostosować */
    padding: 15px;
    border-radius: 10px; /* Zaokrąglenie rogów */
    margin-bottom: 20px; /* Odstęp poniżej */
    width: 100%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Delikatny cień dla efektu 3D */
    z-index: 4; /* Sprawia, że element jest nad innymi */
    position: relative; /* Ustawienie pozycji względem innych warstw */
    font-size: 18px;
}

.contact-form {
    width: 100%; /* Możesz dostosować, jeśli formularz ma niestandardową szerokość */
    max-width: 600px; /* Ograniczenie maksymalnej szerokości, jeśli formularz ma być responsywny */
    margin: 0 auto; /* Wyśrodkowanie formularza */
}

#contact span {
    max-width: 600px;
    margin: 0 auto 20px; /* Wyśrodkowanie span */
}