@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;
}

body {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
}

.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: 2rem;
}                           

.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;
}

.container_block {
    max-width: 1280px;
    width: 95%;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 20px;
    padding-bottom: 20px;    
}

.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 {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #DDDDDD;
    background-color: #FFFFFF;
    box-sizing: border-box;
    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;
}

@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 */
  }
}
