html {

		background-image:linear-gradient(snow, white);
		font-family: 'Lato', sans-serif;
		text-align:justify;
		background-repeat:no-repeat;
}

#logo {
	  	margin-left:auto;
		margin-right:auto;
		background:url(logo.png) no-repeat;
		width:auto;
		height:200px;
		border-top:solid #818181 1px;
		border-bottom:none;
		border-left:0px;
		border-right:0px;
	   font-size: 2em;
		line-height:2.0em;
		text-align:center;
		vertical-align:middle;
	}

#logo img {
		position:relative;
		top:30px;
	}

#logo h1 {
		color:red;
		text-shadow: 	2px 2px 2px #182019,
							1px 3px 3px #ffffff;
		width:65%;
		}

#title {
		text-align:center;
		vertical-align:middle;
	}

#title h1 {
		color:red;
		text-shadow: 	2px 2px 2px #182019,
							1px 3px 3px #ffffff;
		width:65%;
		font-family: 'Oswald', sans-serif;
		font-weight: 300;
		font-size:3em;
		}

#content-konw {
	  	margin-left:auto;
		margin-right:auto;
		padding:20px;
		max-width:1024px;
		font-family: 'Lato', sans-serif;
		font-size:22px
		color: #494949;
		height:auto;
		border:1px solid;
		box-shadow: 2px 2px 2px #182019;
}

#content1 {
	  	margin-left:auto;
		margin-right:auto;
		max-width:80%;
		display: flex;
		font-family: 'Lato', sans-serif;
		font-size:22px
		color: #494949;
		height:4em;
}

#content {
	  	margin-left:auto;
		margin-right:auto;
		height:auto;
		max-width:80%;
		display: flex;
		font-family: 'Lato', sans-serif;
		font-size:22px
		color: #494949;
		z-index:1;
}

#tresc {
		width:100%;
		height:50%;
		display:inline;
		vertical-align:top;
		padding: 20px;
		border: 1px solid #aaaaaa;
		margin-right:5px;
		box-shadow: 2px 0px 2px #182019;
		}

#tresc a, a:visited {
		text-decoration:none;
		color:blue;
		}

#tresc a:hover {
		text-decoration:none;
		color:red;
		}

#tresc p {
		border-top:1px solid;
		padding-top:20px;
		margin-top:20px;
		}

#trescul  {
		border-bottom:1px solid;
		padding-bottom:20px;
		margin-bottom:20px;
		}

#trescul h2 {
		line-height:0.7em;
		}

#menu, #menu h3, #menu h2 {
		width:100%;
		display:inline;
		text-align:center;
		vertical-align:middle;
		padding-top:0px;
		margin-top:6px;
		margin-bottom:6px;
		margin-right:5px;
		font-size: 22px;
		border-bottom: 1px solid #000000;
		box-shadow: 2px 0px 2px #182019;
		border:0.1px solid #aaaaaa;
		}


#menu h3, #menu h2 {
		box-shadow: none;
		border: none;
		display:block;
		}

#menu a {
		text-decoration: none;
		}

#menu i {
	visibility:hidden;
	display:flex;
	background-color:#FFF;
    opacity:0;

  	transition-property:height, background-color, opacity;
  	transition-duration:0.4s, 0.8s, 0.8s;
  	transition-timing-function:ease-in-out;

	}

#menu i>a {
	color:#000;
	text-decoration:none;
	}

#menu:hover i {
	visibility:visible;
	display:flex;
	padding:10px;
	height:auto;
	width:auto;
	background:snow;
	box-shadow: 2px 2px 2px #182019;
	z-index:12;
	position:relative;
	top:-2px;
	border-top:1px solid;
	border:0.5px solid #aaaaaa;
	color: #494949;
	box-shadow: 2px 0px 2px #182019;
    opacity:1;
	}

#menu:hover {
		background-color:snow;
	color:red;
}

#menu:hover i, i>b, i>a {
	display:block;
	}

#menu:hover i>a:hover {
	color:red;
	text-decoration:none;
	}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}

#tresc li h1, h2, h3, h4  {
	display:inline;
}



hr {
	border-bottom: 1px solid;
	margin-bottom:30px;
}

#stopka {
	  	margin-left:auto;
		margin-right:auto;
		margin-top:15px;
		margin-bottom:10px;
		width:auto;
		max-height:123px;
	   font-size: 14px;
		line-height:2.0em;
		text-align:center;
		vertical-align:middle;
		font-family: 'Lato', sans-serif;
		border-top:1px solid #aaaaaa;
		border-bottom:1px solid #aaaaaa;
	}


      @media all and (max-width:1200px) {

      #logo h1 {
          font-size:70px;
			 line-height:1em;
			 position:relative;
			 top:-30px;
          }

		  img {
		  width:60%;
			 }

		  #tresc {
		  margin-bottom:15px;
		    }

			#stopka {
			font-size:30px;
			height: 200px;
			 }

        #content, #content1, #menu, #menu i, #menu:hover, #tresc, #tresc p, a:link {
          display:block;
			 float:none;
          width:auto;
			 padding-top:0px
			 margin-bottom:0px;
			 font-size:40px;
          }

		  #content {
		  margin-top:55px;
			 }

		  #menu:hover i {
		  transition-property:none;
		  display:block;
		  float:none;
		  	visibility:hidden;
			 }

		  #menu, #menu h2 {
		  height:60px;
		  transition-property:none;
			 }

		  #menu h2 {
		  font-size:40px;
			 }

		  #logo {
			 background:url(logo1.jpg) no-repeat;
		   }

		  #logo h1 {
		  font-size:auto;
		  line-height:0.9em;
			}

		  .box {
		  	display:none;
			}

      }




.box {
	font-family: 'Lato', sans-serif;
    font-size: 14px;
    background: #ffffff;
    left: -304px;
    position: fixed;
    top: 220px;
    transition: transform 1.2s;
    width: 300px;
	 border:1px solid;
 	 z-index:12;
    box-shadow: 2px -2px 2px #A3A3A3;
	 cursor:pointer;
}

.box:hover {
    transform: translateX(304px);
    box-shadow: 2px -2px 2px #A3A3A3;
		z-index:12;
}


.box .box__content {
    background: snow;
    min-height: 200px;
    padding: 10px;
    position: relative;
		cursor:text;
}

.box__title {
	 border:1px solid #000000;
	 background-color:snow;
	 transform: rotate(-90deg);
	 height:50px;
	box-shadow: 2px 2px 2px #A3A3A3;
	 border-radius:0px 0px 16px 16px;
	 cursor:pointer;
	}

.box__title h1 {
	 color:red;
		font-size:32px;
		text-shadow: 	2px 0px 2px #182019;
	 cursor:pointer;
}

.box__description h1 {
		color:red;
		border-bottom:1px solid red;
		line-height:0.9em;
		font-size:32px;
		text-shadow: 	2px 0px 2px #182019;
}

.box decription {
		cursor:text;
		}

.box__description a {
		text-decoration: none;
		color:blue;
}

.box__description a:hover {
		text-decoration: none;
		color:red;
}

.box .box__title {
    min-height: 20px;
    line-height: 0px;
    position: absolute;
    right: -111px;
    text-align: center;
    top: 57px;
    width: 166px;
}



.box-left {
	font-family: 'Lato', sans-serif;
    font-size: 14px;
    background: #ffffff;
    right: -304px;
    position: fixed;
    top: 220px;
    transition: transform 1.2s;
    width: 300px;
	 border:1px solid;
 	 z-index:12;
    box-shadow: 2px -2px 2px #A3A3A3;
	 cursor:pointer;
}

.box-left:hover {
    transform: translateX(-304px);
    box-shadow: 2px -2px 2px #A3A3A3;
		z-index:12;
}


.box-left .box-left__content {
    background: snow;
    min-height: 200px;
    padding: 10px;
    position: relative;
		cursor:text;
}

.box-left__title {
	 border:1px solid #000000;
	 background-color:snow;
	 transform: rotate(90deg);
	 height:50px;
	box-shadow: 2px 2px 2px #A3A3A3;
	 border-radius:0px 0px 16px 16px;
	 cursor:pointer;
	}

.box-left__title h1 {
	 color:red;
		font-size:32px;
		text-shadow: 	2px 0px 2px #182019;
	 cursor:pointer;
}

.box-left__description h1 {
		color:red;
		border-bottom:1px solid red;
		line-height:0.9em;
		font-size:32px;
		text-shadow: 	2px 0px 2px #182019;
}

.box-left decription {
		cursor:text;
		}

.box-left__description a {
		text-decoration: none;
		color:blue;
}

.box-left__description a:hover {
		text-decoration: none;
		color:red;
}

.box-left .box-left__title {
    min-height: 20px;
    line-height: 0px;
    position: absolute;
    left: -111px;
    text-align: center;
    top: 57px;
    width: 166px;
}