body {
    margin: 0;
    font-family: Arial, sans-serif;
}

#home-page header, #about-page header, #services-page header, #contact-page header, header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 10px;
    text-align: center;
}

#home-page header {
    background-image: url('../images/electricalpanel1.jpeg');
}

#about-page header {
    background-image: url('../images/electricalpanel2.jpeg');
}

#services-page header {
    background-image: url('../images/ohmmeter.jpeg');
}

#contact-page header {
    background-image: url('../images/wiring.jpeg');
}

header {
    background-image: url('../images/solarpanels.jpeg');
}

h1 {
    font-size: 48px;
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.header-h1 {
    margin: 10;
    font-size: 48px;
    text-align: center;
    color: #ffffff; 
    font-weight: bold; 
    text-shadow: 8px 8px 16px rgba(0, 0, 0, 0.5);
  }

h2 {
    font-size: 36px;
    text-align: center;
}

h3 {
    font-size: 24px;
    text-align: center;
}

h4, p {
    font-size: 18px;
    text-align: center;
}

ul {
    list-style-type: none;
    text-align: center;
}

nav {
    background-color: #ffde59;
    color: white;
    padding: 10px;
} 

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: black;
    text-decoration: none;
}

main {
    padding: 20px;
}

footer {
    background-color: #ffde59;
    color: black;
    text-align: center;
    padding: 10px 15px;
    width: 100%;
}

.logo {
    width: 100px;
    height: auto;
    display: none;
}

@media only screen and (max-width: 600px) {
    body {
        font-size: 18px;
    }

    nav ul {
        text-size-adjust: 5px;
    }

    footer {
        padding: 10px 5px;
        word-wrap: break-word;
        word-break: break-all;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1200px) {
    body {
        font-size: 24px;
    }

    .container {
        padding: 10px;
    }

    form input[type="text"], 
    form input[type="tel"], 
    form input[type="email"], 
    form textarea,
    form input[type="submit"] {
        font-size: 18px;
    }
}

@media only screen and (min-width: 1200px) {
    header {
        padding-top: 210px;
    }

    .logo {
        display: block; 
        position: absolute;
        padding-left: 10px;
        padding-right: 10px;
        left: 10px; 
        top: 10px;
    }

    nav {
        margin-top: 5px;
        clear: both;
    }

    .logo-link {
        text-decoration: none;
    }

    body {
        font-size: 36px;
    }

    ul li {
        display: inline;
        margin: 0 10px;
    }

    .container {
        width: 40%;
        margin: 0 auto;
    }

    form input[type="text"], 
    form input[type="tel"], 
    form input[type="email"], 
    form textarea,
    form input[type="submit"] {
        font-size: 20px;
    }
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 15px;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input[type="text"], 
form input[type="tel"], 
form input[type="email"], 
form textarea {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
}

form textarea {
    resize: none;
    height: 150px;
}

form input[type="submit"] {
    background-color: #333;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

form input[type="submit"]:hover {
    background-color: #4CAF50;
}
