body {
    background-color: #24273a;
    color: #cad3f5;
    font-family: Arial, Helvetica, sans-serif
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px; /* Change to only vertical padding */
}

/* Left text links */
.ltp {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 16px;
  font-size: 23px;
}

/* Right-side icons */
.icons {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 16px;
}

nav .icons svg {
    height: 40px;
    width: 40px;
    color: #363a4f;
}

a {
    color: white;
    text-decoration: none;
}

header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #eed49f;
}

.center {
    text-align: left;
}

h1 {
    font-size: 40px;
    background: #EED49F;
    background: linear-gradient(184deg, rgba(238, 212, 159, 1) 50%, rgba(244, 219, 214, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 35px;
}

main section h3 {
    font-size: 30px;
}

main section p {
    font-size: 18px;
}

footer img {
    height: 50px;
    width: 50px;
}

main {
    text-align: left;
}

footer {
    display: flex;
    justify-content: center;
    font-size: 18px
}

footer a {
    margin: 20px;
    text-align: center;
}

footer p {
    margin-top: 2px;
}

.container {
    padding: 0px 50px;
}

nav a:hover {
    color: #eed49f;
}

.cal-sans-regular {
  font-family: "Cal Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.didact-gothic-regular {
  font-family: "Didact Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.google-sans-code-medium {
  font-family: "Google Sans Code", monospace;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.lexend-medium {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* === projects.html design === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    justify-items: center;
}

.projects-card {
    background: #1e2030;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 250px;
    padding-bottom: 15px;
}

.projects-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid #c6a0f6;
}


.projects-card h3 {
    margin-top: 12px;
    font-size: 20px;
    font-family: "Lexend", sans-serif;
    color: white;
}

.projects-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.centered-header {
    text-align: center;
}

.centered-main {
    text-align: center;
}

@media (max-width: 600px) {
  body {
    overflow-x: hidden;
  }
  .container {
    padding: 0 8px;
  }
  nav {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }
  .ltp, .icons {
    justify-content: center;
    padding: 0 !important; /* Force remove padding */
    gap: 8px;
  }
  .ltp {
    margin-bottom: 8px;
  }
  nav .icons svg {
    height: 32px;
    width: 32px;
  }
}
