@import "./home/index.css";
@import "./nav/index.css";
@import "./log/index.css";
@import "./menu/index.css";
@import "./footer/index.css";
@import "./sign-in/index.css";
@import "./account/index.css";
@import "./products-single/index.css";
@import "./plans-single/index.css";
@import "./trial/index.css";
@import "./subscriptions-single/index.css";
@import "./projects-index/index.css";
@import "./projects-create/index.css";
@import "./projects-single/index.css";
@import "./about/index.css";
@import "./faq/index.css";
@import "./terms/index.css";
@import "./modal/index.css";
@import "./dead-end/index.css";
@import "./carousel/index.css";
@import "./onboard/index.css";

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: system-ui,sans-serif;
	width: 100%;
	height: 100%;
	color: #444;
}

div, p {
	line-height: 1.4;
}

x-not-found {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem;
	height: calc(100vh - 90px);
}

x-app {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

x-app > * > .column {
	padding: 1rem;
	margin: auto;
}

x-app > * > .column.top {
	margin-top: unset;
}

@media (min-width: 768px) {
	x-app > * > .column.top {
		padding-bottom: 4rem;
	}
}

h1,h2,h3,h4,h5 {
	font-weight: 500;
	margin-top: 0;
}

h1 {
	margin-bottom: 1.25rem;
}

h2,h3 {
	font-weight: 400;
}

a,
a:visited {
	color: #888;
}
a:hover,
a:active {
	color: #666;
}

form {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 1rem;
}

form.row {
	flex-direction: row;
	justify-content: space-around;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.field.row {
	flex-direction: row;
}

.field.row > * {
	width: 100%;
}

.field > .row {
	gap: 0.5rem;
}

label {
	font-size: 0.8rem;
	font-weight: bold;
	line-height: 1.4;
}

input,
select,
.option {
	line-height: inherit;
	padding: 1rem;
	border-radius: 0.5rem;
	border: 1px solid #e7e7e7;
	font-family: inherit;
	font-size: inherit;
	background-color: #fff;
	color: inherit;
	-webkit-appearance: none;
}
.option:hover,
.option[selected] {
	background-color: #eee;
}

select {
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="rgb(51,51,51)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>');
	background-repeat: no-repeat;
	background-size: 0.9rem;
	background-position-x: calc(100% - 0.1rem);
	background-position-y: 50%;
	text-overflow: ellipsis;
}

input {
  -webkit-appearance: none;
}
input[type=checkbox],
input[type=radio] {
  -webkit-appearance: auto;
}

input::placeholder {
	color: #ccc;
}
input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:focus,
select:focus,
button:focus,
.button:focus {
	outline: none;
	/*
	border: 1px solid #c7c7c7;
	*/
}

input:disabled,
select:disabled {
	background-color: #eee;
}

button,
.button,
.button:active,
.button:visited {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	cursor: pointer;
	border-radius: 0.5rem;
	/*background-color: #3f57e8;*/
	background-color: #65b672;
	border: 0;
	color: #fff;
	appearance: none;
	-webkit-appearance: none;
	user-select: none;
	-webkit-user-select: none;
	padding: 1rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	text-align: center;
	text-decoration: none;
	border: 1px solid transparent;
	letter-spacing: 0.05rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	touch-action: manipulation;
}

button[disabled] {
	opacity: 0.5;
	pointer-events: none;
}

button:hover,
.button:hover,
.button.hover {
	/*background-color: #3246ba;*/
	background-color: #488e53;
	color: #fff;
}

button.neutral,
.button.neutral {
	background-color: #888;
}

button.neutral:hover,
.button.neutral:hover,
.button.neutral.hover {
	background-color: #666;
}

button.negative,
.button.negative {
	background-color: #ff6c6c;
}

button.negative:hover,
.button.negative:hover,
.button.negative.hover {
	background-color: #ff2c2c;
}

button.link,
.button.link {
	padding: 0;
	background-color: none;
	text-decoration: underline;
	color: #999;
	letter-spacing: normal;
}

button.link:hover,
button.link.hover {
	color: #666;
}

button.short,
.button.short {
	padding-top: 0.2rem;
	padding-bottom: 0.2rem;
}

img {
	display: block;
}

.row,
.button.row {
	display: flex;
	flex-direction: row;
	gap: 1rem;
}
.button.row {
	min-height: 3.525rem;
}
.row input {
	width: 100%;
}
.row input[type=checkbox],
.row input[type=radio] {
	width: unset;
	margin: 0;
}

.row.spread {
	justify-content: space-between;
}

.row.fill > * {
	flex-grow: 1;
	flex-basis: 100%;
	min-width: 0;
}

.column {
	display: flex;
	gap: 1rem;
	flex-direction: column;
}
.column.tight {
	gap: 0.5rem;
}

.hidden {
	display: none !important;
}

.invisible {
	visibility: hidden;
}

.hide {
	opacity: 0;
	pointer-events: none;
}

.animate-bg {
	transition: background 0.3s;
}
