body
{
	background-color: #f3f3f3;
	color: #252525;
	font-family: 'Lato', sans-serif;
	font-size: 20px;
	margin: 0;
}





.wrapper
{
    padding-bottom: 2.5rem;
width: 100%;
}



.Szymon
{
	font-size: 48px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}


.nav ul {
    display: flex;
    justify-content: center;
    background: rgb(9, 79, 126);
    list-style: none;
    text-align: center;
}

@media screen and (max-width: 700px){
    
.content
{
	width: 100%;
	
	padding-top: 10px;
}

    .nav ul{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 150px;
        display: flex;
    justify-content: center;
    background: rgb(9, 79, 126);
    list-style: none;
    
    text-align: center;
    
    width: auto;
    height: auto;
    left: 0;
    right:0;
    margin: 0 auto;

    
    }

    ul li{
    position: relative; right: 16px;
}
    
.photo {
    opacity: 1;
}
    
   
    
}


@media screen and (max-width: 450px){
    .nav ul{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 150px;
    }
.header{
    padding-bottom: 50px;
    padding-top: 30px;
}

    .nav ul{
    display: flex;
    justify-content: center;
    background: rgb(9, 79, 126);
    list-style: none;
    
    text-align: center;
    
    max-width: 100%;
    height: auto;
    left: 0;
    right:0;
    margin: 0 auto;
    
    }




}


.nav a {
    margin-top: 5px;
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}




.content
{
	width: 60%;
	margin-left: auto;
	margin-right: auto;
	padding-top: 10px;
}








ul a
{
	color: #303030;
	text-decoration: none;
	display: block;
}

ul li
{
	float: left;
	width: 150px;
	height: 40px;
}


ul li:hover
{
	background-color: #535353;
}

ul a:hover
{
	color: #ffffff;
	text-decoration: none;
	display: block;
}



/*
Histroria kina
*/ 

.container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.container2 {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.photo {
    margin: 10px 0;
    width: 150px;
    background: white;
    padding: 10px;
    opacity: 0.8;
    border-radius: 5px;
    border: 1px solid silver;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;


    transform: rotate(5deg);
    transition: 0.3s all ease-in-out;
  }
  
.photo img {
    flex-basis: 100%;
    width: 100px;
  }
  
.photo figcaption {
    margin-top: 10px;
  }


.photo:nth-child(even) {
    transform: rotate(-2deg) scale(0.8);
}

.photo:hover {
    opacity: 1;
    transition: 0.3s all ease-in-out;
    transform: scale(1.1);
}


/* top filmy*/

.topfilmy1 {
    width: 100%;
    background-color: #535353;
    color: #ffffff;
    
    font-size: 25px;
    text-align: center;
    align-items: center;
}

.toplink {
    color: rgb(32, 32, 32);
    text-decoration: none;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;


    transform: rotate(5deg);
    transition: 0.3s all ease-in-out;

    padding: 10px;
	
}
.toplink:visited {
    color: rgb(32, 32, 32);
}
.toplink:active {
    color: rgb(32, 32, 32);
    }


.toplink:nth-child(even) {
        transform: rotate(-2deg) scale(0.8);
    }



/*footer*/
  
    #page-container {
        position: relative;
        min-height: 100vh;
      }
      
      
      
      #footer {
        justify-content: center;
          text-align: center;
          display: flex;
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 2.5rem;    
        background-color: rgb(9, 79, 126);
        color: #fff;        
      }



       /* top filmy  */


.ztopki{
    text-align: center;
    display:block; 
    max-width: 100%;
    height: auto;
    left: 0;
    right:0;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}



 /* historia  */



 .mainlink {
    text-decoration: none;
    color: #2b2b2b;
 }

 .topfilmy3 {
    width: 100%;
    background-color: rgb(9, 79, 126);
    color: #ffffff;
    
    font-size: 20px;
    text-align: center;
    align-items: center;
    margin-top: 20px;
}


.container3 {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


/* ciekawa wiedza zdj */

.photo5 {
    margin: 10px 0;
    width: 300px;
    background: white;
    padding: 10px;
    
    border-radius: 5px;
    border: 1px solid silver;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;


    transform: rotate(5deg);
    transition: 0.3s all ease-in-out;
  }
  
.photo5 img {
    flex-basis: 100%;
    width: 100px;
  }
  
.photo5 figcaption {
    margin-top: 10px;
  }


.photo5:nth-child(even) {
    transform: rotate(-2deg) scale(0.8);
}

.photo5:hover {
    
    transition: 0.3s all ease-in-out;
    transform: scale(1.1);
}