.static-container {
    position: relative;
    height: auto;
    overflow: hidden;
    padding: 20px;
}

.intro {
    background: linear-gradient(#28223f, black);
    padding: 2rem;
    margin: -2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.content {
    text-align: left;
    height:auto;
    display: block;
}

.content h1 {
    font-size: 2em;
    color: black;
    text-align: left;
}

.intro .content h1 {
    color: white;
}

.content h2 {
    font-size: 1.75em;
    color: black;
    text-align: left;
}

.content h3 {
    font-size: 1.5em;
    color: black;
    text-align: left;
}

.content p,
.content li {
    text-align: left;
    font-size: 1.15em;
    color: black;
    max-width: 100%;
}

.endpoint {
    background: #fff;
    margin: 20px auto;
}

.endpoint h2 {
    background: #444;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: left;
    color: #bada55;
    text-transform: none!important;
    font-weight: normal;
    font-family: 'Courier New', Courier, monospace; /* Monospace font for code */
}

.endpoint p.description {
    margin: 10px 0;
    text-align: left;
    color: black;
    font-size: 1.15em;
}

.endpoint ul.description  {
    margin: 10px 0;
}

.endpoint ul.description  li {
    margin: 10px 0;
    font-size: 1.15em;
}

.request, .response {
    background: #e9e9e9;
    color: black;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.request h3, .response h3 {
    color: purple;
    margin-top:4px;
    margin-bottom:11px;
}

code {
    display: block;
    background: #444;
    color: #bada55;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre; /* Treat content as pre-formatted text */
    font-family: 'Courier New', Courier, monospace; /* Monospace font for code */
}

/* side navigation */
nav {
    position: fixed; /* Make the nav stick to the left side */
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    padding-top:25px;
    background-color: #f5f5f5;
    overflow-y: auto; /* Allow scrolling if the content exceeds the view height */
    border-right: 1px solid #ddd;
}

nav ul {
    padding: 0;
    list-style-type: none;
}

nav li {
    margin: 10px;
}

nav a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 16px;
    transition: background-color 0.2s;
}

nav a:hover {
    background-color: #ddd;
}

nav .separator {
    border-top:1px solid #ddd;
}

.static-container {
    margin-left: 300px; /* Push content to the right to make space for the nav */
    /* ... other styles ... */
}

/* Media query to hide the nav on screens less than 768px wide (typical tablet breakpoint) */
@media (max-width: 767px) {
    nav {
        display: none;
    }

    .static-container {
        margin-left: 0; /* Reset the margin on mobile */
        margin-top: 45px;
    }
}

/* CSS for highlighting the h2 header */
.highlighted {
    background-color: yellow;
    transition: background-color 1s ease-out;
}

/* CSS for fade-out effect */
.fade-out {
    background-color: transparent;
}

/** TABLES */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th {
    background-color: #e9e9e9;
    color:purple;
}

.content table + .table-sub-text {
    text-align: right;
    color:grey;
}


/** PRICING TABLES **/
.pricing-tables {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.pricing-tables-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0;
    margin: 0;
    width: 30%; /*old: calc((100% - 340px) / 3); /* Adjust the width for desktop */
    margin-right:3%;
    background: #fff; /* Ensures the background is white */
}

.pricing-tables-box:last-child {
    margin-right: 0;
}

.pricing-tables-box h2 {
    background-color: #28223f;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 0px 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    text-align: center;
}

.pricing-tables-box ul {
    list-style: none;
    padding: 0;
}

.pricing-tables-box ul li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.pricing-tables-box ul li strong {
    color: #007BFF; /* Blue color for highlighted values */
    font-weight: bold;
}

.pricing-tables-box .price,
.pricing-tables-box .no-price  {
    font-size: 1.45em;
    color: #007BFF; /* Blue color for prices */
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px; /* Adds space between price and the list */
}

.pricing-tables-box .no-price {
    font-size: 1.0em;
    color: #aaa; /* Gray color for the no-price */
    /*strike */
    text-decoration: line-through;
    margin-bottom: 0px;
}
.pricing-tables-box .no-price + .price {
    margin-top: 0px;
}

.pricing-tables-box.current-plan {
    border-color: #007BFF; /* Blue color for the current plan */
}

.pricing-tables-box.current-plan h2 {
    background-color: #007BFF; /* Blue color for the current plan */
}


.pricing-tables-box .btn-upgrade,
.pricing-tables-box .btn-upgrade-current,
.pricing-tables-box .btn-upgrade-disabled {
    display: block;
    box-sizing: border-box;
    width: 90%;
    padding: 10px 20px;
    margin-top: 10px;
    margin-left: 5%;
    margin-right: 5%;
    background-color: #28223f; /* Dark background for the button */
    color: white;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.pricing-tables-box  .btn-upgrade-current {
    background-color: #eee; /* Blue color for the current plan */
    border: 1px solid #ccc;
    color: #333;
}

.pricing-tables-box  .btn-upgrade-disabled {
    background-color: #fff; /* Blue color for the current plan */
    border: 1px solid #ccc;
    color: #bbb;
}

.pricing-tables-box .btn-upgrade:hover {
    background-color: #007BFF; /* Lighter blue on hover */
}

@media (max-width: 768px) {
    .pricing-tables {
        padding: 0;
    }
    .pricing-tables-box {
        width: 100%; 
        margin: 10px 0;
    }
}

/* TIER BADGES */

.user-tier-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.5em;
    font-weight: bold;
    text-transform: uppercase;
    background: #a795ef;
    color: white;
    cursor: pointer;
}

h2 + .user-tier-badge-notice {
   top: -20px;
   position: relative;
   border-left: 3px solid #a795ef;
   padding-left: 5px;
}

.user-tier-badge-notice-intro {
    display: inline-block;
    color: #666;
    margin-right: 0.5rem;
}
@media (max-width: 768px) {
    .user-tier-badge-notice-intro {
        display: block;
    }
}

.user-tier-badge-notice + p {
    margin-top: 0;
}

.user-tier-badge + .user-tier-badge {
    margin-left: 0.5rem;
}

.user-tier-badge-notice .user-tier-badge {
    vertical-align: middle;
 }

.user-tier-1 {
    background: #a795ef;
    border: 1px solid white;
}

/* gold gradient with black color */
.user-tier-2 {
    background: #f7b500;
    color: #231f14;
    border: 1px solid rgb(56, 39, 21);
}

/* platin gradient with deep purple text color */
.user-tier-3 {
    background: #1d1d1e;
    color: #cac0f3;
    border: 1px solid rgb(63, 53, 71);
    }


/** More content templates **/
.context-image,
.context-video {
    display: block;
    margin: 20px 0;
    max-width: 100%;
    border-radius: 5px;
    max-width: 400px;
}

.context-image img {
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    border: 1px solid #3b3b3b;
}

.context-video video {
    width: 100%;
    max-width: 100%;
    border-radius: 5px;
    border: 1px solid #3b3b3b;
}

.video-container,
.video-container-1to1 {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* This makes the container 1:1 aspect ratio */
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire container */
}