@media only screen and (max-width: 1024px){
	.header-container, .mainpage-container, .subpage-container, .footer {
		width: 960px;
	}
	
	.titul {
		width: 900px;
		height: 329px;
		background-size: contain;
		margin: 150px auto 150px;
	}
	
	.sipka-vlastnosti {
		left: 150px;
	}
	
	.sipka-projekty {
		left: 600px;
	}
	
	.all-columns {
	width: 960px;
	margin: 0 auto 500px;
	}

	.obraz-1, .obraz-2, .obraz-3 {
	height: 357px;
	width: 255px;
	}
	
	.project-container {
		padding: 50px;
	}
	
	.shelf {
		width: 960px;
		height: 344px;
		background-size: contain;
	}

	.shelf-projects {
		width: 910px;
	}
	
	.project {
		width: 178px;
	}
	
	.project img {
		max-width: 182px;
		max-height: 182px;
	}
	
	.profile-photo {
		margin-bottom: 60px;
	}
	
	.gray-block {
		font-size: 16px;
	}
	
	.small-pic img {
		width: 80%;
	}
}

@media only screen and (max-width: 768px){
	.header-container, .mainpage-container, .subpage-container, .footer {
		width: 700px;
	}
	
	.topnav {
		overflow: hidden;
	}
	
	.topnav a:not(.logo) {
		display: none;
	}
	
	.topnav a.icon {
		float: right;
		display: block;
		font-size: 26px;
		padding-top: 20px;
	}
	
	.topnav.responsive {
		position: relative;
		z-index: 20;
	}
	
	.topnav.responsive a.icon {
		position: absolute;
		right: 0;
		top: 0;
		font-size: 26px;
		border-top: none !important;
	}
	
	.topnav.responsive a:not(.logo, .icon) {
		float: none;
		display: block;
		text-align: center;
		background-color: rgba(0, 0, 0, 0.9);
		color: #ffffff;
		border-top: 1px solid #ffffff;
		height: 75px;
	}
	
	.responsive .logo img, .responsive .menu {
		float: none;
	}
	
	.menu a {
		font-size: 15px;
	}
	
	.menu a:hover {
		background-color: #ffffff !important;
		color: #000000 !important;
	}
	
	.slash {
		margin: 0 15px;
	}
	
	.active {
		color: #ffffff !important;
		background: none;
	}
	
	.titul {
		width: 700px;
		height: 256px;
		background-size: contain;
		margin: 120px auto 150px;
	}
	
	.sipka-projekty {
		left: 450px;
		width: 180px;
		height: 70px;
	}
	
	.sipka-vlastnosti {
		left: 100px;
		width: 148px;
		height: 82px;
	}
	
	.all-columns {
	width: 700px;
	margin: 0 auto 400px;
	}

	.obraz-1, .obraz-2, .obraz-3 {
	height: 286px;
	width: 204px;
	}
	
	.subpage-container {
		padding: 70px 30px;
		margin-top: 120px;
	}
	
	.project-container {
		padding: 30px;
	}
	
	.shelf {
		width: 700px;
		height: 251px;
		background-size: contain;
	}

	.shelf-projects {
		width: 700px;
	}
	
	.project {
		width: 136px;
	}
	
	.project img {
		max-width: 135px;
		max-height: 135px;
	}
	
	.left-column, .right-column {
		width: 100%;
		float: none;
		padding: 0;
	}
	
	.profile-photo {
		float: none;
		margin: 0 auto;
		margin-bottom: 30px;
	}
}

@media only screen and (max-width: 667px){
	.header-container, .mainpage-container, .subpage-container, .footer {
		width: 620px;
	}
	
	.titul {
		width: 620px;
		height: 227px;
		background-size: contain;
		margin: 110px auto 100px;
	}
	
	.sipka-projekty {
		left: 350px;
	}
	
	.sipka-vlastnosti {
		left: 80px;
	}
	
	.all-columns {
	width: 620px;
	margin: 0 auto 350px;
	}

	.obraz-1, .obraz-2, .obraz-3 {
	height: 238px;
	width: 170px;
	}
	
	.shelf {
		width: 620px;
		height: 222px;
		background-size: contain;
	}

	.shelf-projects {
		width: 620px;
	}
	
	.project {
		width: 120px;
	}
	
	.project img {
		max-width: 118px;
		max-height: 118px;
	}
	
	.footer {
		margin: 70px auto 70px;
	}
	
	.copyright {
		width: 100%;
	}
	
	.picture-block {
		padding: 0 30px;
	}
	
	.service {
		margin-bottom: 0;
		border-bottom: none;
	}
	
	.service-block {
		width: 100%;
	}
	
	.picture-block {
		display: none;
	}
}

@media only screen and (max-width: 414px){
	.header-container, .mainpage-container, .subpage-container, .footer {
		width: 380px;
	}
	
	h1 {
		font-size: 42px;
	}
	
	h2 {
		font-size: 22px;
		margin-bottom: 50px;
	}
	
	small {
		font-size: 13px;
	}
	
	.all-projects {
		display: block;
		margin: 0 auto 0;
		padding: 30px 30px;
		background-color: #fff;
		box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
		box-sizing: border-box;
	}
	
	.titul {
		background: url('../images/titul-mobile.png') no-repeat center center;
		width: 380px;
		height: 220px;
		background-size: contain;
		margin: 150px auto 100px;
	}
	
	.sipka-projekty {
		left: 170px;
	}
	
	.sipka-vlastnosti {
		left: 40px;
	}
	
	.all-columns {
	width: 380px;
	margin: 0 auto 120px;
	}
	
	.single-column {
	width: 100%;
	float: none;
}

	.obraz-1, .obraz-2, .obraz-3 {
	height: 357px;
	width: 255px;
	margin-bottom: 40px;
	}
	
	.subpage-container {
		padding: 50px 20px;
	}
	
	.project-container {
		padding: 20px 20px;
	}

	.shelf, .shelf-projects {
		background: none;
		width: 320px;
		height: auto;
	}
	
	.project {
		display: block;
		margin-bottom: 30px;
		width: 320px;
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: 30px;
	}
	
	.project img {
		max-width: 230px;
		max-height: 230px;
	}
	
	.pos-bottom {
		position: relative;
	}
	
	.shadow1, .shadow2, .shadow3, .shadow4, .shadow5 {
		box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
	}
	
	.left-column, .right-column {
		width: 100%;
		float: none;
		padding: 0;
	}
	
	.profile-photo {
		float: none;
		margin: 0 auto;
		margin-bottom: 30px;
		width: 340px;
	}
	
	.gray-block {
		display: none;
	}
	
	.gray-block-mobile {
		display: block;
	}
	
	.footer {
		margin: 70px auto 70px;
	}
	
	.copyright {
		width: 100%;
	}
}

@media only screen and (max-width: 375px){
	.header-container, .mainpage-container, .subpage-container, .footer {
		width: 330px;
	}
	
	h1 {
		font-size: 36px;
	}
	
	h2 {
		font-size: 20px;
		margin-bottom: 50px;
	}
	
	.titul {
		background: url('../images/titul-mobile.png') no-repeat center center;
		width: 330px;
		height: 191px;
		background-size: contain;
		margin: 150px auto 100px;
	}
	
	.sipka-projekty {
		left: 120px;
	}
	
	.all-columns {
	width: 330px;
	margin: 0 auto 120px;
	}
	
	.all-projects {
		padding: 30px 15px;
	}
	
	.shelf, .shelf-projects {
		width: 280px;
	}
	
	.project {
		width: 280px;
	}
	
	.profile-photo {
		width: 290px;
	}
}