/*
==================================================
  Responsive & Rounded-Corner Styles
==================================================
*/

/* 1. Global Reset */
* {
    /* Ensures padding and borders are included inside the element's total width/height */
    box-sizing: border-box;
}

/* Base Body Styles */
body {
    background-color: #3366FF; /* Original background color */
    color: #000000;
    margin: 0; 
    padding: 0;
}

/* 2. Responsive Container */
.main-container {
    /* The page will be centered and won't exceed 800px */
    max-width: 800px;
    /* Allows the container to shrink to the screen width */
    width: 100%; 
    margin: 0 auto; /* Center the container horizontally */
    background-color: #FFFFFF;
    padding: 0 10px; /* Small side padding for inner content */
}

/* 3. Responsive Images & Rounded Corners */
img {
    /* Critical for responsiveness: images will not exceed their container's width */
    max-width: 100%;
    /* Prevents image distortion */
    height: auto;
    /* Apply rounded corners to ALL images */
    border-radius: 15px;
    /* Remove any manually set borders */
    border: none !important;
    display: block; 
    margin: 0 auto; /* Center images */
}

/* Spacing for images */
.image-item {
    margin-bottom: 40px;
}

/* Adjust padding for the main text area */
.main-content-text {
    padding: 20px 15px; 
}


/* 4. Text Styles (from original HTML) */
.body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #333333;
    line-height: 1.5;
}

.bodyboldblack {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #000000;
    font-weight: bold;
    line-height: 1.5;
}

.bodyboldred {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #FF0000;
    font-weight: bold;
    text-align: center;
}

.head {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #FF0000
}

.bodyCopy {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #333333
}

/* 5. Utility Classes */
.text-center {
    text-align: center;
}

.content-section {
    padding: 20px 0;
}

/* 6. Media Query for small screens */
@media (max-width: 480px) {
    .bodyboldred {
        font-size: 18px; /* Slightly smaller heading on tiny screens */
    }
}