html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #001322;
    color: #fff;
    font-family: 'Inter';
    font-size: 1rem;
}

.page-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    height: 15vh;
    width: 100%;
    min-width: 320px;
    position: relative;
    overflow: hidden; 
}

.header_back {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    object-position: center;  
}

.header_back_layer {
    background-color: rgba(0, 19, 34, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
}

.header_front {
    position: absolute;
    top: 0%;
    left: 0%;       /* some margin from left edge */
    z-index: 10;
    display: block;
    height: 100%;
    width: auto;
}

main {
    display: flex;
    gap: 2rem;
    flex-direction: column;
    width: 80%;
  }

.about{
    width: 35%;
    padding-top: 5rem;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 2 equal columns */
    grid-template-rows: auto auto auto;
    column-gap: 20%;                        
    row-gap: 2rem;
    align-items: stretch;            /* optional, but helps clarify intention */
}

.separator {
    height: 3px;
    background-color: #fff;
}

.list {
    list-style: none;       /* remove default bullets */
    padding-left: 0;        /* remove default left padding */
    margin: 0;
}

.list li::before {
    content: "✓ ";          /* check mark */
    font-weight: bold;
  }


 
footer {
    flex-shrink: 0;
    background-color: #001322;  /* dark background, matching your header overlay */
    color: #fff;
    font-family: 'Inter';
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 2rem 0rem;
    gap: 1rem;
  }
  
  footer .evaluation {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-left: 10%;
  }
  
  footer .email {
    color: #fff;  /* nice accent color for link */
    text-decoration: none;
  }
  
  footer .email:hover,
  footer .email:focus {
    text-decoration: underline;
  }
  
  .footer_logo {
    max-height: 60px;
    width: auto;
    user-select: none;
  }
  
  /* Responsive: stack on small screens */
  @media (max-width: 810px) {
    .row {
        grid-template-columns: 1fr;    /* single column */
        grid-template-rows: auto;
    }

    .about {
        width: 100%;
    }

    .sell {
        grid-row: 1;
    }

    .sell_list {
        grid-row: 2;
    }

    .withus {
        grid-row: 4;
    }
    
    .withus_list {
        grid-row: 5;
    }

    #right_separator {
        display: none;
    }

    footer {
      width: 100%;
      flex-direction: column;
      text-align: center;
      padding: 3rem 0rem 2rem 0rem;
    }

    footer .evaluation {
        margin-left: 0%;
    }

    .footer_logo {
      margin-top: 1rem;
    }
  }