/* 1. Resetting the body margin to remove the white border */
body {
    margin: 0;
    /* 1. Applying the background image (wood shavings) */
    background: url(images/chuck-danger-s9QlFhP8b74-unsplash.jpg) center fixed;
    background-size: cover;
}

/* 2. Styling the Banner (Header) container */
#banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* Keeps branding left, nav right */
    padding: 5px 0 0 0;
}

/* 3. Styling the Branding (Logo area) */
#branding {
    padding: 5px 0 0 15px;
    /* Aligns visually with other elements */
}

/* 4. Styling the Navigation */
#global-nav ul {
    display: flex;
    /* Makes list items sit side-by-side */
    list-style: none;
    /* Removes bullets */
    padding: 0;
    margin: 0;
    padding-right: 15px;
}

#global-nav li {
    margin: 0 10px;
    /* Spacing between links */
}

#global-nav a {
    text-decoration: none;
    /* Removes underline */
    color: crimson;
    /* Sets link color */
}

#global-nav a:hover {
    color: black;
    /* Hover effect */
}

/* 5. Styling the Hero Section */
#hero {
    width: 100%;
    /* Forces it to new line */
    min-height: 250px;
    /* Ensures it has height */

    /* Hero Background Image */
    background: url(images/elena-rouame-NaR8wK5gsVw-unsplash.jpg) center fixed;
    background-size: cover;

    /* Flex layout for content inside Hero */
    display: flex;
    flex-direction: column;
}

/* Hero Paragraph Styling */
#hero p {
    font-size: 2em;
    width: 20%;
    margin-left: 10%;
    /* Sharing heading styles as mentioned in video */
    font-weight: bold;
}

/* Hero Button Styling */
#hero button {
    width: fit-content;
    margin-left: 10%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: black;
    color: white;
    cursor: pointer;
}

/* Wrapper styling to contain main content */
#wrapper {
    background-color: rgba(255, 255, 255, 0.9);
    /* Makes text readable over bg */
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}