@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
}

h1{
    font-size: 2.00rem;
    font-weight: 600;
    color: #e32726;

}

.smaller_text{
  font-size: 0.9rem;
}

#red_block {
    background-color: #e30613;
    width: 100%;
    color: #FFFFFF;
    font-size:1.75rem;
    font-weight: 400;
}
#yellow_block{
    background-color: #f8db00;
}

#main_block{
    background-color: #FFFFFF;
}

#grey_block{
    background-color: #f1f1f1;
}

/* margins below main block */
#red_block, #yellow_block,#main_block, #grey_block {
    margin-bottom: 0;
}

.title{
    font-size:1.75rem;
    font-weight: 400;
}

.bold_text{
    font-weight: 500;
}

p{
    margin-bottom: 1rem;
}

a.red, a.red:hover, a.red:active {
    color: #e30613;
    text-decoration: underline;
}
a.red:hover {
    text-decoration: none;
}

/* Make both banner container and grey form container share identical outer dimensions */
.container_block_grey {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-left: 2%;
    padding-right: 2%;
}

.container_block_grey {
    background-color: #f1f1f1;
}

/* Banner image fills its container exactly */
.container_block_100 {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.table {
  display: flex;
  width: 100%;
  align-items: center; /* Vertical alignment */
  justify-content: space-between; /* Horizontal alignment */
}

.left-column, .middle-column, .right-column {
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
}

.left-column {
  width: 49%;
}

.middle-column {
  width: 2%;
}

.right-column {
  width: 49%;
}

.yellow_images{
    width: 85%;
    margin-left: 7.5%;
    margin-right: 7.5%;
}

.form-container {
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
}

input,
textarea,
select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #DDDDDD;
    background-color: #FFFFFF;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #FF0000;
}

.error-message {
    color: #e30613;
    font-weight: 500;
    margin-top: 10px;
}

/* Keep checkboxes from expanding to 100% */
input[type=checkbox] {
    width: auto;
    margin-right: 0.5rem;
}

/* Ensure label and checkbox are left-aligned in one line */
.form-field label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 600px) {
    .table {
        flex-direction: column;
    }
    .left-column, .right-column {
        width: 100%;
        flex-direction: column; /* Force vertical stacking */
        justify-content: center;
    }
    .middle-column {
        display: none; /* Hide spacer on smaller screens */
    }
}
