:root {
  --background-color: #080808;
  --header-footer-background: #080808;
  --text-color: #e0e0e0;
  --hover-color: #5d6569;
  --subheading-color: #5d6569;
  --button-background: #795548;
  --button-hover-background: #6d4c41;
}

html,
body {
  height: 100%;
  color: white;
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #080808;
}

.typing-area {
  width: 300px;
  height: 50px;
  overflow: hidden;
}

#typing {
  white-space: nowrap;
  font-size: 24px;
}

header {
  background: var(--header-footer-background);
  color: #ffffff;
  padding: 15px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--hover-color);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background-color: var(--background-color);
  padding: 20px;
}

.centered {
  min-height: 200px;
  padding-top: 60px;
}

h1 {
  font-size: 4.5rem;
  margin: 10px 0 5px;
  color: var(--text-color);
}

h2.subheading {
  font-size: 1.5rem;
  color: var(--subheading-color);
  margin-top: 5px;
}

p,
ul {
  color: white;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

footer {
  background: var(--header-footer-background);
  color: var(--link-color);
  padding: 15px 0;
  text-align: center;
}

footer a {
  color: #777777;
  text-decoration: none;
}

footer a:hover {
  color: #777777;
  text-decoration: underline;
}

button {
  background-color: var(--button-background);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: var(--button-hover-background);
}

.developer-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.developer-card {
  background-color: #333;
  color: white;
  border-radius: 8px;
  padding: 20px;
  max-width: 200px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.developer-card:hover {
  transform: scale(1.05);
}

.developer-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

#developers h2 {
  color: white;
}

.developer-card h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.developer-card p {
  margin: 0;
  text-align: center;
}

.developer-card h3 i {
  margin-left: 8px;
  color: var(--link-color);
  font-size: 1.2rem;
}

a {
  color: #5d6569;
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  h2.subheading {
    font-size: 1.2rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .developer-cards {
    flex-direction: column;
    align-items: center;
  }
}
