@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --text-color: #fff;
  --bg-color: #1b1f24;
  --second-bg-color: #22282f;
  --main-color: #13bbff;
  --other-color: #c3cad5;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
  background-color: var(--bg-color);
  padding: 20px 30px;
  color: white;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back {
  text-decoration: none;
  padding: 11px 26px;
  background: var(--main-color);
  color: var(--bg-color);
  border: 2px solid var(--main-color);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.5s ease;
}

.btn-back:hover {
  background: transparent;
  color: var(--main-color);
  box-shadow: 0 0 20px var(--main-color);
  transform: scale(1.1);
}

.container {
  width: 80%;
  margin: 20px auto;
  overflow: hidden;
}

.projects-section {
  background-color: var(--second-bg-color);
  color: var(--text-color);
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-bottom: 100px;
}

.projects-section h2 {
  text-align: center;
  color: var(--main-color);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: white;
  color: var(--bg-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.card img {
  max-width: 100%;
  border-radius: 10px;
}

.card h3 {
  margin-top: 10px;
  color: var(--main-color);
}

.card p {
  color: var(--second-bg-color);
}

.date {
  margin-top: 10px;
  font-size: 14px;
  color: var(--other-color);
  font-style: italic;
  padding-top: 10px;
}

.btn-github {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: var(--main-color);
  color: var(--bg-color);
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-github:hover {
  background-color: #0aa0cc;
}

footer {
  text-align: center;
  padding: 20px 0;
  background-color: var(--second-bg-color);
  color: white;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
}