/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Section */
.header {
    background-color: #b4d7d7;
    padding: 20px;
    text-align: center;
}

.header h1 {
    font-size: 1.5em;
    color: #333;
}

/* Main Content Section */
.content {
    flex: 1;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.content p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #333;
}

.content strong {
    font-weight: bold;
}

/* Footer Section */
.footer {
    background-color: #b4d7d7;
    color: #333;
    padding: 20px;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.2em;
        padding: 15px;
    }
    
    .content {
        padding: 15px;
        max-width: 90%;
    }
    
    .content p {
        font-size: 0.95em;
        margin-bottom: 12px;
    }

    .footer {
        padding: 15px;
    }

    .footer p {
        font-size: 0.85em;
    }
}

/* Additional Scaling for Small Mobile Devices */
@media (max-width: 480px) {
    .header h1 {
        font-size: 1em;
        padding: 10px;
        line-height: 1.2;
    }

    .content {
        padding: 10px;
    }

    .content p {
        font-size: 0.9em;
        line-height: 1.4;
    }

    .footer {
        padding: 10px;
    }

    .footer p {
        font-size: 0.8em;
        line-height: 1.3;
    }
}

/* Scaling for Very Small Screens (e.g., older smartphones) */
@media (max-width: 320px) {
    .header h1 {
        font-size: 0.9em;
        padding: 8px;
    }

    .content p {
        font-size: 0.85em;
    }

    .footer p {
        font-size: 0.75em;
    }
}
