* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica", sans-serif;
    font-size:14px;
    background-color: #ffffff;
    
    
}

.banner-container {
    position: relative;
    width: 100%;
    
    height: 400px;
    overflow: hidden;
}

.banner {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner.active {
    opacity: 1;
}

.banner-content {
    position: relative;
    top: 20px;
    margin: auto;
    
    color: white;
    text-align: left;
    
    padding: 20px;
    border-radius: 10px;
    max-width:1600px;

}

.banner-content h1 {
    font-size: 2.1rem;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1.2rem;
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.header {max-width:1600px; margin:auto; min-width:1200px; height:100px; display:grid; grid-template-columns: auto  auto; align-items:center; padding:0 20px}

.ubi h1 {font-size:24px; color:#00618f; font-weight:300}
.ip h1 {font-size:20px; color:#00618f; font-weight:300}
.header a { color:#016fff;}

.uno {display:grid; grid-template-columns: 240px auto;  align-items:center}
.dos {display:grid; grid-template-columns:  auto auto;  align-items:center; justify-self: end}


.ubi {max-width:250px; }
.ip {justify-self:start; text-align:left;}

.banner-text {
    position: relative;
    
    color: #ffffff;
    text-align: left;
    margin:auto;
    padding: 25px;
    max-width:650px;
    margin-bottom: 30px;
    

}
.banner-text ul {margin:10px 20px; font-size:18px; line-height: 30px}
.logo {vertical-align:middle}

.container {border-top:1px solid #cccccc; background: #d1e8fd url('images/tlo6.jpg') center top}

.banner-container2 {
    position: relative;
    width: 100%;
    
    height: 550px;
    overflow: hidden;
    border-top:1px solid #cccccc;
}


h2 {font-size:28px; font-weight: 600;  margin:10px 0 20px 0; color:#509de1;}
h3 {font-size:20px; font-weight: 600; line-height: 30px; margin:10px 0}


.menu-link {border-radius:20px; padding:10px 20px; background-color:#4d8be1; margin-left:30px; color:#ffffff; align-self:center; justify-self:center}

.menu-link a {color:#ffffff;text-decoration:none }

nav {
     margin:auto; 
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-size:16px;
}

.menu > li {
    position: relative;
}

.menu > li a {
    display: block;
    padding: 8px 8px;
    color: #666666;
    text-decoration: none;
}

.menu > li a:hover {
    background-color: #f1f1f1;
}

/* Stylizacja podmenu (ukryte) */
.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 999; /* Zapewnia, że podmenu będzie na wierzchu */
}

.submenu li {
    width: 150px;
}

.submenu li a {
    padding: 8px 12px;
    color: #666666;
    text-decoration: none;
}

.submenu li a:hover {
    background-color: #f1f1f1;
}

/* Pokazanie podmenu po najechaniu */
.menu > li:hover .submenu {
    display: block;
}



.footer {max-width:1600px; margin:auto; min-width:1200px; display:grid; grid-template-columns: auto auto auto auto auto auto auto; align-items:start; gap:40px; 
    padding:20px; color:#777777; font-size: 13px}
.footer h3 {font:24px Helvetica; color:#1080af; margin:0}
.footer h4 {font:20px/30px Helvetica; color:#1080af; margin:0}
.footer p {line-height:24px}
.adres {font:14px/26px Helvetica}

.footer2 {max-width:1600px; margin:auto; min-width:1200px; padding-top:30px; font-size:11px; text-align:center}
hr {border-top:1px solid #cccccc;border-bottom:0}

.menuB {border-right:1px solid #cccccc;border-left:1px solid #cccccc; padding:0 40px; line-height:22px}
.menuB a {text-decoration:none; color:#777777; font-size: 14px}
.menuB  a:hover {color:#1080af}

.pas {text-align:center}
.welc{display:grid; grid-template-columns: 50% 50%; justify-items:center}



#cookie-overlay {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 16px;
      z-index: 1000;
    }

    /* Styl dla przycisku */
    #accept-cookies-btn {
      padding: 10px 20px;
      background-color: #69b4f8;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
    }

    #accept-cookies-btn:hover {
      background-color: #69b4f8;
    }

    a {text-decoration: none; color:#016fff}

.z {display:none}
.zf {display:none}
.opis {line-height:20px}


    


@media all and (min-width:900px) and (max-width:1480px){

.header {display:grid; grid-template-columns: auto; align-items:center; height:120px; min-width:890px; justify-items: center}

.uno {display:grid; grid-template-columns: 240px auto;  align-items:center; white-space:nowrap;clear:both;justify-items: center; justify-content: space-between}
.dos {display:grid; grid-template-columns:  auto 240px;  align-items:center; max-width:900px; justify-content: center; justify-self:center}


.footer2 {max-width:1480px; margin:auto; min-width:890px; padding-top:30px; font-size:11px; text-align:center}
.inf {display:none}
.menuB { padding:0 20px; border:none }
.menuB a { font-size: 13px}
.footer p {font-size: 13px}
.zf {display:block}
.z {display:none}
.opis {max-width:300px}

}


@media all and (min-width:1301px) and (max-width:1480px){

.footer {max-width:1480px; margin:auto; min-width:890px; display:grid; grid-template-columns: 170px 160px 160px 200px 150px auto  ; align-items:start; gap:10px; font-size: 13px; justify-content: center}
}


@media all and (min-width:900px) and (max-width:1300px){

.footer {max-width:1300px; margin:auto; min-width:890px; display:grid; grid-template-columns: 30% 30% auto  ; align-items:start; gap:30px; font-size: 13px; justify-content: center}
}


@media all  and (max-width:899px){

.header {display:grid; grid-template-columns: auto; align-items:center; height:250px; min-width:400px; gap:20px}

.uno {display:grid; grid-template-columns: auto;  align-items:center; justify-items:center; max-width:480px; white-space:initial; justify-self:center}
.dos {display:grid; grid-template-columns: auto;  align-items:center; max-width:480px; justify-items:center; justify-self:center }

.footer {max-width:500px; margin:auto; min-width:400px; display:grid; grid-template-columns: auto; align-items:start; gap:10px; margin:10px}
.footer2 {max-width:500px; margin:auto; min-width:400px; padding-top:30px; font-size:11px; text-align:center}
.ip {justify-self:center; text-align:center; }
.inf {display:none}
.z {display:block}
.container {min-width:400px}
.menu-link {margin-bottom:20px}
.logo {margin:10px}
.menuB { padding:0 20px; border:none;  }
}


