body {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 21px;
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* A light background for general sections */
    color: #333; /* Darker text for readability */
    min-width: 100%;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        font-size: 18px;
        width: 100vw;
        min-width: 100vw;
    }
    
    h1 {
        font-size: 40px;
        padding: 0 10px;
    }
    
    h2 {
        font-size: 32px;
        padding: 15px 10px;
        margin-bottom: 30px;
    }
    
    h3 {
        font-size: 28px;
    }
    
    header,
    section {
        padding: 40px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    p {
        padding: 0 15px;
        font-size: 16px;
    }
    
    section li {
        font-size: 16px;
        padding: 15px;
        margin: 10px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    header,
    section {
        padding: 30px 5px;
    }
    
    p {
        padding: 0 10px;
        font-size: 14px;
    }
    
    section li {
        font-size: 14px;
        padding: 12px;
    }
}

h1,
h2 {
    font-weight: 300;
    color: #252525; /* Consistent dark heading color */
}

h1 {
    font-size: 60px;
    margin-top: 0;
    padding-bottom: 20px;
    color: #fff;
    text-decoration: underline;
    font-weight: 900;
}

h2 {
    font-size: 42px;
    margin-top: 0;
    border-top: solid 1px #c4c4c4;
    border-bottom: solid 1px #c4c4c4;
    padding: 20px 0;
    margin-bottom: 40px; /* More space below headings */
    text-align: center;
    max-width: 800px; /* Limit width of section headings */
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 0;
    color: #252525;
}

.accent-text {
    display: block;
    color: #d93030; /* Your primary accent color */
    font-weight: 900;
}

h1 .accent-text {
    font-size: 80px;
}

h2 .accent-text {
    font-size: 60px;
}

.name,
time {
    font-weight: 900;
    color: #d93030;
}

p {
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Add some padding for text within sections */
}

a {
    color: #d93030;
    font-weight: 900;
    text-decoration: none; /* Remove underline from links */
}

a:hover,
a:focus {
    color: #131313;
    text-decoration: underline; /* Add underline on hover/focus */
}

.small-text {
    font-size: 16px;
    margin-top: 5px;
}

header,
section {
    padding: 80px 20px; /* Adjusted padding for sections */
}

.inverse {
    color: #fff;
    background: #252525; /* Dark background for inverse sections */
}

.inverse .btn:hover,
.inverse .btn:focus {
    background: #fff;
    color: #252525;
}

.btn {
    display: inline-block;
    color: #252525;
    text-decoration: none;
    background: #d93030; /* Your primary button color */
    padding: 12px 30px; /* Slightly larger padding for buttons */
    margin-top: 30px; /* More space above buttons */
    border-radius: 5px; /* Rounded corners for buttons */
    transition: all 0.3s ease-in-out; /* Smooth transitions for hover effects */
    font-weight: 700; /* Bolder button text */
    text-transform: uppercase; /* Uppercase text for buttons */
    letter-spacing: 1px;
}

.btn:hover,
.btn:focus {
    background: #252525;
    color: #d93030;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* More pronounced shadow on hover */
    transform: translateY(-3px); /* Slight lift effect */
}

/* Specific styles for project list items */
section ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto; /* Center the list and add margin below */
    max-width: 900px; /* Max width for project descriptions */
}

section li {
    background-color: #fff; /* White background for list items in light sections */
    color: #333;
    padding: 20px;
    margin: 15px 0; /* Space between list items */
    border-radius: 8px;
    text-align: center; /* Align text to the left within list items */
    font-size: 18px;
    line-height: 1.5;
}

.inverse section li {
    background-color: #333; /* Darker background for list items in inverse sections */
    color: #fff;
}

main {
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

footer {
    background-color: #252525;
    color: #fff;
    padding: 40px 20px;
    font-size: 18px;
    margin-top: 50px;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
}

nav {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* Mobile responsiveness for footer */
@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
        font-size: 16px;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 20px 10px;
        font-size: 14px;
    }
    
    nav {
        gap: 10px;
    }
}

