:root {
	font-family: system-ui;
	--bg-color: lightgrey;
}
body {
	background: var(--bg-color);
	margin: 0;
}

main {

}

/* Logo */
.bc-logo {
    max-width: 150px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Dragon logo */
img.bc-hero-img {
	max-width: 120px;
	position: absolute;
	bottom: 0;
	object-fit: contain;
	object-position: bottom;
}


/* Dragon move */
.bc-hero-img {
	transform: translateX(-50px);
	animation: 2s linear forwards img-move;
	animation-timeline: view();
	animation-range: entry 0% 20%;
}

@keyframes img-move {
	to {
		transform: translateX(0);
	}
}


section {
	padding-block: 3rem;
}

section.hero {
	padding-block-end: clamp(0rem, calc(0rem + ((1vw - 0.625rem) * 5.2174)), 3rem);
}

section.cta {
	padding-block-end: 5rem;
}


.wrapper {
	max-width: 1080px;
	margin-inline: auto;
	padding-inline: 10px;
}

.slider {

}

h1, h2 {
    text-wrap: pretty;
}

/* Hero */
.hero {
min-height: 400px;
text-wrap: pretty;
display: flex;
flex-direction: column;
justify-content: center;
margin-inline: auto;
text-align: center;
background: saddlebrown;
position: relative;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        height: 100dvh;
        height: 100svh;
        min-height: auto;
        padding-block-start: 1rem;
        min-height: 300px;
    }
}

.hero {
    margin: auto;
    overflow: auto;
    /* background: linear-gradient(315deg, rgba(250,172,168,1) 3%, rgba(221,214,243,1) 38%, rgba(255,221,225,1) 68%, rgba(238, 205, 163, 1) 98%); */
    /* background: linear-gradient(181.07deg, #EAB28D -19.43%, rgba(237, 193, 191, 0.2) 60.79%); */
    /* animation: gradient 15s ease infinite; */
    /* background-size: 400% 400%; */
    /* background-attachment: fixed; */
    background-color:hsla(0,59%,40%,1);
/* background-image:
radial-gradient(at 81% 42%, hsla(0,59%,40%,1) 0px, transparent 50%),
radial-gradient(at 6% 82%, hsla(0,59%,40%,1) 0px, transparent 50%),
radial-gradient(at 6% 13%, hsla(0,0%,100%,0.14) 0px, transparent 50%),
radial-gradient(at 94% 10%, hsla(0,0%,100%,0.13) 0px, transparent 50%); */

background-color: #544473;
background-color: #36496a;
/* background-color: #6149a7; */

color: #f3f3f3;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}



.cta {
min-height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
margin-inline: auto;
text-align: center;
background: #544473;
background: #36496a;
color: #f2f2f2;
text-wrap: pretty;
position: relative;
}

.cta .wrapper {
    z-index: 1;
}

.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #a22a2a;
  color: white;
  border-radius: 0.5rem;
  text-decoration: none;
}

.cta-btn:hover, .cta-btn:focus {
  animation: pulse 1s;
  box-shadow: 0 0 0 1em transparent;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(253 146 138 / 70%);
  }
}

.bc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	column-gap: 16px;
	row-gap: 16px;
}

.bc-grid-col {
	text-align: center;
}

.desc {
	text-align: center;
	max-width: 80ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.desc .hide {
	color: var(--bg-color);
}

h2 {
	text-align: center;
}

img {
	width: 100%;
}

[popover] {
	max-width: 85ch;
}


@media (max-width: 767px) {
	img.bc-hero-img {
		max-width: 100px;
	}
}

.hero-title {
	margin-block-end: 0.2em;
	font-weight: 400;
}

.hero-subtitle {
	font-size: 2rem;
	margin-block-start: 0.2em;
}

/* Icon */
.bc-icon {
    border: 1px solid #36496a;
    width: fit-content;
    margin-inline: auto;
    padding: 1em;
    border-radius: 50%;
    line-height: 0.2em;
}

.bc-icon-ex {
	font-weight: 600;
}

.skillissue {
	max-width: 400px;
	margin-inline: auto;
	display: block;

	mask: linear-gradient(180deg, #d3d3d3 90%, transparent);

}

.prisontime {
	font-size: 3rem;
	margin-top: -2.5rem;
	color: #a22a2a;
	margin-block-end: 0;
}

.prisontime::after {
	content:"for:";
	display: block;
	font-size: 1rem;
	font-style: italic;
	color: initial;
	font-weight: 400;
	margin-block-end: 2rem;
    margin-block-start: 0.5rem;
}


footer {
	text-align: center;
	padding-block-start: 1rem;
}

.particles-js-canvas-el {
max-height: 400px;
}

::backdrop {
  backdrop-filter: blur(1px);
  background: #000000e3;
}

/* Marquee animation */

:root {
  --clr-neutral-100: hsl(0, 0%, 100%);
  --clr-primary-100: hsl(205, 15%, 58%);
  --clr-primary-400: hsl(215, 25%, 27%);
  --clr-primary-800: hsl(217, 33%, 17%);
  --clr-primary-900: hsl(218, 33%, 9%);
}

.scroller {
	max-width: 1080px;
	margin-inline: auto;
	padding-bottom: 32px;
}

.scroller__inner {
	padding-block: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	color: #f2f2f2;
}

.tag-list {
  margin: 0;
  padding-inline: 0;
  list-style: none;
}

.tag-list li {
  padding: 1rem;
  background: var(--clr-primary-400);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem -0.25rem var(--clr-primary-900);
}

.scroller[data-animated="true"] {
	overflow: hidden;
	-webkit-mask: linear-gradient(
		90deg,
    	transparent,
    	white 20%,
    	white 80%,
    	transparent
	);
	mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller[data-animated="true"] .scroller__inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller[data-direction="right"] {
  --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
  --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
  --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
  --_animation-duration: 60s;
}

@keyframes scroll {
	to {
		transform: translate(calc(-50% - 0.5rem));
	}
}