/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    text-align: center;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
    height: 100%;
    font-size: 16px;
    margin-top: 50px;
}

.buying {
    background-color: silver;
}

.bulleted-list {
    list-style-type: disc;
    text-align: center;
    padding: 0;
}

.bulleted-list li {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.hero .logo {
    border: 8px solid white;
    padding: 0px;
    border-radius: 0px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

img {
    max-width: 100%;
}

/* Header and Navigation */
nav {
    overflow: hidden;
    background-color: grey;
    position: fixed;
    width: 100%;
    margin-bottom: 0;
    z-index: 1000;
    top: 0;
    left: 0;
}

.nav {
    margin-bottom: 0;
    position: relative;
    z-index: 100;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.nav-links li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.nav-links a:hover {
    background-color: #555;
    color: white;
}

.nav-links a.active {
    background-color: grey;
    color: white;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    float: right;
    padding: 14px 16px;
    cursor: pointer;
    color: white;
    font-size: 24px;
    height: 100%;
}

.menu-toggle i {
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #8b8b8b, #d3d3d3);
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    margin-top: 0;
    position: relative;
    padding: 4rem 1rem;
    z-index: -1px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

.hero img {
    border: solid 6px white;
    width: 750px;  /* Adjust this value as needed */
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 2.5rem;
}

.hero .number {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    max-width: 100%;
    gap: 70px;
}

.about:nth-child(even) {
    flex-direction: row-reverse;
}

.about img {
    max-width: 38%;
    padding: 10px;
    margin-bottom: 0;
    flex-shrink: 0;
    object-fit: cover;
}

.about h2, .about p {
    margin: 0px;
    text-align: center;
    font-weight: lighter;
}

.about figcaption {
    flex: 1;
    padding: 0 20px;
    max-width: 500px;
}


/* Footer */
.footer {
    background-color: grey;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0rem;
}

.footer-left, .footer-right {
    text-align: center;
    margin-bottom: 1rem;
}

/* Media Queries */
@media screen and (max-width: 798px) {
    .menu-toggle {
        display: block;
    }
      
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.show {
        display: flex;
        flex-direction: column;
    }

    .nav-links li {
        float: none;
    }

    .nav-links li a {
        text-align: left;
    }
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .about {
        flex-direction: column; /* Stack image and text vertically on smaller screens */
        align-items: center;
    }

    .about:nth-child(even) {
        flex-direction: column; /* Ensure even items also stack vertically */
    }

    .about img {
        max-width: 100%; /* Allow images to scale down on smaller screens */
	    margin: 0;
        padding-bottom: 0;
    }

    .about figcaption {
        width: 100%;
        padding: 0;
        text-align: center;
        margin-top: 0;
    }

    .about h4,
    .about p {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
