* {
	box-sizing: border-box;
}

* {
font-family: "Arial";
font-size: 20px ;
list-style: none;
text-decoration: none;
margin: 0;
padding: 0;
}

#sidebar h5 a {
	margin-left: 10%;
	color: rgb(30, 103, 172);
	margin-bottom: 20px;
	font: bold 35px Arial;
}

body {
   min-height: 90vh;
   max-height: 90vh;
   max-width: 100%;
   background: url("fon3.webp");
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center;
   background-attachment: fixed;
   

}

nav {
	background: white;
	padding: 0 5%;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
	width: 100%;
	position: fixed;
	
}

nav ul {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	
}

nav ul li {
	height: 80px;
}

nav ul li a {
	height: 100%;
	padding: 0 20px;
	display: flex;
	align-items: center;
	color: #222;
}

nav ul li:hover a {
	background: #f0f0f0;
	font-weight: bold;
}


a.active {
	color: rgb(0, 0, 0);
	border: 1px solid black;
}

nav ul li:first-child {
	margin-right: auto;
}

nav ul li:first-child a {
	font-size: 40px;
	font-weight: 600;
	font-family: "Good Vibes Pro";
}

nav img {
	width: 100px;
	height: 100px;
}

.menu-btn {
	display: none;
}

.sidebar{
	display: none;
}

@media (max-width: 1000px) {
	.hide {
		display: none;
	}

	.menu-btn {
		display: block;
   }

.sidebar {
	position: fixed;
	top: 0;
	right: -100%;
	height: 100vh;
	width: 100%;
	max-width: 250px;
	background: rgba(255,255,255, 0.15);
	backdrop-filter: blur(12px);
	box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	transition: 1s;
   }

   .sidebar li {
	  width: 100%;
   } 

   .sidebar li a {
	  width: 100%;
   }
     .sidebar li a img {
	width: 40px;
	height: 40px;
   }
}

#header img {
	width: 300px;
	margin-left: 43%;
	margin-top: 100px;
}
#header h1 {
	font-family: "edwardian script ITC";
	font-size: 150px;
	margin-left: 25%;
	margin-right: 25%;
  font-weight:lighter;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

#header h2 {
	font-family: "edwardian script ITC";
	font-size: 60px;
	margin-top: px;
	margin-left: 33%;
	margin-right: 15%;
	font-weight:lighter;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 3px rgb(8, 8, 8);
	text-shadow: -2px 0px rgb(250, 249, 249);
}
#header h3 {
	font-family: "edwardian script ITC";
	font-size: 60px;
	margin-top: px;
	margin-left: 27%;
    margin-bottom: 50px;
	font-weight:lighter;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 3px rgb(8, 8, 8);
	text-shadow: -2px 0px rgb(250, 249, 249);
}

#header h4 {
	font-family: "edwardian script ITC";
	font-size: 60px;
	margin-top: px;
	margin-left: 37%;
    margin-bottom: 30px;
	font-weight:lighter;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 3px rgb(8, 8, 8);
	text-shadow: -2px 0px rgb(250, 249, 249);
    border-bottom: 2px solid black;
    margin-right: 40%;
    }

	#header h5 {
	font-family: "edwardian script ITC";
	font-size: 60px;
	margin-top: px;
	margin-left: 42%;
    margin-bottom: 30px;
	font-weight:lighter;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 3px rgb(8, 8, 8);
	text-shadow: -2px 0px rgb(250, 249, 249);
    border-bottom: 2px solid black;
    margin-right: 43%;
    }



#parent {
	width: 100%;
    height: 20vw;
    display: flex;
    border-radius: 10px;
    background: black var(--img) center / cover;
}
.child {
	margin-left: 10%;
}

@media (max-width: 1200px) {
 

}
  #main {
	border-top: 5px double black;
	width: 100%;
	height: 700px;
	grid-auto-columns: repeat(3, 1fr);
	align-content: start;
	gap: 10px;
  }
 #main p {
	margin-left: -40px;
	margin-bottom: 20px;
    border-width: 150px; 
	margin-top: 50px;
	text-align: center;
}
#main h4 {
	margin-top: 100px;
	margin-left: 47%;
	margin-bottom: 110px;
	font: bold 50px Arial;
}

#sidebar h1{
  margin-left: 10%;
  margin-top: 100px;
  margin-bottom: 40px;
  font: bold 50px Arial;
}

#sidebar h2 {
	margin-left: 10%;
	margin-bottom: 20px;
	font: bold 30px Arial;
	color: red;

}
#sidebar h3 {
	margin-left: 10%;
   font: 20px Arial;
}

#sidebar h4 {
	margin-left: 10%;
	color: rebeccapurple;
	margin-bottom: 20px;
	font: bold 25px Arial;
}




#parent1 {
	margin-top: 100px;
	display: grid;
    grid-template-columns: repeat(4, 1fr);
	border: 1px solid none;
	padding: 10px;
	width: 100%;
	background-image: url("bg.png");	
}

#parent1 > div {
	padding: 10px;
	border: 1px solid none;
	}

#child img {
    width: 80%;
    margin-left: 40px;
    border: 1px solid black;
}

.link {
	position: relative;
	font-size: 25px;
	font-style: italic;
	border: 2px double black;
	cursor: pointer;
	margin-left: 70px;
	background-color: rgb(255, 255, 255);
	border-radius: 30px 30px 30px 30px;
}


#parent2 {
	margin-top: 200px;
	display: grid;
	grid-template: 1fr 1fr/ 1fr 1fr 1fr 1fr 1fr;
	border: 2px solid black;
	padding: 10px;
	width: 100%;
	background-image: url("bg.png");	
}
#parent2 > div {
	padding: 10px;
	border: 1px solid black;
}
#sidebar {
	border-top: 5px double black;
	border-bottom: 5px double black;
}

#Oplata h1 {
	margin-left: 10%;
  margin-top: 100px;
  margin-bottom: 40px;
  font: bold 50px Arial;
}
#Oplata p {
	text-align: justify;
	margin: 0 50px;
	margin-bottom: 20px;
}

#Onas h1 {
	margin-left: 10%;
  margin-top: 100px;
  margin-bottom: 40px;
  font: bold 50px Arial;
}
#Onas p {
	text-align: justify;
	margin: 0 50px;
	margin-bottom: 20px;
}
#Onas {
	border-top: 5px double black;
}

#Zakaz h1 {
	margin-left: 10%;
  margin-top: 100px;
  margin-bottom: 40px;
  font: bold 50px Arial;
}
#Zakaz  p {
	text-align: justify;
	margin: 0 50px;
	padding-bottom: 20px;
}
#Zakaz {
	border-top: 5px double black;
	border-bottom: 5px double black;
}

#footer {
	height: 300px;
	background-color: rgb(189, 167, 138);
	display: grid;
	padding: 10px;
	border: 1px solid black;
	width: 100%;
	grid-template-columns: 1fr 1fr 1fr;
}
#elem1 img {
	width: 300px;
	margin-left:20%;
	margin-top: 30px;
}

.prodykt {
	font-size: 15px;
	margin-left: 2%;
	margin-bottom: 1%;
	color: rgb(83, 74, 61);
}
#elem2 ul {
    margin-left: 20%;
	list-style-type: square;
	padding: 2%;
}
#elem2 a{
	color: rgb(252, 252, 252);
	margin: 2%;
}

.razdel {
	font-size: 15px;
	margin-left: 2%;
	margin-bottom: 1%;
	color: rgb(83, 74, 61);
}
#elem3 a{
	color: rgb(252, 252, 252);
	margin: 2%;
}
#elem3 ul {
    margin-left: 20%;
	list-style-type: square;
	padding: 2%;
}





  @media (max-width: 1200px) {
    .adaptive {
      width: 1000px;
    }
    #header h1 {
        font-size: 118px;
        margin-left: 22%;
        margin-right: 22%;
    }
    #header h2 {
        font-size: 50px;
        margin-left: 32%;
        margin-right: 26%;
    }
    #header h3 {
        font-size: 50px;
        margin-left: 26%;
        margin-bottom: 50px;
    }
    #header h4 {
        font-size: 50px;
        margin-left: 36%;
        margin-bottom: 50px;
        margin-right: 36%;
    }

	#header h5 {
        font-size: 50px;
        margin-left: 42%;
        margin-bottom: 50px;
        margin-right: 40%;
    }

    #header img {
        width: 280px;
        margin-left: 43%;
    }
    nav ul li:first-child a {
      font-size: 35px;
      font-weight: 600;
      font-family: "Good Vibes Pro";
    }
	#elem1 img{
		width: 250px;
		margin-left:20%;
		margin-top: 30px;	
	}
	#main h4 {
		margin-top: 100px;
		margin-left: 45%;
		margin-bottom: 110px;
		font: bold 50px Arial;
	}

	.child img {
		width: 150px;
		margin-left: 10%;	
	}
  }
  @media (max-width: 1000px) {
    
    #parent1 {
        width: 980px;
        grid-template-columns: repeat(3, 1fr);
      }
      .adaptive {
      width: 768px;
    }
    #header h1 {
        font-size: 98px;
        margin-left: 12%;
		margin-bottom: 30px;
    }
    #header h2 {
        font-size: 40px;
        margin-left: 25%;
    }
    #header h3 {
        font-size: 40px;
        margin-left: 20%;
    }
    #header h4 {
        font-size: 40px;
        margin-left: 34%;
        margin-bottom: 50px;
        margin-right: 40%;
    }

	 #header h5 {
        font-size: 40px;
        margin-left: 40%;
        margin-bottom: 50px;
        margin-right: 43%;
    }

    #header img {
        width: 250px;
        margin-left: 33%;
    }
	#elem1 img{
		width: 200px;
		margin-left:20%;
		margin-top: 30px;	
	}
	#elem2 a {
		font-size: 15px;
		margin-right: 0px;
	}
	#elem3 a {
		font-size: 15px;
		margin-right: 0px;
	}
	#elem3 ul {
		margin-left: 10%;
		list-style-type: square;
		padding: 2%;
	}
	#main h4 {
		margin-top: 100px;
		margin-left: 40%;
		margin-bottom: 110px;
		font: bold 50px Arial;
	}
	.child img {
		width: 130px;
		margin-left: 10%;	
	}
  }
  @media (max-width: 768px) {
    #parent1 {
      width: 745px;
      grid-template-columns: repeat(2, 1fr);
    }
    .block {
      height: 25vw;
    }
    #header h1 {
        font-size: 80px;
        margin-left: 20%;
        margin-right: 25%;
    }
    #header h2 {
        font-size: 30px;
        margin-left: 30%;
        margin-right: 30%;
        color: white;
        font-weight:lighter;
	-webkit-text-fill-color:black;
	-webkit-text-stroke: 1px black;
	text-shadow: none;
    }
    #header h3 {
        font-size: 30px;
        margin-left: 24%;
		color: white;
        font-weight:lighter;
	-webkit-text-fill-color:black;
	-webkit-text-stroke: 1px black;
	text-shadow: none;
    }
    #header h4 {
        font-size: 30px;
        margin-left: 35%;
        margin-bottom: 20px;
        margin-right: 39%;
    }

	 #header h5 {
        font-size: 30px;
        margin-left: 40%;
        margin-bottom: 20px;
        margin-right: 40%;
    }

    #header img {
        width: 200px;
        margin-left: 38%;
    }
	#main h4 {
		margin-top: 100px;
		margin-left: 35%;
		margin-bottom: 110px;
		font: bold 50px Arial;
	}
	.child img {
		width: 100px;
		margin-left: 10%;	
	}
  }
  @media (max-width: 480px) {
    #parent1 {
        width: 460px;
        grid-template-columns: repeat(1, 1fr);
      }
    .adaptive {
      width: 96vw;
      grid-template-columns: 1fr;
    }
    .block {
      height: 50vw;
    }
    #header h1 {
        font-size: 50px;
        margin-left: 15%;
    }
    #header h2 {
        font-size: 20px;
        margin-left: 25%;
        color: white;
        font-weight:lighter;
	-webkit-text-fill-color:black;
	-webkit-text-stroke: 1px black;
	text-shadow: none;
    }
    #header h3 {
        font-size: 20px;
        margin-left: 19%;
        color: white;
        font-weight:lighter;
	-webkit-text-fill-color:black;
	-webkit-text-stroke: 1px black;
	text-shadow: none;
    }
    #header h4 {
        font-size: 20px;
        margin-left: 32%;
        margin-bottom: 20px;
        margin-right: 38%;
    }
    #header h5 {
        font-size: 20px;
        margin-left: 40%;
        margin-bottom: 20px;
        margin-right: 42%;
    }

    #header img {
        width: 150px;
        margin-left: 43%;
    }
	#main h4 {
		margin-top: 100px;
		margin-left: 30%;
		margin-bottom: 110px;
		font: bold 50px Arial;
	}
	.child img {
		width: 70px;
		margin-left: 10%;	
	}
  }
  