body{
    color: whitesmoke !important;
    background-color: #3a3637 !important;
    overflow-x: hidden;
}

.intro {
    height: 100vh;
    width: 100vw;
    position: relative; /* Changed to relative */
    overflow: hidden; /* Ensure the pseudo-element does not overflow the container */
}

.intro::before {
    content: ""; /* Required for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/background.png);
    background-size: cover;
    filter: brightness(0.3); /* Adjust the brightness as needed */
    z-index: -1; /* Ensures the filter is applied below the content */
}

.full-height {
    height: 100vh; /* vh stands for viewport height */
  }

 .about{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
    margin-top: -5%;
 } 
 .about h1{
    font-size: 130px;
    font-weight: 300;
 }

 .about h4{
    font-size: 70px;
    font-weight: 200;
 }

 .about button{
    width: 7%;
 }

 .content{
    height: 65vh;
 }

.aboutme{
  flex-direction: column !important;
}

.content h2{
    font-size: 50px;
    font-weight: 300;
}

 /* Set the scrollbar width and color */
 ::-webkit-scrollbar {
  width: 10px; /* adjust as needed */
  background-color: #171717; /* set the background color of the scrollbar */
}

/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #fff4ed83; /* set the color of the scrollbar thumb */
  border-radius: 10px; /* set the border radius of the scrollbar thumb */
}

/* Set the scrollbar track */
::-webkit-scrollbar-track {
  background-color: #171717; /* set the background color of the scrollbar track */
  border-radius: 10px; /* set the border radius of the scrollbar track */
}


 .svg-grid {
    margin: 40px auto 120px;
    max-width: 1000px;
    width: 90%;
  }
  .svg-grid a {
    float: left;
    max-width: 250px;
    width: 25%;
    color: #000;
  }
  .svg-grid a:nth-child(odd) {
    margin: 30px 0 -30px 0;
  }
  .svg-grid figure {
    position: relative;
    overflow: hidden;
    margin: 5px;
    background: #000;
  }
  .svg-grid figure img {
    position: relative;
    display: block;
    width: 100%;
    opacity: 0.7;
    transition: opacity 0.3s;
  }
  .svg-grid figcaption {
    position: absolute;
    top: 0;
    z-index: 11;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-align: center;
  }
  .svg-grid figcaption h2 {
    margin: 0 0 20px 0;
    color: #3498db;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    font-size: 130%;
    transition: transform 0.3s;
  }
  .svg-grid figcaption p {
    padding: 0 20px;
    color: #aaa;
    font-weight: 300;
    transition: opacity 0.3s, transform 0.3s;
  }
  .svg-grid figcaption h2,
  .svg-grid figcaption p {
    transform: translateY(50px);
  }
  .svg-grid figure button {
    position: absolute;
    margin: 0;
    padding: 4px 10px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: opacity 0.3s, transform 0.3s;
  }
  .svg-grid figcaption,
  .svg-grid figcaption h2,
  .svg-grid figcaption p,
  .svg-grid figure button {
    backface-visibility: hidden;
  }
  .svg-grid svg {
    position: absolute;
    top: -1px;
    /* fixes rendering issue in FF */
    z-index: 10;
    width: 100%;
    height: 100%;
  }
  .svg-grid svg path {
    fill: #fff4ed;
  }
  /* Hover Design */
  .svg-grid a:hover figure img {
    opacity: 0.6;
  }
  .svg-grid a:hover figcaption h2,
  .svg-grid a:hover figcaption p {
    transform: translateY(0);
  }
  .svg-grid a:hover figcaption p {
    opacity: 0;
  }
  .svg-grid figcaption h2 {
    color: #171717;
  }
  .svg-grid figcaption p {
    transition-delay: 0.05s;
  }
  .svg-grid figure button {
    bottom: 0;
    left: 0;
    padding: 15px;
    width: 100%;
    background: #fff4ed;
    color: #000;
    font-weight: 300;
    transform: translateY(100%);
  }
  .svg-grid a:hover figure button {
    transition-timing-function: ease-out;
    transform: translateY(0);
  }
  .svg-grid figcaption h2,
  .svg-grid figcaption p {
    timing-function: cubic-bezier(0.25, 0.25, 0.115, 1.445);
  }
  .svg-grid a:hover figcaption p {
    transition-delay: 0s;
    transition-duration: 0.1s;
  }

.projects h2{
    font-size: 70px;
    font-weight: 200;
    text-align: center;
}

.bg-custom{
    background-color: #171717 !important;
}


  @media screen and (max-width: 58em) {
    .svg-grid a {
      width: 33.333%;
    }
    .svg-grid a:nth-child(odd) {
      margin: 0;
    }
    .svg-grid a:nth-child(3n-1) {
      margin: 30px 0 -30px 0;
    }
  }
  @media screen and (max-width: 45em) {
    .svg-grid {
      max-width: 500px;
    }
    .svg-grid a {
      width: 50%;
    }
    .svg-grid a:nth-child(3n-1) {
      margin: 0;
    }
    .svg-grid a:nth-child(even) {
      margin: 30px 0 -30px 0;
    }
    .svg-grid figcaption h2 {
      margin-bottom: 0px;
      transform: translateY(30px);
    }
    .svg-grid figcaption p {
      margin: 0;
      padding: 0 10px;
    }
  }
  @media screen and (max-width: 27em) {
    .svg-grid {
      max-width: 250px;
    }
    .svg-grid a {
      width: 100%;
    }
    .svg-grid a:nth-child(even) {
      margin: 0;
    }
  }

  @media (max-width: 1024px) {
    .about h1{
        font-size: 100px;
    }
    .about h4{
        font-size: 55px;
    }
    .about button{
        width: 10%;
    }
    .content p{
      font-size: 15px
    }
    .content h2{
      font-size: 40px;
    }
    .projects h2{
      font-size: 60px;
    }
  }

  @media (max-width: 768px) {
    .about button{
        width: 15%;
    }
    .about h1{
        font-size: 90px;
    }
    .about h4{
        font-size: 50px;
    }
    .content{
      height: 105vh;
    }
    .content img{
      width: 40% !important;
    }
    .svg-grid figcaption h2{
      margin: 0 0 10px 0;
    }
    .projects h2{
      font-size: 55px;
    }
  }
  @media (max-width: 425px) {
    .about h1{
      font-size: 60px;
    }
    .about h4{
      font-size: 40px;
    }
    .about button{
      width: 20%;
    }
    .content img{
      width: 50% !important;
    }
    .content p{
      font-size: 13px;
    }
    .projects h2{
      font-size: 50px;
    }
    .intro::before {
      background-position: -260px 0; /* Moves the background image 50 pixels to the left */
  }
  }

  @media (max-width: 375px) {
    .about button{
      width: 23%;
    }
    .content img{
      width: 60% !important;
    }
    .content p{
      font-size: 12px;
    }
  }

  @media (max-width: 320px) {
    .about h1{
      font-size: 50px;
    }
    .about h4{
      font-size: 35px;
    }
    .about button{
      width: 25%;
    }
    .content img{
      width: 65% !important;
    }
    .content p{
      font-size: 11px;
    }
    .projects h2{
      font-size: 45px;
    }
    
  }