* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
}

body{
background-color: #ffffff;
opacity: 1;
background-image:  radial-gradient(#000000 1.2000000000000002px, transparent 1.2000000000000002px), radial-gradient(#000000 1.2000000000000002px, #e6e6e6 1.2000000000000002px);
background-size: 48px 48px;
background-position: 0 0,24px 24px;
 color: #000000;
}


#header{
    width: 100;
    height: 100vh;
    background-image: none;
    background-size: cover;
    background-position: right top;
}

.linkedin-button {
    background-color: #0077B5;
  border: none;
  color: white;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
}

.linkedin-text {
    color: #ffffff !important;
}

.github-button {
  border: none;
  color: #24292e;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
}

.github-text {
    color: #fff1f1 !important;
}

.linkedin, .github {border-radius: 12px;}


.block-list {
    display: inline-block;

}

.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

/* navbar text */
nav ul li a{
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 25px;
    position: relative;
    font-weight: 600;
}

/* navbar details & underline color*/
nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background: #FF7F11;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.2s;
}

/* size of text underline for navbar text */
nav ul li a:hover::after{
    width: 100%;
}

/* navbar text color */
nav h3 {
    color: #000000;
    font-weight: 600;
}

.header-text{
    margin-top: 20%;
    font-size: 30px;
}

.header-text h1{
    font-size: 60px;
    margin-top: 10px;
}

.header-text h1 span{
    color: #FF7F11
}
 
span {
    color: #FF7F11
}

.godot-image {
    height: 32px;
    width: 32px;
}

.image-container {
  width: 30%;
  height: 30%;
   object-fit: contain;
}

.projects-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.responsive {
  max-width: 100%;
  height: auto;
}

div.a {
    color: #fff;
    font-size: 30px;
}

.nj {
    width: 3.5%;
    position: absolute;
}

footer {
  text-align: center;
  padding: 3px;
  color: white;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.grid-item {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: center;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.1);
    border-radius: 5px;
    background-color: #fff; 
}

.grid-item img {
    width: 35%;
    height: auto;
    object-fit: cover; 
    border-radius: 5px;
    margin-bottom: 10px;
}

.grid-item h3 {
    margin: 10px 0;
}

.grid-item a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 3px;
}

@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr); 
    }
}

.about-me-section {
    background: linear-gradient(to bottom right, #f9f9f9, #e9e9e9);    
    padding: 250px 100px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    width: 100vw;
}

.about-me-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.about-me-text h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.about-me-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .about-me-container {
        flex-direction: row;
        text-align: left;
        gap: 40px;
    }

    .profile-pic {
        margin-bottom: 0;
        flex-shrink: 0; 
    }
    
    .about-me-text {
        flex-grow: 1; 
    }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1; 
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

.fade-in-two {
      animation: fadeInUp 1.5s ease-out forwards;

}

.fade-in-three {
      animation: fadeInUp 2s ease-out forwards;

}

.font-increase {
    font-size:50%
}


.grid-container-language {
  display: inline-grid;
  grid-template-columns: auto auto auto;
  padding: 0px;
}

.grid-item-language {
  padding: 25px;
  font-size: 20px;
  text-align: center;
}

.emoji-wave {
  display: inline-block;
  animation: shake 0.8s 3;
}

@keyframes shake {
  0% { transform: translateX(0); } /* Starting position */
  25% { transform: translateX(5px); } /* Move right */
  50% { transform: translateX(-5px); } /* Move left */
  75% { transform: translateX(5px); } /* Move right again */
  100% { transform: translateX(0); } /* Return to original position */
}