/* Mobile First */

/*
 @media screen and (orientation:portrait) { … }
 @media screen and (orientation:landscape) { … }
 @media screen and (max-width: 600px) { … }
 @media screen and (min-width: 800px) { … }
 
Sfondo (più scuro):  #f7f3ed
Sfondo (più chiaro): #e8ddd0
Color oro:           #d4af37
Testo:               #1a1410
Testo sfumato:       #5a5d62
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

header {
	height: 100px;
	border-bottom: 1px solid #e8ddd0;
	background-color: #f7f3ed;
	margin: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

header div.innerflex {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
	align-items: center;
}

header a {
	text-decoration: none;
	color: #1a1410;
	margin: 0 2em 0 2em;
	display: block;
	cursor: pointer;
}

header a:hover {
	text-decoration: underline;
	background-color: #e8ddd0;
}

header a.btnlink1 {
	display: block;
}


p.menu {
	display: none;
}

#menu {
	margin-right: 50px;
}

p.mobile {
	border: 1px solid #c49f30;
	display: block;
	width: 90%;
	margin: 0 auto;
	position: absolute;
	top: 110px;
	left: 10px;
	background-color: #d4af37;
	border-radius: 4px;
	padding: 0.5em 0 1em 0;
}

p.mobile a {
	padding: 0.5em;
}

footer {
	background-color: black;
	color: white;
	padding: 2em 2em;
	line-height: 1.2em;
}

footer > div.flexwrapper1,
footer > div.flexwrapper2 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2em;
	padding: 1em 0;
}

footer > div.flexwrapper1 > div:nth-child(1) {
	flex-basis: 34%;
}

footer > div.flexwrapper1 > div:nth-child(2) {
	flex-basis: 23%;
}

footer > div.flexwrapper1 > div:nth-child(3) {
	flex-basis: 23%;
}

footer > div.flexwrapper1 > div:nth-child(4) {
	flex-basis: 20%;
}

footer > hr {
	color: #505050;
}

footer a {
	text-decoration: none;
	color: white;
}

footer a:hover {
	color: #d4af37;
}


/**********************

 **********************/
@media (min-width: 576px) {

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {
	header {
		height: 100px;
	}
	
	p.menu {
		display: inline;
		width: 80%;
		text-align: right;
		padding-right: 1em;
	}
	
	header a {
		display: inline;
	}
	
	img#menu {
		display: none;	
	}
	
	header a.btnlink1 {
		display: inline;
		background-color: #d4af37;
		border: 2px solid #c49f30;
	}
	
	p.mobile {
		all: unset;
	}
	
	footer {
		padding: 1em 9em;
	}
	
	footer > div.flexwrapper1,
	footer > div.flexwrapper2 {
		flex-direction: row;
	}
}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}
