@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
  background-color: #1e1e1e;
  font-family: "Poppins", sans-serif;
  color: #a0a0a0;
  line-height: 1.6;
}

/* Main Container */

.main-container {
  display: grid;
  max-width: 1200px;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  margin: auto;
  padding: 40px;
}

/* Side Bar */

.side-bar {
  height: 90vh;
  background-color: #2a2a2a;
  border-radius: 16px;
  border: 1px solid #3a3a3a;
  padding: 24px;
  position: sticky;
  top: 40px;
  margin-bottom: -22px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Main Content */

.main-content {
  height: auto;
  background-color: #2a2a2a;
  border-radius: 16px;
  border: 1px solid #3a3a3a;
  padding: 0px 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Profile Content */

.profile-content {
  text-align: center;
}

.side-bar img {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 2px #322e2edc;
}

.profile-content h3 {
  font-size: 1.2rem;
  color: #e0e0e0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.profile-content p {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 15px;
  color: #deff07;
  background-color: #1e1e1e;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid #3a3a3a;
}

/* Contect Info */

.contect-info {
  border-top: 2px solid #3a3a3a;
  margin-top: 30px;
  padding: 20px 0;
}

.contect-info h3 {
  font-size: 0.8rem;
  color: #a0a0a0;
  font-weight: 500;
}

.contect-info .email,
.phone {
  margin-bottom: 10px;
}

.contect-info p,
.contect-info a {
  font-size: 0.9rem;
  color: #e0e0e0;
  padding: 5px;
}

.contect-info a {
  text-decoration: none;
}

/* Social -Info */

.social-info {
  border-top: 2px solid #3a3a3a;
  margin-top: 10px;
  padding: 15px 0;
  text-align: center;
  cursor: default;
}

.social-info img {
  height: 24px;
  width: 24px;
  border: none;
  border-radius: 5px;
  padding: 2px;
  margin: 0 5px;
  filter: grayscale(1) invert(0.7);
  transition: filter 0.3s ease;
}

.social-info img:hover {
  filter: grayscale(0) invert(0);
  background-color: #ffffff;
  transform: scale(1.1);
}

/* Main Content */

/* Navigation */

.navigation {
  padding: 20px 30px;
  border-bottom: 2px solid #3a3a3a;
  margin-bottom: 20px;
  padding-bottom: 15px;
}

nav {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #a0a0a0;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
  color: #deff07;
  transform: translateY(-2px);
}

nav a.text-color {
  color: #ffbf00;
  font-weight: 500;
}

/* About */

#about h2 {
  color: #a0a0a0;
  font-size: 2rem;
  margin: 15px;
  font-weight: 600;
}

#about p {
  font-size: 1rem;
  margin: 20px;
  color: #e0e0e0;
  text-align: justify;
  margin-top: 20px;
}

.line {
  width: auto;
  height: 1px;
  background: #3a3a3a;
  margin-left: 15px;
}

/* Skills */

#skills h2 {
  color: #a0a0a0;
  font-size: 2rem;
  margin: 15px;
  margin-top: 30px;
  font-weight: 600;
}

.line {
  width: auto;
  height: 1px;
  background: #3a3a3a;
  margin-left: 15px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px 40px;
  margin: 20px;
}

.skills {
  padding: 20px;
  border-radius: 10px;
  border: 2px solid #3a3a3a;
  background-color: #1e1e1e;
  text-align: center;
  margin-top: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.3);
}

.skills-container img {
  height: 50px;
  width: 50px;
  margin-bottom: 15px;
}

.skills h3 {
  font-size: 1rem;
  font-weight: 500;
}

/* Education */

#education {
  color: #a0a0a0;
  font-size: 2rem;
  margin: 15px;
  font-weight: 600;
}

#education h2 {
  color: #a0a0a0;
  font-size: 2rem;
  margin: 15px;
  margin-top: 30px;
  font-weight: 600;
}

/* Eduction Details */

.education-details {
  margin: 20px;
  position: relative;
}

.detail-first {
  margin-top: 30px;
  position: relative;
}

.detail-second {
  margin-top: 30px;
  position: relative;
}

.year {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin: 5px;
}

.degree {
  color: #e0e0e0;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 5px;
}

.college {
  font-style: italic;
  color: #a0a0a0;
  margin-left: 10px;
  font-size: 0.6rem;
}

.learning {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 8px;
  margin: 5px;
  opacity: 0.9;
  text-align: justify;
}

.goal-icon {
  height: 15px;
  width: 15px;
  border-radius: 50%;
  border: 3px solid #deff07;
  position: absolute;
  top: 3px;
  left: -20px;
  z-index: 1;
}

.liner {
  position: absolute;
  top: 3px;
  bottom: -5px;
  left: -14.3px;
  border: 2px solid #3a3a3a;
}

/* Portfolio */

#portfolio {
  color: #a0a0a0;
  font-size: 2rem;
  margin: 15px;
  margin-top: 30px;
  font-weight: 600;
  margin-bottom: 30px;
}

#portfolio h2 {
  color: #a0a0a0;
  font-size: 2rem;
  margin: 15px;
  margin-top: 30px;
  font-weight: 600;
}

.project-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 15px;
  margin-top: 30px;
}

.project {
  background-color: #1e1e1e;
  border-radius: 12px;
  border: 1px solid #3a3a3a;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 10px 5px rgb(0, 0, 0, 0.3);
}

.project img {
  height: 194px;
  width: 100%;
  padding: 5px;
  object-fit: contain;
  background-color: #f7f7f7;
}

.project-detail {
  margin: 5px;
  padding: 20px;
}

.project-detail h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-detail p {
  font-size: 0.8rem;
  text-align: justify;
  font-weight: 500;
  margin-bottom: 5px;
}

.project-detail span {
  background-color: rgb(255, 191, 0, 0.1);
  color: #deff07;
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 0.75rem;
  margin: 5px;
  font-weight: 600;
}

/* Footer Section */

footer {
  margin-top: 80px;
  padding: 20px;
  text-align: center;
}

.footer {
  background: #181818;
  color: #b5b5b5;
  padding: 60px 20px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-box h4 {
  color: #a0a0a0;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer-box p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  text-decoration: none;
  color: #b5b5b5;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: #f5ff00;
  padding-left: 5px;
}

/* Skills */
.footer-skills span {
  display: inline-block;
  background: #242424;
  color: #f5ff00;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin: 5px 5px 0 0;
}

/* Social */
.footer-social {
  margin-top: 15px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-box p,
.footer-box a {
  text-decoration: none;
  color: #e0e0e0;
}

.footer-social a img {
  height: 24px;
  width: 24px;
  border: none;
  border-radius: 5px;
  padding: 2px;
  margin: 0 5px;
  filter: grayscale(1) invert(0.7);
  transition: filter 0.3s ease;
}

.footer-social a:hover img {
  filter: grayscale(0) invert(0);
  background-color: #ffffff;
  transform: scale(1.1);
}

/* Bottom bar */
.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  padding-top: 15px;
  font-size: 0.85rem;
  color: #888;
}
