body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Alata', sans-serif;
    overflow-x: hidden;
    background-image: url(/imghome/tlo.png);
    background-size: contain;
}

header {
    background-color: #8cbadc; 
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    height: 10vh;
    box-shadow: 0 8px 6px -6px #5788ab;
    z-index: 10;
    font-size: 1.2rem;
}

#logo-container {
    display: flex;
    align-items: center;
}

#logo {
    width: 50px;
    margin: 0 20px;
}

nav {
    flex-grow: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    justify-content: flex-start; 
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 10px 20px; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

nav ul li a:hover, nav ul li a:focus {
    background-color: rgba(255, 255, 255, 0.2); 
    border-radius: 50px; 
}

#contact-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#contact-info p, 
#contact-info a {
    align-items: center;
    margin: 0; 
    border-radius: 50px;
}

#mail {
    background-color: #ffc759;
    border: 1px solid #ffc759;
    padding: 10px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

#mail:hover {
    background-color: white;
    border: 1px solid white;
    color: #ffc759;
    text-shadow: none;
}

#contact-info p {
    margin: 0 15px;
}

#contact-info i {
    margin-right: 8px; 
}

#contact-info span {
    display: inline;
}

#contact-info a {
    text-decoration: none; 
    color: inherit;
    padding: 0; 
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    position: relative;
    display: inline-block;
}

/* Styl dla rozwijanego menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 15px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-shadow: none;
    color: #333;
    font-weight: 300;
    font-size: 0.8rem
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

#contact-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#contact-info p, 
#contact-info a {
    align-items: center;
    margin: 0; 
    border-radius: 50px;
}

#mail {
    background-color: #ffc759;
    border: 1px solid #ffc759;
    padding: 10px 30px;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

#mail:hover {
    background-color: white;
    border: 1px solid white;
    color: #ffc759;
    text-shadow: none;
}

#contact-info p {
    margin: 0 15px;
}

#contact-info i {
    margin-right: 8px; 
}

#contact-info span {
    display: inline;
}

#contact-info a {
    text-decoration: none; 
    color: inherit;
    padding: 0; 
}

/*podmenu
cennik*/

#pricing h2 {
    font-size: 2.5rem;
    color: #333;
    max-width: 1200px;
    margin: 40px auto;
}

#moc {
    color: red
}

.free-lesson-signup {
    max-width: 1200px;
    margin: auto;
    font-size: 1.5rem;
    color: #333;
    text-align: center
}

.signup-button {
    color: white;
    padding: 10px 30px 15px;
    background-color: #ffc759;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
}

.signup-button:hover {
    color: #ffc759;
    background-color: white;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin: 50px auto 25px;
    border-radius: 25px
}

table thead th {
    background-color: #8cbadc;
    color: #ffffff;
    padding: 10px;
    text-align: left;
}

table tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background-color: #ffffff;
    color: #333;
    
}

table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.info {
    text-align: center;
    margin-bottom: 30px;
}

/* Stylizacja sekcji informacyjnej */
#cena {
    padding: 20px;
    margin-bottom: 20px;
    width: 1200px;
    margin: auto
}

#cena h2 {
    margin-bottom: 10px;
    color: #333;
    font-size: 2rem
}

#cena p {
    font-size: 1rem;
    margin-bottom: 10px;
    margin-left: 20px;
    color: #333
}

#cena a {
    color: white;
}

footer {
    text-align: center;
    padding: 20px;
    color: white; 
}

footer a {
    color: white
}

@media (max-width: 768px) {
    * {
        margin: 0;
        padding: 0;
    }
    
    #pricing h2 {
        font-size: 2rem;
        margin-bottom: 10px;
        width: 80%;
    }
    
    .signup-button, .free-lesson-signup h3 {
        font-size: 1rem; 
        margin-bottom: 30px;
        width: 90%;
        margin: auto;
    }
    
    .signup-button  {
        font-size: 0.8rem;
        padding: 10px 25px 15px;
    }
    
    .signup-button a {
        margin-top: 20px
    }

    table {
        width: 100%; 
        font-size: 0.8rem; 
    }
    
    #cena h2 {
        font-size: 2rem
    }

    #cena, #cena p {
        font-size: 1rem; 
        width: auto; 
    }
    
    .zapis {
        margin-top: 15px
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    
    #pricing h2, .free-lesson-signup {
        font-size: 2rem;
        width: 80%;
        margin-bottom: 20px;
    }
    
    .free-lesson-signup h3 {
        font-size: 1.5rem;
    }

    .signup-button {
        padding: 8px 25px;
        font-size: 1rem;
    }

    table {
        width: 90%; 
    }

    #cena {
        width: 100%;
    }
}

@media (max-width: 930px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        height: auto
    }

    #logo-container {
        margin-bottom: 10px; 
    }

    #contact-socials {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    nav {
        order: 2; 
        margin: auto
    }

    nav ul {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        padding: 0;
        margin: 0;
        list-style-type: none;
    }

    nav ul li {
        margin: 5px; 
        font-size: 1.25rem;
    }

    #contact-info {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 10px; 
        font-size: 0.8rem;
        margin: auto;
    }
}

@media (min-width: 930px) and (max-width: 1600px) {  
  header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    #logo-container {
        flex-basis: auto; 
        justify-content: flex-start; 
        margin-top: 10px;
    }

    nav {
        width: 100%;
        justify-content: center;
        padding: 0;
        margin-top: 20px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        padding: 0 10px;
        font-size: 1.3rem;
        text-align: 
    }

    #contact-socials {
        width: 100%; 
        justify-content: space-evenly; 
        flex-direction: row;
        margin-top: 20px; 
    }

    #contact-info {
        justify-content: center;
    }

    #contact-info p, 
    #contact-info a {
        display: block; 
    }
}