body {
  font-family: "Geist", sans-serif;
  margin-bottom: 0;
  margin-top: 0;
  background-color: #1A1A1A;
}

html {
    scroll-behavior: smooth;
}

.site-container {
  width: 640px;
  margin: auto;
  padding-top: 60px;
  padding-right: 24px;
  padding-left: 24px;
}

.heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 1rem;
  row-gap: 0.5rem;
}

.heading-name {
    font-size: 1rem;
    color: #E5E5E5;
    font-weight: 500;
    line-height: 1.5rem;
    overflow-wrap: break-word;
    text-shadow: 2px 2px 10px black;
}

.heading-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.heading-location {
    color: #A8A8A8;
    font-weight: 400;
    font-size: 0.9rem;
    padding-bottom: 10px;
}

.heading-nav-element {
    font-size: 0.9rem;
    color: #A8A8A8;
    text-decoration: none;
    transition: all 0.15s;
}

.heading-nav-element:hover{
    color: #E5E5E5;
}

.about-section {
    width: 620px;
    height: 203.2px;
}

.about-school {
    color: #E5E5E5;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    text-decoration-color: #A8A8A8;
    transition: all 0.15s;
}

.about-school:hover {
    text-decoration-color: #E5E5E5;
}

.about-headline {
    color: #E5E5E5;
}

.about-paragraph {
    color: #E5E5E5;
    line-height: 30px;
    padding-bottom: 15px;
}

.about-link {
    display: inline-flex;
    gap: 5px;
    margin-right: 15px;
    color: #E5E5E5;
    text-decoration-color: #A8A8A8;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    font-weight: 400;
    font-size: 0.9rem;
}

#email-icon,
#github-icon,
#linkedin-icon {
    padding-top: 3px;
}

#projects {
    padding-top: 30px;
}

.project-section-title {
    padding-bottom: 10px;
    color: #A8A8A8;
}

.projects-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  margin-bottom: 16px;
  background-color: #2A2A2A; 
  border: 1px solid #a8a8a860;
  transition: 0.5s;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.801);
}

.project-img:hover {
    background-color: rgb(221, 221, 221);
    opacity: 50%;
}

.p-img {
    position: relative;
}

.anchor-proj-img {
    position: relative;
    display: block;
    text-decoration: none;
}

#project-icon {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #E5E5E5;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none; 
}

.anchor-proj-img:hover #project-icon {
  opacity: 100%;
}

.project-card {
    background-color: #1d1d1d;
    border: 1px solid #a8a8a860;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.15s;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.39);
}

.project-card:hover {
    background-color: #202020;
    transform: translateY(-5px);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.438);
}

.project-title {
    color: #E5E5E5;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 5px;
}

.project-desc {
    color: #A8A8A8;
    margin-top: 0;
    margin-bottom: 0px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0px;
  margin-bottom: 15px;
}

.tag {
  font-size: 0.8rem;
  color: #A8A8A8;
  background-color: #2A2A2A;
  padding: 4px 10px;
  border-radius: 4px; 
  border: 1px solid #3A3A3A;
  margin-bottom: 0px;
  margin-top: 5px;
}

.project-href {
    text-decoration: none;
}

.project-btn {
    background-color: #2A2A2A;
    border-style: solid;
    border-color: #3A3A3A;
    border-width: 1px;
    color: #A8A8A8;
    border-radius: 4px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    text-decoration: none;
    outline: none;
    margin-right: 5px;
    cursor: pointer;
    transition: all 0.15s;
}

.project-btn:focus {
  outline: none;
}

.project-btn:hover {
    color: #E5E5E5;
}

.experience-heading {
    margin-top: 40px;
    color: #A8A8A8;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background-color: #1d1d1d;
  border-radius: 4px;
  border-color: #a8a8a860;
  border-width: 1px;
  border-style: solid;
  transition: all 0.15s;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.39);
  margin-bottom: 40px;
}

.job-card:hover {
    background-color: #202020;
    transform: translateY(-5px);
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.438);
}

.job-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.job-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1; 
}

.job-role {
  color: #E5E5E5;
  font-weight: 500;
}

.job-company-name {
  color: #A8A8A8;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: -20px;
}

.job-time {
  color: #A8A8A8;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.tech-stack-heading {
    color: #A8A8A8;
}

.tech-stack {
  display: flex;
  gap: 20px;
  padding: 6px 0;
  line-height: 25px;
}

.tech-stack p:first-child {
  color: #A8A8A8;
  width: 90px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.tech-stack p:last-child {
  color: #E5E5E5;
  font-size: 0.9rem;
}

.tech-stack p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 32px 0;
  margin-top: 48px;
  border-top: 1px solid #2A2A2A;
}

.footer-text {
  color: #A8A8A8;
  font-size: 0.85rem;
  margin: 0;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-link {
  color: #A8A8A8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-link:visited {
  color: #A8A8A8;
}

.footer-link:hover {
  color: #E5E5E5;
}

.contact-heading {
  color: #A8A8A8;
  margin-bottom: 16px;
  margin-top: 40px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #A8A8A8;
  text-decoration: none;
  font-size: 0.95rem;
  width: fit-content;
  transition: color 0.15s;
}

.contact-link:visited {
  color: #A8A8A8;
}

.contact-link:hover {
  color: #E5E5E5;
}