@import url(https://fonts.googleapis.com/css?family=Barlow);
body {
  font-family: "Barlow", sans-serif;
}

@-webkit-keyframes pulse {
  0%,
  to {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
    top: 0;
  }
  50% {
    -ms-filter: none;
    -webkit-filter: none;
    filter: none;
    opacity: 1;
    top: -10px;
  }
}

@keyframes pulse {
  0%,
  to {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    opacity: 0.4;
    top: 0;
  }
  50% {
    -ms-filter: none;
    -webkit-filter: none;
    filter: none;
    opacity: 1;
    top: -10px;
  }
}

#particles-js {
  background: #1a222c;
  display: block;
  width: 100vw;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#particles-js .particles-js-canvas-el {
  width: 100vw !important;
  height: 100vh !important;
}

.chevron-down,
.icons-header,
.user {
  text-align: center;
}
.chevron-down {
  color: #fff;
  position: absolute;
  bottom: 25px;
  width: 100%;
  display: block;
  cursor: pointer;
  margin: 0 auto;
  font-size: 30px;
}
.chevron-down .icon {
  position: absolute;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  fill: #fff;
  -webkit-animation: pulse 2s infinite;
  animation: pulse 2s infinite;
}
.chevron-down .icon:active,
.chevron-down .icon:hover,
.footer a:active,
.footer a:hover {
  color: #6b86a8;
}

.content {
  z-index: 1;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.content .site-title {
  font-size: 50px;
  display: block;
  line-height: 1;
  padding-bottom: 10px;
}

@media only screen and (min-width: 768px) {
  .content .site-title {
    margin: 0;
    font-size: 90px;
    padding-bottom: 20px;
  }
}

.content .site-description {
  font-size: 20px;
  line-height: 1;
  margin: 5px 0 10px;
}
.typed-cursor {
  font-size: 30px;
  line-height: 1;
}

@media only screen and (min-width: 768px) {
  .content .site-description {
    font-size: 30px;
    padding-bottom: 10px;
  }
  .typed-cursor {
    font-size: 40px;
  }
}

.content .link {
  color: #fff;
  display: inline-flex;
  justify-content: space-between;
  text-decoration: none;
  font-size: 15px;
  margin: 10px;
}

.content .link:hover {
  color: #6b86a8;
}

@media only screen and (min-width: 768px) {
  .content .link {
    font-size: 20px;
  }
}

.icons-header {
  display: flex;
  justify-content: center;
  padding-bottom: 10px;
}

.icons-header .icon {
  text-align: center;
  color: #fff;
  width: 20px;
  height: 20px;
  font-size: 20px;
  padding: 10px;
  margin: 2px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: all 0.7s;
}

.icons-header .icon:active,
.icons-header .icon:hover {
  color: #1a222c;
  background: #fff;
}

@media only screen and (min-width: 768px) {
  .icons-header .icon {
    width: 30px;
    height: 30px;
    font-size: 30px;
    padding: 15px;
    margin: 5px;
  }
}

.down,
.icons-header,
.user {
  text-align: center;
}

.down {
  color: #fff;
  position: absolute;
  bottom: 25px;
  width: 100%;
  display: block;
  cursor: pointer;
  margin: 0 auto;
  font-size: 30px;
}

.down .icon {
  position: absolute;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  fill: #fff;
  -webkit-animation: pulse 1.3s infinite;
  animation: pulse 1.3s infinite;
}

.down .icon:active,
.down .icon:hover,
.footer a:active,
.footer a:hover {
  color: #6b86a8;
}

.user {
  margin: 20px auto;
  font-size: 60px;
}

.user p {
  font-size: 16px;
}

@media only screen and (min-width: 768px) {
  .user {
    font-size: 75px;
  }
}

.user-details {
  text-align: center;
  font-size: 16px;
  margin: 10px auto;
}

.user-projects {
  margin: 40px auto;
}

.user-projects img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.user-projects h5,
body {
  margin: 0;
}

.user-projects li {
  color: #1a222c;
  font-size: 1.1rem;
}

.user-projects p {
  margin-right: 5px;
}

@media only screen and (min-width: 768px) {
  .images {
    float: right;
  }
}

.project-link {
  display: block;
  width: 100px;
  margin: 10px 0;
  padding: 5px;
  color: #1a222c;
  background-color: transparent;
  border: 1px solid #1a222c;
  border-radius: 10px;
  text-align: center;
  outline: none;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease-out, background-color 0.3s ease-out,
    border-color 0.3s ease-out;
}

.project-link:active,
.project-link:hover {
  background-color: #54516a;
  border-color: #54516a;
  color: #fff;
  transition: color 0.3s ease-in, background-color 0.3s ease-in,
    border-color 0.3s ease-in;
}

.footer {
  background: #1a222c;
  padding: 35px 0;
  margin-top: 0;
  text-align: center;
  color: #fff;
}

.dev-text {
  text-align: left;
  padding-left: 20px;
}

.dim {
  color: grey;
}

#resumelink {
  margin: auto;
}

.icon-linkedin {
  background-color: #4267b2;
  border-radius: 50%;
}

.icon-github {
  background-color: #333;
  border-radius: 50%;
}

.icon-devpost {
  background-color: #093e54;
  border-radius: 50%;
}

.icon-email {
  background-color: #d66304;
  border-radius: 50%;
}

/* #about {
  padding: 30px 20px;
  margin: 0 auto;
} */
@media only screen and (min-width: 1000px) {
  #about {
    padding: 30px 10px;
    width: 70%;
    margin: 0 auto; 
  }
}

@media only screen and (min-width: 700px) and (max-width: 1000px) {
  #about {
    padding: 30px 10px;
    width: 70%;
    margin: 0 auto; /* Corresponds to 10% of the viewport width */
  }
}

@media only screen and (max-width: 700px) {
  #about {
    padding: 30px 20px;
    margin: 0 auto; 
  }
}

#about {
    position: relative;
    padding: 80px 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
    background-image: url('/assets/img/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Add an overlay to ensure text remains readable */
#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 34, 44, 0.9);
    z-index: 1;
}

/* Ensure content stays above the overlay */
#about > * {
    position: relative;
    z-index: 2;
}

.gist-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Style the gist content */
.gist {
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gist:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08) !important;
}

.gist .gist-file {
  display: flex;
  flex-direction: column;
}

.gist .gist-data {
    background-color: white !important;
    border-radius: 0 0 16px 16px !important;
    padding: 30px !important;
}

.gist .gist-meta {
  order: -1;
  border-radius: 16px 16px 0 0 !important;
  border-bottom: 1px solid #ddd;
}

/* Style the text content */
.gist .blob-code-inner {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #2d3748 !important;
}

/* Style links */
.gist .blob-code-inner a {
    color: #3182ce !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.gist .blob-code-inner a:hover {
    color: #2c5282 !important;
}

/* Style headings */
.gist .blob-code-inner strong {
    color: #1a202c !important;
    font-weight: 600 !important;
}

/* Style the technology badges */
.gist .blob-code img {
    border-radius: 4px !important;
    margin: 2px !important;
    transition: transform 0.2s ease !important;
}

.gist .blob-code img:hover {
    transform: translateY(-1px) !important;
}

.footer-text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.fa-heart {
  color: #e74c3c;
  animation: heartbeat 1.5s ease infinite;
  display: inline-block;
  margin: 0 4px;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
