
/* 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;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background-color: #431d58; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #f4ce6e; 
  border: 2px solid #431d58
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #f4ce6e; 
}

html {
	height: 100%;
}

.performer {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;   /* children will take full width */
}

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: #431d58;
	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-color: #53216e;
	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-color: #53216e;
	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-color: #53216e;
	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 layout: image right, text left */

.specific-post {
  background-color: #53216e;
  color: #f4ce6e;
  padding: 40px;
  border: 2px solid #f4ce6e;
  border-radius: 8px;
  margin: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  height: auto;
  transition: transform 0.2s cubic-bezier(.2,0,.1,.5);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-height: 260px;
  position: relative;

  /* ❌ remove flex layout so wrap works */
}

/* content container */
.post-content {
  min-width: 0;
  word-break: break-word;
}

/* Title */
#title {
  font-size: 2em;
  margin: 0 0 0.5em 0;
  text-align: left;
}

/* Body */
#body {
  font-size: 1.1em;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* Wrapped image */
#image {
  float: right;
  width: 360px;
  max-width: 360px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);

  /* spacing between text and image */
  margin: 0 0px 20px 40px;
}

/* hover effect preserved */
.specific-post:hover {
  transform: scale(1.02);
}

/* 📱 optional mobile friendliness */
@media (max-width: 700px) {
  #image {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
  }
}


.blogpost {
	background-color: #fff;
	color: #351148;
	padding-top: 30px;
	border: 2px solid #f4ce6e;
	border-radius: 8px;
	margin: 40px 140px 40px 140px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	min-height: 300px;
	transition: transform 0.2s cubic-bezier(.2,0,.1,.5);
	text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	gap: 32px;
	width: fit-content;
  	padding: 1rem;
}

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

/* Blogpost text (title/body) on left */
.blogpost-content {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
}

/* Blogpost image on right */
.blogpost-image {
	flex: 0 0 300px;
	max-width: 300px;
	width: 300px;
	height: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}
.blogpost-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
	box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.blogpost h1, .blogpost h3 {
	font-size: 25px;
	margin-top: 0;
}

.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-bottom: 2px solid transparent;
	color: #f4ce6e;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	transition: border-bottom 0.3s;
}
.menu-link:hover {
	border-bottom: 2px solid #f4ce6e;
}

.menu-table {
	width: calc(100% - 40px);
	margin: 8px 20px;
	border-collapse: collapse;
}
.menu-table td {
	padding: 12px 18px;
	vertical-align: top;
	width: 25%;
}
.menu-title {
	font-size: 18px;
	font-weight: 700;
	color: #f4ce6e;
	margin-top: 20px;
}
.menu-placeholder {
	margin-top: 8px;
	color: #f4ce6e;
	opacity: 0.95;
}

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

.bottom-flex{
	margin-bottom: 100px;
}

.bottom-ad {
  position: fixed;
  left: 0;
  bottom: -90px;              /* start hidden */
  width: 100%;
  height: 90px;
  background: #fff;
  color: #351148;
  z-index: 91000;
  transition: bottom 0.6s ease;
  animation: slideUp 0.6s ease forwards;
  animation-delay: 5s;
  border-top: 2px solid #f4ce6e;
}

@keyframes slideUp {
  to {
    bottom: 0;
  }
}

.footer-main {
	background-color: #431d58;
	border-top: 2px solid #f4ce6e;
	padding: 20px 0 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #f4ce6e;
	width: 100%;
	height: 20em;
}

.footer-holster {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	width: 100%;
	max-width: 1200px;
	margin-bottom: 10px;
}

.footer-left {
	flex: 1;
	text-align: center;
}


.footer-right {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 8px 18px;
	flex: 1;
	text-align: center;
	width: fit-content;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
}

.footer-link {
	color: #f4ce6e;
	text-decoration: none;
	font-size: 16px;
	margin: 0;
	display: block;
	padding: 4px 0;
}

#rights {
	margin-top: 20px;
	font-size: 15px;
	color: #f4ce6e;
	text-align: center;
}