@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Droid+Sans|Ubuntu|Ubuntu+Mono&subset=latin,cyrillic);

*
{
	margin:0;
	outline:none;
	padding:0;
}

body
{
	font-family:"Ubuntu", "Droid Sans", sans-serif;
}

.wrapper
{
	align-items:center;
	background:url("assets/templates/g2022/kreml.jpg") center center no-repeat #000;
	background-size:cover;
	display:flex;
	height:100vh;
	justify-content:center;
	overflow:hidden;
	position:relative;
	width:100vw;
}

.wrapper > .outer
{
	align-items:center;
	display:flex;
	flex-direction:column;
	position:relative;
}

.wrapper > .cover
{
	background-color:rgba(0,0,0,0.5);
	height:100%;
	position:absolute;
	width:100%;
}

.hits
{
	color:#fcc;
	display:flex;
	font-size:13vw;
	font-weight:bold;
	opacity:0.7;
	position:relative;
	text-shadow:#000 0 0 3px;
}

.hits > .outer
{
	display:inline-block;
	overflow:hidden;
	position:relative;
}

.change
{
	display:inline-block;
	overflow:hidden;
	position:relative;
	vertical-align:middle;
}

.new
{
	position:absolute;
	top:-100%;
}

.cur
{
	display:inline-block;
	position:relative;
}

.sign
{
	color:#fcc;
	height:20px;
	overflow:hidden;
	position:relative;
	width:80%;
}

.sign img
{
	position:absolute;
	transform-origin:right bottom;
}

.sign img:first-of-type
{
	left:0;
}

.sign img:last-of-type
{
	right:0;
}

/*[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -100%;
  left: 0;
}*/

.slideshow
{
	background-color:#000;
	height:100%;
	position:absolute;
	width:100%;
}

.slideshow > ul
{
	list-style:none;
}

.slideshow > ul > li
{
	height:100%;
	position:absolute;
	width:100%;
}

/* -------------------------------------- menu --------------------------------------- */
.menu button
{
	background-color:transparent;
	border:none;
	opacity:0.7;
	position:absolute;
	right:20px;
	top:20px;
}

.menu button
{
	cursor:pointer;
	height:40px;
	transform:rotate(0deg);
	transition:.5s ease-in-out;
	width:40px;
}

.menu button span
{
	background:#fcc;
	border-radius:5px;
	display:block;
	height:5px;
	left:0;
	opacity:1;
	position:absolute;
	transform:rotate(0deg);
	transition:.25s ease-in-out;
	width:100%;
}

.menu button span:nth-child(1)
{
	top:0;
}

.menu button span:nth-child(2),
.menu button span:nth-child(3)
{
	top:12px;
}

.menu button span:nth-child(4)
{
	top:24px;
}

.menu button.open span:nth-child(1),
.menu button.open span:nth-child(4)
{
	left:50%;
	top:18px;
	width:0%;
}

.menu button.open span:nth-child(2)
{
	transform:rotate(45deg);
}

.menu button.open span:nth-child(3)
{
	transform:rotate(-45deg);
}
/* -------------------------------------- menu --------------------------------------- */

/* ------------------------------------- sidebar ------------------------------------- */
.sidebar
{
	background-color:rgba(0,0,0,0.7);
	height:100%;
	position:absolute;
	right:0;
	top:0;
	transform:translate(100%,0);
	transition:transform 0.5s ease-out;
	width:300px;
}

.sidebar.open
{
	transform:translate(0,0);
}

@media (max-width:1024px)
{
	.sidebar
	{
		width:100%;
	}
}

.sidebar .inner
{
	color:#fff;
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	height:calc(100% - 60px);
	margin-top:60px;
	padding:0 20px 20px 20px;
}

.sidebar .inner footer
{
	align-self:center;
	margin:20px 20px 0 20px;
}

.sidebar .inner footer p
{
	margin-bottom:20px;
}

.sidebar .inner footer a
{
	color:#fcc;
	text-decoration:none;
}

.sidebar .inner footer .twitter svg
{
	fill:currentcolor;
	height:32px;
	width:32px;
}

.sidebar .inner footer .twitter
{
	text-align:center;
}

.sidebar .inner footer .copy
{
	font-size:0.6em;
}
/* ------------------------------------- sidebar ------------------------------------- */

/* -------------------------------------- speed -------------------------------------- */
.speed
{
	bottom:20px;
	color:#fcc;
	cursor:pointer;
	display:block;
	font-size:2vw;
	font-weight:bold;
	opacity:0.7;
	position:absolute;
	right:20px;
}
/* -------------------------------------- speed -------------------------------------- */
