@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap");

:root {
  --text-color: #a3a3a3;
  --header-color: #ffffff;
  /*--background-color: #181818;*/
  --background-color: #111111;
  --highlight-color: #306dcb;
  --tag-background: #333333;
  --tag-color: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

header {
  background: var(--background-color);
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo a {
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-color);
}

.social-icons {
  list-style: none;
  display: flex;
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 0.2rem;
}

.social-icons li {
  margin: 0 0.5rem 0 0.5rem;
}

.social-icons a {
  color: var(--text-color);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: var(--highlight-color);
  transform: rotate(-15deg);
}

main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.intro {
  text-align: left;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--tag-background);
  padding-bottom: 1rem;
}

.intro h1,
.intro a {
  color: var(--header-color);
  font-size: 2.5rem;
  text-decoration: none;
}

.intro a:hover {
  text-shadow: 1px 1px 5px #ccc;
}

.intro-text,
.project-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--header-color);
  margin: 0;
  padding: 0;
}

.intro-text2,
.project-text2 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
  padding: 0;
}
.project-text2 {
  text-align: justify;
}
/* project text */
.projecttext {
  text-align: left;
  margin-bottom: 2rem;
}

.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.projects a {
  text-decoration: none;
  color: var(--text-color);
}

.project {
  background: #1a1a1a;
  padding: 1.3rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, transform 0.3s;
}

.project:hover {
  border: 2px solid #333;
  transform: translateY(-5px) scale(1.005);
}

.project h2 {
  margin-bottom: 0.5rem;
  color: var(--header-color);
  font-size: 1.2rem;
}

.project p {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--tag-background);
  padding-bottom: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
}

.tag {
  background: var(--tag-background);
  color: var(--tag-color);
  padding: 0.3rem 0.6rem;
  border-radius: 9px;
  margin-right: 0.5rem;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
}

footer {
  text-align: center;
  padding: 1rem 0;
  background: var(--background-color);
  color: var(--text-color);
  margin-top: 2rem;
  font-weight: 100;
  font-size: 1rem;
}

footer a {
  color: var(--text-color);
  text-decoration: none;
}

footer a:hover {
  color: var(--highlight-color);
}

footer .heart {
  color: var(--text-color);
}
