#top_logo {
	position:relative;
	top:15px;
	left:-120px;
}

.top_logo_centered .olympis {
	margin-top: 15px;
}

html, body {
	overflow-x: hidden;
}

/* Scale the designed competition grid when the viewport is narrower.
   overflow:hidden would clip fly-in at #wrap instead of the screen edge;
   .is-clipped is added after the animation. */
.competitions_fit {
	width: 100%;
	overflow: visible;
}
.competitions_fit.is-clipped {
	overflow: hidden;
}
.competitions_fit > .competitions {
	/* 4 × (248px block + 24px margin); JS may refine */
	width: 1088px;
	max-width: none;
	transform-origin: top center;
	box-sizing: border-box;
}

.competition_block.will-fly-in {
	visibility: hidden;
	will-change: transform;
}
.competition_block.will-fly-in.competitions_appear {
	visibility: visible;
	animation-name: competitions_appear;
	animation-timing-function: ease-out;
}
@keyframes competitions_appear {
	0% {
		transform: translate3d(var(--fly-start, -100vw), 0, 0) rotate(-180deg);
	}
	100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
	}
}

/* Lithuanian homepage: educational-games button under the subject grid. */
.competitions.has_games_badge {
	height: auto;
	min-height: 1670px;
}
.games_badge_row {
	clear: both;
	width: 100%;
	text-align: center;
	padding-top: 28px;
	perspective: 900px;
}
.games_badge_row .games_badge {
	float: none;
	display: inline-block;
	overflow: visible;
	vertical-align: top;
	transform-style: preserve-3d;
}
.games_badge .competition_block_outer {
	overflow: hidden;
	border-radius: 400px;
}
.games_badge.will-coin-flip {
	visibility: hidden;
	will-change: transform;
}
.games_badge.will-coin-flip.games_badge_appear {
	visibility: visible;
	animation-name: games_badge_coin;
	animation-duration: 1.15s;
	animation-timing-function: cubic-bezier(0.16, 0.84, 0.32, 1);
	animation-fill-mode: both;
}
@keyframes games_badge_coin {
	0% {
		transform: translate3d(var(--fly-start, -80vw), 0, 0) rotateY(-1080deg);
	}
	100% {
		transform: translate3d(0, 0, 0) rotateY(0deg);
	}
}
.games_badge a:focus-visible {
	outline: 3px solid #1d4ed8;
	outline-offset: 4px;
}
.games_badge .competition_block_inner {
	width: 250px;
	height: 250px;
	top: 20px;
	padding-bottom: 0;
}
.games_badge .competition_title {
	bottom: 83px;
}
.games_badge .competition_title_inner {
	height: auto;
	font-size: 18px;
	line-height: 22px;
	white-space: nowrap;
}
.games_badge_img {
	display: block;
	width: 250px;
	height: 250px;
	object-fit: cover;
	object-position: center center;
	transform: translateY(-18px);
}
.games_badge_new,
.games_badge_free {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	color: #fff;
	font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	font-weight: 700;
	line-height: 1.15;
	white-space: nowrap;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
}
.games_badge_new {
	top: 0;
	font-size: 14px;
	padding: 3px 10px;
	background: linear-gradient(#ff2e2e, #c20000);
}
.games_badge_free {
	bottom: 42px;
	font-size: 16px;
	padding: 4px 12px;
	background: linear-gradient(#ffa000, #e67c00);
}