@import url("https://fonts.googleapis.com/css2?family=Questrial&display=swap");

/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }
  
  /* Navigation */
  
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 60px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:2.5rem;
	font-family: "Questrial", sans-serif;
	transition: all 0.3s ease;
  }
  
  nav.scrolled {
	border-bottom: 1px solid #396fec;
	background-color: rgba(13, 16, 44, 0.9);
	backdrop-filter: blur(10px);
	box-shadow: rgba(94, 64, 177, 0.35) 0px 5px 15px;
	border-radius: 0 0 10px 10px;
  }
  
  .logo {
	height: 70px;
  }
  
  .links-container {
	display: flex;
	align-items: center;
	/* background-color: #1a2980; */
	
  }
  
  .al {
	padding: 0 20px;
	text-decoration: none;
	color: white;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 2.5px;
	transition: all 0.3s ease 0s;
	cursor: pointer;
  }
  
  .al:hover {
	box-shadow: rgba(28, 62, 255, 0.56) 0px 22px 70px 4px;
	border-radius: 5px;
	color: #b5bbef;
	padding: .5rem;
  }
  
  .butss {
	display: flex;
	gap: 10px;
  }
  
  .butss button {
	font-family: "Questrial", sans-serif;
	width: 140px;
	height: 45px;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	font-weight: 600;
	color: #ffffff;
	background: linear-gradient(to right, #0049d3, #009dea);
	border: none;
	border-radius: 45px;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease 0s;
	cursor: pointer;
	outline: none;
  }
  .butss a{
	text-decoration: none;
	color: #fff;
  }
  
  .butss button:hover {
	background-color: #402ee5;
	box-shadow: 0px 15px 20px rgba(28, 62, 255, 0.56);
	color: #fff;
	transform: translateY(-5px);
	/* padding:2rem ; */
  }
  .b
  
  #sidebar-active,
  .open-sidebar-button,
  .close-sidebar-button {
	display: none;
	/* background-color: #000; */
  }
  
  @media (max-width: 768px) {
	.open-sidebar-button {
		display: block;
		/* display: none; */
	}
	.sidebar-active{
	  display: none;
	}
  
	.links-container {
		position: fixed;
		top: 0;
		right: -100%;
		flex-direction: column;
		align-items: flex-start;
		width: 200px;
		height: 100vh;
		background-color: rgba(19, 32, 130, 0.862);
		backdrop-filter: blur(10px);
		box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
		transition: 0.75s ease-out;
		padding: 20px;
	}
  
	.close-sidebar-button {
	  display: block;
		/* display: none; */
		align-self: flex-end;
		margin-bottom: 20px;
	}
  
	.al {
		width: 100%;
		padding: 15px 0;
	}
  
	.butss {
		flex-direction: column;
		width: 100%;
	}
  
	#sidebar-active:checked ~ .links-container {
		right: 0;
	}
  
	#overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		/* background-color: #0D102C; */
		background-color: rgba(21, 1, 1, 0.5);
		z-index: 9;
		color: #000;
	}
  
	#sidebar-active:checked ~ #overlay {
		/* display: block; */
	}
	.hero{
		display: flex;
		flex-direction: column-reverse;
		text-align: center;
		padding:2rem 10rem;
		/* width:365px; */
	}
	.hero-content {
		flex: 1;
		animation: fadeIn 1s ease;
	  }
	  
	  .hero h1 {
		font-size: 3rem;
		font-weight: bold;
		margin-bottom: 1rem;
		color: #5d7cee;
		font-family: "Questrial", sans-serif;
	  }
	  
	  .hero p {
		font-size: 1.2rem;
		margin-bottom: 2rem;
		padding-right: 0;
		font-family:Arial, Helvetica, sans-serif;
	  }
	  
	  .hero-image {
		flex: 1;
		max-width: 400px;
		animation: slideIn 1s ease;
	  }
  }
  /* Hero Section */
  .hero {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 6rem 8rem;
	background-color: #0D102C;
	overflow: hidden;
	/* margin: 2rem 6rem; */


  }
  
  .hero-content {
	flex: 1;
	animation: fadeIn 1s ease;
  }
  
  .hero h1 {
	font-size: 3rem;
	font-weight: bold;
	margin-bottom: 1rem;
	color: #5d7cee;
	font-family: "Questrial", sans-serif;
  }
  
  .hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: #ffffff;
	padding-right: 3rem;
	font-family:Arial, Helvetica, sans-serif;
  }
  
  .hero-image {
	flex: 1;
	max-width: 600px;
	animation: slideIn 1s ease;
  }

  
  @keyframes bounce {
	0% {transform:translateY(-30px);}
	50% {transform:translateY(30px);}
	100% { transform:translateY(-30px)}
  }

.hero-image{
   animation: bounce 15s infinite;    
}
  
  /* Blog Posts */
  .blog-posts,
  .latest-projects {
	padding: 4rem 2rem;
	background-color: #0D102C;
  }
  
  .line {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 3rem;
  }
  
  .dline {
	width: 20%;
	height: 3px;
	background-color: #396fec;
	margin: 0 1rem;
  }
  
  .line h2 {
	font-size: 2.5rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
  }
  
  .post-grid,
  .project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	font-family: "Questrial", sans-serif;
  }
  
  .post-grid article,
  .project-grid article {
	background-color: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	animation: fadeIn 0.5s ease;
  }
  
  .post-grid article:hover,
  .project-grid article:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  }
  
  .post-grid article img,
  .project-grid article img {
	width: 100%;
	height: 200px;
	object-fit: cover;
  }
  
  .post-grid article h3,
  .project-grid article h3 {
	font-size: 1.5rem;
	font-weight: bold;
	padding: 1rem;
  }
  
  .post-grid article p,
  .project-grid article p {
	padding: 0 1rem 1rem;
	color: #666;
  }
  
  .rm {
	display: inline-block;
	background: linear-gradient(to right, #0049d3, #009dea);
	color: #fff;
	text-decoration: none;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	margin: 1rem;
	transition: all 0.3s ease;
  }
  
  .rm:hover {
	background-color: #402ee5;
	box-shadow: 0px 15px 20px rgba(28, 62, 255, 0.56);
	transform: translateY(-3px);
	color: #fff;
  }
  
  /* Footer */
  footer {
	background-color: #0D102C;
	padding: 1rem 2rem;
	text-align: center;
	color: #fff;
  }
  
  /* Animations */
  @keyframes fadeIn {
	0% {
	  opacity: 0;
	  transform: translateY(20px);
	}
	100% {
	  opacity: 1;
	  transform: translateY(0);
	}
  }
  
  @keyframes slideIn {
	0% {
	  transform: translateX(100%);
	}
	100% {
	  transform: translateX(0);
	}
  }