/* Style the overall page background and text font */
body {
    background-color: #092a3f;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Style main headings */
h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #503376;
    font-size: 7rem;
    white-space: nowrap; /* Prevents the heading from wrapping to the next line */
    text-align: center; /* Centers the heading text */
    margin-bottom: 10px;
}

/* Styles applied ONLY on screens 768px wide or smaller */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(2.7rem, 5vw, 5rem); /* Shrinks heading down so it fits better on smaller screens */
        padding: 1px; /* Adds padding to the heading for better spacing on smaller screens */
    }

    body {
        margin: 0 auto; /* Centers the layout */
        padding: 41px; /* Reduces padding on smaller screens for better fit */
        box-sizing: border-box; /* Ensures padding doesn't affect overall width */
    }

    p {
        font-size: 0.5rem; /* Adjusts paragraph text size for smaller screens */
    }

    img {
        display: block; /* Ensures the image is treated as a block element */
        margin-left: auto; /* Centers the image horizontally from the left */
        margin-right: auto; /* Centers the image horizontally from the right */
    }
}
/* Style paragraph text */
p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #026360;
}

/* Style images so they fit nicely */
img {
    max-width: 100%;
    height: auto;

    /* Frame styling */
    border: 4px solid #f1a815; /* Adds a border around the image */
    border-radius: 8px; /* Rounds the corners of the image */
    box-shadow: 0 4px 12px rgba(0, 0, 0,0.15);
    margin: 20px 0;
}

/* Style buttons or links */
a {
    display: inline-block;
    background-color: #4b0e63;
    color: rgb(71, 164, 201);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

a:hover {
    background-color: #2980b9;
}