/* General Styles */
.flex-centered
{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Master Content Width */
body, header, footer
{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-items: center;

    font-family: "Helvetica";

    
}

header, footer
{
    /*background-color: white;*/
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.95), rgba(200, 200, 200, 0.85));
    z-index: 999;
    box-shadow: 2px 2px 16px black;
    display:flex;
    width: 100vw;
    align-items: center;
    justify-content: center;
    position: absolute;
}

body
{
    margin-top: 150px;
    margin-bottom: 64px;
}

body, header, footer, p, div > *
{
    /* DEBUG */
    /*border: 1px red solid; */ 
}

body
{
    /*background-color: rgb(255, 255, 255);
    background: linear-gradient(to bottom, rgb(199, 228, 244), rgb(193, 235, 248));
    */
    background-image: url('/assets/images/pictures/DSC_0944.webp');
    background-repeat: no-repeat;
    background-size:cover;
}

footer
{
    padding: 16px;
}

.body-container
{
    display: flex;
    flex-direction: column;
    justify-content: left;
    gap: 16px;
}

@property --boxColour1 {
  syntax: '<color>';
  initial-value: rgba(255, 255, 255, 0.9);
  inherits: false;
}

@property --boxColour2 {
  syntax: '<color>';
  initial-value: rgba(228, 228, 228, 0.6);
  inherits: false;
}

.body-block
{
    border-radius: 25px;
    background: linear-gradient(45deg, var(--boxColour1), var(--boxColour2), var(--boxColour1));
    padding: 16px;
    gap: 16px;
    box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.232);
    animation: cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
    transition: box-shadow 0.3s, --boxColour1 0.3s, --boxColour2 0.3s;
}

.flex-block
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-around;
}

@keyframes gradientPulse {
    0%   { opacity: 0.75; }
    50%  { opacity: 1; }
    100% { opacity: 0.75; }
}

.body-block:hover
{
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.7);
    --boxColour1: rgba(255, 255, 255, 1);
    --boxColour2: rgba(255, 255, 255, 0.9);
}

.body-block-content
{
    margin: 32px;
}

.body-block-content p
{
    margin-bottom: 1rem;
}

.link-format > *, .link-format
{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.body-block-image
{
    background-position: left;
    background-size: cover;
    border-radius: 16px;
}

.body-block-grid
{
    display: grid;
    min-height: 236px;
}

.grid-showcase
{
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.body-block h3
{
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.grid-left
{
    grid-template-columns: 1.5fr 1fr;
}

.grid-right
{
    grid-template-columns: 1fr 1.5fr;
}

.button-big
{
    width: 100%;

    font-weight: bold;
    color:white;
    border-radius: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
    text-align: center;
    background-color: rgb(114, 187, 255);

    transition: background-color 0.2s linear;
}

.button-big:hover
{
    background-color: rgb(0, 142, 250);
    cursor: pointer;
}

.side-by-side-list
{
    padding-left: 32px;
    min-width: fit-content;
    max-width: 386px;
    display: grid;   
    grid-template-columns: 1fr 1fr 1fr;
    align-content: center;
    word-break: keep-all;
    word-wrap: normal;
}

.list-two-rows
{
    grid-template-columns: 1fr 1fr;
}

.content-width
{
    width: 60vw;
}

/* Header Stuff */
.header-container
{
}

.header-content
{
    margin: 20px;
    display: flex;
    justify-content: space-between;
}

.header-navbar
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    align-items: center;
}

.header-navbar div
{
    display: flex;
    padding: 4px 8px 4px 8px;
    text-align: center;
    height: 32px;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-radius: 16px;

    transition: color 0.1s linear, background-color 0.2s linear;
}

.header-navbar div:hover
{
    color:white;    
    background-color: rgb(0, 142, 250);
}

/* Footer Formatting */

/* Body Formatting */
h2
{
    margin-top: 2px;
    margin-bottom: 4px;
}

p
{
    margin-top: 2px; 
    margin-bottom: 2px; 
}

/* Page Formatting */

.simple-flex-row
{
    display: flex; 
    flex-direction: row;
}

/* Grids and images */
.grid-four
{
    display: grid;
    grid-template-columns: auto auto;

    width: 100%;

    gap: 8px;
}

.grid-two
{
    display: grid;
    grid-template-columns: auto auto auto;
}

.grid-images-contain div
{
    width: auto;
    height: 386px;
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.25s;
    animation: transform cubic-bezier(1, 0, 0, 1);

    border-radius: 16px;
}

.grid-images-contain div:hover
{
    transform: scale(1.5);
}

.grid-one
{
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.5fr;

    width: 100%;
    height: 386px;

    gap: 8px;
}

.grid-images div
{
    width: 100%;
    height: 320px;
    background-size:cover;
    background-position: center;

    border-radius: 16px;
}

.coming-soon
{
    width: 100%;
    display: flex;
    height: 64px;
    text-align: center;
    font-weight: bolder;
    justify-content: center;
    align-items: center;
    background-color: yellow;
    border-radius: 32px;
}