body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/*navbar*/
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: black;
}

#navbar ul {
  display: flex;
  justify-content: center;
  list-style: none;
  font-weight: bold;
}

#navbar a {
  color: white;
  text-decoration: none;
  padding: 25px;
  display: block;
  font-size: 1.3rem;
}

#navbar a:hover {
  background: #45567d;
}

/*welcome section*/
#welcome-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:linear-gradient(135deg, #4a6fa5, #1f2f4a);
  color:white;
}

#welcome-section h1{
  font-size: 3rem;
}

#welcome-section p{
  font-size: 1.7rem;
  font-style: italic;
  margin-top: -20px;
}

/*projects*/
#project-section {
  background: #45567d;
  padding: 20px 10px;
  text-align: center;
}

#project-section h2 {
  margin-bottom: 50px;
  color: white;
  font-size: 40px;
}

/* grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 380px);
  justify-content: center;
  gap: 40px;
}

/*card*/
.project-tile {
  background: #303841;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s;
}

.project-tile a{
  text-decoration:none;
}

.project-tile:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
}

.project-tile img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.project-tile p {
  padding: 15px;
  font-weight: bold;
  color: white;
}

/*show more*/
.show-more {
  margin-top: 40px;
  margin-bottom: 10px;
}

.show-more a {
  background: #303841;
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  border-radius: 3px;
  font-size: 18px;
}

.show-more a:hover {
  background: black;
}

/*media query*/
@media (max-width: 600px) {
  #navbar ul {
    flex-direction: column;
  }
}

/*contact*/
#contact {
  background: #303841;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

#contact h2 {
  font-size: 40px;
}

#contact a {
  margin: 20px;
  font-size: 30px;
  text-decoration: none;
  color: white;
  transition: transform 0.3s;
}

#contact i {
  margin-right: 8px;
  font-size: 30px;
}

#contact a:hover {
  transform: scale(1.2);
  color: #4a6fa5;
}

/*footer*/
footer {
  background: #303841;
  border-top: 4px solid #be3144;
  display: flex;
  justify-content: space-between;
  padding: 30px;
  color: white;
}
