body {
    background-color: #020c1b;
    color: #ccd6f6;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: flex-end;
    padding: 40px;
    background-color: #020c1b;
    align-items: center;
    position: fixed;
    top: 0;
    width: 95%;
}

/* .logo-container {
    align-self: flex-start;
    margin: 0 auto;
}

.logo {
    width: 250px; 
    height: 280px;
    margin-right: 10px;
    border-radius: 50%; 
} */


nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ccd6f6;;
    text-decoration: none;
    margin: 30px;
    cursor: pointer;
    text-decoration: none;
    padding-bottom: 1px;
}

nav a:hover {
    border-bottom: 2px solid #ccd6f6;
}

#hero {
    text-align: start;
    padding: 70px 20px;
    padding-bottom: 40px;
    margin: 0 auto;
    margin-top: 3rem;
    width:75%;
}

#hero h1 {
    font-size: 48px;
    /* background-color: red; */
    margin-bottom: 0;
}

#hero p{
   line-height: 1.5rem; 
   letter-spacing: 2px;
   color: #8892b0;
   font-size: 14px;
}

.emphasis {
   color: #ccd6f6;
   font-weight: 700; 
}


#hero a {
    cursor: pointer;
    text-decoration: none;
}

.social-media-logo {
    width: 25px; /* Adjust size as needed */
    height: 25px;
    margin: 8px;
    border-radius: 5%;
}

#social-media {
    margin-top: 5px;
}

.github {
    width: 40px;
    height: 40px;
    margin-left: -8px;
    margin-bottom: 1px;
}


#about, #projects, #contact {
    padding: 60px 20px;
}



.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#projects {
    padding: 0;
    margin: 0 auto;
    margin-bottom: 5rem;
    width:75%;
}

#projects h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

/* projects**/

.project {
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid red;   */
    /* margin: 2rem auto; */
    max-width: 1200px;
    
    border-radius: 15px;
    background-color: transparent;
    transition: background-color 0.3s ease;
    cursor: pointer;

}

.project:hover {
    padding: 1.5rem;
    background-color: rgba(128, 128, 128, 0.1);;
}


.project-image {
    flex: 1;
    max-width: 100%;
    /* padding: 1rem; */
}

.project-image img {
    
    /* height: auto; */
    height: 250px;
    width: 400px;
    max-width: 100%;
    border-radius: 8px;
    border: 2px solid #8892b0;
    padding: 2px;
}

.project-details {
    flex: 1;
    padding: 1rem;
}

.project-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 0;
    /* background-color: red; */
}

.project-description {
    font-size: .9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #8892b0;

}

.project-details .tech-stack,
#hero .tech-stack {
    display: flex;
    flex-wrap: wrap;
}

.project-details .tech-stack span,
#hero .tech-stack span {
    color: #5eead4;
    margin: 5px;
    background-color: #134E4A;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: .8rem;
}



.project-details .tech-stack .first-tech,
#html-and-css,
#hero .tech-stack .first-tech {
    margin-left: 0;
}

.project-link {
    text-decoration: none;
    color: inherit;
}





.logo-container {
    display: flex;
    align-items: center;
}

.logo-image {
    width: 80px; /* Adjust size as needed */
    height: 80px; /* Adjust size as needed */
    margin-right: 10px; /* Space between image and text */
    border-radius: 50%; /* Makes the image round */
    object-fit: cover; /* Ensures the image covers the round shape */
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #ccd6f6; /* Match the text color to the theme */
}



#contact {
    padding: 0;
    margin: 0 auto;
    width:75%;
    /* border-bottom: 1px solid #ccd6f6; */
    /* background-color: blue; */

}


#contact h2 {
    font-size: 38px;
    margin-bottom: 30px;
}

#contact input,
#contact textarea {
    width: 80%;
    border-radius: 10px;
    padding: .8rem;
    
}

#contact .container {
    /* padding: 2rem; */
    border-radius: 4px;
}

#contact .form-group{
    margin-top: 3rem;
    
}

#contact form {
    border-radius: 15px;
    padding: 2rem;
    padding-top: .1rem;
    background-color: rgba(128, 128, 128, 0.2);
}

#contact .form-group p{
 margin-bottom: 0;  
}

#contact button {
    background-color: #64ffda;
    color: #010c1b;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 1rem;
    border-radius: 10px;
}


.closing {
    display: flex;
    width: 75%;
    /* border: 2px solid red; */
    margin: 2rem auto;
    justify-content: center;
    /* margin-right: 8rem; */
}

.social-media-closing,
.closing-text {
    margin: 2rem 4rem;
    width: 20%;
    /* border: 2px solid red; */

}
 
.closing-text {
    font-size: .9rem;
    margin-left: 0; 
    padding-left: 2.5rem;  
}

.social-media-closing {
    border-right: 1px solid #ccd6f6;
    /* display: flex; */
    text-align: end;
    margin-right: 0;
    padding-right: 2.5rem;
    
}


footer {
    padding: 4rem;
    background-color: #010A13;

}

.copyright {
    margin: 0;
    font-size: .8rem;
    text-align: center;
}



/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
    /* #hero, #projects, #contact {
        margin: 0 5rem;
    } */
}

@media (max-width: 992px) {
    /* #hero, #projects, #contact {
        margin: 0 2rem;
    } */

    .project-list {
        flex-direction: column;
        align-items: center;
    }

    .project {
        flex-direction: column;
        /* background-color: blue; */
    }

    .closing {
        flex-direction: column;
        margin: 0 auto;
        width: 75%;
    }

    .social-media-closing,
    .closing-text {
        width: 100%;
        margin: 1rem 0;
        border-right: none;
        text-align: center;
    }

    .social-media-closing {
        padding-right: 0;
    }

    .closing-text{
        width: 70%;
        align-self: center;
        padding-left: 0;
    }
    
}



@media (max-width: 768px) {
    /* header {
        flex-direction: column;
        align-items: center;
    } */
    header {
        justify-content: center; 
        /* background-color: blue; */
    }

    nav ul {
        /* flex-direction: column; */
        gap: 10px;
    }
    /* nav {
        flex: 1; 
    } */
    
    nav a {
        margin: 10px;
    }

    #hero h1 {
        font-size: 36px;
    }

    #hero p {
        font-size: 12px;
    }

    #contact input,
    #contact textarea {
        width: 90%;
    }

    .social-media-closing {
        margin: 1rem 0;
        padding-right: 0;
    }

    .closing {
        margin: 0 auto;
    }

    .closing-text {
        /* border: 2px solid blue; */
        padding-left: 0;
    }

    .project-image img {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 20px;
    }

    nav ul {
        gap: 5px;
    }

    nav a {
        margin: 5px;
    }

    /* #hero, #projects, #contact {
        margin: 0 1rem;
        padding: 1rem;
    } */

    .project-image img {
        padding: 0;
    }

    /* #hero {
        margin-top: 1rem;
    } */

    #hero h1 {
        font-size: 24px;
    }

    #hero p {
        font-size: 10px;
    }

    .closing {
        width: 100%;
        margin: 0 auto;
    }

    .social-media-closing,
    .closing-text {
        width: 100%;
    }
    
    .closing-text{
        width: 70%;
        align-self: center;
    }

    #contact button {
        display: block;
        margin: .5rem auto;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.8rem;
    }

    .tech-stack span {
        font-size: 0.7rem;
    }
}