.box1 a, .box2 a, .box3 a, .box4 a, .box5 a, .box6 a, .box7 a, .box8 a, .box9 a {
  display: inline-block;
  background: linear-gradient(to bottom, #4facfe, #00f2fe);
  border-radius: 15px; /* rounded corners */
  padding: 20px; /* spacing inside */
  width: 300px; /* adjust size */
  text-align: center; /* center text */
  text-decoration: none; /* remove underline */
  color: white; /* text color */
  font-size: 24px; /* control font size */
  font-weight: bold; /* bold text */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* soft shadow */
}

.box1 a:hover, .box2 a:hover, .box3 a:hover, 
.box4 a:hover, .box5 a:hover, .box6 a:hover , .box7 a:hover, .box8 a:hover, .box9 a:hover {
  color: #f0f0f0; 
}

.project-container {
  display:flex;
  flex-wrap: wrap;
  gap: 15px;
}

section{
  padding: 80px 20px;
  min-height: 100vh;
}

 p {
  color: #f5f5f5;
  text-decoration: none;
  }

h1 {
  color: #f5f5f5;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1e1e1e;
  color: #333;
}

:root {
  --nav-height: 50px;
}

ul.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
}

html{
  scroll-behavior: smooth;
}

ul.nav-links li {
  float: left;
}

ul.nav-links li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul.nav-links li a:hover {
  background-color: #111111;
}

.topnav-right {
  float: right;
}

.navbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.navbar:hover {
  opacity: 1;
}

.nav-toggle { 
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* mobile */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px;
  }

  ul.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333333;
  }
  ul.nav-links.active { display: flex; }

  ul.nav-links li { 
    float: none; 
    width: 100%;
    text-align: center;
  }

  .topnav-right {
    float: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .nav-toggle { 
    display: block;
    align-self: flex-end;
    margin: 6px 0;
  }
}

section {
  min-height: auto;
  padding: 40px 16px;
}

@media (max-width: 768px) {
  section { padding: 24px 12px; }
  .pfp { width: 150px; height: 150px; }
}