body{
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    display: grid;
    grid-template-rows: auto;
    margin-bottom: 200px;
}

body::-webkit-scrollbar {
    display: none; 
  }

header{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    background-color: rgb(0, 0, 0);
    margin-top: 3%;
    padding: 14px;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 8px;
    font-family: 'manrope';
    font-weight: 700;
    width: 500px;
    justify-self: center;
    align-items: center;
}

.home,.contact{
    text-decoration: none;
    color: white;
}

.projects{
    background-color: rgb(255, 255, 255);
    padding: 8px;
    color: rgb(0, 0, 0);
    border-radius: 4px;
}



.container{
    background-color: rgb(0, 0, 0);
    margin-top: 60px;
    margin: 80px;
}

.project-container{
    background-color: rgb(0, 0, 0);
    margin-top: 20px;
}

.project-title{
    border: 1px solid rgb(0, 0, 0);
    background-color: rgb(15, 15, 15);
    height: fit-content;
    border-radius: 8px;
    transition: boxshadow 0.3s ease-in-out,transform 0.2s ease-in-out;
    color: rgb(255, 255, 255);
    transition: hover 0.3s ease-in-out,transform 0.2s ease-in-out;
    display: grid;
    grid-template-columns: 2fr 10fr 2fr;
    align-items: center;
}

.github-icon{
     width: 100%;
    height: 100%;
    max-width: 50px;
    max-height: 50px;
    opacity: 0.6;
    background-color: black;
    border-radius: 5px;
}

.odd-title{
    animation: fadeInOdd 1s forwards;
}

.even-title{
    animation: fadeInEven 1.2s forwards;
}

.project-title:hover{
    box-shadow: 0px 2px 15px  rgb(43, 43, 43);
    background-color: rgb(50, 50, 50);
}
.project-title::-webkit-scrollbar {
    display: none; 
  }

h1{
    font-size: 46px;
    font-family: 'manrope';
    align-items: center;
    text-align: center;
}

.project-content{
    background-color: rgb(0, 0, 0);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    padding: 0 10px;
    color: white;
    font-family: 'work sans';
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-weight: 500;
    margin-top: 10px;
}

.expanded .project-content{
    min-height: 500px;
    opacity: 1;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: 'work sans';
    border: 0px solid rgb(255, 255, 255);
    border-radius: 4px;
    margin: 30px;
    box-shadow: 0px 2px 10px  rgb(47, 0, 255);
    animation: fadeIn 1s forwards;
}

.left-project-content{
    margin:90px 0px 0px 90px;
}

.images{
    max-width: 500px;
    max-height: 300px;
}

.right-project-content{
    display: flex;
    justify-content: top;
    flex-direction: column;
    margin: 90px 40px 0px 40px;
}

.project-head{
    font-family: 'manrope';
    font-weight: 700;
    font-size: 36px;
}


.tech-stack button{
    background-color: rgb(221, 221, 221);
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    margin: 5px;
    font-weight: 520;
    font-family: 'poppins';
}
/*animation*/

@keyframes fadeInOdd {
    0%{
        transform: translateX(-500px);
        opacity: 0;
        filter: blur(20px);
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
        filter: blur(0px);
    }
}


@keyframes fadeInEven {
    0%{
        transform: translateX(500px);
        opacity: 0;
        filter: blur(20px);
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
        filter: blur(0px);
    }
}

@keyframes fadeIn {
    0%{
        transform: translateY(10px);
        opacity: 0;
        filter: blur(20px);
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
        filter: blur(0px);
    }
}

@media screen and (max-width: 768px) {
    header {
      width: 90%;
      font-size: 16px;
      padding: 10px;
      gap: 10px;
    }
  

    h1 {
        font-size: 32px;
        margin-left: 5%;
        text-align: center;
    }

    .container {
        margin: 40px 20px;
    }

    .project-content {
        grid-template-columns: 1fr;
        padding: 0 5px;
    }

    .expanded .project-content {
        margin: 20px 10px;
        min-height: auto;
    }

    .left-project-content,
    .right-project-content {
        margin: 30px 10px 0px 10px;
    }

    .images {
        max-width: 100%;
    }

    .project-head {
        font-size: 28px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    header {
      width: 90%;
      font-size: 16px;
      padding: 10px;
      gap: 10px;
    }
  

    .project-head {
        font-size: 24px;
    }

    h1 {
        font-size: 26px;
    }
}

@media screen and (max-width: 768px) {
    .project-content {
        grid-template-columns: 1fr;
        padding: 0 10px;
        margin: 0;
    }

    .expanded .project-content {
        max-height: 1000px; 
        display: grid;
        grid-template-columns: 1fr;
        opacity: 1;
        padding: 10px;
        margin: 20px 10px;
        box-shadow: 0px 2px 10px rgb(47, 0, 255);
    }

    .left-project-content,
    .right-project-content {
        margin: 10px;
    }

    .images {
        max-width: 100%;
    }

    .project-title {
        width: 100%;
    }

     h1{
        padding: auto;
        text-align: center;
        margin-left: 0px;
    }

    .github-icon{
        max-width: 30px;
        max-height: 30px;
    }
  
}
