@font-face
{
	font-family: "avgbold";
	src: url("./img/fonts/texgyreadventor-bold.otf");
}
@font-face
{
	font-family: "avg";
	src: url("./img/fonts/texgyreadventor-regular.otf");
}

body
{
	--larghfascia: 190px;
	margin: 0;
	font-family: avg;
	font-size: 22pt;
	overflow-x:hidden;
}

h1 , h2 , form , header ul
{
	margin:0;
}

h1
{
	z-index: 100;
}

a
{	
	font-family: avgbold; 
	color:#2B3990;
	text-decoration:none;
}


header > nav:last-child
{
	background-image:url("./img/spinning.jpg");
	background-size: cover;
	background-position: center center;
}

header > nav:last-child > .interno
{
	height: 500px;
}

/* logo testata, logo footer */
header > nav:last-child .interno > a > img,
footer .interno > :first-child > a > img
{
	width: calc( var(--larghfascia) - 20px);
	margin: 40px auto;
	display: block;
}

/* instagram */
footer .interno > :last-child > a > img:last-child
{
	margin-left: 18px;
}

address
{
	font-style: normal;
}

footer h5
{
	font-size: 34pt;
	font-weight: normal;
	text-transform: lowercase;
	margin-bottom: 30px;
}

/* seguici su */
footer .interno > :last-child h5
{
	text-align: center;
}

h1 , h2 ,
header > nav:last-child .interno > a
{
	display:block;
	background-color: rgba(255,255,255,0.9);
	color: var(--sfondo-uno);
	box-shadow: 7px 0px 5px 0px rgba(0,0,0,0.6);
	flex-basis: var(--larghfascia);
	flex-grow: 0;
	flex-shrink: 0;
	position: relative;
}

h1 > span,
h2 > span
{
display: block;
    text-transform: uppercase;
    transform: translate(-50%,-50%) rotate(-90deg);
    transform-origin: center center;
    position: absolute;
    top: 50%;
    left: 50%;
    font-family: avgbold;
    font-size: 70pt;
    line-height: 70pt;
	/* outline: 1px solid red; */
}

body > * ,
header > nav
{
	width: 100vw;
	position: relative;
	overflow-y: hidden;
}

header > nav:first-child .interno
{
	justify-content: flex-end;
}

/* immagine panino */
header > nav:first-child .interno img
{
	height: 45px;
	margin-top: 10px;
}

header ul
{	
	display: none;
}

body > *:before ,
header > nav:last-child:before
{
	display:block;
	content: "";
	position: absolute;
	height: 12px;
	width: 100vw;
	background-color: white;
	top: 0;
	left: 0;
}

.interno
{
	width:90%;
	max-width: 1280px;
	min-width: 768px;
	margin: 0 auto;
	display: flex;
	align-items: stretch;
}

main > .interno,
aside > .interno
{
	min-height: 400px;
}

main > .interno > div,
aside > .interno > div
{
	padding: 80px;
	padding-right: 20px;
}

main > .interno > div ul,
aside > .interno > div ul
{
	list-style:none;
	margin-left: 50px;
}

main > .interno > div li:before,
aside > .interno > div li:before
{
	top: 5px;
	left:-20px;
	position:relative;
	display:inline-block;
	content: url("./img/bull.png");
}


main > .interno > div li,
aside > .interno > div li
{
	padding-left:10px;
}

/* FORM */


header > nav:first-child,
footer > div:first-child
{
	background-color: #2B3990;
	color:#fff;
}

footer .interno > *
{
	flex-grow: 0;
	flex-shrink:0;
}
footer > :first-child .interno > :first-child
{
	flex-basis: var(--larghfascia);
}

footer .interno
{
	justify-content: space-between;
}

footer > div:last-child
{
	font-size: 14pt;
	margin-bottom: 10px;
}

main
{
	--sfondo-uno: #649DCA;
	background-color: var(--sfondo-uno);
	color:#fff;
}

main a,
aside a,
header > nav:first-child a,
footer > div:first-child address a 
{
	color:#fff;
    letter-spacing: 1px;
	background-color: rgba( 255, 255, 255, 0.1);
	padding: 0 6px;
	display:inline-block;
}

header > nav:first-child a,
footer > div:first-child nav :last-child a 
{
	background-color:transparent;
}

aside
{
	--sfondo-uno: #0278BA;
	background-color: var(--sfondo-uno);
	color:#fff;
}
