* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: sans-serif;
	color: var(--content);
	font-size: 14px;
	background-color: transparent;
}

body { min-height: 100vh; }

footer, section, form {
	width: 100%;
	padding: 8em 16em;
	background-color: var(--background);
}

main.container {
	min-height: 94vh;
}

.secret-border {
	position: relative;
	border-radius: var(--b-radius);
	padding: .25em .28em;
}

.gradient-bg {
	background: #C70593;
	background: -webkit-linear-gradient(
		130deg,
		rgba(199, 5, 147, 0.6) 0%,
		rgba(230, 245, 61, 0.6) 60%
	);

	background: -moz-linear-gradient(
		130deg,
		rgba(199, 5, 147, 0.6) 0%,
		rgba(230, 245, 61, 0.6) 60%
	);

	background: linear-gradient(
		130deg,
		rgba(199, 5, 147, 0.6) 0%,
		rgba(230, 245, 61, 0.6) 60%
	);
}

.black-fade-bg {
	background: #000000;
	background: -webkit-linear-gradient(
		0deg,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.2) 90%,
		rgba(0, 0, 0, 0) 100%
	);

	background: -moz-linear-gradient(
		0deg,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.2) 90%,
		rgba(0, 0, 0, 0) 100%
	);

	background: linear-gradient(
		0deg,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0.2) 90%,
		rgba(0, 0, 0, 0) 100%
	);
}

.gradient-bg--dimmed {
	background-image: linear-gradient(
		rgba(255, 255, 255, 0.6),
		rgba(255, 255, 255, 0.6)
	), linear-gradient(
		130deg,
		rgba(199, 5, 147, 1) 0%,
		rgba(230, 245, 61, 1) 60%
	);
	background-blend-mode: normal;
}

.gradient-text {
	background-image: linear-gradient(
		130deg,
		rgba(199, 5, 147, 1) 40%,
		rgba(230, 245, 61, 1) 100%
	);
    color: transparent;
    background-clip: text;
}

.f-col {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-m);
}

.f-row {
	display: flex;
	flex-direction: row;
	gap: var(--spacing-m);
}

.title { font-weight: bold; font-size: var(--title); }
.subtitle { font-weight: bold; font-size: var(--subtitle); }

.text-block { gap: var(--spacing-s); }
.text-block--sm { gap: var(--spacing-xs); }
.text-block--sm .title { font-size: var(--subtitle); }
.section-title-block { align-items: center; }
.section-title-block .title { font-size: var(--subtitle); }
.section-title-block img { height: 1.2em; }

.global-spacer {
	height: var(--spacing-xl);
}

.justify-sb { justify-content: space-between; }

.card {
	border-radius: var(--b-radius);
	position: relative;
	background: var(--background);
}

.widget {
	position: relative;
	overflow: hidden;
}

.widget:hover {
	transform: scale(1.005);
	transition: all 0.4s;
}

.shine {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		to bottom right,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.5) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: rotate(30deg) translate(-30%, -30%);
	opacity: 0;
	transition: opacity 0.5s ease, transform 1s ease;
}

.widget:hover .shine, .card:hover .shine {
	opacity: 1;
	transform: rotate(30deg) translate(30%, 30%);
}

.shadow { box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; }
.shadow--on-hover:hover {
	box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
	transform: scale(1.005);
	transition: all .2s;
}

.container {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}


/* texts */
ul { list-style: none; }
ul.ul--inline { gap: 2em; }
.title { font-weight: bold; }
.bold { font-weight: bold; }

/* links */
a {
	text-decoration: none;
	color: var(--primary--dark);
}
a:hover, a:hover strong { color: var(--primary); }

/* Highlight (for span) */
.highlight {
  background-color: var(--highlight-background);
  color: var(--highlight);
  font-weight: bold;
  padding: 2px 4px;
  border-radius: var(--b-radius);
}

/* icons */
.icon-frame {
	width: 2em;
	height: 2em;
	display: flex;
	align-items: center;
}

.img-icon--sm { width: 100%; }

/* buttons */
.button-group { gap: var(--spacing-s); }

a.button {
	text-align: center;
}
.button {
	border: var(--content) solid 1px;
	color: var(--content);
	background: transparent;

	border-radius: .25em;
	padding: 1em 1em;
	font-weight: bold;
	border: 1px solid;
	width: 14em;
	cursor: pointer;
}

.button--primary {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--background);
}

.button--primary:hover {
	background: var(--primary--dark);
	border-color: var(--primary--dark);
}

.return-to-home {
	margin-top: 2em;
	padding: var(--spacing-m);
	border: var(--primary) solid 1px;
	color: var(--primary);
	border-radius: var(--b-radius);
	width: fit-content;
}

.return-to-home:hover {
	transition: all .25s linear;
	background-color: var(--primary);
	color: var(--background);
}

/* modals */
/* Modal Overlay & Wrapper */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Make modal visible when active */
.modal-wrapper.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content Box */
.modal {
  background-color: #fff;
  border-radius: var(--b-radius);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-wrapper.active .modal {
  transform: translateY(0);
}

/* Title */
.modal .title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222;
}

/* Long Description */
.modal .desc-long {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

/* Scrollbar styling (optional, for WebKit browsers) */
.modal::-webkit-scrollbar {
  width: 6px;
}
.modal::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: var(--b-radius);
}
.modal::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: var(--b-radius);
}
.modal::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}


/* responsive adjustements */
@media screen and (max-width: 1280px) {
	footer, section, form { padding: 6em 1.5em; }
	.title { font-size: 2.5em; }
}

@media screen and (max-width: 769px) {
	.f-row--responsive { flex-direction: column; }
	.text-block { align-items: center; }
	.text-block .desc { text-align: center; }
	.button-group { justify-content: center; align-items: center; }
	.title { font-size: 1.8em; }
	.subtitle { font-size: 1.2em; }
	.return-to-home { display: block; margin: auto; }
}

@media screen and (max-width: 581px) {
	footer, section, form { padding: 3em 1.5em; }
	.button-group { flex-direction: column; }
	p { font-size: 0.9em; }
	.title { font-size: 1.4em; }
	.subtitle { font-size: 1em; }
}
