﻿/*CSS file with elements for the EJNDevHome page in the EJN Development web application.*/
/* Created by E J Belala, 20 May, 2026*/

html {
    /* Reserves space for the scrollbar so content never shifts */
    scrollbar-gutter: stable;
}

body {
    background-color: #ffffff;
}

/* Test Type Styles */

h1 {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h2 {
    color: red;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h3 {
    color: darkgreen;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h4 {
    color: darkgreen;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h5 {
    color: darkgreen;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: small;
    font-weight: bold;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

h6 {
    color: darkgreen;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

p {
    color: darkblue;
    border-width: thin;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-weight: normal;
    font-size: medium;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* List Styles */

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    display: flex; /*Aligns items in a row*/
    justify-content: flex-start; /*Aligns to the left*/
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

li {
    float: left;
    margin-right: 20px;
}

    li a {
        display: block;
        color: darkblue;
        text-align: center;
        padding: 5px 10px;
        text-decoration: none;
    }

        li a:hover:not(.active) {
            background-color: lightcyan;
        }

    li.active {
        background-color: lightcyan;
    }

/* Column % Row Section Styles */

.row-layout {
    display: flex;
    flex-direction: row; /* Arrange items in a horizontal row */
    justify-content: center; /* Centers items horizontally within the row */
    justify-items: center;
    gap: 10px; /* Spacing between columns */
    padding: 10px;
    max-width: 100%; /* Allows the layout to stretch across the screen */
    overflow-x: auto; /* Ensures horizontal scrolling if items exceed the screen width */
}

.column-layout {
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligns items horizontally (centered in the column) */
    gap: 20px; /* Spacing between rows */
    padding: 20px;
    max-width: 100%;
    margin: 0 auto; /* Centers the layout on the page */
    background-color: #ffffff;
    text-align: center;
}

.column-layout-infodivs {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/ /* Aligns items horizontally (centered in the column) */
    align-items: flex-start; /* Aligns items horizontally (centered in the column) */
    gap: 10px; /* Spacing between rows */
    padding: 10px;
    max-width: 50%;
    margin: 0 auto; /* Centers the layout on the page */
    background-color: #ffffff;
    /*text-align: center;*/
    text-align: left;
}

/* Content Image Place Holder */

.content-image {
    display: block;
    max-width: auto; /*Images scale with container*/
    height: 150px; /*Maintain aspect ratio*/
    border: 2px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
