/*
Theme Name:   Oskar Sax
Theme URI:    default
Description:  Child theme for Oskar Sax
Author:       Oskar Kawka
Author URI:   default
Template:     hello-elementor
Version:      1.1.0
*/

/* GLOBALs */

a {
    color: #ffffff;
}
a:hover {
    color: #ffffffc9
}

h1, h2, h3, h4, h5, h6, h7, a {
    text-decoration: none !important;
}



/* STATYSTYKI */

@media only screen and (min-width: 768px) and (max-width: 1024px)   {
 .stats-sub.elementor-widget {
        width:50% !important;
    }
    .stats-sub.elementor-widget p {
        transform: translateY(20px)
    }
    .stats-section > div > div > div {
        display: flex;
        flex-direction: row;
        align-content: flex-start;
        justify-content: flex-start;
        align-items: flex-start;

    }
}

/* GALERIA */

@media only screen and (max-width: 768px) {
#gallery-1 > figure:nth-child(4), #gallery-1 > figure:nth-child(5) {
    display:none;
}
}


/* FORMULARZ KONTAKTOWY */
form.wpcf7-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.7); /* Półprzezroczyste tło */
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
    color: #ffffff; /* Biały tekst */
}

form.wpcf7-form p {
    margin-bottom: 20px;
}

form.wpcf7-form label {
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.wpcf7-form-control {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.2); /* Półprzezroczysty biały */
    color: #ffffff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7-form-control:focus {
    background-color: rgba(255, 255, 255, 0.3);
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

textarea {
    width: 100%;
    height: 120px;
    resize: none;
    padding: 12px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 16px;
    border: none;
}

.wpcf7-form-control.wpcf7-submit {
    background-color: #ff4b2b;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
    max-width: 50%;
}

#wpcf7-f144-p6-o1 > form > p:nth-child(6) {

}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #e03d20;
}

.wpcf7-response-output {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
    border-color: #4caf50;
    background-color: #e8f5e9;
    color: #2e7d32;
}

.wpcf7-response-output.wpcf7-validation-errors {
    border-color: #f44336;
    background-color: #ffebee;
    color: #c62828;
}
