@import url('https://fonts.googleapis.com/css?family=Julius+Sans+One|Pattaya|Raleway');
* {
    box-sizing: border-box;
}

body {
		/*background-color:#40C1FF;*/
		background-image:url('pozadina.png');
		background-attachment: fixed;}
header{
	width: 100%;
	text-align:center;
}
p{padding: 0 70px 0 70px;
  font-family: 'Eczar', serif;}
h1{padding: 0 70px 0 70px;

   font-family: 'Pattaya', sans-serif;
   color:#5D69BF;
   font-size:60px;
   transition: font-size 1s;
}
h1:hover{
	padding: 0 30px 0 30px;
	font-size:90px;
	
}
h2{margin-top:-60px;
	margin-bottom:40px;
	font-size:23px;
	font-family: 'Julius Sans One', sans-serif;

  }

h3{font: italic normal 1.4em georgia, sans-serif;
	padding: 0 70px 0 70px;
	font-size:27px;}
a:link { 
	font-weight: bold; 
	text-decoration: none; 
	color: #1A2BA6;
	}
a:visited { 
	font-weight: bold; 
	text-decoration: none; 
	color: #5165FF;
	}
a:hover, a:focus, a:active { 
	text-decoration: underline; 
	color: #1A2BA6;
	}

	.intro { 
	width: 100%;
	}
.mainsupporting{
	background-color:#FFF;

}
	.summary {	
	width: 73%;
    float: right;
	background-color:rgba(255, 255, 255,0.8);
	box-shadow: 10px 10px 5px grey;
    border-radius: 12px;
    transition: width 2s;
}

.summary:hover {
    width: 55%;
}

.preamble{
	width: 55%;
    float: right;
	background: rgba(78, 191, 127,0.8); /* For browsers that do not support gradients */
	background: linear-gradient(rgba(78, 191, 127,0.8), rgba(255,225,225,0)); /*Standard*/
	padding-top:10px;
	padding-bottom:10px;
	margin-top:10px;
	box-shadow: 10px 10px 5px grey;
	border-radius: 50px/15px;

	}

	.explanation {	
	background-color:rgba(255, 255, 255,0.8);
	width: 55%;
    float: right;
	margin-top:10px;
	padding-bottom:10px;
	box-shadow: 10px 10px 5px grey;
    border-radius: 12px;
	transition: margin-right 2s;
	}
	.explanation:hover{
	margin-right:340px;
	}
	.explanation h3{
		color:#4EBF7F;
	}
	.participation{
	width: 55%;
    float: left;
	background: rgba(78, 191, 127,0.8); /* For browsers that do not support gradients */
	background: linear-gradient(rgba(78, 191, 127,0.8), rgba(78, 191, 127,0.2)); /*Standard*/
	margin-top:10px;
	box-shadow: 10px 0px 10px grey;
	border-radius: 12px 12px 0px 0px ;
	}
	.benefits{
	width: 55%;
    float: left;
	background: rgba(78, 191, 127,0.2);
	background: linear-gradient(rgba(78, 191, 127,0.2), rgba(255,225,225,0)); /*Standard*/
	margin-bottom:10px;
	padding-bottom:10px;
	box-shadow: 10px 10px 5px grey;
	border-radius:  0px 0px 12px 12px;
	border-top:none;
	
	}
	.requirements{
	 width: 55%;
     float: right;
	 background-color:rgba(255, 255, 255,0.8);
	 padding-bottom:10px;
	 box-shadow: 10px 10px 5px grey;
	 border-radius: 12px;
	 position: relative;
     animation-name: animacija;
     animation-duration: 20s;
	 animation-delay: 20s;
	 animation-timing-function: ease-out;
	}
	@keyframes animacija {
    0%   { right:0px;}
	50%  { right:600px;}
    100% { right:0px; }
}
	.requirements h3{color:#4EBF7F;}
	.sidebar {
	width: 25%;
    float: left;
	position: absolute;
	color:#111;
	
	}
	.sidebar .wrapper { 
	font: 10px;
	background-color:rgba(21, 118, 166,0.5);
	background: linear-gradient(rgba(21, 118, 166,0.8), rgba(255,225,225,0.1)); /*Standard*/
	padding-top:10px;
	padding-bottom:10px;
	box-shadow: 10px 10px 5px grey;
	border-radius: 12px;
	height:240px;
	overflow: hidden;
    text-overflow: clip;
    transition: height 1s;
	
	}
	.sidebar .wrapper:hover{
		height:540px;
	}
.sidebar h3.select { 
	font: italic normal 1.2em georgia, sans-serif;
	
	}
.sidebar h3.archives { 
	font: italic normal 1.4em georgia, sans-serif;

	}
.sidebar h3.resources { 
	font: italic normal 1.4em georgia, sans-serif;

	}
	.extra1 {
	background: transparent url() top left no-repeat; 
	position: absolute; 
	top: 40px; 
	right: 0; 
	width: 148px; 
	height: 110px;
	
	}

footer { 
	text-align: center; 
	width: 100%;
    float: left;
	margin-top:20px;
	background-color:rgba(255, 255, 255,0.8);
	box-shadow: 10px 10px 5px grey;
	border-radius: 12px;
	}

@media only screen and (max-width: 768px) {
h1{font-size:50px;}
h1:hover{font-size:60px;}
h2{	padding-top:10px;
	font-size:18px;}
p{padding: 0 40px 0 40px; }
.sidebar{	
	width:100%;
	position:inherit;
}
.summary {	
	width:100%;
	margin-bottom:20px;
    transition: font-size 2s;
}
.summary:hover{
	width:100%;
	font-size:18px;
}
	.preamble{
	width:100%;
	margin-bottom:20px;
	}

	.explanation {	
	width:100%;
	margin-bottom:18px;
    transition: font-size 1s;

	}
	.explanation:hover{
	width:100%;
	font-size:20px;
	margin-right:0px;
	}
	.participation{
	width:100%;
	}
	.benefits{
	width:100%;
	margin-bottom:20px;
	}
	.requirements{
	width:100%;
	margin-bottom:20px;
    animation-name: x;
	}

}	