body
{
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}
.navbar
{
    /*background-color: #333;*/
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}
#datetime
{
    padding: 5px;
    text-align: right;
    font-size: 0.9em;
    font-weight: bold;
}
    @media (max-width: 600px) {
    #datetime
    {
       display:none;
    }    
}
.container-fluid.banner
{
    background-image: url(complibannerSW.png);
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    height: 27vh;
    min-height: 120px;
}
@media (max-width: 1024px) {
    .container-fluid.banner {
        height: 18vh;
        min-height: 80px;
    }
}
@media (max-width: 480px) {
    .container-fluid.banner {
        height: 9vh;
        min-height: 75px;
    }
}

/*.w3-display-container{
    width: 100%;
    height: 40vh; /* SHRINKS on smaller screens */
   /* min-height: 120px; /* prevents collapsing too far */
   /* margin-top: 2px;
    background-image: url(complibannerSW.png);
    background-size: contain; /* fills width properly */
   /* background-position: left center;
    background-repeat: no-repeat;
}*/
/*@media (max-width: 1024px) {
    .w3-mobile .banner {
        height: 15vh;
        min-height: 80px; /* further shrink on very small screens */
     /*   aspect-ratio: 16 / 9; /* maintain aspect ratio */
      /*  background-size: cover; /* scale down the image */
    }
}
/*.banner
{    width: 100%;
    height: 40vh;                 /* SHRINKS on smaller screens */
   /* min-height: 120px;            /* prevents collapsing too far */
   /* margin-top: 2px;
    background-image: url(complibannerSW.png);
    background-size: contain;       /* fills width properly */
  /*  background-position: left center;
    background-repeat: no-repeat;
}*/

header {
   /* width: 100%;
    height: 15vh;                 /* SHRINKS on smaller screens 
    min-height: 120px;             prevents collapsing too far 

    background-image: url(complibannerSW.png);
    background-size: contain;        fills width properly 
    background-position: left center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;*/
}




h2
{
    text-align: center;
    font-size: 2.5em;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* subtle shadow for readability */
    margin: 20px; /* spacing from edges */
}
.info-text
{
    font-size: 1.2em;
    color: #333;
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
    width: 60%;
}

/*.benner-text
{
    display: flex;
    flex-direction: column;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);   
}
.benner-text p
{
    font-size: 1.5em;
    color: blue;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.benner-text h1
{
    font-size: 3.5em;
    margin: 0;
}*/  

@media (max-width: 1024px) {
    .banner {
        background-size: contain; /* scale down the image */
        height: 15vh;
        min-height: 120px;
        background-position: left center; /* optional: keeps left side visible */
        background-image: url(complibanner_iPad.png);

    }
}
@media (max-width: 480px) {
    .banner {
        height: 9vh;
        min-height: 75px;
    }

    .panel {
        max-width: 100%;
        padding: 15px;
    }

    .info-text {
        width: 90%;
        max-width: 100%;
        font-size: 1em;
    }
}


/*.benner-text
{
    justify-content: left;
    width: 50%;
    text-align: left;
    margin-left: 5px;
}*/
section
{
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 90%;
    padding: 20px;
}
@media (max-width: 600px) {
    section
    {
        flex-direction: column;
        padding: 10px;
    }
}
h1, h2
{
    color: #333;
}
.panel
{
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 95%;
    padding: 20px;
}
.card
{
    width: 100%;
    box-sizing: border-box;    
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 15px;
}
.card-about
{
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 20px auto;
    /*max-width: 800px;*/
    padding: 15px;
}
li
{
    margin-bottom: 10px;
    color: black;
}
footer
{
    background-color: #333;
    color: white;
    padding: .8em;
    text-align: left;
    margin-top: 1em;
}