<div id="cgs-content">
   <div id="cgs-body">
       <div class="cgs-banner">
           <div class="cgs-image">
               <img src="https://static1.squarespace.com/static/5fd00e2224f9a61b85ed6f2e/t/684b36949a1ef75b658d07d8/1749759653927/shutterstock_2132399053.jpg">
           </div>
       </div>
       <div class="cgs-form">
           <div class="container">
               <h2>Community Garage Sale</h2>
               <span>Touchless Registration</span>
               <br>
               <div class="qr-container">
                   <img src="https://static1.squarespace.com/static/5fd00e2224f9a61b85ed6f2e/t/684b48fb3eb02f14aae819ae/1749764347639/Screenshot+2025-06-12+at+2.36.16%E2%80%AFPM.png">
               </div>
               <br>
               <span>Having trouble scanning the QR Code?</span>
               <!-- <a href="/wine-walk-2025-qr" target="_blank" class="qr-link">
                   Register Here
               </a> -->
               <br>
               <squarespace:block-field id="cgs-reg"></squarespace:block-field>
           </div>
       </div>
   </div>
   <div id="cgs-footer">
       <div class="cgs-text">
           <div>
               <strong>Win a FREE Home Cleaning!</strong>
               <p>Breathe easier and enjoy a sparkling clean home - on us! We're giving one lucky winner a complimentary professional home cleaning to help take something off your to-do list. Whether you're getting ready to entertain, just moved in, or simply deserve a break, this is your chance to sit back while we do the scrubbing.</p>
               <br>
               <h3>Entering is Easy: Just fill out the form below — that's it! No strings attached. Just the chance to enjoy a cleaner, fresher home.</h3>
           </div>
       </div>
       <div class="cgs-logo">
           <img src="https://images.squarespace-cdn.com/content/v1/5fd00e2224f9a61b85ed6f2e/c4114fa3-2810-44bb-85e9-9fb18c39fbbf/logo.png">
       </div>
   </div>
</div>

<style>
    #cgs-body {
        display:flex;
        width: 100%;
        justify-content: flex-start;
        height: 75vh;
    }
    .cgs-banner {
        width: 65%;
        display: flex;
        /*height: 80vh;*/
    }
    .cgs-image {
        width: 100%;
        height: 100%;
    }
    .cgs-image img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .cgs-form {
        width: 35%;
        background-color: #697a61;
    }
    .cgs-form .container {
        padding: 50px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    h2 {
        font-size: 3vw;
        color: #fff;
    }
    span {
        color: wheat;
    }
    .qr-container {
        max-width: 260px;
        background-color: #fff;
        border-radius: 20px;
        padding: 10px 10px 5px 10px;
    }
    .qr-link {
        margin-top: 15px;
        background: white;
        padding: 5px 20px;
        border-radius: 20px;
        opacity: 1;
        transition: opacity 0.3s linear;
    }
    .qr-link:hover {
        opacity: 0.7;
    }
    #cgs-footer {
        display: flex;
        align-items: center;
        width: 100%;
        height: 25vh;
    }
    .cgs-text {
        width: 65%;
        text-align: center;
        padding: 0 50px;
    }
    .cgs-logo {
        width: 35%;
        text-align: center;
    }
    .cgs-logo img {
        width: 65%;
    }

    /*responsiveness*/
    @media only screen and (max-width: 1440px) {
        .cgs-form .container {
            padding: 15px;
        }
        .qr-container {
            width: 200px;
        }
        strong, p {
            font-size: 1.35vw;
            line-height: 1;
        }
    }
    @media only screen and (max-width: 1024px) {
        .qr-container {
            width: 170px;
        }
    }
    @media only screen and (max-width: 640px) {
        #cgs-body, #cgs-footer {
            flex-direction: column !important;
            height: auto;
        }
        .cgs-banner, .cgs-form, .cgs-text, .cgs-logo {
            width: 100%;
        }
        strong, p {
            font-size: 100%;
        }
        .cgs-image {
            height: auto;
        }
        h2 {
            font-size: 8vw;
        }
        .cgs-text {
            padding-top: 15px;
        }
        .cgs-logo {
            margin-top: 20px;
        }
    }
</style>