/* Body styling */
body, html {
    height: 100%;
    width: 100%;
    background-color: #1a1a1a; /* Set a standard dark theme for the body */
    color: #d1d1d1; /* Light text color for better contrast */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Flexbox container */
.container {
    max-width: 100%; /* Restrict the container to the screen size */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    min-height: 100vh; /* Make the container cover the full viewport height */
}

/* Main content */
main {
    flex: 1; /* Allow the main content to grow and push the footer down */
    max-width: 900px;
    margin: 0 auto;
}

.navbar {
    margin-top: 10px; /* Adjust the value as needed */
}

/* Navbar styling */
nav {
    background-color: #1a1a1a; /* Match the body color */
    display: flex;
    justify-content: flex-end;
    padding: 20px 40px; /* Add padding for spacing */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

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

nav ul li {
    margin-right: 40px; /* Space between links */
}

nav ul li a {
    text-decoration: none;
    color: #d1d1d1;
    font-size: 15px; /* Smaller font size */
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffffff; /* Highlight effect */
}

/* Footer styling */
footer {
    background-color: #1a1a1a; /* Match the body color */
    color: #d1d1d1;
    text-align: center;
    padding: 10px 20px; /* Reduced padding */
    font-size: 12px; /* Smaller font */
}

/* About Section */
.about-page h1 {
    color: #d1d1d1; /* Bright titles */
    margin-bottom: 10px;
    padding-bottom: 5px;
    line-height: 1.6;
}

.about-page p {
    font-size: 1.0em;
    line-height: 1.6;
}

/* work section */
.section ul.work-section {
    list-style-type: circle;
    line-height: 1.6;
}
.section ul.work-section li {
    font-size: 0.9em;
}

/* skills section */
.section ul.skill-section {
    list-style-type: circle;
    line-height: 1.6;
}

.section ul.skill-section li {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.section ul.skill-section li strong{
    margin-right: 6px;
}

/* contact section */
.section ul.contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.section ul.contact-info li {
    margin: 0 15px;
    display: flex;
    align-items: center;
}

.section ul.contact-info li i {
    margin-right: 10px; /* Space between the icon and the text */
    color: #d1d1d1; /* Icon color */
}

.section ul.contact-info li a {
    color: #d1d1d1; /* Link color */
    text-decoration: none; /* Remove underline */
}

.section ul.contact-info li a:hover {
    text-decoration: underline; /* Underline on hover */
}

/* ako ka border line */
hr {
    border: none;
    border-top: 1px solid #333; /* Subtle separator */
    margin: 20px 0;
}

/* responsive styling */
@media (max-width: 1024px) {
    nav, ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    nav, ul, li {
        margin-right: 20px;
    }



    .contact-info ul {
        flex-wrap: wrap;
    }

    .contact-info ul li {
        flex: 1 1 45%; /* Allow each item to take half the width */
        margin: 10px 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 20px; /* Adjust padding for smaller screens */
    }

    nav ul li {
        margin-right: 15px; /* Reduce spacing */
    }

    main {
        padding: 15px; /* Adjust padding */
    }

    .contact-info ul li {
        flex: 1 1 100%; /* Stack items vertically */
        text-align: center;
    }

    .about-page h1 {
        font-size: 1.5em; /* Adjust font size */
    }

    .about-page p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 10px 0; /* Adjust padding for smaller screens */
    }
    nav ul {
        flex-direction: row; /* Stack links vertically */
        align-items: center;
    }

    nav ul li {
        margin: 0 15px; /* Reduce margin */
    }

    main {
        padding: 10px;
    }

    .contact-info ul li {
        text-align: left; /* Align text to the left */
    }
}
