@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
  --background: #f8f8f8;
  --highlight: #8161CC;
  --text: #1d1d1b;
  --card-bg: #ffffffcc;
  --border: #e0e0e0;
  --neutral: #888;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Verdana, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.background-pattern {
  background-image: url('assets/bg-pattern.png');
  background-size: cover;
  background-repeat: repeat;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
  z-index: 0;
}

header {
  text-align: center;
  margin: 1rem 0 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;

}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.box-title {
  padding: 1rem;
  line-height: 1.05;
}

.box-title h1 {
  font-family: "Clicker Script", cursive;
  font-size: 3.8rem;
}

.box-title h2 {
  font-size: 1.2rem;
  font-weight: 400;
}

main.grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px #00000010;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.card h2 {
  margin-bottom: 0.75rem;
  color: var(--highlight);
}

.card ul {
  list-style: none;
  padding-left: 0;
}

.card li {
  margin-bottom: 0.5rem;
}

.card a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--highlight);
}

.card a:hover {
  color: var(--highlight);
}

footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--neutral);
  position: relative;
  z-index: 2;
}
.bi-linkedin {
  color: var(--neutral);
}

.bi-linkedin:hover {
  color: var(--highlight);
}

@media (max-width: 768px) {

  header {
    flex-direction: column;
    margin: .5rem 0;
  }

   .box-title {
    padding: 0 0 1rem 0;
   }
  
  .box-title h1 {
    font-size: 2.3rem;
  }

  .box-title h2 {
    font-size: 1rem;
  }

  main.grid {
    grid-template-columns: 1fr;
  }

  .profile-img {
    width: 80px;
    height: 80px;
  }

  footer {
    margin-top: 1.5rem;
    font-size: 0.75rem;
  }

}