/*
*	Author: Travolgi
*	Theme: Sled Html
*	Version: 1.0.0
*  Last update: 2/11/2022
*/

* {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	list-style: none;
	outline: none;
	box-sizing: border-box;
}
:root {
	--white: #fff;
	--black: #181818;
	--primary: 255,165,0;
	--cubic-bez-4ms: .4s cubic-bezier(.5, .05, .155, .99);
}
::-webkit-scrollbar {
	width: .7rem;
}
::-webkit-scrollbar-track {
	background: transparent; 
}
::-webkit-scrollbar-thumb {
	border-radius: 1rem;
}
html {
	scrollbar-width: thin;
	scroll-behavior: smooth;
}

body {
	font-family: 'Ubuntu', sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--white);
	background: linear-gradient(95deg, #0391A4, #AB633A);
}
body.docs {
	display: grid;
	grid-template-columns: 17rem 1fr;
}

header, section, footer { padding: 2rem; }

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
body.landing header {
	position: fixed;
	width: 100%;
	padding-block: 1rem;
	background-color: var(--black);
	border-bottom: .1rem solid rgb( var(--primary) );
	z-index: 999;
}
.mobile-nav-toggle {
	display: none;
 }
.docs header {
	display: block;
	grid-row: span 2; 
	border-right: .1rem solid rgb( var(--primary) );
}
section {
	border-bottom: .1rem solid rgb( var(--primary) );
	padding-block: 3rem;
}
body.landing section {
	border-bottom: none;
}
body.landing section article a img, .btn-cta {
	box-shadow: .1rem .15rem 1rem 0 rgba(255,255,255,.1);
	transition: var(--cubic-bez-4ms);
}
body.landing section article a img:hover, .btn-cta:hover {
	transform: translate3d(0, -1rem, 0);
	box-shadow: 0 2rem 3rem -.5rem rgba(255,255,255,.17);
}
body.landing footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .5rem;
	padding-block: .5rem;
	background-color: var(--black);
	border-top: .1rem solid rgb( var(--primary) );
}
article {
	margin-bottom: 1rem;
	border-bottom: .1rem solid rgba(255,255,255, .2);
}

.relative {
	position: relative;
	display: block;
}
.badge {
	background-color: #04cc04;
	position: absolute;
	right: 0;
	color: #fff;
	font-weight: bold;
	padding: .5rem 1rem;
	z-index: 99;
}

h1, h2, h3 { color: var(--white); }
h1 {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 0;
}
h2 {
	font-size: 1.6rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}
h3 {
	font-size: 1.2rem;
	margin-bottom: .5rem;
}
p { margin-bottom: .8rem; }
a {
	color: rgb( var(--primary) );
	text-decoration: none;
	transition: var(--cubic-bez-4ms);
	cursor: pointer;
}
a:hover {
	color: rgba( var(--primary), .8);
	text-decoration: underline;
}
img { width: 100%; }
ul.landingnav li {
	display: inline-block;
	padding-inline: 1rem;
}
body.docs ul {
	margin-bottom: 1.5rem;
	margin-left: .5rem;
}
body.docs ul li:before {
	content: '\2022';
	margin-inline: .5rem;
	color: rgb( var(--primary) );
}
body.docs ul.navdoc li {
	font-size: 1.2rem;
	padding-block: .6rem;
}
.btn {
	display: inline-block;
   padding: .4rem 1.2rem;
	text-transform: uppercase;
   font-style: italic;
	font-weight: 700;
	border-radius: 1.5rem;
	border: .15rem solid rgba( var(--primary), .6);
   color: var(--white);
   background-color: rgba( var(--primary), .6);
	transition: var(--cubic-bez-4ms);
}
.btn:hover { 
	color: rgb( var(--primary) );
	background-color: transparent;
	border: .15rem solid rgb( var(--primary) );
	text-decoration: none;
	transform: scale(1.2);
}
.btn-white {
	border: .15rem solid var(--white);
	color: var(--white);
   background-color: transparent;
}
.btn-white:hover { 
	border: .15rem solid var(--white);
}
.btn-cta {
	font-size: 1.5rem;
}
.btn-cta:hover {
	transform: scale(1.5);
}
.md-fixed { position: fixed; }
.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	place-items: center;
	gap: 2rem;
}
.gtc-2 { grid-template-columns: repeat(2, 1fr); }
.flex { display: flex; }
.g-2 { gap: 2rem; }
.mt-off { margin-top: -2.5rem !important; }
.m-auto { margin: auto; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.txt-center { text-align: center; }
.txt-dark {	color: var(--black); }
.primary { color: rgb( var(--primary) ); }
.bg-white { background-color: rgba(255, 255, 255, .6); }
.mxw-25 { max-width: 25rem; }
.mxw-30 { max-width: 30rem; }
.mxw-60 { max-width: 60rem; }
.notice {
	display: inline-block;
	background: rgba(255,255,255, .2);
	border-radius: .8rem;
	padding: .5rem 1rem;
	margin-bottom: .5rem;
	border: .1rem solid rgb( var(--primary) );
}
.feature {
	max-width: 30rem;
	height: 100%;
	border-radius: .8rem;
	padding: 2rem;
	margin-bottom: 0;
	border: .15rem solid rgb( var(--primary) );
	background: var(--black);
	color: var(--white);
	transition: var(--cubic-bez-4ms);
}
.feature svg {
	width: 3rem;
	aspect-ratio: 1;
	margin-bottom: 1.5rem;
	color: rgb( var(--primary) );
	transition: var(--cubic-bez-4ms);
}
.feature:hover {
	background: rgb( var(--primary) );
}
.feature:hover svg {
	color: var(--white);
}
.screen {
	display: block;
	margin-block: .5rem;
	max-width: 65rem;
	border-radius: .8rem;
}
.logo { width: 8rem; }
footer .logo { width: 5rem; }
body.docs .logo { width: 14rem; }

section.slider {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: start;
	flex-direction: column;
	background-image: url(../imgs/demos/preview.webp);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 50%;
}
section.slider h3 {
	font-weight: 400;
}
section.slider > *:not(:last-child) {
	margin-bottom: 1.5rem;
}

section.cta {
	padding-block: 5rem;
	text-align: center;
	background-image: url(../imgs/bg/gym/bg.webp);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
section.cta h3 {
	font-weight: 400;
	text-transform: uppercase;
}

.faq {
	margin-bottom: 1rem;
	border-radius: .8rem;
}
.faq-question {
	padding: .5rem 1rem;
	margin-bottom: 0;
	border-radius: .8rem;
	border-bottom: .15rem solid rgb( var(--primary) );
	background-color: var(--black);
}
.faq-body {
	height: 0;
	margin-bottom: 0;
	transform: rotateX(90deg);
	transform-origin: top;
	transition: var(--cubic-bez-4ms);
}
.faq-open {
	border: .15rem solid rgb( var(--primary) );
	transition: var(--cubic-bez-4ms);
}
.faq-open > .faq-body {
	height: auto;
	padding: 1rem;
	transform: rotateX(0);
}

button#gotop {
   display: none;
   position: fixed;
   right: 3rem;
   bottom: 3rem;
   aspect-ratio: 1;
   padding: .8rem 1rem;
   border-radius: 50%;
   border: .15rem solid rgb( var(--primary) );
	font-size: 2rem;
   color: rgb( var(--primary) );
	background-color: var(--black);
   animation: fadeIn ease-out 1.5s;
   transition: var(--cubic-bez-4ms);
   z-index: 99;
}
button#gotop svg {
   height: 2rem;
	margin-top: .3rem;
}
@-moz-document url-prefix() {
	button#gotop svg {
		margin-top: 0;
	}
 }
button#gotop:hover {
   color: var(--white);
   background-color: rgb( var(--primary) );
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 80em) {
   button.gotop {
      right: 1rem;
      bottom: 1rem;
   }
	pre {
		white-space: pre-wrap;
		word-wrap: break-word;
	}
}

@media (max-width: 65em) {
	.mobile-nav-toggle {
		display: block;
		position: absolute;
		right: 2rem;
		font-size: 1.5rem;
		color: var(--white);
		z-index: 9999;
	}
	.mobile-nav-toggle:before { content: '\002630';	}
	.mobile-nav-toggle[aria-expanded="true"]:before { content: '\002715'; }
	.landingnav {
		position: fixed;
		inset: 0;
		left: unset;
		width: 16rem;
		padding: 6rem 2rem;
		background-color: var(--black);
		z-index: 1000;
		transform: translateX(100%);
		transition: transform var(--cubic-bez-4ms);
	}
	ul.landingnav li {
		display: block;
		padding-block: .6rem;
	}
	.landingnav[data-visible="true"] {
		transform: translateX(0);
	}

	section.slider {
		min-height: 120vh;
		display: flex;
		justify-content: start;
		align-items: start;
		flex-direction: column;
		padding-top: 8rem;
		background-position: bottom center;
		background-size: contain;
	}
	section.slider > :not(:last-child) {
		margin-bottom: .5rem;
	}
	.grid, .gtc-2 { grid-template-columns: 1fr; }

	body.docs { grid-template-columns: 1fr; }
	.md-fixed { position: relative; }
	.docs header {
		grid-row: span 1;
		border-bottom: .2rem solid rgb( var(--primary) );
		border-right: none;
	}
}
