/* Reset some default styles */
body, h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    position: fixed;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    position: fixed;
    margin-left: 20px;
}

nav a {
    color: #fff;
}

.logo {
    max-width: 100px; /* Adjust the logo size as needed */
    height: auto;
}

/* Menu is visible by default */
#menu {
    display: block;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero img {
    width: 100%;
    height: auto;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

/* General Section Styles */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
}

.btn-primary {
    background-color: #28a745;
}

/* Newsletter */
.newsletter {
    background-color: #f8f9fa;
    text-align: center;
}

.newsletter input[type="email"] {
    padding: 10px;
    margin-top: 20px;
    width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .hero {
        padding: 50px 20px;
    }

    .hero-content {
        padding: 20px;
    }

    nav ul {
        flex-direction: column;
        background-color: #333;
        position: absolute;
        width: 100%;
        left: 0;
        top: 60px;
        display: none;
    }

    nav ul li {
        text-align: center;
        margin: 10px 0;
    }

    nav ul.show {
        display: block;
    }

    .newsletter input[type="email"] {
        width: 80%;
    }
    /* Hides the menu by default on smaller screen sizes */
    #menu {
        display: none;
    }

    /* Shows the menu when the visible class is toggled */
    #menu.visible {
        display: block;
    }
}
