@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500&family=Source+Code+Pro:ital,wght@0,400;0,600;1,400;1,600&family=Ubuntu:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");

body {
    font-family: 'Ubuntu', sans-serif;
    padding: 0px;
    margin: 0px;
}

* {
    box-sizing: border-box;
}

/**
 secondary purple: #A94BAD;
 tertiary gold: #AD964B;
 quaternary dark aqua: #4B6E67;
 quinary brown: 4B6E67; 
 */

/* body */
.flex { 
    display: flex;
    flex-wrap: wrap;
    background-color: #F2EBD3;
    text-align: center;
    align-content: center;
    justify-content: center;
}

.flex > div {
    min-width: 300px;
    max-width: 450px;
    padding: 20px;
    text-align: left;
}



    /* Custom column width for download page */
    .download-col {
        width: 650px;
        max-width: 100%;
        box-sizing: border-box;
    }


/* Header & Footer Area */

header {
    text-align: center;
    width: 100%;
}

footer {
    color: #D8EDE9;
    text-align: right;
}

.logo_area {
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #D8EDE9; */
}

.logo_area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/plate-background3.png');
    background-repeat: repeat;
    opacity: 0.35;
    z-index: -1; /* Changed from 5 to -1 */
}

.logo {
    position: relative;
    z-index: 1; /* Ensures logo is above the translucent background */
}

.side-image {
    position: absolute;
    top: 0;
    bottom: 0;
    height: calc(100% + 40px);
    width: auto;
    object-fit: contain;
    margin-top: -20px;
    z-index: -1; /* Changed from -1 to 0 */
}

.side-image.left {
    left: -20px; /* Offset the left padding */
     z-index: -2;
}

.side-image.right {
    right: -20px; /* Offset the right padding */
     z-index: -1;
}

.subheader {
    color: white;
    background-color: #444444;
    text-align: center;
    font-family: 'Roboto Slab', serif;
    font-weight: 350;
    font-size: 12pt;
    margin: 0px;
    padding-top: 0 !important;
}

.subheader-headline {
    font-size: 19pt;
    font-weight: 400;
    padding-bottom: 8px;
    color: #ebf0f4;
    margin-block: 0;
}

.subheader-body {
    padding-bottom: 8px;
    line-height: 1.6;
    margin-block: 0;
}

.logo_area, .subheader { padding: 20px !important; }

.no-padding { padding: 0; }

/* Navbar */
.nav {
    background-color: #439D8B;
    border: 0;
    color: white;
    font-size: 15pt;
    font-weight: 200;
    line-height: 1.5;
    overflow: clip;
    text-align: center;
}

.nav a {
  display: inline-block;
}
  
/* Navigation links */
.nav a, .nav a:visited {
    padding: 12px;
    color: white;
    text-decoration: none;
    border: 0;
}

.nav a:hover {
    background-color: #F2EBD3;
    color: #429D8B;
}

a.active {
    color: #ffefc3 !important;
}

/* paragraph and headlines */ 

p {
    font-size: 12.5pt;
    font-weight: 300;
    line-height: 1.6;
    margin-block-start: 0.6em;
    margin-block-end: 0.6em;
}

h1 {
    font-family: "Ubuntu";
    text-align: leading;
    font-weight: 400;
    color: #429D8B;
    margin-block-end: 0.3em;
}

h2 {
    font-family: "Ubuntu";
    weight: regular;
    text-align: leading;
    font-weight: 400;
    color: #883B8B;
    margin-block-end: 0.3em;
}

/* Links */

a {
    color: #419987; 
    text-decoration: none;
    border-bottom: 1px dashed #4BAD9A;
}

a:visited{
    color: #419987; 
    border-bottom: 1px dashed  
}

a:hover {
    background-color: #ebf0f4;
}

a.active:hover {
    color: /* #5ba94a */ #4BAD9A !important;
}

/* etc. */

footer {
    padding: 12px;
    margin: 0;
    background-color: #4CAD9A;
    box-shadow: 0px 3px 2px 2px rgba(0, 0, 0, 0.2);
}

h3.small-title {
    margin-bottom: 5px;
    font-weight: 400;
}

.sponsor-image {
    float: left;
    padding-bottom: 15px;
}

.codelet {
    width: 100%;
    height: 35em;
    border: none;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
}

/* bullets */

ul {
    font-size: 12.5pt;
    font-weight: 300;
    line-height: 1.6;
    margin-block-start: .2em;
}

ul.a {
    list-style-type: circle;
}

/* screenshots */
.screenshot {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 15px;
    margin-bottom: 20px;
    
}

.bottom-screenshot {
    margin-top: 20px;
    margin-bottom: 0;
}

/* support large view of screenshots */
  
 .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Translucent black */
    z-index: 1000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: default;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
} 
  
/* Add this class to your thumbnail images */
.clickable-thumbnail {
    cursor: pointer;
    transition: opacity 0.3s;
}

.clickable-thumbnail:hover {
    opacity: 0.8;
}  
  
/* media queries TODO - work on iPhones */
@media (max-width: 799px) {
    .flex {
        flex-direction: column;
    }

    .flex > div {
        max-width: 650px;
        padding-bottom: 0px;
    }
}

/* YouTube video border styling */
.video-border {
    border: 3px solid #4BAD9A;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(75, 110, 103, 0.15);
    padding: 12px;
    background: #fff;
    display: inline-block;
    margin-top: 18px;
    margin-bottom: 18px;
}

