* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family:'Poppins', sans-serif;
}

body {
    background: #e8f5ff;
}

.navbar {
    width: 100%;
}

.navbar2 {
    top: 0;
    left: 0;
    max-width: 1300px;
    padding: 60px 20px 30px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    margin: auto;
    box-sizing: border-box;
    justify-content: space-between;
}

.navbar .logo {
    font-size: 2em;
    color: #012456;
    pointer-events: none;
    padding-right: 86px;
    display: block;
}

#menu {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 50px;
    display: none;
    z-index: 100;
}

.navbar a {
    color: #012456;
    padding: 6px 25px;
    border-radius: 20px;
    margin: 0 10px;
    font-weight: 500;
    margin-left: 80px;
    font-size: 1.1em;
    transition: 0.5s;
}

.nav-links a:hover {
    background: #1390cf;
    color: #fff;
}

header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    background-image: url('data/bg.webp');
    background-size: cover;
    background-position: center;
    width: auto;
    height: 768px;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    width: auto;
    height: 721px;
    flex-wrap: wrap;
}

.hero-text {
    position: relative;
    font-size: 3em;
    font-weight: 800;
    left: 55px;
    color: #012456;
    line-height: 1.05;
    margin: 0;
    bottom: 70px;
}

.hero-text p {
    font-size: 1.5rem;
    font-weight: 400;
    padding-top: 6px;
    line-height: 1.25;
    margin: 0;
}

header button {
    width: auto;
    position: relative;
    background-color: #1390cf;
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    margin-top: 15px;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(19, 144, 207, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
  }

  header button:hover {
    background-color: #fbfbfb;
    color: #012456;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(19, 144, 207, 0.4);
    transition: all 0.3s ease;
  } 

.overlay {
    transform: translateY(156px);
    position: absolute;
    width: 100%;
    height: 200px;
    background-image: linear-gradient(rgba(0, 0, 0, 0), #012456df 85%);
    z-index: 1;
}

#bg-ct {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 536px;
    bottom: 13px;
    overflow-x: hidden;
} 


.nav-links.mobile-menu {
    margin-left: 0;
}

@media (max-width: 1290px) {
    header {
        height: 729px;
    }

    #menu {
        display: block;
        z-index: 300;
    }

    .navbar2 {
        position: relative;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .logo {
        position: relative;
        width: 150px;
        transform: translateY(-14px);
        left: 10px;
    }

    .nav-links {
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
        height: 100vh;
        background-color: #3da8deb4;
        backdrop-filter: blur(6px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 1s ease;
        z-index: 200;
    }

    header .nav-links a {
        margin: 25px;
        font-size: 1.4em;
    }

    .navbar2 a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        color: #ffffff;
    }

    .hero-text {
        font-size: 3.1em;
        left: 0;
        top: -60px;
        text-align: center;
    }
    .hero {
        justify-content: center;
    }
    .hero-text p {
        font-size: 1.45rem;
        padding-top: 10px;
    }
    .hero button {
        width: auto;
        font-size: 1rem;
        margin: 0;
        bottom: 3px;
        padding: 10px 16px;
    }
    #bg-ct {
        position: relative;
        bottom: 45px;
        overflow-x: hidden;
    }
    .overlay {
    transform: translateY(118px);
    position: absolute;
    height: 210px;
    background-image: linear-gradient(rgba(0, 0, 0, 0), #012456d6 90%);
    z-index: 1;
    }
}

@media (max-width: 1186px) {
    header {
        height: 911px;
    }
    .overlay {
        transform: translateY(280px);
        position: absolute;
        height: 210px;
        background-image: linear-gradient(rgba(0, 0, 0, 0), #012456d6 90%);
        z-index: 1;
        }
}

@media (max-width: 600px) {
    .overlay {
        transform: translateY(239px);
        }
}

@media (max-width: 806px) {
    header {
        overflow: hidden;
    }
    .hero button {
        margin-top: 15px;
    }
    .hero-text {
        font-size: 2.8em;
        left: 0;
        top: 15px;
        text-align: center;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
    #bg-ct {
        position: relative;
        height: 420px;
        bottom: -42px;
        overflow-x: hidden;
    }
}
                                    /* sekcja druga */

#splashes {
    position: absolute;
    width: 650px;
    transform: translateY(-120px) translateX(-500px);
}

#scales {
    position: absolute;
    left: 0;
    transform: translateY(px) translateX(-300px);
    width: 75%;
    overflow: hidden;
}

.hero-2 {
    color: #fff;
    background-color: #012456;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap-reverse;
    padding: 170px 30px 130px;
    gap: 100px;
    font-size: 1.45rem;
    background-image: url(data/scales.svg);
    background-repeat: repeat-y;
    background-size: 165vh;
    background-position: 10px -580px;
    background-attachment:fixed;
}

.hero-2 img {
    width: 380px;
    border-radius: 30px;
    z-index: 100;
}

.hero-2-text p {
    padding-top: 7px;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7em;
}

.hero-2-text h2 {
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
}

.hero-2-text {
    width: 480px;
}

.academy-info {
    background-color: #012456;
    color: #fff;
    padding: 80px 30px;
    display: flex;
    justify-content: center;
}

.academy-info div {
    max-width: 800px;
    text-align: center;
}

.academy-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.academy-info li {
    margin-bottom: 15px;
    font-weight: 300;
    line-height: 1.6em;
}

.academy-info p {
    font-size: 16.8px;
    font-weight: 400;
    line-height: 1.6em;
    margin-top: 20px;
    font-style: italic;
}

.academy-btn {
    margin-top: 30px;
    background-color: #1390cf;
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    padding: 12px 24px;
    box-shadow: 0 4px 12px rgba(19, 144, 207, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.academy-btn:hover {
    background-color: #fbfbfb;
    color: #012456;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(19, 144, 207, 0.4);
    transition: all 0.3s ease;
}

.more-about-btn {
    margin-top: 20px;
    width: 195px;
    height: 45px;
    position: relative;
    background-color: #1390cf;
    color: #fff;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 400;
    border: 0;
    cursor: pointer;
  }

  .more-about-btn:hover {
    background-color: #fbfbfb;
    transition: 0.3s;
    color:#012456;
  }

@media (max-width: 1020px) {
    #splashes {
        width: 70%;
        transform: translateY(120px) translateX(-250px);
    }

    #scales {
        position: absolute;
        left: 0;
        transform: translateY(-340px) translateX(-730px);
        width: 1500px;
        z-index: 10;
    }

    .hero-2 img {
        width: 460px;
        border-radius: 30px;
    }

    .hero-2 {
        background-image: url(data/scales-rotated.svg);
        background-size: 370%;
        background-position: 0 125px;
        background-attachment: unset;
        background-repeat: no-repeat;
    }

    .academy-info {
        padding: 60px 20px;
    }

    .academy-info li {
        font-size: 1rem;
    }
}

@media (max-width: 639px) {
    .hero-2 {
        padding-top: 60px;
    }

#scales {
    position: absolute;
    left: 0;
    transform: translateY(-140px) translateX(-730px);
    width: 1500px;
    z-index: 10;
    }
}
@media (max-width: 600px) {
    #splashes {
        width: 100%;
        transform: translateY(220px) translateX(-130px);
    }
    header {
        height: 850px;
    }
    .hero-2 img {
        width: 80vw;
        border-radius: 30px;
    }
    .hero-text {
        font-size: 2.4em;
        left: 0;
        top: 35px;
        text-align: center;
    }
    .hero-text p {
        font-size: 1.15rem;
        padding-top: 15px;
    }
    .hero button {
        width: auto;
        height: 40px;
        font-size: 0.95rem;
        margin: 0;
        bottom: -15px;
        padding: 8px 12px;
    }
    .hero-2-text h2 {
        font-size: 1.3em;
        font-weight: 800;
        margin-top: 0;
    }

    .academy-info {
        padding: 50px 15px;
    }

    .academy-info li {
        font-size: 16.8px;
        margin-bottom: 12px;
    }

    .academy-info p {
        font-size:16.8px;
    }
    #bg-ct {
        height: 380px;
        bottom: -52px;
    }
}

/* @media (max-width: 1627px) and (min-width: 1366px) {
    .hero {
        height: 75%;
        width: 100%;
        top: -150px;
        position: absolute;
    }

    #bg-ct {
        height: 75%;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        bottom: 0;
        left: 0;
        right: 0;
    }
} */

/* .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data/bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: 0;
  } */

.social-media {
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
    padding-bottom: 100px;
    padding-top: 100px;
}

.footer1 {
    background: #e8f5ff; /* #e8f5ff; */
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer1 h2 {
    margin: 0;
    text-align: center;
    color: #012456;
    font-size: 2.6em;
    padding-top: 70px;
}

  .partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: 200px;
    padding: 0 200px;
  }

  .partners img {
    width: 120px;
  }

  #wks {
    width: 250px;
  }

#kopalnia {
    width: 180px;
}

#splywajnatrening {
    width: 125px;
    transform: translateX(-38px);
}

@media (min-width: 1500px) {
    .partners {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        height: 200px;
        padding: 0 400px;
      }
}

  @media (max-width: 999px) {

    .partners {
        padding-top: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 600px;
        gap: 60px;
        padding: 0;
    }

    .partners img {
        width: 150px;
      }
    
      #wks {
        width: 220px;
      }

  .social-media {
    display: flex;
    margin: auto;
    width: 100%;
    padding-bottom: 100px;
    gap: 5px;
    }
  .social-media img {
    width: 85%;
  }  
  #splywajnatrening {
    width: 125px;
    transform: translateX(0);
}
}

@media (max-width: 600px) {
    .footer1 h2 {
        font-size: 2em;

    }
}

.footer2 {
    position: static;
    border-top: solid 1px #01245612;
    background: #e8f5ff; /* #e8f5ff; */
    display: flex;
    justify-content: center;
    padding: 30px 0 30px;
}

.footer2 img {
    padding: 15px 0;
    width: 70px;
}

.lastbg {
    background-color: #e8f5ff;
}

