/**
 * CSS stylesheet for http://jubileusz.zsp9.pl/ website.
 * 
 * Author: Przemysław Frąg
 */
 

@font-face {
	font-family: Courgette;
	src: url(../fonts/Courgette-Regular.ttf);
}

@font-face {
	font-family: Lato;
	src: url(../fonts/Lato-Regular.ttf);
}

@font-face {
	font-family: Lato;
	font-weight: bold;
	src: url(../fonts/Lato-Bold.ttf);
}

@font-face {
	font-family: Lato;
	font-style: italic;
	src: url(../fonts/Lato-Italic.ttf);
}

body {
	margin: 0px;
	padding: 0px;
	background-image: url(../img/background.jpg);
	background-attachment: fixed;
	background-position: center center;
	background-size: cover;
	font-family: Lato;
	overflow: hidden;
}

#timeline {
	position: fixed;
	width: 100%;
	top: 40px;
	text-align: center;
	transition: all 0.25s ease-in-out;
}

#timeline-details {
	display: none;
	position: fixed;
	width: 100%;
	top: 80px;
	text-align: center;
	transition: all 0.25s ease-in-out;
}

#timeline span,
#timeline-details span {
	margin: 20px;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 2px;
	line-height: 24px;
	color: #F1F1F1;
	text-shadow: 2px 2px 2px #808080;
	cursor: pointer;
	transition: all 0.25s ease-in-out;
}

#timeline span:hover {
	color: #FFFFFF;
}

#admin-panel {
	position: fixed;
	top: 10px;
	left: 10px;
	opacity: 0.5;
	cursor: pointer;
}

#logo {
	position: fixed;
	top: 5%;
	left: 5%;
	width: 7.5%;
	opacity: 0.8;
	transition: all 0.5s ease-in-out;
}

#tape-container {
	position: fixed;
	width: 100%;
	top: calc(50% - 125px);
	left: 0px;
	box-shadow: 0px 0px 20px #221F1F;
	-webkit-transform: rotateZ(-5deg);
	transform: rotateZ(-5deg);
	transition: all 0.75s ease-in-out;
}

#page-title {
	position: absolute;
	top: -84px;
	left: 80px;
	margin: 0px;
	font-family: Courgette;
	font-size: 64px;
	font-weight: normal;
	color: #D0D0D0;
	transition: all 0.5s ease-in-out;
}

#tape {
	margin-left: -140px;
	font-size: 0px;
}

#tape .frame-container {
	display: inline-block;
	position: relative;
	width: 280px;
	height: 250px;
	margin-right: -1px;
}

#tape .frame {
	width: 280px;
	height: 250px;
}

#tape .photo {
	position: absolute;
	width: 240px;
	height: 180px;
	top: 35px;
	left: 20px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 10px;
	-webkit-filter: contrast(125%);
	filter: contrast(125%);
}

#tape .filter {
	position: absolute;
	width: 240px;
	height: 180px;
	top: 35px;
	left: 20px;
	background-color: #210A00;
	border-radius: 10px;
	opacity: 0.25;
}

#tape .title {
	position: absolute;
	width: 240px;
	height: 180px;
	top: 35px;
	left: 20px;
	opacity: 0;
	background-color: rgba(255, 255, 255, 0.25);
	border-radius: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #FFFFFF;
	line-height: 180px;
	text-align: center;
	cursor: pointer;
	transition: all 0.5s ease-in-out;
}

#tape .title:hover {
	opacity: 1;
}

#tape .title span {
	display: inline-block;
	line-height: 20px;
	vertical-align: middle;
}

#left {
	position: absolute;
	width: 64px;
	height: 64px;
	top: calc(50% - 32px);
	left: 20px;
	opacity: 0.5;
	cursor: pointer;
	transition: all 0.25s ease-in-out;
}

#right {
	position: absolute;
	width: 64px;
	height: 64px;
	top: calc(50% - 32px);
	right: 20px;
	opacity: 0.5;
	cursor: pointer;
	transition: all 0.25s ease-in-out;
}

#left:hover,
#right:hover {
	opacity: 0.7;
}

#info-container {
	position: fixed;
	width: 75%;
	height: calc(100% - 200px);
	right: 20px;
	bottom: calc(-100% + 200px);
	background-image: url(../img/info-bg.jpg);
	background-position: center center;
	background-size: cover;
	border-radius: 5px;
	box-shadow: 0px 0px 20px #221F1F;
	transition: all 0.5s ease-in-out;
}

#info {
	position: relative;
	height: calc(100% - 40px);
	margin: 20px;
	font-family: Courgette;
	color: #1F1F1F;
	overflow: auto;
}

#previous, #next, #back {
	position: absolute;
	top: 10px;
	cursor: pointer;
	z-index: 1;
}

#previous {
	right: 114px;
}

#next {
	right: 62px;
}

#back {
	right: 10px;
}

#photo-container {
	float: left;
	width: 240px;
	height: 180px;
	padding: 10px 10px 30px 10px;
	background-color: #FFFFFF;
	box-shadow: 1px 1px 10px #221F1F;
}

#photo {
	display: block;
	width: 240px;
	height: 180px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

#photo-title {
	margin: 40px 0px;
	font-family: Courgette;
	font-size: 48px;
	text-align: center;
}

#photo-description {
	clear: both;
	padding-top: 20px;
}

#big-photo {
	display: none;
	margin: 0px auto 10px auto;
	border: 10px solid #FFFFFF;
	border-bottom: 30px solid #FFFFFF;
	box-shadow: 1px 1px 10px #221F1F;
}

#link-to-letter {
	position: fixed;
	right: 40px;
	bottom: 40px;
	font-family: Courgette;
	font-size: 48px;
	line-height: 48px;
	color: #D0D0D0;
	text-decoration: none;
	transition: all 0.25s ease-in-out;
}

#link-to-letter:hover {
	color: #FFFFFF;
}

#footer {
	position: fixed;
	width: 100%;
	height: 20px;
	bottom: 0px;
	background-color: rgba(22, 9, 0, 0.5);
	font-size: 10px;
	line-height: 20px;
	color: #FFFFFF;
	text-align: center;
}
