.nav-container {
    background-color: rgb(255, 255, 255);
    border-bottom: 2px solid rgb(209, 209, 209);
}

#logo img {
	width: 180px;
}

#menu-items {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    font-size: 18px;
}

.bar .menu-horizontal {
	top: 0px;
}

#menu1 .container {
	padding: 0;
}

#menu1 {
    padding: 15px 0;
}

.bar__module {
	margin-right: 10px;
}

.menu-horizontal > li {
	margin: 0 15px;
}

.menu-horizontal > li > a {
	color: rgb(65, 68, 70);
	padding: 5px 5px;
	border-radius: 5px;
	display: contents;
}

.bar-1 .menu-horizontal > li > a:hover {
    color: rgb(26, 157, 216);
}

@media (max-width: 1023px) and (min-width: 768px) {
	.bar-1 .bar__module {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 991px) {
	.container {
		max-width: calc(100% - 60px);
	}
	
	#logo img {
		width: 160px;
		min-width: 160px;
	}
	
#menu-items {
		font-size: 15px;
	}
}

@media screen and (max-width: 767px) {
	
	section .container {
		max-width: calc(100% - 20px);
	}
	
	#menu1 {
    	padding: 5px 0px;
	}
	
	.bar .container {	
		padding: 0;
	}
	
	#logo img {
		width: 140px;
		min-width: 140px;
	}
	
	#nav-toggle span {
		right: 15px;
		background: rgb(115, 124, 125);
	}
	
	#nav-toggle span:after,
	#nav-toggle span:before {
		background: rgb(115, 124, 125);
	}
	
	#menu-items {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
	}
	
	.menu-horizontal {
		text-align: center;
	}
	
	.menu-horizontal li a {
    	padding: 3px 10px;
    	font-size: 13px;
	}	
	
	.bar__module {
		margin-bottom: 0;
	}
	
	.video-cover iframe {
		height: calc(52vw - 10px);
	}
}

/*----------------------home page styling--------------------: ;*/

.anomaly2game {
	background-color: rgb(250, 251, 253);
}

.anomaly2game a {
	color: #2c5ebd;
	text-decoration: none;
	line-height: 21px;
}

.anomaly2game a:hover {
	text-decoration: underline;
}

.anomaly2game p {
	letter-spacing: .4px;
	line-height: 21px;
	font-size: 15px;
	color: rgb(25, 33, 33);
}

.anomaly2game h2 {
	display: inline-block;
}

.anomaly2game h2 i {
	border-bottom: 1px solid #777;
	padding-bottom: 5px;
}

.mobile-version {
	background-color: rgb(255, 255, 255);
	padding: 100px 0;
	margin-bottom: 100px;
	border-top: 2px solid rgb(199, 160, 142);
	border-bottom: 2px solid rgb(199, 160, 142);
}

.text-inside-img {
    margin-top: 100px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

.outer-img {
	position: relative;
	padding: 0;
}

.outer-img img {
	margin: 0;
}

.inner-text {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 30px;
	height: 100%;
	background-color: rgba(23,35,45, .5);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-flow: column;
	        flex-flow: column;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	border-radius: 6px;
}

.inner-text h2 {
	color: rgb(255, 255, 255);
	display: block;
	text-align: center;
	font-weight: bold;
}

.inner-text p {
	color: rgb(255, 255, 255);
	font-size: 16px;
	text-shadow: 0px -0.31px #fff;
}

.double-section-item {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	width: 49.5%;
}

.double-section-item h2 {
	text-align: center;
	display: block;
}

.other-anomaly-games {
	padding-right: 20px;
}

.tower-defence-games {
	padding-left: 20px;
}

.double-section-item img {
	float: right;
	width: 50%;
	margin-left: 15px;
	margin-bottom: 15px;
}

.video-play-icon {
	border: 2px solid #846b6b;
	background: rgb(218, 218, 218);
}

.video-play-icon:before {
	border-color: transparent transparent transparent #846b6b;
}

footer, section.space--xs, footer.space--xs {
    background-color: rgb(234, 234, 234);
    padding: 30px 0px;
    border-top: 1px solid rgb(195, 195, 195);
}


@media screen and (max-width: 767px) {
	.anomaly2game .heading-block {
		text-align: center;
	}
	
	.section-with-image {
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		    -ms-flex-flow: column-reverse;
		        flex-flow: column-reverse;
	}
	
	.outer-img {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: reverse;
    	    -ms-flex-flow: column-reverse;
    	        flex-flow: column-reverse;
	}
	
	.inner-text {
		height: auto;
		position: inherit;
		padding-top: 20px;
		margin-bottom: 50px;
	}
	
	.double-section-item {
		width: 100%;
	}
	
	.double-section-item img {
	    float: none;
	    width: 100%;
	    margin-left: 0;
	    margin-bottom: 30px;
	}
	
	.other-anomaly-games {
		padding: 0;
	}
	
	.tower-defence-games {
		padding: 0;
	}
}
