* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  font-family: "Poppins", sans-serif;
  background: #0d1117;
  color: #e6edf3;
  display: flex;
  justify-content: center;
  align-items: center;
}

article {
  background: #161b22;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
  max-width: 670px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.25);
}

/* Profile imge */
figure {
  margin-bottom: 1rem;
}

img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #39ff14;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

h2 {
  font-size: 1.5rem;
  color: #39ff14;
  margin-bottom: 0.5rem;
}

.user-bio {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #c9d1d9;
}

#currentTime {
  font-size: 0.9rem;
  color: #9da5b4;
  margin-bottom: 1.5rem;
}

nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  justify-content: center;
  margin-bottom: 1.5rem;
}

nav a {
  color: #39ff14;
  font-size: 1.5rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: #e6edf3;
  text-shadow: 0 0 10px #39ff14;
  outline: none;
}

section {
  width: 100%;
  margin-bottom: 1rem;
}

section h3 {
  color: #39ff14;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid #39ff14;
  padding-left: 0.5rem;
}

section ul {
  list-style: none;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
}

/* section li::before {
  content: "";
  color: #39ff14;
  margin-right: 0.5rem;
} */

section li::before {
  content: "•";
  color: #39ff14;
  margin-right: 0.5rem;
}

section li {
  margin-bottom: 0.3rem;
  margin-right: 2px;
  color: #c9d1d9;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.name-email-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-control {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  position: relative;
}

.form-control label {
  display: inline-block;
  margin-bottom: 5px;
}

.form-control input,
textarea {
  width: 100%;
  padding: 0.7rem;
  display: block;
  font-size: 14px;
  background: #161b22;
  color: #9da5b4;
  border: 2px solid rgba(57, 255, 20, 0.2);
  border-radius: 4px;
}

.form-control i {
  position: absolute;
  top: 40px;
  right: 10px;
  visibility: hidden;
}
.form-control small {
  color: #ff4d4d;
  position: absolute;
  bottom: -18px;
  left: 0;
  visibility: hidden;
}
.form-control.success input,
.form-control.success textarea {
  border-color: #39ff14;
}
.form-control.error input,
.form-control.error textarea {
  border-color: #ff4d4d;
}
.form-control.success i.fa-circle-check {
  color: #39ff14;
  visibility: visible;
}
.form-control.error i.fa-exclamation-circle,
.form-control.error small {
  color: #ff4d4d;
  visibility: visible;
}

.form-control.success small {
  visibility: hidden;
}

/* Scrollbar Styling */
/* ::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0d1117;
} 

/* Contact page styling */
/*  */

.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.submit-btn {
  padding: 0.5rem 1rem;
  margin: 2rem auto 0 auto;
  background-color: #39ff14;
  color: #0d1117;
  border: none;
  border-radius: 10px;
}

header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}
header h1 {
  color: #39ff14;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
}
/* .contact-page {
} */

/* article {
  background: #161b22;
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.15);
  max-width: 600px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.25);
} */

/* About me page */
.container {
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
header p {
  max-width: 900px;
}
.container p {
  margin-bottom: 1rem;
  color: #c9d1d9;
}
footer {
  border-top: 2px solid #c9c9c9;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}
.container span {
  color: #fff;
  font-weight: 900;
}
ul {
  display: flex;
}
.about-me-nav {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  margin-bottom: 15px;
  justify-content: start;
  align-items: center;
}
.about-me-nav a {
  text-decoration: none;
  font-size: 12px;
}

@media (min-width: 768px) {
  article {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
  }

  figure {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
  }

  .profile-details {
    flex: 2;
    text-align: left;
  }

  .user-bio {
    text-align: left;
  }

  nav ul {
    justify-content: flex-start;
  }
  .name-email-group {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  section ul {
    list-style: none;
    padding-left: 1rem;
    display: flex;
    flex-direction: row;
    gap: 5px;
  }
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
  }
}

img {
  animation: glowPulse 3s ease-in-out infinite;
}
