*{
	margin: 0;
	padding: 0;
    font-family: 'Raleway', sans-serif;
	box-sizing: border-box;
}
body{
	background: #000000;
	color: #FFFFFF
}

html{
	scroll-behavior: smooth;
}

#header{
	width: 100%;
	height: 100vh;
	background-image: url("pictures/renderposter3-min.png");
	background-size: cover;
	background-position: center -110%;
	position: relative;
}

.container{
	padding: 1px 5%; 
}

nav{ /*navbar*/
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

nav ul li{ /*navbar texts*/
	display: inline-block;
	list-style: none;
	margin: 10px 50px; /*height, left*/
}

nav ul li a{
	color: #FFFFFF; /*text color*/
	text-decoration: none;
	font-size: 18px; /*text size*/
	position: relative;
}

nav ul li a::after{
	content: '';
	width: 0;
	height: 3px;
	background: #fff;
	position: absolute;
	left: 0;
	bottom: -4px;
	transition: 0.5s;
}
nav ul li a:hover::after{
	width: 100%;
}

.header-text{
	margin: 10%;
	font-size: 45px;
	margin-left: 570px;
	margin-top: 100px;
	z-index: 1;
}

.header-text2 h1{
	font-size: 160px;
	margin-left: 170px;
	margin-top: -200px;
	position: absolute;
	z-index: -1;
}

p1{
	font-size: 25px;
	margin: 30px;
}
/*----------about section------------*/
#about{
	padding: 80px 0;
}

#about img{
	max-width: 200%;
	height: auto;
	display: block;
	margin: -200px 0px 0px -100px;
	border-radius: 15px;
}
.row{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.about-col-1{
	flex-basis: 35%;
}

.about-col-2{
	flex-basis: 45%;
}

.sub-title{
	font-size: 70px;
	padding-bottom: 30px;
}

.about-me{
	font-size: 30px;
}
/*----------portfolio section------------*/

#portfolio {
    padding: 0px 0px;
}


.containeranim {
	display: flex;
	width: 100%;
	padding: 4% 2%;
	box-sizing: border-box;
	height: 100vh;
	border-radius: 15px;
  }
  
  .box {
	flex: 1;
	overflow: hidden;
	transition: .5s;
	margin: 0 2%;
	box-shadow: 0 20px 30px rgba(0,0,0,.1);
	line-height: 0;
  }
  
  .box > img {
	width: 100%;
	height: calc(100% - 10vh);
	object-fit: cover; 
	transition: .5s;
	border-radius: 15px;
  }
  
  .box > span {
	font-size: 3.8vh;
	display: block;
	text-align: center;
	height: 10vh;
	line-height: 2.6;
  }
  
  .box:hover { flex: 1 1 50%; }
  .box:hover > img {
	width: 100%;
	height: 100%;
  }
 
  
.Category{
	font-size: 45px;
	margin-left: 630px;
}

.Category2{
	font-size: 55px;
	margin-left: 670px;
	margin-top: 50px;
	padding-top: 50px;
}



.Category3{
	font-size: 55px;
	margin-left: 580px;
	margin-top: 50px;
	padding-top: 50px;
}
.Category4{
	font-size: 55px;
	margin-left: 580px;
	margin-top: 0px;
	padding-top: 0px;
}

.work-list{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 16px;
	margin-top: 50px;
}

.work-list2{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 16px;
	margin-top: 50px;
}
.work-list3{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 16px;
	margin-top: 50px;
}
.work-list4{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 16px;
	margin-top: 50px;
}
.work-list5{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 16px;
	margin-top: 50px;
}
.work-list6{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 16px;
	margin-top: 50px;
}
.work-list7{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 16px;
	margin-top: 50px;
}

.work-list8{
	display: block;
	grid-gap: 16px;
	margin-top: 50px;
}

.work7 img{
	width: 100%;
	height: auto;
	padding-bottom: 70px;
	display: block;
	border-radius: 15px;
}

.about-game-1 img{
	max-width: 150%;
	height: auto;
	display: block;
	margin: 0px 0px 100px 0px;
	border-radius: 15px;
}

.about-game-1{
	flex-basis: 35%;
}

.about-game-2{
	flex-basis: 45%;
	font-size: 30px;
}

.sub-game{
	font-size: 70px;
	padding-bottom: 30px;
}

.about-game{
	font-size: 30px;
}

.work{
	border-radius: 5px;
	position: relative;
	overflow: hidden;
}
.work img{
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
.work2 img{
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
.work3 img{
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
.work4 img{
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
.work5 img{
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}
.work6 img{
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}

/*-------------Contact section---------------*/

.contact-left{
	flex-basis: 35%;
	font-size: 30px;
	margin-top: 60px;
	
}
.contact-left p{
	margin-top: 30px;
}


.copyright{
	width: 100%;
	text-align: center;
	padding: 25px 0;
	background: #262626;
	font-weight: 300;
	margin-top: 20px;
}

nav .fa-solid{
	display: none;
}

@media only screen and (max-width: 600px){
	#header{
		background-image: url("pictures/Artboard 1.png");
	}
	.header-text{
		margin-top: 10px;
		font-size: 45px;
	}
	.header-text p1{
		font-size: 10px;
	}
	nav .fa-solid{
	display: block;
	font-size: 25px;
	}
	
	nav ul{
		background: #2a2a2a;
		position: fixed;
		top: 0;
		right: -200px;
		width: 200px;
		height: 100vh;
		padding-top: 50px;
		z-index: 2;
		transition: right 0.5s;
	}
	nav ul li{
		display: block;
		margin: 25px;
	}
	nav ul .fa-solid{
		position: absolute;
		top: 25px;
		left: 25px;
		cursor: pointer;
	}
	.sub-title{
		font-size: 40px;
	}
	.about-col-1, .about-col-2{
		flex-basis: 67%;
	}
	
	.about-me{
		font-size: 20px;
	}
	
	html{
	scroll-behavior: smooth;
}
}
