.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

h1{
	color: #00BFB3;
	font-family: 'Lilita One', cursive;
	font-weight: bold;
	text-align: center;
	font-size: 25px;
}

p{
	text-align: center;
	color: black;
	font-family: 'Ovo', serif;
	text-align: left;
}

body{
	margin: 0;
	background-color: rgb(236, 240, 245);
	width: 100%;
	height: 100%;
}

.main{
	display: table;	
	margin: 0;
	background-color: rgb(236, 240, 245);
	width: 100%;
	height: 100%;

	
}


#top{
	background-color: #303845;
	height: 105px;
	width: 100%;
	position: static;
}
.top1{
	background-color:rgba(48,56,69,0.95);
	height: 75px;
	width: 100%;
	position: fixed;
	border-bottom: 4px solid #AAA;
}

ul.menu{
	
	width: 100%;
	height: 105px;
	list-style-type: none;
    margin: 0;
	margin-left:1%;
    padding: 0px;
	overflow: visible;
	position: fixed;
	opacity: 1;

}
ul.menu:hover:not(.active):not(.napis){
	height: 100px;
}
li {
	height: 100px;
	font-family: 'Lilita One', cursive;
	font-weight: bold;
	color: blue;
	font-size: 12px;
	display: block;
	float: left;
}

li a {
	
    display: block;
    color: #DDD;
	text-align: center;
    padding: 25px 10px;
    text-decoration: none;
	border-top: 5px solid;
	border-color: rgba(48,56,69,0.95);
	
	-webkit-transition: color 0.35s;
    transition: color 0.35s;
	-webkit-transition: border-color 0.35s;
    transition: border-color 0.35s;
	transition-timing-function: ease;

}

li a:hover:not(.active):not(.napis){
    border-top: 5px solid #00BFB3;
	border-color: #00BFB3;
	color: #00BFB3;
    
}

li a.napis{
	text-align: left;
	width: 27vw;
	font-size: 20px;
	padding: 20px 45px;
	
}

.active {
    color: #00BFB3;
	border-top: 5px solid #00BFB3;
}



.lside{
	float: left;
	background-color: rgb(236, 240, 245);
	height: 100vh;
	width: 15%;
	display: table-cell;
	border-top: 4px solid #AAA;
	}

	.lside1{
	float: left;
	background-color: rgb(236, 240, 245);
	height: 100vh;
	width: 25%;
	display: table-cell;
	}
	
	
.center{
	float: left;
	background-color: rgb(236, 240, 245);
	min-height: 100vh;
	width: 70%;
	display: table-cell;
	border-top: 4px solid #AAA;
}	

.center1{
	float: left;
	background-color: rgb(236, 240, 245);
	min-height: 100vh;
	width: 75%;
	display: table-cell;
	margin-top: 7%;
	
}



.rside{
	display: table-cell;
	float: right;
	background-color: rgb(236, 240, 245);
	height: 100vh;
	width: 15%;	
	border-top: 4px solid #AAA;

}
.rside1{
	display: table-cell;
	float: right;
	background-color: rgb(236, 240, 245);
	height: 100vh;
	width: 15%;	

}







.textbox{
	float: left;
	background-color: white;
	height: 100%;
	width: 50%;
	margin: 2% 4%;
	border: 1px solid rgb(236, 240, 245);
	border-radius: 10px;
	font-size:20px;
	padding: 5% 5%;
	color: black;
	
}

.textboxmp{
	float: left;
	background-color: white;
	height: 100%;
	width: 50%;
	margin: 2% 4%;
	border: 1px solid rgb(236, 240, 245);
	border-radius: 10px;
	font-size:20px;
	padding: 5% 5%;
	color: black;
	
}


.cover{
	background-color: #00BFB3;
	text-align: center;
	margin: 0 auto;
	border-radius: 25px;
	color: white;
	width: 35%;
	height: 30px;
	padding-top:10px;
	
	-webkit-transition: color 0.35s;
    transition: color 0.35s;
	-webkit-transition: background-color 0.35s;
    transition: background-color 0.35s;
	transition-timing-function: ease;
	
}

.cover:hover{
	background-color: white;
	color:#00BFB3;
	cursor: pointer;
}


.moviebox{
	float: right;
	position: static;
	background-color: white;
	height: 100%;
	width: 20%;
	margin: 2% 2%;
	border: 2px solid rgb(236, 240, 245);
	border-radius: 20px;
	font-size:20px;
	padding: 3% 3%;
	color: black;
}

.stopka{
	float: left;
	width:100%;
	height: 70px;
	background-color: #303845;
	color: #DDD;
	text-align: center;
	font-family: 'Lilita One', cursive;
	font-weight: bold;
	font-size: 20px;

	
}

.social-icon {
  width: 30px;
  height: 30px;
  margin-right: 0px;
  border-radius: 5px;
  -webkit-transition: 0.3s transform linear;
  transition: 0.3s transform linear;
  margin-top: 20px;
  margin-left: 0%;
  
}

.social-icon:hover {
  transform: scale(1.2);
}


i.fa:not(.fa-angle-double-right) {
	margin-left: 0%;
	font-size: 30px;
	-webkit-transition: 0.3s transform linear;
	transition: 0.3s transform linear;
	
	
}

.fa:hover:not(.fa-angle-double-right) {
  transform: scale(1.2); 
}

i.pa{
	margin-left: 4%;
	margin-right: 4%;
	font-size: 30px;
	font-style: normal;
}

p1{
	
	font-family: 'Lilita One', cursive;
	font-weight: bold;
	font-size: 20px;
	color: #DDD;
	text-align: center;
	
}

i.fa-angle-double-right{
	font-size: 20px;
	-webkit-transition:color 0.35s;
    transition:color 0.35s;
	-webkit-transition:margin-left 0.35s;
    transition:margin-left 0.35s;
}

.fa-angle-double-right:hover{
	margin-left: 20px;
	cursor: pointer;
	color:#00BFB3;
}




nav ul.show {
  display: block;
}

nav .menu-icon {
  display: none;
  margin: 15px 50px;
  font-size: 22px;
    color: white;
  text-decoration: none;
  transition: 0.3s;
}


section.image {
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
	text-align: center;
	border-top: 4px solid #AAA;

	
}

section.profile {
	margin-top: 10px;
    height: 240px;
	width: 190px;
    background-repeat: no-repeat;
    background-position: center;
	display: absolute;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid rgb(236, 240, 245);
	border-radius: 360px;
	background-size:cover;
}




.opiekunowie {

	background-color: white;
	border: 1px solid rgb(236, 240, 245);
	border-radius: 10px;
	height: 25%;
	width: 20%;
	margin-top: 3%;
	margin-left: auto;
	margin-right: auto;
	padding: 5%;
	text-align: left;
	
}

p3{
	margin: auto;
	font-size: 23px;
	font-family: 'Lilita One', cursive;
	font-weight: bold;

}

.unplug 
{
	display: none;
}


	.mframe1{
	width: 100%;
	max-width: 540px;
	height: 100%;
	max-height: 360px;
	display: block;
    margin-left: auto;
    margin-right: auto	
	}

/*----------------------------------------------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------------------------------------------*/


@media (max-width: 1000px) {
	
	
	h1{
	color: #00BFB3;
	font-family: 'Crete Round', serif;
	font-weight: bold;
	text-align: center;
	font-size: 25px;
}
	
	
  nav ul {
    display: none;

	
  }
  
  nav ul li {
    display: block;
	maring: 0px;
	

  }
  
  nav .menu-icon {
    display: inline-block;
  }
  
section.image {
    display: none;

}


  li a{
	  background-color:rgba(48,56,69,1);
	  width:100vw;
	  padding: 22px 0px;
	 margin-top:10px;
	 float: top;
	 text-align: center;
	 
  }
	
	ul.menu{
		margin:0px;
		margin-left:0px;
		
	}

	li{
		height:60%;
		font-family: 'Crete Round', serif;
		
	}
	li:hover{
		height:60%
	}
	ul.menu:hover:not(.active):not(.napis){
	height: 105px;
}

	.top1{
		height: 70px;
	}
	
	li a.napis{

	padding: 17px 0px;
	width: 100vw;
	text-align: center;
	
}
	
	
	.active {
	border-top: 5px solid rgba(48,56,69,1);
    color: #00BFB3;
}
	
	li a:hover:not(.active):not(.napis){
    border-top: 5px solid rgba(48,56,69,1);
	border-color: rgba(48,56,69,1);
	color: #00BFB3;
    
}
	
	
	section.image {
		background-size: 100% 100%;
		border-top: 0px solid #AAA;
		border-bottom: 0px solid #AAA;
	}
	
	.lside{
		width: 5%;
		border-top: 0px solid #AAA;
	}
	
	.lside1{
		display: none;
		width: 10%;
		border-top: 0px solid #AAA;
	}
	
	.center1{
		margin-top:15%;
		border-top: 0px solid #AAA;
	}
	
	.center{
		margin-top:30%;
		border-top: 0px solid #AAA;
	}
	
	
	
	.opiekunowie{
		margin-top: 0%;
		width: 50%;
	}
	
	.unplug {
	display: block;
	height: 110px;
	background-color: rgb(236, 240, 245);

}
	
	.rside{
		
		width: 5%;
	}
	
	.textboxmp{
		width: 100%;
	margin-left: 10%;
	margin-right: auto;
	}
	
	.textbox{
		width: 100%;
	margin-left: 11%;
	margin-right: auto;
	}
	
	.moviebox{
	float: left;
	width: 100%;
	margin-left: 10%;
	margin-right: auto;
	border-radius: 10px;
	font-size:20px;
	padding: 5% 5%;
	}
	
	.mframe{
		max-width: 260px;
	display: block;
    margin-left: auto;
    margin-right: auto	
	}
	
		.mframe1{
		max-width: 460px;
	display: block;
    margin-left: auto;
    margin-right: auto	
	}
	
	.cover{
		font-size: 17px;
		padding-top: 10px;
		height: 30px;
	}
	
	
	.stopka{
	width:100%;
	max-height: 180px;
	height: 100%;
	font-family: 'Crete Round', serif;
}

p1{
	font-size: 17px;
	text-align: center;
	display: block;
    margin-left: auto;
    margin-right: auto;
	font-family: 'Crete Round', serif;
	
}

i.fa:not(.fa-angle-double-right) {
	margin-left: 5%;
	padding: 5% 5%;
	font-size: 30px;
	-webkit-transition: 0.3s transform linear;
	transition: 0.3s transform linear;
	
}

i.pa{
display: none;
}	
}