@keyframes spin{
  0% {transform: translate(-50%,-50%) rotate(0deg);}
  100% {transform: translate(-50%,-50%) rotate(360deg);}
}

@keyframes fadein{
  0% { opacity:  0;}
  100% { opacity: 1;}
}


@font-face{
 font-family: "Syne"; 
 src:  url(syne-regular.woff2), url(syne-regular.woff);
}

@font-face{
 font-family: "Syne Extra"; 
 src:  url(syne-extra.woff2), url(syne-extra.woff);
}

body {
	font-family: Droid Serif;
	font-size: 32px;
	line-height: 1.25;
	display: flex;
  	flex-direction: column;
  	min-height: 100vh;
	background-color: #f4e6d8;
	color: #15403d;
  transition:  background-color 0.8s;
  overflow-x: hidden;
}


p{
  font-family: Droid Serif;
	font-size: 24px;
	line-height: 1.25;
	color:#bf3126ff;
}

h3{
		font-size: 24px;
}

header{
	position: relative;
	top:0;
	left:0;
	width:100vw;
	text-align:center;
	padding:32px;
	z-index:1;
}

header img{
  width:  200px;
  transition:  width 0.8s;
}

header.sizer img{
  width: 100px;
}

header h1{
  font-size:  32px;
  transition:  font-size 0.8s;
}

header.sizer h1{
  font-size: 20px;
}

div.intro{
	padding:8px;
	position: relative;
	display:flex;
	flex-direction: column;
	justify-content: space-around;
	align-items:center;
	//width:90vw;
	min-height:60vh;
	text-align:center;
	font-size: 24px;
	line-height:0.9;
	//align-content: space-between;
}

a.button{
  margin: 8px;
	display: inline-block;
  background-color: #052837;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5em 1.5em 0.5em 1.5em;
  border-radius: 50px;
}

div.intro h1{
	font-size:48px;
}

section{
	margin:40px 0px 40px 0px;
	display:flex;
	flex-direction:row;
	justify-content:space-between;
	align-items:center;
	width:100vw;
}

section h2{
	color:#e59324ff;
}

section:nth-child(even){
	flex-direction:row-reverse;

}
section div{
	position:relative;
	padding: 10px;
}

section img{
	position:relative;
	width:50vw;
}

div.stamps{
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
}
div.stamps img{
  position: absolute;
  transform: translate(-50%,-50%);
  animation: spin 30s linear infinite;
}

footer{
  	background-color: #e59324ff;
  	position: relative;
  	display:flex;
	flex-direction:row;
	justify-content:center;
  	align-items:center;
	width:100vw;
	text-align:center;
	padding:32px;
	z-index:1;
	text-decoration:none;
}

footer h4{
	color:#fff;
	text-decoration:none;
  	font-size:24px;
}

@media (min-width: 1000px) {

section img{
	position:relative;
	width:40vw;
	padding: 40px;
}

section div{
	position:relative;
	padding: 52px 24px 52px 52px;
}

  
}



