@font-face {
	font-family: "Roboto";
	src: url("/public/fonts/RobotoFlex.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url("/public/fonts/RobotoFlex.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url("/public/fonts/RobotoFlex.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url("/public/fonts/RobotoFlex.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
}

body {
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	background-color: #1a1b20;
	color: #eee;
	margin-right: 8px;
	margin-left: 8px;
}

main {
	max-width: 90%;
	min-width: 280px;
	margin: 0 auto;
}

input,
textarea,
select {
	padding: 0.25rem 0.5rem;
	border: none;
	border-bottom: 2px solid #7f7f7f;
	color: #eee;
	background-color: #30313c;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	transition: border-color 0.1s;

	&:focus {
		outline: none;
		border-bottom: 2px solid #8cbaff;
	}
}

.btn {
	border-radius: 5px;
	font-weight: inherit;
	color: #ffffff;
	cursor: pointer;
	line-height: 21px;
	font-size: 14px;
	padding: 0.5rem 1rem;
	user-select: none;
	width: fit-content;
	word-break: auto-phrase;
	border: none;
	transition: background-color 0.3s;

	&.primary {
		background-color: #2663ff;
		&:hover {
			background-color: #007bff;
		}
	}

	&.success {
		background-color: #d76525;
		&:hover {
			background-color: #ff7f50;
		}
	}

	&.danger {
		background-color: #8f2033;
		&:hover {
			background-color: #924250;
		}
	}

	&:disabled {
		background-color: #4f4f4f;
		cursor: not-allowed;
		box-shadow: none;

		&:hover {
			background-color: #4f4f4f;
		}
	}
}

.notification {
	padding: 10px;
	background-color: #2f2f2f;
	border: 2px solid #7f7f7f;
	border-radius: 5px;
	color: #eee;
	font-size: 16px;
	margin-bottom: 8px;
	z-index: 10000;
}

@media (min-width: 450px) {
	main {
		max-width: 500px;
	}
}

@media (min-width: 768px) {
	main {
		max-width: 700px;
	}
}

@media (min-width: 1024px) {
	main {
		max-width: 950px;
	}
}

@media (min-width: 1280px) {
	main {
		max-width: 1100px;
	}
}

@media (min-width: 1600px) {
	main {
		max-width: 1500px;
	}
}
