@import url("https://fonts.googleapis.com/css2?family=Inter:opsz@14..32&display=swap");
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, button, input, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}

fieldset, img {
	border: 0;
}

img, object, embed {
	vertical-align: bottom;
}

address, caption, cite, code, dfn, em, th, var {
	font-style: normal;
	font-weight: normal;
}

ol, ul {
	list-style: none;
}

caption, th {
	text-align: left;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
}

q:before, q:after {
	content: '';
}

a * {
	cursor: pointer;
}

input,
textarea {
	outline: none;
}

:root {
	--font-size-general: 14px;
	--line-height-general: 1.2;
	--font-weight: 400;
	--default-font: sans-serif, serif;
	--color-main: #fff;
	--color-active: #9447ff;
	--color-marker: #231b30;
	--color-login: #d5d5d5;
	--border-color: #ffcc17;
	--bg-main: #120c1a;
	--bg-second: #231b31;
}

html {
	height: 100%;
	min-width: 320px;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	font: var(--font-size-general)/var(--line-height-general) var(--default-font);
	height: 100%;
	min-width: 320px;
	font-weight: var(--font-weight);
	position: relative;
	color: var(--color-main);
	background: var(--bg-main);
}

a {
	color: #2600ff;
	text-decoration: none;
}

input {
	outline: none;
	-webkit-appearance: none;
	border-radius: 0;
}

* {
	box-sizing: border-box;
	outline: none;
}

*:before, *:after {
	box-sizing: border-box;
}

* ::-moz-selection {
	background: #2600ff;
	color: #fff;
}

* ::selection {
	background: #2600ff;
	color: #fff;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
	color: #999;
}

input:-moz-placeholder, textarea:-moz-placeholder {
	color: #999;
	opacity: 1;
}

input::-moz-placeholder, textarea::-moz-placeholder {
	color: #999;
	opacity: 1;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
	color: #999;
}

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder {
	color: transparent;
}

input:focus:-moz-placeholder, textarea:focus:-moz-placeholder {
	color: transparent;
}

input:focus::-moz-placeholder, textarea:focus::-moz-placeholder {
	color: transparent;
}

input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder {
	color: transparent;
}

input.placeholder, textarea.placeholder {
	color: #999 !important;
}

.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.container {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

@media screen and (max-width: 600px) {
	.container {
		padding: 0;
	}
}

.header {
	background-color: var(--bg-second);
	padding: 20px 0;
	flex-shrink: 0;
	flex-grow: 0;
}

@media screen and (max-width: 1280px) {
	.header {
		padding-left: 20px;
		padding-right: 20px;
	}
}

@media screen and (max-width: 390px) {
	.header {
		padding-left: 10px;
		padding-right: 10px;
	}
}

.header-holder {
	display: flex;
	align-items: center;
	max-width: 1280px;
	margin: 0 auto;
}

.logo {
	max-width: 220px;
	margin-bottom: -12px;
}

@media screen and (max-width: 900px) {
	.logo {
		max-width: 180px;
	}
}

.logo a {
	display: block;
}

.logo svg {
	width: 100%;
	height: 100%;
}

.header-inner {
	display: flex;
	flex-grow: 1;
	flex-shrink: 1;
}

@media screen and (max-width: 768px) {
	.header-inner {
		justify-content: flex-end;
	}
}

.navigation {
	display: flex;
	align-self: center;
	margin-left: 65px;
	gap: 45px;
	flex-grow: 1;
	flex-shrink: 1;
}

@media screen and (max-width: 900px) {
	.navigation {
		margin-left: 30px;
		gap: 40px;
	}
}

@media screen and (max-width: 768px) {
	.navigation {
		display: none;
	}
}

.navigation li {
	position: relative;
	font-size: 16px;
}

.navigation a {
	transition: color .2s;
	color: var(--color-main);
}

.navigation .marker {
	position: absolute;
	top: -12px;
	right: -25px;
	background-color: var(--border-color);
	padding: 1px 3px;
	font-size: 10px;
	color: var(--color-marker);
	border-radius: 5px;
	text-transform: uppercase;
}

.header-custom {
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 0 28px;
	margin-left: 10px;
}

@media screen and (max-width: 768px) {
	.header-custom {
		display: none;
	}
}

.header-search {
	display: block;
	width: 30px;
	height: 30px;
}

.header-search svg {
	width: 100%;
	height: 100%;
}

.login-link {
	color: var(--color-login);
	border: 1px solid var(--color-login);
	border-radius: 6px;
	padding: 10px 20px;
	font-weight: 700;
	font-family: Arial, sans-serif;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	transition: color .2s, border .2s;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 1.134;
}

.header-mobile {
	display: none;
	align-items: center;
	gap: 20px;
	flex-grow: 0;
	flex-shrink: 0;
}

@media screen and (max-width: 768px) {
	.header-mobile {
		display: flex;
	}
}

@media screen and (max-width: 390px) {
	.header-mobile {
		gap: 10px;
	}
}

.header-mobile svg {
	width: 30px;
	height: 30px;
}

.header-mobile a {
	display: block;
}

.main {
	flex-shrink: 1;
	flex-grow: 1;
	padding-top: 30px;
}

.headline .title {
	font-weight: 600;
	font-size: 22px;
	margin-bottom: 20px;
}

.main-grid {
	--flex-gap: 25px;
	--flex-items: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 30px var(--flex-gap);
}

.main-grid .th {
	width: calc((100% / var(--flex-items)) - (((var(--flex-items) - 1) / var(--flex-items)) * var(--flex-gap)));
}

@media screen and (max-width: 991px) {
	.main-grid .th {
		--flex-items: 3;
	}
}

@media screen and (max-width: 767px) {
	.main-grid .th {
		--flex-items: 2;
	}
}

@media screen and (max-width: 479px) {
	.main-grid .th {
		--flex-items: 1;
	}
}

.card .image {
	display: block;
	height: auto;
	width: 100%;
	overflow: hidden;
	position: relative;
	padding-bottom: 56.25%;
}

.card .image.animation {
	animation: shadowPulse 3s ease-in-out infinite;
}

.card img {
	position: absolute;
	bottom: 0;
	height: 100%;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
}

.card .title {
	transition: color .2s;
	margin-top: 4px;
	font-size: 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	color: var(--color-main);
	line-height: 1.25;
}

@media screen and (min-width: 1025px) {
	.card .title:hover {
		color: var(--color-active);
	}
}

.card .subtitle {
	color: #777;
	line-height: 1.429;
}

@keyframes shadowPulse {
	0%, to {
		box-shadow: 0 0 17px 3px #d22fff;
	}
	50% {
		box-shadow: 0 0 17px 3px rgba(210, 47, 255, 0);
	}
}

.pagination-list {
	margin-top: 30px;
	font-family: 'Inter', sans-serif;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

@media screen and (max-width: 600px) {
	.pagination-list {
		gap: 0;
	}
}

a {
	color: var(--color-main);
	transition: color .2s;
}

.pagination-item {
	font-size: 20px;
	width: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 0;
	cursor: pointer;
}

@media screen and (max-width: 600px) {
	.pagination-item {
		font-size: 12px;
	}
}

.pagination-item.active {
	border-radius: 50%;
	border: 1px solid var(--border-color);
}

.footer {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px 10px 30px;
	max-width: 1280px;
	margin: 0 auto;
}

.footer svg {
	width: 100%;
	height: 100%;
}

.footer .list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 35px;
	margin-top: 20px;
	font-size: 14px;
}

.footer .list a {
	color: var(--color-main);
	transition: color .2s;
}

@media screen and (min-width: 1025px) {
	.footer .list a:hover {
		color: var(--color-active);
	}
}

.footer .text {
	margin-top: 40px;
	font-size: 10px;
	opacity: .5;
	text-align: center;
	line-height: 1.5;
	max-width: 1000px;
}

.footer p {
	margin-bottom: 23px;
}

.footer p:last-child {
	margin-bottom: 0;
}

.footer-logo {
	max-width: 330px;
	width: 100%;
}
