body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: black;
    color: whitesmoke;
}

header {
    background: #333;
    color: #fff;
    padding: 1px;
    text-align: center;
    background-image: url('nav_banner_home.jpg'); 
    background-size: cover;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    flex-grow: 1;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul li {
    font-size: 25px;
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.4s ease; 
}

nav ul li a:hover {
    color: rgb(60, 156, 207); /* Change to the highlight color you prefer */
}

main {
    padding: 15px;
    margin-bottom: 50px;
}

#home-skills {
    display: flex;
    background-color: #f0f0f0;
    padding: 30px;
    padding-top: 0px;
    padding-bottom: 5px;
    padding-left: 25px;
    border: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
    border: 2px solid #ccc;
    border-radius: 25px;
    margin-bottom: 10px;
    background-image: url('home_skills_background1.jpg');
    background-size: cover;
    background-position: center;
    min-height: 200px;
    box-sizing: border-box;
    flex-wrap: wrap;
}

#home h2 {
    margin-bottom: 5px;
    font-size: 30px;
}

#home p {
    margin-top: 0;
}

#skills h2 {
    margin-bottom: -10px !important;
    font-size: 30px;
}

#skill p {
    margin-top: 0px;
}

.text-content {
    width: 75%;
    padding-right: 30px;
    box-sizing: border-box;
    color: whitesmoke;
}

.image-content {
    width: 25%;
    height: auto;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.image-content img[src="1fake_picture.jpg"] {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

section {
    margin-bottom: 1rem;
}

#projects {
    background-image: url('projects_background_home.jpg');
    background-size: cover;
    background-position: center;
    padding: 30px;
    padding-top: 0px;
    padding-bottom: 5px;
    padding-left: 25px;
    border: 2px solid #ccc;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    color: rgb(0, 0, 0);
}

#projects h1 {
    color:black;
    margin-bottom: 5px;
    font-size: 30px;
}

#projects h3 {
    margin-top: 30px;
    margin-bottom: 0;
    padding-bottom: 0;
}

#keyProjectsP {
    margin-top: 1px;
    margin-bottom: -10px;
}

#projects ul {
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}


.project-title {
    color: black;
    font-size: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
}

.project-title2 {
    color: black;
    font-size: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 15px;
}

.project-link {
    color:lightblue;
    font-size: 15px;
    margin: 0;
    margin-left: 27px;
    padding: 0;
    display: inline;
    vertical-align: top;
}

#project1 a {
    display: block; /* Ensure the link is displayed as a block element */
    margin-top: 0; /* Remove any top margin */
    padding-top: 0; /* Remove any top padding */
}

.project-description {
    color: rgb(0, 0, 0);
    font-size: 15px;
    margin-left: 27px;
    margin-top: 1px;
}


#contact {
    background-image: url('home_skills_background.jpg');
    background-size: cover;
    background-position: center;
    padding: 30px;
    border: 2px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding-bottom: 1px;
    color: black;
}

.back_home {
    color: blue;
    text-align: center;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 8px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    .title {
        font-size: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        font-size: 15px;
        margin: 5px 10px;
    }

    #home-skills {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 20px;
    }

    .image-content {
        width: 100%;
        padding-bottom: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .text-content {
        width: 100%;
        padding-right: 0;
    }

    .image-content img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
    }
}