body {
    margin: 0;
    /* font-family: Judson; */
    font-family: 'Merriweather';
    background: #f3f4f6;
    min-height: 100vh;
}
.hero {
    position: relative;
    background: url('https://bgwservices.com/wp-content/uploads/2022/06/CFC-Hayward-words.webp') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem;
}
.text-container {
    color: white;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    width: 55%; 
    align-self: flex-end;
    margin-bottom: 2rem;
    margin-right: 0;
    padding-left: 2rem; 
    /* display: flex-row; 
    justify-items: end; */
}

h1{
    font-size: 4em;
    text-align: right; 
}

.red-rectangle {
    background: rgba(160, 30, 34, 0.75);
    color: white;
    padding: 1rem;
    width: 40%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.red-rectangle h2{
    padding: 1rem;
}

.animate-in {
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 1s forwards ease-out;
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.button {
    background: white;
    color: black;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 500px;
    cursor: pointer;
    transition: background 0.2s;

    font-family: 'Merriweather';
    font-size: 2rem; 
}
.button:hover {
    background: #e5e7eb;
}

.button h3, .button h5{
    padding: 0rem; 
    margin: 0.5rem; 
} 

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
    }
    h1{
        font-size: 2.25em; 
        text-align: center; 
    }
    .text-container {
        text-align: center;
        margin-bottom: 1rem;
        align-self: auto;
        margin-right: 0;
         
    }
    .red-rectangle {
        max-width: none;
        width: 100%;
        height: 66%;
        justify-content: center;
        padding: 0rem;
    }

   
}
