
/* Global settings and variables */
:root {
	--header-offset: 115px; /* change this if your header height changes */
}

/* Use border-box everywhere for consistent sizing */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	height: 100%;
}

html, body {
	overscroll-behavior: none;
	margin: 0;
	padding: 0;
	background-color: #f3f3f3;
	min-height: 100vh;
	width: 100%;
	user-select: none;
	overflow-x: hidden;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	font-family: Arial, sans-serif;
	color: #8a5bbc;
	min-height: 100vh;
}


.container {
	position: fixed;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background-color: #53216e;
	border-bottom: 2px solid #f4ce6e;
	box-sizing: border-box;
	top: 0;
	z-index: 1100; /* keep header above subheader */
	width: 100%; /* ensure full-width stickiness */
	align-self: flex-start; /* helps sticky behavior when parent is flex */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Optional shadow for depth */
}

.space-between {
    margin-top: 150px;
}

.logo {
	/* Add styles for the logo */
	font-size: 24px; /* Example size */
	color: white; /* Example color */
}

.headerbutton {
	border: none; /* Remove border */
	border-radius: 5px; /* Rounded corners */
	cursor: pointer; /* Pointer cursor on hover */
	color: #f4ce6e; /* Text fill color */
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

button {
  background-color: transparent;
  border: none; /* Remove border */
  padding: 10px 20px; /* Padding for the button */
  cursor: pointer; /* Pointer cursor on hover */
  color: #f4ce6e; /* Text fill color */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
  font-size: 20px; /* Example size */
  
}


.tiered-hero-cards {
	display: flex;
	justify-content: space-between;
	padding: 20px;
	box-sizing: border-box;
}


.card {
	background: linear-gradient(135deg, #53216e 0%, #5f3d84 100%);
	color: #f4ce6e; /* Text color */
	padding: 40px; /* Padding inside the cards */
	border: 2px solid #f4ce6e; /* Border for the cards */
	border-radius: 8px; /* Rounded corners */
	flex: 1; /* Allow cards to grow equally */
	margin: 0 10px; /* Margin between cards */
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
	font-size: 25px;
	transition: transform 0.2s cubic-bezier(.2,0,.1,.5);
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.card:hover {
	transform: scale(1.02);
}

.card p{
	font-size: 18px
}
/* Optional: Remove margin for the first and last card */
.card:first-child {
	margin-left: 0; /* No left margin for the first card */
}

.card:last-child {
	margin-right: 0; /* No right margin for the last card */
}

.article-card {
	background: linear-gradient(135deg, #53216e 0%, #5f3d84 100%);
	color: #f4ce6e; /* Text color */
	padding: 20px; /* Padding inside the cards */
	border: 2px solid #f4ce6e; /* Border for the cards */
	border-radius: 8px; /* Rounded corners */
	flex: 1; /* Allow cards to grow equally */
	margin: 20px;
	margin-bottom: 20px;
	margin-top: 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
	height: 365px;
	transition: transform 0.2s cubic-bezier(.2,0,.1,.5);
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.article-card:hover {
	transform: scale(1.02);
}

.article-card h3 {
	font-size: 25px;
}

.article-card p {
	font-size: 18px;
}

.changelog {
	background: linear-gradient(135deg, #53216e 0%, #5f3d84 100%);
	color: #f4ce6e; /* Text color */
	padding: 20px; /* Padding inside the cards */
	border: 2px solid #f4ce6e; /* Border for the cards */
	border-radius: 8px; /* Rounded corners */
	flex: 1; /* Allow cards to grow equally */
	margin: 20px;
	margin-bottom: 20px;
	margin-top: 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
	height: 365px;
	transition: transform 0.2s cubic-bezier(.2,0,.1,.5);
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.changelog:hover {
	transform: scale(1.02);
}

.changelog h3 {
	font-size: 25px;
}

.changelog p {
	font-size: 18px;
}

.blogpost {
	background: linear-gradient(135deg, #53216e 0%, #5f3d84 100%);
	color: #f4ce6e; /* Text color */
	padding: 20px; /* Padding inside the cards */
	border: 2px solid #f4ce6e; /* Border for the cards */
	border-radius: 8px; /* Rounded corners */
	flex: 1; /* Allow cards to grow equally */
	margin: 20px;
	margin-bottom: 20px;
	margin-top: 20px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
	height: 365px;
	transition: transform 0.2s cubic-bezier(.2,0,.1,.5);
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.blogpost:hover {
	transform: scale(1.02);
}

.blogpost h3 {
	font-size: 25px;
}

.blogpost p {
	font-size: 18px;
}

.fancy-hr {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 20px 0;
	margin-left: 20px;
	margin-right: 20px;
}

.fancy-hr .line {
	flex: 1;
	height: 3px;
	background-color: #f4ce6e;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
}

.fancy-hr img {
	margin: 0 15px;
	height: 40px; /* adjust size */
}

.centerdownload {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f4ce6e;
	border-radius: 8px;
	margin-top: 50px;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.downloaders {
	color: #f4ce6e;
	background-color: transparent;
	border: 2px solid #f4ce6e;
	padding: 10px 60px;
	cursor: pointer;
	font-size: 20px;
	text-decoration: none;
	display: inline-block;
	transition: transform 0.2s cubic-bezier(.2,0,.1,.5);
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow for depth */
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.downloaders:hover {
	transform: scale(1.02);
}

.btn {
	background-color: transparent;
	border-bottom: 2px solid transparent;
	padding: 10px 20px;
	cursor: pointer;
	font-size: 20px;
	text-decoration: none;
	display: inline-block;
	color: #f4ce6e;
	transition: border-bottom 0.3s;
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
}

.btn:hover {
	border-bottom: 2px solid #f4ce6e;
}

/* Dropdown header styles */
.header-dropdown {
	position: relative;
	display: flex;
	align-items: center;
}
.dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.dropdown-menu {
	position: absolute;
	right: -20px;
	top: calc(100% + 36px);
	background-color: #53216e;
	border-bottom: 2px solid #f4ce6e;
	border-left: 2px solid #f4ce6e;
	border-radius: 0 0 0 8px;
	padding: 8px;
	min-width: 180px;
	box-shadow: 0 17px 18px rgba(0,0,0,0.25);
	display: none;
	z-index: 1100;
}
.dropdown-menu.show {
	display: block;
}
.dropdown-item {
	display: block;
	padding: 10px 12px;
	color: #f4ce6e;
	text-decoration: none;
	font-size: 18px;
}
.dropdown-item:hover {
	background: rgba(244,206,110,0.08);
	border-radius: 6px;
}
/* Subheader menu that sits underneath the main header */
.subheader-menu {
	background-color: #53216e;
	border-bottom: 2px solid #f4ce6e;
	color: #f4ce6e;
	width: 100%;
	position: fixed;
	top: var(--header-offset); /* sits under the sticky header; controlled by CSS variable */
	z-index: 1099; /* sit under the header (which is 1100) */
	max-height: 0; /* hidden by default */
	opacity: 0; /* use numeric values (0 - 1) */
	overflow: hidden;
	transition: max-height 280ms cubic-bezier(.2,0,.1,.5), padding 280ms ease-in-out, opacity 220ms ease-in-out;
	padding-top: 0;
	padding-bottom: 0;
	pointer-events: none; /* prevent interaction when closed */
	will-change: max-height, opacity;
}
.subheader-menu.open {
	opacity: 1;
	max-height: 420px; /* large enough to show content; adjust if needed */
	padding-top: 12px;
	padding-bottom: 12px;
	pointer-events: auto;
}
.menu-link {
	display: inline-block;
	margin-right: 8px;
	margin-top: 6px;
	padding: 8px 12px;
	background: transparent;
	border: 1px solid rgba(244,206,110,0.18);
	color: #f4ce6e;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
}
.menu-link:hover {
	background: rgba(244,206,110,0.06);
}
.menu-table {
	width: calc(100% - 40px);
	margin: 0 20px;
	border-collapse: collapse;
}
.menu-table td {
	padding: 12px 18px;
	vertical-align: top;
	border-top: 1px solid rgba(244,206,110,0.06);
	width: 25%;
}
.menu-title {
	font-size: 18px;
	font-weight: 700;
	color: #f4ce6e;
}
.menu-placeholder {
	margin-top: 8px;
	color: #f4ce6e;
	opacity: 0.95;
}

code {
    color: #f4ce6e;
    background-color: transparent;
    padding: 2px 4px;
}
