@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');

:root {
    --color: #0e07df;
    --font-gray: #333;
    --font-white: #fff;
    --font-size: 24px;
    --font-black: #000;
    --secondary-color: #07d4df;
    --primary-color: #ebeae7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family:'Poppins', sans-serif;
    height: 100vh;
    background-color: var(--primary-color);
    scroll-behavior: smooth;
}

.hidden {
    display: none;
}

section {
    width: 100vw;
    height: 100vh;
}


::-webkit-scrollbar {
    width: 10px;
}
  
::-webkit-scrollbar-track {
    background-color: transparent;
    padding: 5px 5px;
}
   
::-webkit-scrollbar-thumb {
    background: #555; 
}
  
::-webkit-scrollbar-thumb:hover {
    background: #888; 
}


/* BANNER START */

/* BACKGROUND SWITCH START */

.diw{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    transition: all .3s linear;
    filter: brightness(60%);
}

.a {
    background-image: url(zdj/STRONA2.png);
}


@keyframes showing {
    0% {
        opacity: 0.1;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0.1;
    }
}

/* BACKGROUND SWITCH END */

.banner {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    position: relative;
}

.banner nav {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    left:5px;
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: var(--font-white);
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 20px;
    text-shadow: 1px 1px 5px black;
}
.banner nav div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.banner nav span {
    font-size: 12px;
    color: var(--font-white);
    font-weight: normal;
    text-shadow: 1px 1px 5px black;
}

.banner nav i {
    -webkit-text-stroke: 2px var(--color);
    color: transparent;
    font-size: 30px;
    text-shadow: none;
}

.banner h1 {
    color: var(--font-white);
    font-size: 60px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 5px black;
}

.banner h6 {
    color: var(--font-white);
    font-size: 30px;
    text-transform: uppercase;
    text-align: center;
    font-weight: lighter;
    text-shadow: 1px 1px 5px black;
}

.banner button {
    background-color: transparent;
    padding: 15px 30px;
    color: var(--font-white);
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 20px;
    cursor: pointer;
    transition: all .1s linear;
    font-size: 5vh;
    border: none;
}
.banner button:active {
    outline: none;
}


.banner button:hover {
    transform: scale(1.1);
}

.banner button:active {
    transform: scale(1)
}

.banner button a {
    text-decoration: none;
    color: inherit;
}

.banner .phone {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-around;
    align-items: center;   
}

.banner .phone span {
    color: #fff;
    font-size: 3vh;
    font-style: italic; 
}
  
  

/* BANNER END */

/* NAV START */


.main-nav {
    min-width: 100vw;
    height: 60px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    z-index: 100;
    position: fixed;
    top: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 50%;
    height: 100%;
}

.main-nav li {
    list-style-type: none;
    text-align: center;
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: bold;
    position: relative;
    transition: all .2s ease-in-out;
}

.main-nav li::after {
    content: '';
    width: 0%;
    height: 7%;
    background-color: #333;
    z-index: 100;
    position: absolute;
    bottom: -.3rem;
    left: 25%;
    transition: all .2s ease-in-out;
}

.main-nav li:hover::after {
    width: 50%;
    transition: all .2s ease-in-out;
}

.main-nav a {
    color: var(--font-gray);
    text-decoration: none;
    font-weight: bold;
}

.main-nav button {
    background: var(--color);
    border:none;
    color: var(--font-white);
    height: 40px;
    padding: 5px 45px;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all .2s linear
}

.main-nav button a {
    color: var(--font-white);
}

.main-nav button:focus {
    outline: none;
}
/* NAV END */

/* AD START */
.ad {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--primary-color);
}

.ad .title {
    width: 30%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    flex-wrap: wrap;
    background-image: url('zdj/MIlicz_herb.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-align: right;
    padding: 10px;
    z-index: 10;
    filter: drop-shadow(0px 0px 20px var(--color));
}

.ad h2 {
    color: var(--font-gray);
    text-transform: uppercase;
    font-size: 45px;
    z-index: 10;
    font-weight: lighter;
}

.ad h4 {
    color: #555;
    font-size: 14px;
    margin-bottom: 200px;
    margin-top: 0;
    z-index: 10;
}

.ad span {
    font-weight: bolder;
    font-size: 70px;
}
.ad img {
    width: 60%;
    position: absolute;
    left: 0;
    bottom: -20px;
    z-index: 10;
    filter: drop-shadow(0px 0px 20px rgba(0,0,0,0.6));
    aspect-ratio: .5/.5;
}

.ad .caption {
    width: 30%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--primary-color);
    text-align: center;
}

.ad .element h2 {
    font-size: 24px;
    font-weight: bolder;
}

.ad .element p {
    font-size: 16px;
    color: #555;
}
/* AD END */

/* INFO START */
.info {
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.info .background {
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-image: url(/zdj/info-tlo.jpg); */
    background-image: url(zdj/cennik.jpg);
    background-position: bottom;
    background-repeat: no-repeat;
    background-size:cover;
    filter: brightness(20%) grayscale(60%);
    z-index: -1;
}

.info h1 {
    font-size: 60px;
    font-weight: bolder;
    text-shadow: 1px 1px 5px #000;
    color: var(--font-white);
    text-transform: uppercase;
    margin-bottom: 30px;
    
}

.info i {
    color: var(--color);
    font-size: 50px;
    text-shadow: 1px 1px 5px var(--color);
    margin-top: 50px;
}

table {
    color: #fff;
    width: fit-content;
    height: fit-content;
    padding: 10px;
    border-collapse: collapse;
    border: 1px solid #fff;
}

th {
    font-size: 1.5rem;
}

td, th {
    border: 1px solid #fff;
    padding: 15px 20px;
    text-align: center;
}

.text {
    width: 79%;
    height: fit-content;
    padding:2rem 0rem;
    color: var(--font-white);
    text-align: center;
}
/* INFO END */

/* GALERY START */
.galery {
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
}

.galery .caption {
    width: 70%;
    height: 20vh;
    background-color: var(--primary-color);
    display: flex;
    align-self: center;
    flex-direction: column;
}

.galery h1 {
    color: var(--font-gray);
    font-size: 40px;
    text-transform: uppercase;
    margin-top: 30px;
}

.galery .photos {
    height: 70vh;
    width: 90%;
    align-self: center;
    justify-self: center;
    position: relative;
}

.galery .photo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.galery .left, .galery .right {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%) scale(1);
    font-size: 40px;
    color: #333;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.galery .left:active, .galery .right:active {
    transform:translateY(50%) scale(.9);
}

.galery .left {
    left: -3%;
}
.galery .right {
    right: -3%;
}

/* GALERY END */

/* NEWS START */
.routes {
    height: 80vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: var(--primary-color);
    padding: 100px 0;
}
.routes i {
    color: var(--color);
    font-size: 50px;
    text-shadow: 1px 1px 5px var(--color);
    margin-top: 50px;
}

.routes h1 {
    color: var(--font-gray);
    font-weight: lighter;
    font-size: 50px;
    text-transform: uppercase;
}

.routes .cards {
    margin-top: 50px;
    width: 100%;
    height: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

.routes .card {
    width: 15%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    border: 2px solid #555;
    z-index: 10;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.routes .background {
    width:110%;
    height: 60%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: -10%;
    left: -5%;
    border-radius: 20px;
    border: 2px solid #555;
}

.routes .card p {
    color: #555;
    line-height: 20px;
    font-size: 14px;
    margin: 0 20px 15px 25px;
}

.routes .card h6 {
    color: #444;
    font-size: 18px;
    margin: 0 20px 20px 25px;
}

/* NEWS END */

/* CONTACT START */

.contact {
    height: min-content;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background-color: var(--primary-color);
    text-align: center;
}

.contact h1 {
    text-transform: capitalize;
    font-size: 4rem;
    margin: 2rem;
    position: relative;
}

.contact h1::after {
    content: '';
    width: 50%;
    height: 5%;
    background-color: #000;
    z-index: 100;
    position: absolute;
    bottom: -.3rem;
    left: 25%;
}

.contact h4 {
    width: 50%;
    font-weight: 460;
}

.contact .info {
    width: 80%;
    display: flex;
    flex-direction: row;
    height: fit-content;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
}
.contact .info .contact-info-item {
    width: 25%;
    height: fit-content;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #555;
    border-radius: 10px;
    transition: all .2s ease-in-out;
}

.contact .info .contact-info-item:hover {
    transform: scale(1.01);
    transition: all .2s ease-in-out;
    box-shadow: 0 0 5px rgba(0,0,0,0.6);
}

.contact .info .contact-info-item i{
    display: block;
    color: #333;
    font-size: 2rem;
    text-shadow: none;
}


.contact .info .contact-info-item h4 {
    font-size: 1.5rem;
    margin: 1rem;
}

.contact .info .contact-info-item p {
    font-size: 1.1rem;
    font-weight: bolder;
    margin-bottom: 2rem;
}

.contact .info .contact-info-item a {
    text-decoration: none;
}

details {
    font-size: 24px;
    font-weight: bolder;
    cursor: pointer;
    width: 80%;
}

details li {
    font-weight: normal;
    font-size: 12px;
    text-align: justify;
    text-transform: capitalize;
}

.contact h5 {
    font-size: 24px;
    margin-top: 2%;
}

.contact h5 a {
    text-decoration: none;
}
/* CONTACT END */

/* FOOTER START */
.footer {
    height: 10vh;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--font-white);
    padding: 0 50px;
}
/* FOOTER END */




/* Telefon */

@media (max-width: 480px) {

    ::-webkit-scrollbar {
        display: none;
    }
    .banner nav {
        height: 10%;
    }

    .banner nav li {
        font-size: 8px;
        width: 48%;
        margin: 0 10px;
    }

    .banner nav span {
        font-size: 8px;
    }

    .banner nav i {
        font-size: 20px;

    }

    .banner h1 {
        font-size: 30px;
    }

    .banner h6 {
        font-size: 20px;
    }

    .banner button {
        padding: 15px 10px;
        font-size: 12px;
        border-width: 2px;
    }

    .banner .switchers {
        display: none;
    }


    .main-nav {
        height: 40px;
    }
    .main-nav ul {
        margin: auto;
        width: 100%;
    }
    .main-nav li {
        font-size: 10px;
    }
    .main-nav button {
        display: none;
    }

    .ad {
        justify-content: space-evenly;
    }

    .ad .title {
        width: 40%;
        padding: 0;
        height: 50%;
    }

    .ad .title-caption {
        max-height: 100px;
        width: 130px;
        top: 30%;
        left: -15%;
    }
    .ad img  {
        width:  90%;
        bottom: -15%;
        left: 5%;

    }
    .ad .title::before {
        width: 100%;
    }

    .ad h2 {
        font-size: 25px;
    }
    .ad h4 {
        font-size: 10px;
    }

    .ad .caption {
        width: 40%;
    }

    .ad .caption h2 {
        font-size: 12px;
        font-weight: bolder;
    }
    .ad .caption p {
        font-size: 8px;
    }

    .info {
        justify-content: space-evenly;
        height: fit-content;
    }

    .info h1, .info i {
        font-size: 24px;  
    }

    table {
        padding: 20px;
        margin-bottom: 20px;
    }

    th,td {
        font-size: .5rem;
        padding: 5px 2px;
    }

    .text {
        font-size: 8px;
        width: 100%;
        padding: 1rem 0;
        line-height: 14px;
    }
    .galery {
        height: fit-content;
    }
    .galery h1 {
        font-size: 20px;
    }

    .galery h3 {
        font-size: 14px;
    }

    .galery .photos {
        margin-top: 120px;
    }

    .galery .left,.galery .right {
        font-size: 18px;
    }
    .galery .left {
        left: -5%;
    }
    .galery .right {
        right: -5%;
    }

    .contact .info {
        flex-direction: column;
    }

    .contact .info .contact-info-item {
        width: 70%;
        padding: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact .info .contact-info-item h4 {
        margin: 1rem auto;
        width: fit-content;
    }

    .footer p{
        font-size: 14px;
        padding: 0;
        text-align: center;
    }
}


/* Tablet */

@media (min-width:481px) and (max-width: 760px) {
    .banner nav {
        height: 10%;
    }

    .banner nav li {
        font-size: 12px;
        width: 48%;
        margin: 0 30px;
    }

    .banner nav span {
        font-size: 10px;
    }

    .banner nav i {
        font-size: 20px;

    }

    .banner h1 {
        font-size: 30px;
    }

    .banner h6 {
        font-size: 20px;
    }

    .banner button {
        padding: 15px 20px;
        font-size: 15px;
        border-width: 2px;
    }

    .banner .switchers {
        display: none;
    }


    .main-nav {
        height: 60px;
    }
    .main-nav ul {
        margin:0;
        width: 65%;
    }
    .main-nav li {
        font-size: 12px;
    }
    .main-nav button {
        padding:0;
        font-size: 12px;
        width: 30%;
    }

    .ad {
        justify-content: space-evenly;
    }

    .ad .title {
        width: 40%;
        padding: 0;
    }

    .ad .title::before {
        width: 100%;
    }

    .ad h2 {
        font-size: 25px;
    }
    .ad h4 {
        font-size: 10px;
    }
    
    .ad .title {
        width: 40%;
        padding: 0;
        height: 50%;
    }

    .ad .title-caption {
        /* height: 200px; */
        width: 200px;
        top: 15%;
        left: -15%;
    }
    .ad img  {
        width:  100%;
        bottom: 15%;
        left: 5%;

    }

    .ad .title-caption {
        height: 250px;
    }

    .ad .caption {
        width: 40%;
    }

    .ad .caption h2 {
        font-size: 16px;
        font-weight: bolder;
    }
    .ad .caption p {
        font-size: 12px;
    }

    .info {
        justify-content: space-evenly;
        height: fit-content;
    }

    .info h1, .info i {
        font-size: 35px;  
    }

    table {
        padding: 20px;
        margin-bottom: 20px;
    }

    th,td {
        font-size: .8rem;
        padding: 10px 2px;
    }

    .text {
        font-size: 12px;
        width: 100%;
        padding: 1rem 0;
    }

    .galery h1 {
        font-size: 35px;
    }

    .galery h3 {
        font-size: 14px;
    }
    .galery .left,.galery .right {
        font-size: 20px;
    }
    .galery .left {
        left: -4%;
    }
    .galery .right {
        right: -4%;
    }

    .contact .info {
        flex-direction: column;
    }

    .contact .info .contact-info-item {
        width: 70%;
        padding: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact .info .contact-info-item h4 {
        margin: 1rem auto;
        width: fit-content;
    }

    .footer p{
        font-size: 14px;
        padding: 0;
        text-align: center;
    }
}

/* Laptop */

@media (min-width:761px) and (max-width: 1023px) {
    .banner nav {
        height: 10%;
    }

    .banner nav li {
        font-size: 18px;
        width: 48%;
        margin: 0 80px;
    }

    .banner nav span {
        font-size: 10px;
    }

    .banner nav i {
        font-size: 30px;

    }

    .banner h1 {
        font-size: 40px;
    }

    .banner h6 {
        font-size: 30px;
    }

    .banner button {
        padding: 20px 25px;
        font-size: 18px;
        border-width: 3px;
    }


    .main-nav {
        height: 60px;
    }
    .main-nav ul {
        margin:0;
        width: 65%;
    }
    .main-nav li {
        font-size: 15px;
    }
    .main-nav button {
        padding:0;
        font-size: 15px;
        width: 30%;
    }

    .ad {
        justify-content: space-evenly;
    }

    .ad .title {
        width: 40%;
        padding: 0;
        height: 50%;
    }

    .ad .title-caption {
        /* height: 300px; */
        width: 300px;
        top: 2%;
        left: -15%;
    }
    .ad img  {
        width:  100%;
        bottom: 0%;
        left: 5%;

    }

    .ad .title::before {
        width: 100%;
    }

    .ad h2 {
        font-size: 45px;
    }
    .ad h4 {
        font-size: 12px;
    }

    .ad .caption {
        width: 40%;
    }

    .ad .caption h2 {
        font-size: 22px;
        font-weight: bolder;
    }
    .ad .caption p {
        font-size: 14px;
    }

    .info {
        justify-content: space-evenly;
        height: fit-content;
    }

    .info h1, .info i {
        font-size: 35px;  
    }

    table {
        padding: 20px;
        margin-bottom: 20px;
    }

    th,td {
        font-size: .8rem;
        padding: 10px 2px;
    }

    .text {
        font-size: 14px;
        width: 100%;
        padding: 1rem 1rem;
    }

    .galery h1 {
        font-size: 35px;
    }

    .galery h3 {
        font-size: 14px;
    }
    .galery .left,.galery .right {
        font-size: 22px;
    }
    .galery .left {
        left: -4%;
    }
    .galery .right {
        right: -4%;
    }

    .contact .info {
        flex-direction: column;
    }

    .contact .info .contact-info-item {
        width: 70%;
        padding: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact .info .contact-info-item h4 {
        margin: 1rem auto;
        width: fit-content;
    }

    .footer p{
        font-size: 14px;
        padding: 0;
        text-align: center;
    }
}

/* Desktop */

@media (min-width:1024px) and ( max-width: 1400px) {
    .banner nav {
        height: 10%;
    }

    .banner nav li {
        font-size: 18px;
        width: 48%;
        margin: 0 80px;
    }

    .banner nav span {
        font-size: 10px;
    }

    .banner nav i {
        font-size: 30px;

    }

    .banner h1 {
        font-size: 40px;
    }

    .banner h6 {
        font-size: 30px;
    }

    .banner button {
        padding: 20px 25px;
        font-size: 18px;
        border-width: 3px;
    }


    .main-nav {
        height: 80px;
    }
    .main-nav ul {
        margin:0;
        width: 65%;
    }
    .main-nav li {
        font-size: 18px;
    }
    .main-nav button {
        padding:0;
        font-size: 18px;
        width: 30%;
    }

    .ad {
        justify-content: space-evenly;
    }

    .ad .title {
        width: 40%;
        padding: 0;
        height: 50%;
    }

    .ad .title-caption {
        height: 300px;
        width: 300px;
        top: 2%;
        left: -15%;
    }
    .ad img  {
        width:  100%;
        bottom: 0%;
        left: 5%;

    }

    .ad .title::before {
        width: 100%;
    }

    .ad h2 {
        font-size: 45px;
    }
    .ad h4 {
        font-size: 12px;
    }

    .ad .caption {
        width: 40%;
    }

    .ad .caption h2 {
        font-size: 22px;
        font-weight: bolder;
    }
    .ad .caption p {
        font-size: 14px;
    }



    .info {
        justify-content: space-evenly;
        height: fit-content;
    }

    .info h1, .info i {
        font-size: 45px;  
    }

    table {
        padding: 20px;
        margin-bottom: 20px;
    }

    th,td {
        font-size: 1rem;
        padding: 10px 2px;
    }

    .text {
        font-size: 14px;
        width: 100%;
        padding: 1rem 3rem;
    }

    .galery h1 {
        font-size: 45px;
    }

    .galery h3 {
        font-size: 14px;
    }
    .galery .left,.galery .right {
        font-size: 24px;
    }
    .galery .left {
        left: -4%;
    }
    .galery .right {
        right: -4%;
    }

    .contact .info .contact-info-item {
        width: 30%;
        padding: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .contact .info .contact-info-item h4 {
        margin: 1rem auto;
        width: fit-content;
    }

    .footer p{
        font-size: 16px;
        padding: 0;
        text-align: center;
    }
}