/* GENERAL */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

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

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */
a,
.btn {
  transition: all 0.3s ease;
}

/* NAVBAR */
nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.3rem;
}

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

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}

.logo {
  font-size: 1.8rem;
}

/* SECTIONS */
section {
  padding: 4vh 5rem;
  min-height: 100vh;
}

.section-container {
  display: flex;
  gap: 3rem;
  align-items: center;
}

/* PROFILE */
#profile {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: center;
}

.section__pic-container img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
}

/* TEXT */
.section__text {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 2.5rem;
}

/* SOCIALS */
#socials-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.icon {
  height: 2rem;
  cursor: pointer;
}

/* BUTTONS */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid black;
  cursor: pointer;
}

.btn-color-1 {
  background: black;
  color: white;
}

.btn-color-2 {
  background: none;
}

.btn:hover {
  opacity: 0.8;
}

/* ABOUT */
#about {
  text-align: center;
}

.about-pic {
  width: 250px;
  border-radius: 1rem;
}

/* SKILLS */
.about-containers {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.details-container {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #ccc;
  width: 250px;
  text-align: center;
  background: #fafafa;
}

/* PROJECTS */
#projects {
  text-align: center;
}

.color-container {
  background: #fafafa;
}

.article-container {
  width: 100%;
}

/* 🔥 FIXED IMAGE ISSUE HERE */
.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;   /* prevents stretching */
  border-radius: 1rem;
}

/* Optional Hover Effect */
.details-container:hover {
  transform: scale(1.03);
  transition: 0.3s;
}

/* CONTACT */
#contact {
  text-align: center;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
}