*{
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	right: 0;
}

html{
	font-size: 16px;
}

body{
	background-image: url("../Images/pattern.png");
}

header{
	position: sticky;
	background: white;
	padding: 0 5%;
	border-radius: 0 0 50px 50px;
	display: inline-block;
	box-sizing: border-box;
	width: 100%;
	/*border-radius: 0 0 80px 80px;*/
}

header .logo{
	height: 150px;
	float: left;
}

header nav{
	width: 80%;
	float: left;
	opacity: 0.7;
}

header nav ul li{
	float: right;
	list-style: none;
	border-radius: 20px;
	margin: 5% 1% 5% 1%;
	background:#E9967A;
	box-shadow: 10px 10px 5px grey;
}

header nav ul li:first-child{
	background: #ff3333;
}

header nav ul li a{
	font-size: 0.9rem;
	text-decoration: none;
	text-transform: uppercase;
	color: white;
	text-align: center;
	line-height: 35px;
	display: block;
	padding: 0 20px;
}

header nav ul li:hover{
	background: black;
	transition: 0.9s;
}

header nav ul li:hover a{ /*a urile din tot meniul se fac albe la hover*/
	color: white;
}

#search{
	width:100%;
	float: left;
	margin-bottom: 10px;
}

#search_icon:hover{
	cursor: pointer;
}

#search input{
	width: 90%;
}

#search_icon{
	float: right;
	font-size: 1.5rem;
	color: gray;
}

#back{
	background-color: white;
	z-index: 2;
	border-radius: 50%;
	position: fixed;
	top: 25%;
	width: 45px;
}

#back_icon{
	margin-left: 0.5rem;
	margin-right: 0.7rem;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
	font-size: 2rem;
}

#back:hover{
	cursor: pointer;
}

section h1{
	line-height: 80px;
	text-align: center;
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
}

section h2{
	line-height: 50px;
	margin-left: 5%;
	font-family: 'Playfair Display', serif;
}

section p{
	font-size: 1.5rem;
	font-family: 'Playfair Display', serif;
	margin-left: 10%;
	margin-bottom: 5%;
}

section ul{
	margin-left: 10%;
	margin-bottom: 5%;
}

section ul li{
	list-style-type: decimal;
}

section ul li a{
	font-size: 1.5rem;
	font-family: 'Playfair Display', serif;
}

footer{
	height: 300px;
	overflow: hidden;
}

footer{
	background: #dcdcdc;
}

footer .component_1{
	outline: none;
	background-image: url("../Images/pattern.png");
	border-radius: 0 0 100% 100%;
	height: 100px;
}

footer nav{
	width: 100%;
}

footer nav ul{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}

footer nav li{
	float: left;
	list-style: none;
	border-radius: 100%;
	width: 20%;
	text-align: center;
}

footer nav li a{
	font-size: 0.8rem;
	position: relative;
	color: black;
	text-decoration: none;
	text-transform: uppercase;
	line-height: 50px;
}

footer nav li a:hover{
	color: #000;
}

footer nav li a:before{
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #000;
	visibility: hidden;
	transform: scaleX(0);
	transition: all 0.3s ease-in-out;
}

footer nav li a:hover:before{
	visibility: visible;
	transform: scaleX(1);
}

@media screen and (max-width: 1006px){
	header .logo{
		height: 70px;
		float: none;
		display: block;
	}

	header nav{
		width: 100%;
		display: block;
		float: none;
	}

	header nav ul li{
		display: block;
		float: none;
		border-radius: 0;
		box-shadow: none;
		background: white;
		border-radius: 4px;
		margin: 1%;
	}

	header nav ul li:first-child{
		border-top: 3px solid gray;
	}

	header nav ul li a{
		color: gray;
		text-align: left;
		font-size: 0.8rem;
		line-height: 30px;
	}

	#back{
		top: 45%;
		width: 32px;
	}

	#back_icon{
		font-size: 1rem;
	}

	section h1{
		font-size: 1.3rem;
	}

	section h2{
		font-size: 1.1rem;
	}

	section p{
		font-size: 1rem;
	}

	section ul li a{
		font-size: 1rem;
	}

	footer nav li{
		width: 90%;
	}
}