@charset "windows-1251";

/* PAPER XMAS CARD by Kontramax */

/*
----------------------------------------------------------------------------------

CSS Table of content:

1. Connect custom fonts: @font-face

2. Setup fade-in animation when start: @keyframes

3. Main styles

    3.1 Html styles: html

    3.2 Body styles: body

    3.3 Canvas styles: #canvas

4. Preloader styles: #preloader

    4.1 Preloader image styles: #preloader img

5. Styles for div with main animation and text greetings

    5.1 Main animation: #animation

    5.2 Styles text greetings: #animation #textbox

    5.3 Styles for paragraphs in text greetings: #animation p

    5.4 Styles for main title in text greetings: #animation .title_text

    5.5 Styles for default links in text greetings: #animation a

    5.6 Styles for URL-link in end of text greetings: #animation a.my_link

    5.7 Styles for hovered URL-link in end of text greetings: #animation a.my_link:hover

----------------------------------------------------------------------------------
*/

/* Connect custom fonts */
@font-face {
    font-family: 'paper_cuts_2regular';
    src:	url('../fonts/papercuts-2-webfont.woff2') format('woff2'),
			url('../fonts/papercuts-2-webfont.woff') format('woff'),
			url('../fonts/papercuts-2.ttf')  format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Fade-in animation when start */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 100; }
}

/* Html Styles */
html {
	width: 100%;
	background: #3d424c;
}

/* Body styles */
body {
	color: #aaa;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	margin: 0;
	overflow: hidden;
	position: fixed;
	-webkit-overflow-scrolling: auto;
	background: linear-gradient(0deg, #0a5597 55%, #0c6cc0 80%, #ccffff 100%);
	animation: 1s ease-in 0s 1 fadeIn;
}

/* Canvas styles */
#canvas {
	display: none;
	background-color:rgba(0, 0, 0, 0);
	width: 100%;
	height: 100%;
	position: fixed;
	animation: 2s ease-in 0s 1 fadeIn;
}

/* Preloader styles */
#preloader {
	position:fixed;
	display: inline-block;
	margin-top:-25px;
	margin-left:-25px;
	top: 50%;
	left: 50%;
	width: 50px;
	height:50px;
	text-align: center;
	vertical-align: middle;
}

/* Preloader image styles */
#preloader img {
	vertical-align: middle;
	max-height: 100%
}

/* Styles for div with main animation */
#animation {
	position: fixed;
}

/* Styles text greetings */
#animation #textbox {
	font-family: 'paper_cuts_2regular';
	font-size: 23px;
	line-height: 1.5;
	margin-top: 0em;
	margin-bottom: 0em;
	color:#006600;
	text-align: center;
	z-index: 1;
	position: fixed;
	width:660px;
	height:560px;
	visibility: hidden;
}

/* Styles for paragraphs in text greetings */
#animation p {
	margin: 0;
}

/* Styles for main title in text greetings */
#animation .title_text {
	font-family: 'paper_cuts_2regular';
	font-size: 72px;
	color:#004d00;
}

/* Styles for default links in text greetings */
#animation a {
	color: #FF1740;
	text-decoration: none;
}

/* Styles for URL-link in end of text greetings */
#animation a.my_link {
	font-family: 'paper_cuts_2regular';
	font-size: 23px;
	display: inline-block;
	margin-top: 20px;
	color: #FF1740;
	transition: 0.3s;
	padding: 0;
	border-radius: 20px;
}

/* Styles for hovered URL-link in end of text greetings */
#animation a.my_link:hover {
	background: #FF1740;
	color: #FFF;
	padding: 0 20px 0 20px;
	border-radius: 20px 20px 20px 20px;
	text-decoration: none;
}
