body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    display: flex;
    flex-direction: column; /* Stack header on top of content */
    align-items: center;
    height: 100vh;
}

header {
    padding: 1em;
}

.logo {
    max-width: 100%; /* Make sure the logo doesn't exceed its container */
    transform: scale(1);
    height: 100px;
}

.content {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 20px; /* Adjust the gap value as needed */
    padding: 0 0 30px;
}

.block {
    grid-column: span 1;
    background-color: #BE1D30;
    text-align: center;
    padding: 1em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    min-width: 300px; /* Set a maximum width for responsiveness */
    max-width: 300px; /* Set a maximum width for responsiveness */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.block:hover {
    transform: scale(1.05);
    background-color: green;
}

.block h2 {
    color: #fff; /* Set text color to white */
    min-height: 60px;
    max-height: 60px;
}

.block .btn-container {
    display: contains;
}

.block .dual-btn {
    display: flex;
    justify-content: space-between;
}

.block .single-btn {
    display: flex;
}

.cta-button {
    flex: 1;
    text-decoration: none;
    background-color: #fff;
    color: #BE1D30; /* Set button text color to the primary color */
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #BE1D30; /* Change background color on hover */
    color: #fff; /* Change text color on hover */
    border: 1px solid #fff;
}

.block .single-btn .cta-button {
    width: 100%;
}

.mt-6 {
    margin-top: 6px;
}

.ml-3 {
    margin-left: 3px;
}

.mr-3 {
    margin-right: 3px;
}

/* Large desktop */
@media (min-width: 1200px) {
    .content {
        grid-template-columns: auto auto auto auto;
    }
}
 
/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
    .content {
        grid-template-columns: auto auto auto;
    }
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .content {
        grid-template-columns: auto auto;
    }
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
    .content {
        grid-template-columns: auto;
    }
}