*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Segoe UI',Tahoa, Geneva, Verdana, sans-serif;
	background:#fff;
	color: #000;
	font-size: 15px;
	line-height: 1.5;
}


a {
	color: #262626;
	text-decoration: none; 
}

ul {
	list-style: none;
}

.container{
	width: 90%;
	max-width: 1100px;
	margin: auto;
}

/* NAV */

.main-nav{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 5rem;
	padding: 20px 0;
	font-size: 1rem;
}

.main-nav .logo {
	width: 100px;

}

.main-nav ul {
	display: flex;
}

.main-nav ul li {
	padding: 0 10px;
}


.main-nav ul li a{
	padding-bottom: 2px;
}


.main-nav ul li a:hover{
	border-bottom: 2px solid darkred ;
}

.main-nav ul.main-menu {
	flex: 1;
	margin-left: 20px;
}
.menu-btn {
	cursor: pointer;
	position: absolute;
	top: 20px;
	right: 30px;
	z-index: 2;
	display: none;
	font-weight: bolder;
}

.btn {
	cursor: pointer;
	display: inline-block;
	border: 0;
	font-weight: bold;
	padding: 10px 20px;
	background: black;
	color: palevioletred;
	font-size: 15px;
}

.btn:hover{
	opacity: 0.9;
}


.dark{
	color: #fff;
}

.dark .btn{
	background: #f4f4f4;;
	color: #333;
}
/* SHOWCASE*/

.showcase {
	width: 100%;
	position: relative;
	height: 400px;
	background: url('../img/showcase.jpeg')
	no-repeat center/cover;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: flex-end;
	padding-bottom: 50px;
	margin-bottom: 35px;
	font-weight: bold;
	color: #fff;
}

.showcase::before {
	content: "";
	position: absolute;
	z-index: 1;
	background-color: rgba( 0, 0, 0, 0.6);
	inset:0;
}

.showcase > *{
	display: relative;
	z-index:2;
}

.showcase h2, .showcase p {
	margin-bottom: 10px;
	font-weight: bold;
	font-weight: bold;
	font-style: italic;
	color:firebrick antiquewhite;
}

.showcase .btn {
	margin-top: 20px;
}


/* Home cards*/
.home-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
                     	/* 1fr 1fr 1fr 1fr same as up*/
                     	grid-gap: 20px;
                     	margin-bottom: 40px;
}


.home-cards img {
	width: 100%;
	margin-bottom:20px;
	height: 11rem;
}

.home-cards h3 {
	margin-bottom: 5px;

}

.home-cards a {
	display: inline-block;
	padding-top: 10px;
	color: #0067b8;
	text-transform: uppercase;
	font-weight: bold;
}


.home-cards a:hover i {
	margin-left: 10px;
}


/* Xbox*/
.xbox {
	width: 100%;
	height: 350px;
	background: url('../img/xbox.png') no-repeat center center/cover;
	margin-bottom: 20px;
}

.xbox .content {
	width: 40%;
	padding: 50px 0 0 30px;
}

.xbox p, .carbon p{
	margin: 10px 0 20px;
}

/* Carbon */
.carbon {
	width: 100%;
	height: 350px;
	background: url('../img/carbon.jpg') no-repeat center center/cover;
	margin-bottom: 20px;
}

.Carbon .content{
	width: 55%;
	padding: 100px 0 0 30px;
}

/* Follow */
.follow {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 30 0 30px;
}

.follow * {
	margin-right: 10px;
}

/*Bottom Links*/
.links{
	background: lightgray;
	color: #616161;
	font-size: 12px;
	padding: 35px 0;
}

.links-inner{
	max-width: 11oopx;
	margin: 0 auto;
	padding: 0 20px;
	display:grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 10px;
	align-items: flex-start;
	justify-content: center;
}

.links li{
	line-height: 2.8;
}

/*Footer*/

.footer{
	background: lightgray;
	color:#535050;
	font-size: 12px;
	padding: 20px 0;
}

.footer-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.footer div{
	margin-bottom: 20px;
	display: flex;
	align-items: center  ;
}

.footer div i {
	margin-right: 10px;
}

.footer ul{
	display: flex;
	flex-wrap: wrap;
}

.footer li{
	margin-right: 30px;
	margin-bottom: 20px;
}

@media(max-width: 700px) {
	.menu-btn{
		display: block;
	}

	.menu-btn :hover{
		opacity: 0.5;
	}

	.main-nav ul.right-menu{
		margin-right: 50px;
	}

	.main-nav ul.main-menu{
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		background: #e7aaaa;
		width: 50%;
		height: 100%;
		border-right: #ccc 1px solid;
		opacity: 0.9;
		padding: 30px;
		transform: translateX(-500px);
		transition: transform 0.5s ease-in-out;
	}
	.main-nav ul.main-menu li{
		padding: 10px;
		border-bottom: #ccc solid 1px;
		font-size: 14px;
	}
	.main-nav ul.main-menu li:last-child{
		border-bottom: 0;
	}

	.main-nav ul.main-menu.show{
		transform: translateX(-20px);
	}


	.home-cards{
    	grid-template-columns: repeat(2, 1fr);}
}


.xbox .content p{
	display: none;
}
 
.xbox .content h2{
	margin-bottom: 20px;
}

.carbon .content{
	width: 85%;
}

.links .links-inner{
	grid-template-columns: repeat(2, 1fr);
}

@media(max-width:500px){
	.home-cards{
    	grid-template-columns:1fr;
	}
	.links .links-inner{
		grid-template-columns:1fr;
	}
	.links .links-inner ul {
		margin-bottom: 20px;
	}
}
