* {
  box-sizing: border-box;
}

html {
  padding: 0;
  margin: 0;
  height: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url(./images/opt-bg.jpg);
  background-color: #0a0a0a;
}

body {
  padding: 0;
  margin: 0;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.hero {
  z-index: 999;
  width: 100%;
}
header.hero {
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.108);
  border-radius: 0 0 5px 5px;
  text-align: center;
  font-size: large;
  backdrop-filter: blur(15px);
  border: solid 3px rgba(33, 33, 33, 0.434);
}
.hero h1 {
  margin: 0;
  padding-top: 1rem;
  font-size: 4rem;
  padding: 0;
}

.resume-section {
  margin: 40px 0;
}
.resume {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  width: 95%;
  gap: 20px;
  max-width: 1200px;
}

.resume > div {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: solid 4px rgba(0, 0, 0, 0.468);
  background-color: #6c6c6e62;
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.63);
}
.resume .heading {
  background-color: rgba(93, 55, 3, 0.5);
  border-bottom: solid 1px;
  height: 80px;
  align-content: center;
  border-radius: 6px 6px 0 0;
  padding: 8px;
}
.resume .list {
  font-weight: 500;
  padding: 0px 10px;
  color: #1a1a1a; /* Subtle dark gray */
}
.resume .heading *,
.list p {
  padding: 0;
  margin: 0;
}
.heading p {
  color: #1a1a1a; /* Subtle dark gray */
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style: circle inside;
}
li {
  margin-bottom: 8px;
}
.education ul p {
  color: #333333; /* Deep graphite, much darker and zero blue */
  margin: inherit;
  padding-left: 1.4rem;
}
.education li {
  margin-bottom: 20px;
}
.project {
  max-width: 95%;
  margin: 0 auto;
}
.tindog-project {
  border: solid 4px rgba(91, 89, 89, 0.579);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 780px;
  border-radius: 10px;
  gap: 8px;
  box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.63);
  padding: 0;
  background-color: rgba(255, 255, 255, 0.029);
  backdrop-filter: blur(6px);
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tindog-project:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px 6px rgba(0, 0, 0, 0.75);
}

.tindog-Description {
  flex: 1;
  padding: 8px 10px 8px 0;
}
.tindog-Description a {
  color: black;
  font-size: large;
}
.tindog-image {
  border-right: rgba(0, 0, 0, 0.623) solid 2.5px;
  flex: 1;
  align-self: stretch;
  aspect-ratio: 1880 / 862;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
  width: 100%;
}
.tindog-Description * {
  padding: 0;
  margin: 0;
  display: inline-block;
  padding-right: 10px;
}
.tindog-project p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: block; 
  margin-top: 8px;
  margin-bottom: 0;
  text-align: justify;
  line-height: 1.6;
  color: #1a1a1a;
  font-size: 0.95rem;
}
.mock {
  border: rgba(198, 198, 198, 0.507) 2px solid;
  border-radius: 20px;
  color: rgba(0, 0, 0, 0.9);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.5);
  font-family: sans-serif;
  backdrop-filter: blur(50px);
  padding: 4px 10px;
  margin: 0; 
  font-size: 0.8rem;
  font-weight: bold;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}
.mock div {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
  background-color: rgb(49, 49, 219);
  display: inline-block;
  border: 2px solid rgba(0, 0, 0, 0.2);
  animation: pulse-fade 4s ease-in-out infinite;
  padding: 0 !important;
  box-sizing: border-box;
  flex-shrink: 0;
}

@keyframes pulse-fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.tindog-image img {
  border-radius: 5px 0 0 5px;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.about-contact {
  max-width: 750px;
  margin: 20px auto;
  text-align: center;
  font-size: large;
  font-family: sans-serif;
  padding: 0 10px;
}
.my-avarta {
  width: 150px;
  height: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border-style: ridge;
  border-color: rgba(0, 0, 0, 0.699);
  border-width: 6px;
  background-color: rgba(0, 0, 0, 0.05);
  display: inline-block;
}
.social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: 0 auto;
  max-width: 40%;
}

.social-icons a {
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.15);
}

.social-icons svg {
  color: black;
  height: 1.5rem;
  width: auto;
  display: block;
}

footer.footer {
  background-color: rgba(255, 255, 255, 0.15); /* Subtle light tint for readability */
  font-family: "Courier New", Courier, monospace;
  backdrop-filter: blur(5px);
  color: #1a1a1a; /* Uniform dark gray */
  margin-top: 40px;
  font-size: 0.9rem;
}
.footer-content {
  border-top: black solid 1px;
  margin: 0 auto;
  width: max-content;
  padding: 8px; /* Slightly smaller padding */
}
.title {
  text-align: center;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  font-size: 1.2rem;
}

.title h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  margin: 15px 0;
}

@media (max-width: 550px) {
  .tindog-project {
    flex-direction: column;
    width: 90%;
    max-width: 500px;
  }
  .tindog-image {
    border: 0;
    border-bottom: rgba(0, 0, 0, 0.623) solid 2.5px;
  }
  .tindog-Description {
    padding-left: 6px;
  }
  .resume > div {
    margin: 0 auto;
    max-width: 330px;
    width: 100%;
  }
  .hero-text h1 { font-size: 120%; }
  .hero-text p { font-size: 1rem; }
  .social-icons { max-width: 80%; }
}
