/* styles.css */
* {
    box-sizing: border-box;
    margin: 20;
    padding: 0;
}

body {
    font-family: "Palanquin Dark", Sans-serif;
    line-height: 1.6;
}

header {
    background: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

header h1, nav a {
    margin: 0.5rem;
}

nav a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
}

nav a:hover {
    color: white;
}

main {
    padding: 20px;
}

section {
    font-family: Arial, Sans-serif;
}

#hero {
    background: url('world_clock_screensaver_hero.jpg') no-repeat center center/cover;
    color: white;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* This is necessary for properly positioning the pseudo-element */
    overflow: hidden; /* This ensures that the pseudo-element doesn't go outside the hero container */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit; /* Inherits the background image */
    filter: blur(10px); /* Apply the blur effect */
    z-index: -1; /* Places the overlay behind the content */
}

.hero-content > h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #4f39bb;
    font-weight: bold;
    /* background-color: #e0e0e0; Background color for the text */
    padding: 10px; /* Padding around the text */
    display: inline; /* Makes the background only as wide as the text */
    line-height: 1.2; /* Adjust line height as needed */

    /* Add glow effect */
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #4f39bb, 0 0 40px #4f39bb; /* Adjust the color and size as needed */
}

.hero-content > p {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    padding: 10px; /* Padding around the text */
}

.city-clock {
    text-align: center;
    margin: 10px;
    padding: 20px;
    border: 1px solid #ddd;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
}

#wcssButton {
    /* Size */
    padding: 10px 20px;
    font-size: 16px;

    /* Colors and Borders */
    background-color: #4f39bb; /* Green background */
    color: white; /* White text */
    border: none;
    border-radius: 5px; /* Rounded corners */

    /* Text Style */
    font-weight: bold;
    text-transform: uppercase; /* Uppercase text */

    /* Interaction */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition for hover effect */

    /* Box Shadow */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Adds a subtle shadow */
}

#wcssButton:hover {
    background-color: #6a56d6; /* Darker shade of green */
    transform: scale(1.05); /* Slightly increase size */
}

#wcssButton:active {
    transform: scale(0.95); /* Slightly decrease size when clicked */
}

@media screen and (min-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        padding: 0 10%;
        align-items: center;
    }

    .city-clock {
        display: inline-block;
        width: calc(33% - 20px);
    }

    #hero {
        height: 400px;
    }
}
