/* Global Styles */
.global-padding {
  padding: 50px 0px 50px 0px;
}

.global-margin {
  margin-top: 100px;
}

.b-underline {
  box-sizing: border-box;
  border-bottom: 1px solid black;
  padding-bottom: 10px;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.w-underline {
  box-sizing: border-box;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
  width: 100px;
}

.loading-spinner {
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Navigation Styles */
.navbar {
  font-family: "Courier New", Courier, monospace;
  font-weight: 600;
  font-size: 18px;
}

.nav-img {
  border-radius: 50%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
}

/* Title Section Styles */
.bg-image {
  /* The image used */
  background-image: url(img/main_image.jpg);
  
  /* Add opacity */
  opacity: .95;

  /* Set a specific height */
  height: 800px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

/* Position text in the middle of the page/image */
.bg-text {
  background: linear-gradient(135deg, rgba(0,0,0, 0.5), rgba(0,0,0, 0.7));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  position: absolute;
  top: 400px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 60%;
  padding: 20px;
  text-align: center;
}

/* Bio Section Styles */
.bio-section {
  height: auto;
  background-color: white;
}

.bio-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 249, 249, 0.95));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.bio-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.bio-image-wrapper {
  flex-shrink: 0;
}

.bio-pic {
  border-radius: 50%;
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.bio-pic:hover {
  transform: scale(1.05);
}

.bio-text {
  flex: 1;
  text-align: left;
}

.bio-text p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.bio-padding {
  padding: 0px 50px 0px 50px;
}

@media (max-width: 768px) {
  .bio-content {
    flex-direction: column;
    text-align: center;
  }
  
  .bio-text {
    text-align: center;
  }
  
  .bio-card {
    padding: 30px 20px;
  }
  
  .bio-pic {
    width: 180px;
    height: 180px;
  }
}

/* Skills Section Styles */
.skills-section {
  height: auto;
  background-color: lightgray;
}

.skill-icon {
  display: block;
  margin: 100px auto 0px auto;
  height: 150px;
  width: auto;
  text-align: center;
}

.skill-margin {
  margin-top: 300px;
}

/* Resume Section Styles */
.resume-section {
  height: auto;
  background-color: white;
}

.resume {
  margin-left: auto;
  margin-right: auto;
}

/* Repos Section Styles */
.repos-section {
  height: auto;
  background-color: lightgrey;
}

.repos-margin {
  margin-bottom: 20px;
}

.table-scroll {
  overflow-y: auto;
}

/* Contact Section Styles */
.contact-section {
  height: 300px;
  background-color: grey;
}

.contact-top-row {
  margin-top: 15px;
}

.contact-email {
  color: white;
  text-decoration: none;
}

.contact-phone {
  color: white;
}

.contact-email:hover,
.contact-email:active,
.contact-email:focus {
  text-decoration: none;
  color: black;
}

.contact-icon {
  height: 50px;
  width: auto;
}

.contact-icon-space {
  margin-left: 25px;
  margin-right: 25px;
}

.contact-margin {
  margin-bottom: 40px;
}
