* {
    box-sizing: border-box;
    background-color: #23252C;
    color: white;
    font-family: Inter;
}

.centered-container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center vertically */
  align-items: center; /* Center horizontally */
  min-height: 100vh; /* Ensure it takes full height of the viewport */
  max-width: 100%;
}

.img-header-container {
   width: 100%;
   display: flex;
   justify-content: center;
}

.info-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #1A1B21;
  max-width: 317px;
}

.header-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 317px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 100%;
  max-width: 317px;
}

.my-name {
  font-size: 1.5625rem;
  font-weight: bold;
  margin-bottom: 0.387rem;
  margin-top: 1.3125rem;
  background-color: #1A1B21;
  text-align: center;
}

.subtitle {
  color: #F3BF99;
  margin-top: 0px;
  font-size: 12.8px;
  background-color: #1A1B21;
  margin-bottom: 8.8px;
}

.website {
  background-color: #1A1B21;
  font-size: 10.24px;
  margin-top: 0px;
}

.btn-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  background-color: #1A1B21;
  justify-content: center;
  width: 100%;
  max-width: 317px;
}

.email-btn {
  width: 115px;
  height: 34px;
  border-radius: 8px;
  background-color: white;
  color: #374151;
  border: none;
  font-size: 14px;
  flex: 1;
}

.email-btn:hover {
  background-color: #374151;
  color: white;
  border: 1px solid white;
}

.linkedin-btn {
  width: 115px;
  height: 34px;
  border-radius: 8px;
  background-color: #5093E2;
  border: none;
  font-size: 14px;
}

.linkedin-btn:hover {
  background-color: white;
  color: #5093E2;
  border: 1px solid #5093E2;
}

.about-container {
  background-color: #1A1B21;
  max-width: 317px;
  padding-top: 33px;
  overflow: auto;
  width: 100%;
}

.about-header {
  max-width: 247px;
  margin-left: 36px;
  background-color: #1A1B21;
  font-size: 16px;
  margin-top: 0px;
  padding-top: 0px;
  color: #F5F5F5;
  margin-bottom: 5px;
}

.fa-brands.fa-linkedin-in {
  height: 16px;
  width: 16px;
  background-color: white;
  color: #5093E2;
  border-radius: 2px;
  font-size: 12px;
  padding-top: 2px;
  margin-right: 6px;
}

.about-info {
  background-color: #1A1B21;
  font-size: .64rem;
  margin-left: 36px;
  margin-right: 34px;
  color: #DCDCDC;
  line-height: 150%;
}

.interests-header {
  max-width: 247px;
  margin-left: 36px;
  background-color: #1A1B21;
  font-size: 16px;
  margin-top: 0px;
  padding-top: 0px;
  color: #F5F5F5;
  margin-bottom: 5px;
}

.interests-info {
  background-color: #1A1B21;
  font-size: .64rem;
  margin-left: 36px;
  margin-right: 34px;
  color: #DCDCDC;
  line-height: 150%;
  margin-bottom: 24px;
}

footer {
  height: 64px;
  max-width: 317px;
  width: 100%;
  background-color: #161619;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.footer-icons {
  display: flex;
  flex-direction: row;
  gap: 3px;
  background-color: #161619;
  padding-top: 19px;
  padding: 0 73px; 
  justify-content: space-between; 
  align-items: center;
  height: 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.fa-solid.fa-envelope {
  height: 16px;
  width: 16px;
  color: #1E1F26;
  background-color: white;
  margin-right: 6px;
  padding-top: 1px;
  vertical-align: middle;
  }
  
  .fa-brands.fa-twitter {
    height: 25px;
    width: 25px;
    background-color: #918E9B;
    color: #161619;
    margin-right: 20px;
    padding-top: 4px;
    padding-left: 2px;
    font-size: 20px;
    padding-right: 3px;
    border-radius: 2px;
    align-items: center;
  }
  
  .fa-brands.fa-facebook-f {
     height: 25px;
    width: 25px;
    background-color: #918E9B;
    color: #161619;
    margin-right: 20px;
    padding-top: 4px;
    padding-left: 6px;
    font-size: 20px;
    padding-right: 6px;
    border-radius: 2px;
    padding-bottom: -1px;
  }
  
  .fa-brands.fa-instagram {
      height: 25px;
    width: 25px;
    background-color: #918E9B;
    color: #161619;
    margin-right: 20px;
    padding-top: 4px;
    padding-left: 4px;
    font-size: 20px;
    padding-right: 4px;
    padding-bottom: 4px;
    border-radius: 2px;
  }
  
  .fa-brands.fa-github {
    height: 25px;
    width: 25px;
    background-color: #918E9B;
    color: #161619;
    margin-right: 72px;
    padding-top: 5px;
    padding-left: 4px;
    font-size: 18px;
    padding-right: 8px;
    border-radius: 2px;
  }
  
/* General styles remain the same */

/* Add a media query for mobile screens */
@media (max-width: 768px) {
  .centered-container {
    justify-content: flex-start;
    padding-top: 20px; /* Add some top padding */
    background-color: transparent; /* Remove background */
    min-height: auto; /* Remove min-height to avoid unnecessary background space */
  }

  .info-header, .btn-container, .about-container, footer {
    max-width: 100%; /* Ensure full width on mobile */
    padding-left: 0;
    padding-right: 0;
  }

  .header-image {
    max-width: 100%; /* Ensure image takes full width */
    height: auto; /* Adjust height automatically */
  }

  footer {
    border-radius: 0; /* Remove rounded corners on footer */
  }

  .about-info, .interests-info {
    margin-left: 15px; /* Add some padding to the left and right */
    margin-right: 15px;
  }

  /* Icon adjustments remain as you have */
}

/* For very small screens */
@media (max-width: 480px) {
  .header-image {
    height: auto;
  }

  .info-header, .btn-container, .about-container, footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer-icons {
    justify-content: center; /* Center icons on small screens */
    gap: 10px; /* Adjust gap if needed */
  }

  .fa-brands {
    margin-right: 5px;
  }
}
