.mylines.gap-6.pt-6
{
    padding-top: 0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.bouncealign
{
    position: absolute;
    z-index: 99;
}

.bg-black.ml15
{
    margin-left: 8%;
}

.bg-white-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(250 250 250 / var(--tw-bg-opacity, 1));
    background: #fff;
}
.nogrid div
{
    margin-top: 15px;
    margin-bottom: 15px;
}

.nogrid input 
{
    color: #000;
}
nav.bg-white .imagelogo
{
    width: 70%;
    height: auto;
}
.visible-xs
{
    display: none;
}


.last-center > :not(:last-child) {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .last-center > :last-child {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .hidden-xs
  {
    display: block;
  }
  
  .hidden-xs.mobile-mockup.inline-block
  {
    display: inline-block;
  }
  
  
  
  
  .gap-18 {
    gap: 25%;
}


@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md\:grid-cols-1 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    
    .last-grid-fix {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
      .last-grid-fix::after {
        content: "";
        grid-column: span 4; /* force new row for the last 3 */
      }


      /*

        .last-grid-fix > :nth-last-child(3),
        .last-grid-fix > :nth-last-child(2),
        .last-grid-fix > :last-child {
            grid-column: auto / span 1;  
        }
        .last-grid-fix > :nth-last-child(3) {
            grid-column-start: 2;  
        }
      */


      /*
        .last-grid-fix {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }

        .last-grid-fix > :nth-last-child(3) {
            grid-column: 1 / -1;       
            display: flex;
            justify-content: center;   
            gap: 2rem;                
        }

        .last-grid-fix > :nth-last-child(2),
        .last-grid-fix > :last-child {
            grid-column: auto;  
            }

      */


        .last-grid-fix > :nth-last-child(3) {
            grid-column: 1 / -3;
            display: block;
            justify-content: center;
            gap: 2rem;
            width: 50%;
            margin-left: 30%;

        }

        .last-grid-fix > :nth-last-child(2)
        {
            grid-column: auto;
            display: block;
            justify-content: center;
            gap: 2rem;
            width: 100%;
            margin-left: -35%;
        } 
        .last-grid-fix > :last-child {
            grid-column: auto;
            display: block;
            justify-content: center;
            gap: 2rem;
            width: 100%;
            margin-left: -30%;
        }


}



@media (max-width: 860px)
{
    .hidden-xs
    {
        display: none;
    }
    .hidden-xs.mobile-mockup.inline-block
    {
        display: none;
    }
    .space-y-4 .bg-clip-text
    {
        font-size: 28px;
        display: inline;
        line-height: 30px;
        letter-spacing: 0px;
        word-spacing: 0px;
    }
    .space-y-4 .text-white.opacity-90
    {
        font-size: 28px;
    }
    .leading-relaxed
    {
        font-size: 17px;
    }
    .ctawholebuttons
    {
        display: flex;
        flex-direction: row;
    }
    .ctawholebuttons button 
    {
        padding-left: 10px;
        padding-right: 10px;
        width: 50%;
    }

    .ctawholebuttons button i 
    {
        display: none;
    }
    .headcount
    {
        font-size: 23px;
        line-height: 30px;
    }
    .contentlist
    {
        font-size: 17px;
    }

    .griditems.md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .griditems .text-center
    {
        padding-left: 10px;
        padding-right: 10px;
    }
    .griditems h3
    {
        font-size: 15px;
    }
    .griditems p 
    {
        font-size:11px;
        color: #000;
    }

    #packages h2
    {
        font-size: 25px;
    }

    .appdownload h2
    {
        font-size: 25px;
    }
    .appdownload p 
    {
        font-size: 17px;
    }

    .appdownload .flex-col
    {
        flex-direction: row;
    }

    footer .md\:grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    footer div.flex a.w-10.h-10
    {
        width: 30px;
        height: 30px;
        padding-left: 5px;
        padding-right: 5px;
    }
    nav .alignmobile
    {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    nav .alignmobile .movelogo
    {
        margin-left: 15%;
    }
    nav.bg-white .imagelogo {
        width: 80%;
    }
    .visible-xs
    {
        display: block;
    }
    button.burgers
    {
        position: absolute;
        right: 10px;
    }
    .makemobilecenter
    {
        text-align: center;
    }
    .leading-tight {
        line-height: 25px;
    }
    p.makemobilecenter.text-xl
    {
        margin-top: 5%;
    }
    .topboxes
    {
        margin-top: 10px !important;
        padding-bottom: 10px !important;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .mylines.gap-6.pt-6
    {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    .aligngrids.lg\:grid-cols-4 
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .aligngrids .bg-primary
    {
        display: none;
    }
    .aligngrids .bg-black.ml15 {
        margin-left: 0;
        width: 100% !important;
        height: auto !important;
        min-height: 300px;
        max-height: 300px;
        overflow: hidden;
    }
    .aligngrids .feature-card
    {
        padding-left:5px;
        padding-right: 5px;
    }
    .aligngrids .feature-card h3 
    {
        font-size: 15px !important;
        text-align: center !important;
        width: 100% !important;
    }
    .aligngrids .feature-card p 
    {
        font-size: 13px;
        text-align: center;
        color: #000;
        min-height: 100px;
        max-height: 100px;
        overflow: hidden;
    }
    .aligngrids .feature-card img 
    {
        min-height: 230px;
        max-height: 230px;
        overflow: hidden;
    }
    
     .last-grid-fix > :last-child {
          margin-left: auto;
            margin-right: auto;
        /*grid-column: 1 / -1; /* span across all columns */
                margin-left: 50%;
      }
      
      .ctawholebuttons button
      {
                  border: 2px solid #fff;
      }
      .ctawholebuttons.flex
      {
              display: ruby-text;
      }
      
      .last-grid-fix > :last-child img
      {
          width: 100%;
          min-height: 250px;
          max-height: 250px;
      }
     
      .last-grid-fix > :last-child .bg-black.ml15
      {
          min-height: 240px;
          max-height: 240px;
      }
}