/* Global reset */
* {
  margin: 0;
  padding: 0;
}

/* Header */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #343434;
}

nav span {
  color: #fdfdfd;
  padding: 0.8rem;
  font-size: 30px;
}

nav ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 1.5rem;
}

nav ul li {
  padding-top: 5px;
}

nav ul li a {
  text-decoration: none;
  color: #666;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #fff;
}

.nick-name {
  font-size: 1.15rem;
  font-weight: bold;
}
.menu-toggle {
  display: none;
}
/* Hide nav links and show hamburger on small screens */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    background-color: #343434;
  }

  #nav-links.show {
    display: flex;
  }

  .nav-bar ul li {
    padding: 1rem;
    border-top: 1px solid #555;
  }

  .nav-bar ul li a {
    font-size: 1.2rem;
    color: white;
    display: block;
  }

  .nav-bar {
    flex-wrap: wrap;
  }
}

/* Home */
#hero {
  background-image: url(../img/icons/mk-hero-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
}

.myname {
  font-size: 3rem;
  font-family: serif;
  color: #fff;
}

.profession {
  color: antiquewhite;
}

.to-the-center {
  padding: 9rem 5rem 0;
}

.to-the-center i {
  padding: 3rem 5rem;
  font-size: 1.2rem;
}

/* About Me */
.about-me-title {
  text-align: center;
  font-weight: bold;
  font-family: cursive;
  padding: 2rem;
}

.about-me-intro {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.my-pic {
  max-width: 300px;
  width: 80%;
  margin: 1rem auto;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.my-pic img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.my-pic {
  padding: 1rem;
  text-align: center;
}

.skills-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.skill-box {
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: 120px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.skill-box:hover {
  transform: scale(1.1);
  background-color: #f0f0f0;
}

.skill-box img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
}

.skill-box p {
  font-size: 1rem;
  color: #333;
  margin: 0;
  font-weight: 600;
}

/* Projects */
#project {
  padding: 2rem;
}

.projects-title {
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  font-family: cursive;
  padding-bottom: 2rem;
}

.progress {
  text-align: center;
}

.project {
  text-align: center;
  padding: 2rem 1rem 1rem 0;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 2rem;
}

/* Contact Me */
#contact {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #fdfdfd;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #222;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-box {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-box h3 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.contact-box h3 img {
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
}

.contact-box p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  word-break: break-word;
}

/* Footer */
footer {
  background-color: #9a9090;
  padding: 20px 0;
  text-align: center;
  color: #fff;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
}

.social a img {
  width: 30px;
  height: 30px;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.social a:hover img {
  transform: scale(1.2);
}

.footer-text {
  margin-top: 10px;
  font-size: 1rem;
  color: #bbb;
}
