*{
    padding: 0px;
    margin: 0px;
    font-family: sans-serif;
}

html{
    scroll-behavior: smooth;
}

a{
    outline: none;
    color: black;
}

header{
    color: white;
    width: 100%;
    height: 1000px;
    background: linear-gradient(rgba(46, 45, 45, 0.5), rgba(46, 45, 45, 0.5)), url("09/bg1.jpg");
    animation: changeBg 30s infinite 1s ease-in-out;
    text-align: center;
    background-repeat: no-repeat;
}

@keyframes changeBg{
    10%, 20% {background: linear-gradient(rgba(46, 45, 45, 0.5), rgba(46, 45, 45, 0.5)), url("09/bg1.jpg");}
    25%, 45% {background: linear-gradient(rgba(46, 45, 45, 0.5), rgba(46, 45, 45, 0.5)), url("09/bg2.jpg");}
    50%, 70% {background: linear-gradient(rgba(46, 45, 45, 0.5), rgba(46, 45, 45, 0.5)), url("09/bg3.jpg");}
    75%, 90% {background: linear-gradient(rgba(46, 45, 45, 0.5), rgba(46, 45, 45, 0.5)), url("09/bg4.jpg");}
    91%, 100% {background: linear-gradient(rgba(46, 45, 45, 0.5), rgba(46, 45, 45, 0.5)), url("09/bg5.jpg");}
}

header h1{
    margin-top: 15%;
    font-size: 60px;
}
header p{
    font-size: 20px;
}

nav{
    color: white;
    text-align: center;
    padding: 30px;
}

input{
    font-family: sans-serif;
    font-weight: bold;
    color: white;
    width: 175px;
    height: 50px;
    background: none;
    border-radius: 10px;
    border: 2px solid white;
    margin-left: 10px;
}

section.first{
    height: auto;
    float: left;
    background-color: white;
}

section.first div#left{
width: 50%;
float: left;
margin-top: 100px;
line-height: 25px;
}

section.first div#left h1{
padding-left: 35%;
padding-right: 10%;
font-size: 50px;
}

section.first div#left p{
padding-left: 35%;
padding-right: 10%;
}

section.first div#left p#TT{
    font-weight: bold;
    font-size: larger;
}

section.first div#right{
width: 50%;
float: left;
}
section.first div#right img{
    padding-top: 50px;
    padding-left: 80px;
    width: 30%;
}

section.second{
    background: rgb(223, 223, 223);
    width: 100%;
    height: 100%;
    padding-top: 50px;
    float: left;
    padding-bottom: 10px;
}
section.second div.Dsecond{
    float: left;
    width: 300px;
    height: 100%;
    text-align: center;
    margin-left: 13%;
}

section.second div.Dsecond p{
    padding-left: 0px;
}
section.third{
    width: 100%;
    height: 100%;
    float: left;
    text-align: left;
    font-weight: bold;
}

section.third h1{
    padding-top: 10%;
    font-size: 50px;
    padding-left: 10%;
}

section.third p{
    padding-left: 10%;
    font-size: large;
    padding-right: 10%;
    line-height: 30px;
}

section.third h2{
    padding-left: 10%;
    padding-left: auto;
    font-size: xx-large;
}

section.third div{
    width: 50%;
    background-color: rgb(148, 192, 148);
    float: left;
    height:700px;
    overflow: hidden;
    font-size: 1vw;
}

section.third div.ttext{
    text-overflow: inherit;
}

section.third div img{
    width: 100%;
}

section.fourth{
    background: white;
    height: 600px;
    text-align: center;
}

section.fourth h1{
    margin-top: 100px;
    font-size: 50px;
}

section.fourth div{
    margin-top: 50px;
    height: 450px;
    width: 275px;
    float: left;
    border: 1px solid lightgray;
    text-align: center;
    margin-bottom: 50px;
}

section.fourth div#OPJ{
    margin-left: 35%;
}
section.fourth div#OPJ p{
    margin-top: 20px;
}

section.fourth div#OPD{
    margin-left: 20px;
}

section.fourth div#OPD p{
    margin-top: 100px;
}

section.fourth div img{
    width: 100%;
    height: auto;
}

section.fifth{
    width: 100%;
    height: auto;
    background: rgb(223, 223, 223);
    float: left;
    padding-bottom: 10px;
}

section.fifth div{
    text-align: center;
    width: 250px;
    height: 250px;
    float: left;
    margin-left: 15px;
    margin-top: 25px;
    background-color: rgb(223, 223, 223);
    border-radius: 10px;
    box-shadow: 2px 2px 2px 2px gray ;
}

section.fifth div img{
    margin-top: 20px;
    width: 75%;
    height: auto;
}

section.fifth div p{
    margin-top: 10px;
}

footer{
    width: 100%;
    height: 400px;
    background: rgb(201, 201, 201);
    text-align: center;
    float: left;
}

footer div{
    padding-top: 100px;
    float: left;
    padding-bottom: 30px;
}

footer div#Fleft{
    width: 50%;
    text-align: center;
}

footer div#Fright{
    text-align: center;
    width: 50%;
    height: auto;
    display: flex; justify-content: center; align-items: center;
}

footer div#Fright img{
    height: 20%;
    width: 20%;
    margin-left: 50px;
}



/*GALERIA*/

section.Galeria{
    background: rgb(223, 223, 223);
    padding-top: 100px;
    float: left;
}

section.Galeria h1{
    text-align: center;
    font-size: 50px;
    font-style: italic;
    margin-bottom: 100px;
}

section.Galeria section.inside{
    margin-left: 250px;
    margin-right: 100px;
}

section.Galeria section.inside div{
    text-align: center;
    width: 300px;
    height: auto;
    overflow: hidden;
    float: left;
    margin-left: 50px;
    margin-bottom: 20px;
}

section.Galeria section.inside div img{
    width: 300px;
    height: 450px;
    border-radius: 100px;
}

section.Galeria section.inside div p.Imie{
    font-weight: bold;
    font-size: large;
    padding-bottom: 10px;
}

section.Galeria section.inside div p.Zawod{
    font-style: italic;
    padding-bottom: 10px;
}

/* Wycieczki */

section.Wycieczki{
    background: rgb(223, 223, 223);
    height: 700px;
    width: 100%;
    padding-top: 100px;
}

section.Wycieczki div#left{
    text-align: center;
    width: 30%;
    height: 100%;
    float: left;
    margin-left: 10%;
    margin-right: 10%;
    float: left;
}

section.Wycieczki div#left h1{
    font-size: 50px;
}

section.Wycieczki div#left p{
    font-size: 20px;
    line-height: 30px;
}

section.Wycieczki div#left a{
    font-size: 25px;
}

section.Wycieczki div#right{
    text-align: center;
    width: 45%;
    height: auto;
    float: left;
    margin-right: 5%;
}

section.Wycieczki div#right div.zdj{
    width: 300px;
    height: auto;
    background: white;
    box-shadow: 5px 5px lightgrey;
    float: left;
    margin: 5px;
    border-radius: 10px;
}

section.Wycieczki div#right div.zdj img{
    width: 95%;
    height: auto;
    margin-top: 5px;
    border-radius: 10px;
}

div.col{
    width: 50%;
    display: flex;
    flex-direction: column;
    float: left;
}

main#gal{
    background: rgb(223, 223, 223);
    height: auto;
}

div.Gcol{
    display: flex;
    flex-direction: column;
    width: 33%;
    height: auto;
    float: left;
    background: rgb(223, 223, 223);
}

div.Gcol img{
    width: 90%;
    margin: 5%;
    height: auto;
    border-radius: 10px;
}

section.zdjecia{
    background: rgb(223, 223, 223);
    height: 100%;
    width: 100%;
    float: left;
}

main#gal h1{
    padding: 50px;
    font-size: 60px;
    text-align: center;
    font-style: italic;
}