body {
    margin: 0;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #2e5d92;
}

.grid-container {
    display: grid;
    /* First column fixed at 340px, others flexible */
    grid-template-columns: 340px auto auto;
    /* All rows flexible */
    grid-template-rows: auto auto auto auto;
    gap: 10px;
    width: 100%; /* Responsive width */
    max-width: 1250px; /* Max width for desktop */
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.grid-item-center {
    background-color: #e0e0e0;
    opacity: 0.85; /* So background shows through */
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    padding: 10px;
    text-align: center;
}

.grid-item-left {
    background-color: #e0e0e0;
    opacity: 0.85; /* So background shows through */
    border: 1px solid #ccc;
    display: flex;
    justify-content: left;
    align-items: left;
    font-size: 1.2em;
    padding: 10px;
    text-align: left;
}

/* Colspans */
.item-colspan-1 {
    grid-column: span 1; /* Spans 2 columns */
}

.item-colspan-2 {
    grid-column: span 2; /* Spans 2 columns */
}

.item-colspan-3 {
    grid-column: span 3; /* Spans 3 columns */
}

.footer-colspan-3 {
    grid-column: span 3; /* Spans 3 columns */
    align-items: center;
    font-size: 1.2em;
    padding: 10px;
    text-align: center;
}

/* Image size, but overwritten in HTML */
.item-image-1 {
    width: 200;
    height: 160;
}

/* For the main title */
h1 {
    text-align: center;
    font-size: 96px;
    margin: 0;
    display: block;
}

/* For the main text */
h2 {
    text-align: left;
    font-size: 22px;
    margin: 0;
}

/* For sub text */
h3 {
    text-align: left;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

/* For offer text */
h4 {
    text-align: left;
    font-size: 20px;
    font-weight: normal;
    margin: 0;
}

/* For Name under image */
h5 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* For text under name */
h6 {
    text-align: center;
    font-size: 16px;
    font-weight: normal;
    margin: 0;
}

/* Sets up background picture */
.background-container {
    position: fixed; /* Fixes background to viewport */
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url('../images/LogoMinusBackground.png'); /* Replace with your image path */
    background-size: 55%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2; /* Puts background behind content */
}

/* Adds the opactity mask over background */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Black overlay with 95% opacity */
    z-index: -1; /* Puts overlay between background and content */
}

/* Adds the transparency mask over foreground */
.content {
    background-color: rgba(0, 0, 0, 0.3); /* Optional: semi-transparent background for content */
    z-index: 1; /* Puts content above overlay */
}

/* Sets up nav background */
nav {
    background-color: #333;
    padding: 10px 0;
    font-size: 30px;
}

/* Target the list to remove default styling */
.horizontal-list {
    list-style-type: none; /* Removes the bullet points */
    margin: 0;
    padding: 0;
    text-align: center; /* Centers the whole list */
}
/* Make the list items display horizontally */
.horizontal-list li {
    display: inline-block; /* Key step for side-by-side display */
    margin: 0 15px; /* Adds space between the list items */
}

/* Style the links */
.horizontal-list li a {
    color: white;
    text-decoration: none; /* Removes the underline from links */
    padding: 8px 15px;
    transition: background-color 0.3s;
}

/* Add hover effect */
.horizontal-list li a:hover {
    background-color: #555;
    border-radius: 5px;
}

/*************************************************************************
*
* Tablet or Mobile Landscape responsive adjustments
*
**************************************************************************/
@media (max-width: 1024px) {

    .grid-container {
    display: grid;
    /* First column fixed at 250px, others flexible */
    grid-template-columns: 250px auto auto;
    /* All rows flexible */
    grid-template-rows: auto auto auto auto;
    gap: 5px;
    width: 100%; /* Responsive width */
    max-width: 1024px; /* Max width for desktop */
    padding: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }

    .grid-item-center {
        background-color: #e0e0e0;
        opacity: 0.85; /* So background shows through */
        border: 1px solid #ccc;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.8em;
        padding: 5px;
        text-align: center;
    }

    .grid-item-left {
        background-color: #e0e0e0;
        opacity: 0.85; /* So background shows through */
        border: 1px solid #ccc;
        display: flex;
        justify-content: left;
        align-items: left;
        font-size: 0.4em;
        padding: 5px;
        text-align: left;
    }

    /* Colspans */
    .item-colspan-1 {
        grid-column: span 1; /* Spans 2 columns */
        margin: 0;
    }

    .item-colspan-2 {
        grid-column: span 2; /* Spans 2 columns */
        margin: 0;
    }

    .item-colspan-3 {
        grid-column: span 3; /* Spans 2 columns */
        margin: 0;
    }

    .footer-colspan-3 {
    grid-column: span 3; /* Spans 3 columns */
    align-items: center;
    font-size: 1.2em;
    padding: 10px;
    text-align: center;
    }

    /* Image size, but overwritten in HTML */
    .item-image-1 {
        width: 50;
        height: 60;
    }

    /* For the main title */
    h1 {
        text-align: center;
        font-size: 64px;
        margin: 0;
        display: block;
    }

    /* For the main text */
    h2 {
        text-align: left;
        font-size: 20px;
        margin: 0;
    }

    /* For sub text */
    h3 {
        text-align: left;
        font-size: 16px;
        font-weight: normal;
        margin: 0;
    }

    /* For offer text */
    h4 {
        text-align: left;
        font-size: 16px;
        font-weight: normal;
        margin: 0;
    }

    /* For Name under image */
    h5 {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        margin: 0;
    }

    /* For text under name */
    h6 {
        text-align: center;
        font-size: 12px;
        font-weight: normal;
        margin: 0;
    }

    /* Sets up background picture */
    .background-container {
    position: fixed; /* Fixes background to viewport */
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url('../images/LogoMinusBackground.png'); /* Replace with your image path */
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2; /* Puts background behind content */
}

    /* Adds the opactity mask over background */
    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7); /* Black overlay with 95% opacity */
        z-index: -1; /* Puts overlay between background and content */
    }

    /* Adds the transparency mask over foreground */
    .content {
        background-color: rgba(0, 0, 0, 0.3); /* Optional: semi-transparent background for content */
        z-index: 1; /* Puts content above overlay */
    }

    /* Sets up nav background */
    nav {
        background-color: #333;
        padding: 10px 0;
        font-size: 20px;
    }

    /* Target the list to remove default styling */
    .horizontal-list {
        list-style-type: none; /* Removes the bullet points */
        margin: 0;
        padding: 0;
        text-align: center; /* Centers the whole list */
    }
    /* Make the list items display horizontally */
    .horizontal-list li {
        display: inline-block; /* Key step for side-by-side display */
        margin: 0 15px; /* Adds space between the list items */
    }

    /* Style the links */
    .horizontal-list li a {
        color: white;
        text-decoration: none; /* Removes the underline from links */
        padding: 8px 15px;
        transition: background-color 0.3s;
    }

    /* Add hover effect */
    .horizontal-list li a:hover {
        background-color: #555;
        border-radius: 5px;
    }
}

/*************************************************************************
*
* Mobile Portrait responsive adjustments
*
**************************************************************************/
@media (max-width: 768px) {
    .grid-container {
    display: grid;
    /* Only one column wide */
    grid-template-columns: auto;
    /* All rows flexible */
    grid-template-rows: auto auto auto auto;
    gap: 5px;
    width: 100%; /* Responsive width */
    max-width: 768px; /* Max width for desktop */
    padding: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    }

    .grid-item-center {
        background-color: #e0e0e0;
        border: 1px solid #ccc;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.8em;
        padding: 5px;
        text-align: center;
    }

    .grid-item-left {
        background-color: #e0e0e0;
        border: 1px solid #ccc;
        display: flex;
        justify-content: left;
        align-items: left;
        font-size: 0.4em;
        padding: 5px;
        text-align: left;
    }

    /* Colspans (Override to make all one) */
    .item-colspan-1 {
        grid-column: span 1; /* Spans 1 columns */
        margin: 0;
    }

    .item-colspan-2 {
        grid-column: span 1; /* Spans 1 columns */
        margin: 0;
    }

    .item-colspan-3 {
        grid-column: span 1; /* Spans 1 columns */
        margin: 0;
    }

    /* Image size, but overwritten in HTML */
    .item-image-1 {
        width: 50;
        height: 60;
    }

    /* For the main title */
    h1 {
        text-align: center;
        font-size: 50px;
        margin: 0;
        display: block;
    }

    /* For the main text */
    h2 {
        text-align: left;
        font-size: 18px;
        font-weight: normal;
        margin: 0;
    }

    /* For sub text */
    h3 {
        text-align: left;
        font-size: 12px;
        font-weight: normal;
        margin: 0;
    }

    /* For offer text */
    h4 {
        text-align: left;
        font-size: 18px;
        font-weight: normal;
        margin: 0;
    }

    /* For Name under image */
    h5 {
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        margin: 0;
    }

    /* For text under name */
    h6 {
        text-align: center;
        font-size: 12px;
        font-weight: normal;
        margin: 0;
    }

    /* Sets up background picture (none)*/
    .background-container {
    position: fixed; /* Fixes background to viewport */
    top: 0px;
    left: 0px;
    }

    /* Adds the opactity mask over background (none) */
    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* Adds the transparency mask over foreground (none) */
    .content {
        background-color: rgba(0, 0, 0, 0.3); /* Optional: semi-transparent background for content */
        z-index: 1; /* Puts content above overlay */
    }


    /* Sets up nav background */
    nav {
        background-color: #333;
        padding: 10px 0;
        font-size: 11px;
    }

    /* Target the list to remove default styling */
    .horizontal-list {
        list-style-type: none; /* Removes the bullet points */
        margin: 0;
        padding: 0;
        text-align: center; /* Centers the whole list */
    }
    /* Make the list items display horizontally */
    .horizontal-list li {
        display: inline-block; /* Key step for side-by-side display */
        margin: 0 15px; /* Adds space between the list items */
    }

    /* Style the links */
    .horizontal-list li a {
        color: white;
        text-decoration: none; /* Removes the underline from links */
        padding: 8px 15px;
        transition: background-color 0.3s;
    }

    /* Add hover effect */
    .horizontal-list li a:hover {
        background-color: #555;
        border-radius: 5px;
    }
}

