 body {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .wrapper {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: auto auto auto;
      gap: 10px;
    }

    header, aside, main, footer {
      border: 2px solid #000;
      padding: 10px;
    }
header {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 2fr 7fr 3fr;
  align-items: center;
  background: linear-gradient(to bottom           right, #4CAF50, #2196F3);
      padding: 20px;
      color: #fff;
}

  .header-icon {
  text-align: center;
}

.header-icon img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.header-text {
  text-align: center;
  margin-left:280px;
  margin-right:60px;
}

.header-navbar {
  text-align: left;
  margin-left:400px;
  margin-right: 0px;  
}


    .social-icons {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .social-icon {
      margin: 5px;
      padding:0px;
    }

    aside {
      grid-row:span 10;
      grid-column: span 2;
      display: flex;
      flex-direction: column;
      background: linear-gradient(to bottom           right, #4CAF50, #2196F3);
      padding: 20px;
      color: #fff;
    }

    .project-links {
      margin-top: 10px;
    }

   main {
      grid-column: span 10;
      grid-row: span 5;
      display: grid;
      grid-template-columns: repeat(2, 5fr);
      grid-template-rows: repeat(5, 1fr);
      gap: 10px;
      background: linear-gradient(to bottom           right, #4CAF50, #2196F3);
      padding: 10px;
      color: #fff;
     margin:10px;
    }

      .project-cell {
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 1.5em;
      margin:0;
    }

    hero {
  grid-column: span 10;
  grid-row: span 5; /* Adjust the span based on your grid setup */
  position: relative;
  overflow: hidden; /* Ensure overflow is hidden to prevent elements from extending beyond the hero container */
  background: linear-gradient(to bottom           right, #4CAF50, #2196F3);
      padding: 20px;
      color: #fff;
      margin:10px;
}
      
      
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 2em;
  color: #fff; /* Set the text color */
}


    footer {
      grid-column: span 12;
      background: linear-gradient(to bottom           right, #4CAF50, #2196F3);
      padding: 20px;
      color: #fff;
      
    }
.border-img {
      border: 10px solid transparent;
      padding: 15px;
      border-image: url('https://akm-img-a-in.tosshub.com/indiatoday/images/story/201401/gemstones_650_012814105431.jpg') 30 stretch;
      border-image-outset: 10px; /* Adjust the outset value as needed */
      border-image-repeat: stretch;
    }

    /* Additional styling for demonstration purposes */
    .wrapper,header, aside, main, footer {
      margin: 10px;
    }

    header {
      background-color: #f0f0f0;
    }

    aside {
      background-color: #e0e0e0;
    }
     footer {
     background-color: #f0f0f0;
    }
.gradient-border {
  position: relative;
  overflow: hidden;
  padding: 10px; /* Adjust the padding to control the border width */
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-mask-image: linear-gradient(45deg, #ffd700, #228b22, #ffd700, #0000cd);
  mask-image: linear-gradient(45deg, #ffd700, #228b22, #ffd700, #0000cd);
}

.border-img {
            display: flex;
            flex-wrap: wrap;
        }

        .project-cell {
            width: 47%; /* Set a fixed width for the project cell */
            margin: 10px;
            border: 1px solid #ccc;
            overflow: hidden;
            position: relative;
        }

        .image-card {
            max-width: 80%;
            height: auto;
        }

        .text-card {
            width: 100%; /* Set a fixed width for the text card */
            max-height: 600px; /* Set a fixed height for the text card */
            overflow-y: auto; /* Enable vertical scrolling */
            padding: 10px;
            box-sizing: border-box;
        }
/* Your existing styles here */

/* Add the following media query for screens smaller than 600px */
@media only screen and (max-width: 600px) {
  body {
    font-size: 14px; /* Adjust font size for better readability on small screens */
  }

  header {
    grid-template-columns: 1fr; /* Make header a single column */
    text-align: center;
    grid-column: span 12;
    margin-left: 0;
  }

  .header-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .header-text {
    margin-left: 0;
    margin-right: 0;
  }

  .header-navbar {
    margin-left: 0;
    text-align: center;
  }

  aside {
    grid-column: span 12; /* Make aside a single column */
    margin-top: 10px; /* Adjust spacing */
  }

  main {
    grid-column: span 12; /* Make main a single column */
    margin: 10px; /* Adjust spacing */
  }

  .project-cell {
    width: 100%; /* Set width to 100% for a full-width column */
  }

  hero {
    grid-column: span 12; /* Make hero a single column */
    margin: 10px; /* Adjust spacing */
  }

  .gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-mask-image: none; /* Remove mask for smaller screens */
    mask-image: none;
  }

  .border-img {
    display: flex;
    flex-direction: column; /* Stack images in a single column */
  }

  .project-cell {
    width: 100%; /* Set width to 100% for a full-width column */
  }

  .image-card {
    max-width: 100%; /* Adjust image width for full-width */
  }

  .text-card {
    width: 100%; /* Set width to 100% for a full-width text card */
    max-height: none; /* Remove max height for text card */
  }
}

