@import url('https://fonts.googleapis.com/css?family=Poiret+One|Source+Sans+Pro');

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

html,
body {
	height: 100%;
}

body {
	font-size: 110%;
	color: #ecf0f1;
	font-family: 'Source Sans Pro', sans-serif;
	background: radial-gradient(ellipse at bottom, #201645 0%, #090a0f 100%);
	width: 100%;
	/* position: absolute; */
	top: 0;
	left: 0;
	overflow: hidden;
}

.TopNav {
	text-align: center;
    overflow: hidden;
}

.TopNav a {
    color: #818181;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
	line-height: 40px; 
	transition: 0.2s;
}

.TopNav a:hover{
    color: #d1d1d1;
	font-size: 18px;
	padding: 12.5px 14.5px;
}

.main {
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: scroll;
}

.home {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.title {
	font-family: 'Poiret One', cursive;
	font-size: 4vw;
    margin-bottom: .5rem;
}

.sub-title {
    border-top: .1rem solid #fff;
    padding: 1rem 4rem;
	text-align: center;
	font-size: 1.693vw;
}

@media (max-width: 600px) {
	.title {
		font-family: 'Poiret One', cursive;
		margin-bottom: .5rem;
		font-size: 9vw;
	}
	
	.sub-title {
		border-top: .1rem solid #fff;
		padding: 1rem 4rem;
		text-align: center;
		font-size: 6vw;
	}
	
}

/*Contact me page*/

.Contact {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.Contact-me {
	font-family: 'Poiret One', cursive;
	font-size: 2.6vw;
    margin-bottom: .5rem;
}

.Contact-text {
	width: 15vw;
}

.Social-media a{
    color: #818181;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 2vw;
    line-height: 4vw;
}

.Social-media a :hover{
    color: #d1d1d1;
	font-size: 2.2vw;
}

@media (max-width: 600px) {
	.Contact {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	.Contact-text {
		width: 45vw;
	}

	.Contact-me {
		font-family: 'Poiret One', cursive;
		font-size: 7vw;
		margin-bottom: .5rem;
	}

	.Social-media{
		font-size-adjust: 2;
	}
	
}

/* Project Section */
.Project {
	padding: 2rem;
	margin: auto;
  }
  
  .Project .title {
	font-size: 2.6rem;
	margin-bottom: 0.5rem;
	font-family: 'Poiret One', cursive;
  }
  
  .Project .subtitle {
	margin-bottom: 2rem;
    font-weight: bold;
    font-size: 1.3rem;
  }
  
  .project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	width: 73vw;
  }
  
  .project-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	display: flex;
	flex-direction: row;
	transition: transform 0.2s ease;
	flex-wrap: wrap;
  }
  
  .project-card:hover {
	transform: translateY(-5px);
  }
  
  .project-card img {
	width: 100%;
	height: 180px;
	object-fit: contain;
  }
  
  .card-body {
	padding: 1rem;
  }
  
  .card-body h2 {
	font-size: 1.3rem;
	margin: 0 0 0.5rem;
	color: #383838;
  }
  
  .card-body p {
	font-size: 0.95rem;
	color: #444;
	margin-bottom: 1rem;
  }
  
  .tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1rem;
  }
  
  .tech span {
	background: #eee;
	padding: 0.3rem 0.6rem;
	border-radius: 5px;
	font-size: 0.8rem;
	color: #444;
  }
  
  .buttons a {
	text-decoration: none;
	background: #007acc;
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-size: 0.85rem;
	margin-right: 0.5rem;
	transition: background 0.2s;
  }
  
  .buttons a:hover {
	background: #005fa3;
  }

  ::-webkit-scrollbar {
  width: 0px;
}
@media (max-width: 800px) {
	.project-grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
		width: 73vw;
	}
}

@media (max-width: 600px) {
	.main {
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	}
	.project-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
		gap: 1.5rem;
		width: 73vw;
	}

	.project-card img {
		width: 100%;
		height: 100px;
		object-fit: contain;
	}

	.card-body h2 {
		font-size: 1rem;
		margin: 0 0 0.5rem;
		color: #383838;
	}

	.card-body p {
		font-size: 0.85rem;
		color: #444;
		margin-bottom: 0.5rem;
	}

	.Project .title {
		font-size: 2.2rem;
		margin-bottom: 0.5rem;
		font-family: 'Poiret One', cursive;
	}

	.Project .subtitle {
		margin-bottom: 1.6rem;
		font-weight: bold;
		font-size: 1.1rem;
	}

	.buttons a {
		text-decoration: none;
		background: #007acc;
		color: white;
		padding: 0.5rem 1rem;
		border-radius: 6px;
		font-size: 0.8rem;
		margin-right: 0.5rem;
		transition: background 0.2s;
	}
}