@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');



:root {
  --background: #FCFCFC;
  --background-grey: #eff1f3;
  --text-primary: #262628; 
  --text-secondary: #616161; 
  --primary: #0070EA; 
  --red: #db4f4f;
}



@media (prefers-color-scheme: dark) {
    :root {
        --background: #040404;
        --background-grey: #2B2C2E;
        --text-primary: #F0F0F0; 
        --text-secondary: #adabab; 
        --text-normal: #e4e4e4;
        --text-bold: #ffffff;
        --primary: #0A84FF;
        --red: #db4f4f; 
    }
    
    p {
        color: var(--text-normal);
    }

    b {
        color: var(--text-bold);
    }
}



html {
  background-color: var(--background);
} 

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.footer {
  margin-top: 6rem;
  margin-bottom: 4rem;
}

.footer-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}


.blink {
  animation: blink 0.5s infinite;
}

@keyframes blink {
  to { opacity: 0; }
}

.flex {
  display: flex;
}

.header-sub-title {
  font-family: "Big Shoulders Display", serif;
  letter-spacing: -0.04em;
  font-size: 80px;
  font-weight: 650;
  font-style: normal;
  text-align: left;
  margin: 0px 0px 30px 0px;
}

h1 {
  font-family: "Big Shoulders Display", serif;
  letter-spacing: -0.04em;
  font-size: 80px;
  font-weight: 650;
  font-style: normal;
  text-align: left;
  margin: 0;
}

h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.6rem;
}

a:link {
  text-decoration: none;
  color: var(--primary);
}





a:visited {
  text-decoration: none;
  color: var(--primary);
}

p {
  line-height: 24px;
  margin-top: 0rem;
}

pre {
  font-size: 0.8rem;
  line-height: 1.6rem;
  margin: 0;
  padding: 0;
  background-color: #1E1E1E;
  border-radius: 8px;
  width: 100%;
  margin: 1.5rem 0;
}

code {
  padding: 1.5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: visible;
  font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
  color: #D4D4D4;
  display: block;
  border-radius: 8px;
}

pre > code {
  margin: 0;
}

.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 768px) and (min-width: 481px) {
  .container {
      width: 90%;
  }
}

@media only screen and (max-width: 480px) {
  .container {
      width: 95%;
  }
}

/* -------------  introduction  ------------- */
.introduction {
  margin-top: 6rem;
  margin-bottom: 6rem;
}
.introduction-text {
  width: 60%;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-top: 1.5rem;
}

@media only screen and (max-width: 768px) and (min-width: 481px) {
  .introduction-text {
      width: 60%;
  }
}

@media only screen and (max-width: 480px) {
  .introduction-text {
      width: 100%;
  }
}

.section-t {
  color: var(--red);
  font-weight: 600;
}





/* -------------  Header  ------------- */

.uh-bee {
  font-size: 16px;
  color: var(--red);
  font-weight: 500;
  margin: 5px 0px 20px 0px;
}

.logo a {
  font: big-shoulders-display;
  margin: 0px;
  color: var(--text-light);
}

.logo {
  display: flex-column;
  align-items: center;
  gap: 0px;
}

.introduction-text {
  font-size: 16px;
  max-width: 500px;
}

.introduction-text a {
  color: var(--text-primary);
}

.introduction-text a:hover {
  color: var(--primary);
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  margin-top: 20px;
  font-size: 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition:  0.05s ease;
}

.social-icons a:hover {
  color: #0A84FF !important;
  transform: translateY(-5px);
}

.socials {
  display: flex;
  gap: 16px;
}


#linkedin {
  position: relative;
  top: 17px;
  left: 85px;
}












/* -------------  ------------- */
.display {
  display: flex;
  gap: 100px;
}

#linked  {
  font-size: 16px;
  color: var(--text-primary);
 
}

#linked:hover {
  color: var(--primary);
}

#resume  {
  font-size: 16px;
  color: var(--text-primary);
  margin-left: 85px;
}

#resume:hover {
  color: var(--primary);
}


#linkedin {
  display: flex;
  gap: 15px;
  height: 16px;
  margin: 0;
}

#linklog {
  margin-top: 3px;
  margin-left: 2px;
  margin-right: 2px;
  font-size: 20px;
}

#blue {
  color: var(--red);
}

.social-icons:hover #blue{
  color: var(--primary);
}





/* -------------  ------------- */


.card {
  /* color used to softly clip top and bottom of the .words container */
  background-color: var(--bg-color);
  overflow-y: hidden;
}

.loader {
  color: var(--text-primary);
  font-family: "inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  height: 26px;
  
  display: flex;
  border-radius: 8px;
}

.words {
  overflow: hidden;
  position: relative;
}
.words::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
}

.ploader {
  overflow: visible;
  padding: 0;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 400;

}

.dark-mode .ploader {
  color: var(--text-light);
}

.word {
  display: block;
  height: 100%;
  padding-left: 6px;
  margin-top: 1px;
  color: #fc4a4a;
  animation: spin_4991 3.3s infinite;
}

@keyframes spin_4991 {
  10% {
    -webkit-transform: translateY(-102%);
    transform: translateY(-102%);
  }

  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }

  35% {
    -webkit-transform: translateY(-202%);
    transform: translateY(-202%);
  }

  50% {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }

  60% {
    -webkit-transform: translateY(-302%);
    transform: translateY(-302%);
  }

  75% {
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
  }

  85% {
    -webkit-transform: translateY(-402%);
    transform: translateY(-402%);
  }

  100% {
    -webkit-transform: translateY(-400%);
    transform: translateY(-400%);
  }
}

/* -------------  ------------- */

.headtag {
  display: inline-flex;
  height: 20px;
}

.arr {
  display: none;
  color: var(--red);
}

.headtag:hover .arr {
  display: flex;
  margin-left: 10px;
}

.headtag:hover {
  color: var(--red);
}
















.link {
  color: var(--primary)!important;
  margin-top: 0px;
}

.link:hover {
  color: var(--text-primary)!important;
}

/* .inline:hover {
  border-bottom: 2px solid var(--text-primary);
} */

.header2 {
  margin-top: 5rem;
  position: relative;
  width: 100%;
}

.headerproject {
  display: flex;
  align-items: center;
  gap: 24px;
  border-radius: 16px;
  margin-top: 2rem;
}

.headerprojectbg {
  width: 300px;
  height: 225px!important;
}

@media only screen and (max-width: 768px) {
  .headerproject {
      flex-direction: column;
      gap: 4px;
  }

  .headerproject a{
      width: 100%;
  }
  .headerprojectbg {
      width: 100%!important;
      height: 280px!important;
  }

  .headerprojectbg img {
      width: 100%;
      height: 85%;
      object-fit: cover;
  }

  
  .headerprojectbg video {
    width: 100%;
    height: 85%;
    object-fit: cover;
  }


}


/* -------------  Projects  ------------- */

.project {
  flex: 1 1 calc(50% - 80px); 
  margin-bottom: 1rem;
}

@media only screen and (min-width: 768px) {
  .project {
      max-width: calc(50% - 80px); 
  }
}

.grey-background {
  background-color: var(--background-grey);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  min-width: 180px;
  height: 200px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;

}

@media only screen and (max-width: 480px) {
  .grey-background {
      height: 200px;
  }
}

.image-bottom{
  align-items: end!important;
 
}

.grey-background:hover .project-image {
  transition: transform 125ms;
  transform: scale(1.02);
}

.white-circle {
  width: 110px;
  height: 110px;
  background-color: var(--background);
  border-radius: 100px;
  position: absolute;

}

.project-image {
  max-width: 90%;
  height: auto;
  max-height: 280px;
  position: absolute;
  will-change: transform;
  transition: transform 450ms;
}

#project-1 {
  width: 100%;
}


.project-text {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.project-title{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 480px) {
  .project-title{
      flex-direction: column;
      align-items: start;
      margin-bottom: 1rem;
  }

  .project-title h3{
      margin-bottom: 0.5rem;
  }
}

.other-projects {
  margin-top: 5rem;
  position: relative;
  width: 100%;
}

.other-projects h2 {
  margin-bottom: 2rem;
}

.columns-container {
  display: flex;
  gap: 32px;
}

/* Left column with project rows */
.projects {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 50%;
}

/* Preview container - right column */
.preview-container {
  position: sticky;
  top: 0;
  width: 50%;
  display: flex;
  align-items: center;
  position: relative;  /* For absolute positioning context */
}

.project-preview {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: var(--background-grey);
  border-radius: 12px;
  visibility: hidden;
  left: 0;
  /* Center vertically within container */
  top: 50%;
  transform: translateY(-50%);
}

.project-preview img, 
.project-preview video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}


/* Mobile and tablet styles */
@media only screen and (max-width: 800px) {
  .columns-container {
      flex-direction: column;
  }
  
  .projects {
      width: 100%;
  }
  
  .preview-container {
      display: none;
  }
}

.project-row {
  text-decoration: none!important;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: start;
  margin: 0 -12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.project-row:hover{
  cursor: pointer;
}

.project-row:hover .project-row-title {
  color: var(--primary);
}

.project-row:hover .project-tag {
  color: var(--primary);
}

.project-row-title {
  margin-bottom: 0px;
  flex-grow: 1;
  color: var(--text-primary);
}

.project-row-sub-title{
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: start;
}

.project-tag {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0px;
}

/* -------------  KEYNOTES  ------------- */
.section-keynotes {
  margin-top: 6rem;
  width: 75%;
}

.keynotes {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.play {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 99px;
  background-color: var(--background);
  overflow: hidden;
  opacity: 0;
  will-change: transform opacity;
  transition: transform 50ms;
}

.play svg {
  color: var(--primary)!important;
}

.video:hover .play{
  transition: transform 825ms;
  transform: scale(1.1);
  transform: rotate(-45deg);
  opacity: 1;
}

.video:visited {
  color: var(--text-primary);
}

.video-title {
  color: var(--text-primary);
  margin-top: 0rem;
  margin-bottom: 0rem;
}

.video-text {
  /* width: 80%; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0px;
}

.video:hover .video-title{
  color: var(--primary)
}


.video-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.video:hover .video-description{
  color: var(--primary);
}


.image-background {
  width: 252px;
  min-width: 252px;
  height: 150px;
  background-size: cover;
  background-color: var(--background-grey);
  background-position: center center;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.bg1 {
  background-image: url("side-quests/asuPocket/Thumbnail.jpeg");
}

.bg2 {
  background-image: url("side-quests/Certifications/mobile-ui.jpg");
}

.bg3 {
  background-image: url("side-quests/prompt-library/prompt-library-thumbnail.png");
}

.bg4 {
  background-image: url("");
}

.bg5 {
  background-image: url("");
}



@media only screen and (max-width: 1050px) and (min-width: 769px) {
  .section-keynotes {
      width: 100%;
  }
  .video {
      gap: 16px;
  }
}


@media only screen and (max-width: 768px) and (min-width: 481px) {
  .section-keynotes {
      width: 100%;
  }
  .video {
      gap: 16px;
  }
}

@media only screen and (max-width: 480px) {
  .section-keynotes {
      width: 100%;
  }

  .video {
      flex-direction: column;
      gap: 8px;
  }
  .image-background{
      width: 100%;
      height: 200px;
  }
}


/* -------------  WRITINGS  ------------- */
.section-writings {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.writings {
  margin-top: 2rem;
}

.article {
  display: flex;
  flex-direction: row;
  gap: 16px;  
}

.article:visited {
  color: var(--text-primary)
}

.article-title {
  text-decoration: none;
  color: var(--text-primary)
}

.article-date {
  font-size: 14px;
  color: var(--text-secondary);
}

.article:hover .article-title {
  color: var(--primary)!important;
}

.article:hover .article-date {
  color: var(--primary)!important;
}

.arrow {
  display: none;
  color: var(--primary);
}

.article:hover .arrow{
  display: block;
}

@media only screen and (max-width: 1050px) and (min-width: 769px) {
  .article {
      display: flex;
      flex-direction: column;
      gap: 2px;  
  }
  .article-title{
      margin-bottom: 0;
  }
  .article:hover .arrow{
      display: none;
  }
}

@media only screen and (max-width: 768px) and (min-width: 481px) {
  .article {
      display: flex;
      flex-direction: column;
      gap: 2px;  
  }
  .article-title{
      margin-bottom: 0;
  }
  .article:hover .arrow{
      display: none;
  }
}

@media only screen and (max-width: 480px) {
  .article {
      display: flex;
      flex-direction: column;
      gap: 2px;  
  }
  .article-title{
      margin-bottom: 0;
  }
  .article:hover .arrow{
      display: none;
  }
}

/* -------------  ARTICLE  ------------- */
.article-container {
  margin: auto;
  display: flex;
  justify-content: center;
  padding: 100px 20px;
  width: 100%;
  box-sizing: border-box;
}
.article-body {
  max-width: 700px;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.article-figure {
  margin: 2rem 0;
}

.article-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

ol li {
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.article-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.article-h1{
  font-size: 2rem;
  letter-spacing: -0.05rem;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

.article-h2{
  margin-top: 4rem;
}

.grey-background-article {
  background-color: var(--background-grey);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  min-width: 180px;
  height: 280px;
  position: relative;
  overflow: hidden;
}

@media only screen and (max-width: 480px) {
  .grey-background-article {
      height: 200px;
  }
}

@media only screen and (max-width: 768px) {
  .article-container {
      padding: 50px 10px;
  }
  
  .article-body {
      padding: 0;
  }
}

/* Make code blocks in list items full width */
li pre {
  margin-left: -1.5rem; /* Counter the list item padding */
  margin-right: 0;
  width: calc(100% + 1.5rem); /* Expand width to compensate for negative margin */
}

@media only screen and (max-width: 768px) {
  li pre {
      margin-left: -1.5rem;
      width: calc(100% + 1.5rem);
  }
}

.back-button {
  position: fixed;
  top: 2rem;
  left: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-primary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  z-index: 100;
  white-space: nowrap;
}

.back-button:hover {
  transform: translateY(-1px);
  color: var(--primary) !important;
}

@media only screen and (max-width: 768px) {
  .back-button {
      position: relative;
      display: inline-flex;
  }
}

@media only screen and (max-width: 768px) {
  .back-button {
      top: 1rem;
      left: 1rem;
  }
}

@media only screen and (max-width: 1200px) {
  .project-preview {
      right: 0;
      width: 45%;
  }
}

@media only screen and (max-width: 768px) {
  .project-preview {
      display: none;
  }
}

@media only screen and (max-width: 1400px) {
  .project-preview {
      width: 500px;
  }
}

@media only screen and (max-width: 1200px) {
  .project-preview {
      width: 400px;
  }
}