#home-content {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}
#benefits-content {
    background-color: #f2f2f2; /* A light gray background */
    padding: 20px;
    margin: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
#diy-content {
    background-color: #e9e9e9; /* Slightly darker gray than benefits for differentiation */
    padding: 20px;
    margin: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(white, lightgrey);
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}
.container {
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

/* Header styles */
header {
    background-color: #333;
    color: #fff;
    padding-top: 0.5rem;
    padding-bottom: 5px;
    width: 100%;
    height: 7rem;
    display: flex;
    justify-content: space-between;
    align-items: end;
}


.header-title {
    margin-right: auto;
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem 0.5rem 8rem;
    background-color: #cc5500;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Navigation styles */
nav {
    height: 40px;
    background-color: slategrey;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 1.5rem;
    margin-right: 1rem;
    transition: background-color 0.5s, border-radius 0.5s;
    z-index: 1;
    position: relative;
    display: flex;
}

/*WHYYY DID I INSIST ON THESE CSS LINES AND A SVG SINE WAVE??? THIS IS DUE IN 40 MINS??? WHAT'S WRONG WITH ME??*/

nav a:nth-child(1)::after,
nav a:nth-child(2)::after,
nav a:nth-child(3)::after,
nav a:nth-child(4)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -3px;
    width: 2px;
    height: 50%;
    background-color: white;
    transform: translateY(-50%);
    z-index: 0;
}

nav a:nth-child(2)::before,
nav a:nth-child(3)::before,
nav a:nth-child(4)::before{
    content: '';
    position: absolute;
    top: 50%;
    left: -3px;
    width: 2px;
    height: 50%;
    background-color: white;
    transform: translateY(-50%);
    z-index: 0;
}

nav a:hover {
    background-color: #0096FF;
    border-radius: 10px;
}

.wave{
    flex: 1;
    position: relative;
}
.wave::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 55%;
    background-color: white;
    transform: translateY(-50%);
    z-index: 0;
}

/* Main content styles */
main {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    background-color: #fff;
    margin: 2rem 2rem;
    box-shadow: 0 0 10px darkgrey;
}

.container > main {
    padding: 2rem;
}

section, aside {
    flex: 1;
}

section {
    margin-right: 1rem;
}

aside {
    margin-left: 1rem;
}

/* Image styling */
.topic-image {
    width: 100%;
    max-width: 400px;
    margin: 1rem 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Heading styles */
h1, h2, h3 {
    margin-bottom: 1rem;
}

/* Paragraph and list styles */
p, ul {
    margin-bottom: 1rem;
}

ul {
    list-style-type: disc;
    padding-left: 1rem;
}

/* Footer styles */
footer {
    display: flex;
    justify-content: left;
    align-items: flex-end;
    height: 5rem;
    background-color: #333;
    width: 100%;
}

.footer-content p {
    color: grey;
    margin: 0;
    padding: 1.5rem 1.5rem;
}

