@font-face {
	font-family: "Montserrat";
	src: url("fonts/Montserrat-Regular.ttf");
	font-weight: normal;
}

@font-face {
	font-family: "Montserrat";
	src: url("fonts/Montserrat-Medium.ttf");
	font-weight: 500;
}

@font-face {
	font-family: "Montserrat";
	src: url("fonts/Montserrat-SemiBold.ttf");
	font-weight: 600;
}

@font-face {
	font-family: "Montserrat";
	src: url("fonts/Montserrat-Bold.ttf");
	font-weight: bold;
}

@font-face {
	font-family: "PlayfairDisplay";
	src: url("fonts/PlayfairDisplay-Bold.ttf");
	font-weight: bold;
}

:root {
	--cta-background-color: #3700b3;
	--disclaimer-color: #ecedfc;
	--border-color: #dad7da;
	--background-color: #fbfbfb;
	--primary-text-color: #010816;
	--secondary-text-color: #4d4d4d;
	--tertiary-text-color: #717171;

	--spacing-small: 1rem;
	--spacing-medium: 1.2rem;
	--spacing-large: 1.5rem;

	--svg-filter: invert(100%);
	--logo-src: url(img/Klee_commerce_logo.svg);
}

.dark {
	--disclaimer-color: #fcb0ce;
	--background-color: #121212;
	--primary-text-color: #fbfbfb;
	--secondary-text-color: hsl(0, 0%, 87%);
	--tertiary-text-color: hsl(0, 0%, 60%);

	--svg-filter: none;
	--logo-src: url(img/Klee_commerce_logo_dark.svg);
}

* {
	padding: 0;
	margin: 0;
}

body {
	font-family: "Montserrat";
	background-color: var(--background-color);
	color: var(--primary-text-color);
	margin-left: 0px;
	margin-right: 0px;
}

#logo {
	max-width: min(15vw, 100px);
	padding-top: 16px;
	padding-bottom: 16px;
	content: var(--logo-src);
}

.primary {
	color: var(--primary-text-color);
}

.secondary {
	color: var(--secondary-text-color);
}

h1 {
	padding-top: 16px;
	padding-bottom: 16px;
	margin-top: 0px;
	margin-bottom: 0px;
}

h1 .secondary {
	font-size: 18px;
	font-weight: 300;
}

h1 .primary {
	font-size: 32px;
	font-weight: 500;
}

header {
	height: 5rem;
	padding-left: var(--spacing-small);
}

h1 {
	text-align: center;
}

.disclaimer {
	background-color: var(--disclaimer-color);
	color: #010816;
	padding-top: 4px;
	padding-bottom: 4px;
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.disclaimer strong {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: unset;
}

.disclaimer p {
	font-size: 12px;
	margin-top: 4px;
	margin-bottom: 4px;
}

.disclaimer p em {
	line-height: 1.5em;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
}

.playfairTitle {
	font-family: "PlayfairDisplay";
	font-size: 32px;
	font-weight: bold;
}

.playfairSubTitle {
	font-family: "PlayfairDisplay";
	font-size: 28px;
	font-weight: bold;
}

.container-spacing {
	padding-left: var(--spacing-medium);
	padding-right: var(--spacing-medium);
}

.section-title {
	margin-top: var(--spacing-large);
}

/*  OFFICIAL  */

.button {
	all: unset;
	background-color: var(--cta-background-color);
	border-radius: 40px;
	width: auto;
	font-size: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 0.2rem 1rem 0.2rem 1rem;
	cursor: pointer;
}

#official .button {
	color: white;
}

.button .content {
	height: fit-content;
}

.svg-icon {
	padding-right: 8px;
	height: 32px;
}

.svg-icon2 {
	height: 24px;
	filter: var(--svg-filter);
}

.padding-right-2w {
	padding-right: 16px;
}

.button strong {
	font-size: 24px;
	font-weight: 600;
}

.button .format {
	font-size: 16px;
	font-weight: 500;
}

.button-container {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: var(--spacing-medium);
}

.button-container div {
	font-weight: normal;
	font-size: 12px;
}

.button-container strong {
	font-weight: 600;
	font-size: 18px;
}

#official h2 {
	font-weight: 600;
	font-size: 18px;
}

#official #official-version-number {
	font-weight: lighter;
	font-size: 14px;
}

/*  DOCUMENTATION  */

#documentation {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 32px 16px 8px 16px;
}

#documentation p {
	margin-top: 8px;
}

.doc {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 16px 8px 16px;
	width: fit-content;
}

.outlined {
	background-color: var(--background-color);
	border: 1px solid var(--primary-text-color);
}

.doc-text {
	width: 80%;
	display: flex;
	justify-content: flex-start;
	padding-right: 16px;
}

#documentation p {
	font-family: Montserrat;
	font-style: normal;
	font-weight: lighter;
	color: var(--tertiary-text-color);
	font-size: 14px;
	line-height: 18px;
	text-align: center;
}

/* button.android::before {
	background-image: url("img/android.svg");
	background-size: 32px 32px;
	vertical-align: middle;
	margin-left: 16px;
	display: inline flow-root;
	height: 32px;
	width: 32px;
	content: "";
} */

/* VERSION DOWNLOAD SECTION */

.version-download table {
	border-spacing: 0;
	border-collapse: collapse;
	padding: 0;
	margin-top: var(--spacing-small);
	border-top: var(--border-color) 0.5px solid;
	border-bottom: var(--border-color) 0.5px solid;
	width: 100%;
}

.version-download table tr th h3 {
	font-family: Playfair Display;
	font-style: normal;
	font-weight: bold;
	font-size: 32px;
}

.version-download table tr th p {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 500;
	font-size: 12px;
}

.version-download table tr {
	padding: 0;
}
.version-download table tr:not(:first-child) {
	margin-top: 5px;
	border-top: var(--border-color) 0.5px solid;
}

.version-download table tr td,
.version-download table tr th {
	height: 8rem;
}

.version-download table tr td {
	width: 100%;
}
.version-download table tr th {
	margin: 0;
	width: 4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	writing-mode: tb-rl;
	transform: rotate(-180deg);
	border-left: var(--border-color) 0.5px solid;
}

.version-download table tr td a {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 500;
	font-size: 18px;
	text-decoration: none;
	color: var(--primary-text-color);
	padding: 0.7rem;
}
.version-download table tr td span {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 300;
	font-size: 12px;
}
.version-download table tr td .svg-icon {
	height: 1rem;
	padding-right: 0.5rem;
	filter: var(--svg-filter);
}

.version-download table tr td .version-download-button-container {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: flex-start;
}

/*  APP LIST  */

/* .app-list {
	padding: 0 5rem;
} */

.app-item {
	margin: 2rem 0;
	display: flex;
	flex-flow: row wrap;
	gap: 2rem;
	align-items: center;
}

.app-item img {
	width: 5rem;
}

.app-name {
	font-weight: 500;
	font-size: 18px;
	text-decoration: none;
	color: var(--primary-text-color);
	width: 20rem;
}

.app-link {
	text-decoration: none;
	color: var(--primary-text-color);
	width: 15rem;
	padding: 8px 16px 8px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.app-link-text {
	flex: 1;
	display: flex;
	justify-content: center;
}

/*  FOOTER  */
footer {
	text-align: center;
	height: 4rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: var(--tertiary-text-color);
}

footer h5 {
	font-weight: lighter;
}
footer p {
	font-weight: lighter;
	font-size: 0.7rem;
}

/* container */

.container {
	margin-right: auto;
	margin-left: auto;
	min-height: calc(100vh - 4rem - 5rem);
}
@media (min-width: 768px) {
	.container {
		width: 750px;
	}
}
@media (min-width: 992px) {
	.container {
		width: 970px;
		padding-right: 15px;
		padding-left: 15px;
	}
}
@media (min-width: 1200px) {
	.container {
		width: 1170px;
		padding-right: 15px;
		padding-left: 15px;
	}
}
