html {
    overflow-y: scroll;
}

body {
    background-color: #2f3136;
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
    font-family: Arial, sans-serif;
    max-width: 42rem;
    padding: 3rem 2rem;
}

header {
    margin-bottom: 3.5rem;
}

nav {
    display: flex;
    font-weight: bold;
    text-decoration: none;
    flex-direction: column;
    position: relative;
}

nav .logo {
    font-weight: 777;
    text-decoration: none;
    color: #ffffff;
}

nav .logo::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #007bff;
    top: -10px;
    left: -20px; 
    z-index: -1;
    transition: width 0.3s ease, height 0.3s ease;
}

nav .logo:hover::before {
    width: 41px;
    height: 41px;
    top: -10px;
    left: -20px;
}

nav .nav-links {
    display: flex;
    color: #ffffff;
    text-decoration: none;
}

.nav-a:hover {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth transition for color change on hover */
}

h1, h2, h3, h4, h5, h6, p, a, li {
    color: #ffffff;
}

.divs-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between project items */
}

.div-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.div-image {
    width: 150px; /* Set the desired width of the image */
    height: auto; /* Maintain the aspect ratio */
    margin-right: 20px; /* Space between the image and the text */
    border-radius: 8px; /* Optional: add rounded corners to the image */
}

.div-text {
    max-width: calc(100% - 170px); /* Adjust the max width to leave space for the image */
}

.div-text h4 {
    margin-bottom: 6px; /* Space between the heading and the paragraph */
    font-weight: 777;
}

.div-text h4 a {
    color: inherit; /* Inherit the current color, which is white */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth transition for color change on hover */
}

.div-text h4 a:hover {
    color: #007bff; /* Change color to blue when hovered */
}

.div-text p {
    margin: 0;
    text-align: justify;
}

.div-text .small-text {
    font-size: 0.9rem; /* Slightly smaller font size */
    margin-bottom: 2px; /* Space below the small text */
}

/* Footer styles */
.footer {
    background-color: #2f3136; /* Match body background */
    padding: 10px 0;
    text-align: center; /* Center align footer text */
}

.footer-links {
    margin: 0 0 10px 0; /* Adjust the margin to align with the navbar */
}

.footer-link {
    color: #ffffff; /* White color for footer links */
    margin: 20px 15px 0 0; /* Spacing between icons */
    display: flex;
    font-weight: bold;
    font-size: 20px;
    align-items: center;
    text-decoration: underline;
}


.footer-link i {
    margin-right: 8px; /* Space between icon and text */
}

.footer-link:hover {
    color: #007bff; /* Blue color on hover */
    text-decoration: underline;
    transition: color 0.3s ease; /* Smooth transition for color change on hover */
}

.copyright {
    margin-top: 10px;
    color: #ffffff;
}