@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

*,
*:before,
*:after {
	list-style: none;
	outline: none;
	box-sizing: border-box;
	border: 0;
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	font-size: 16px;
}

body {
	height: 100%;
	position: relative;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}

nav {
	position: sticky;
	top: 0;
	right: 0;
	left: 0;
	z-index: 100;
	transition: all 0.27s cubic-bezier(0, 0, 0.58, 1);
}

nav ul {
	display: flex;
	justify-content: space-between;
	padding: var(--space-6);
}

nav .login-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid;
	border-color: transparent;
	border-radius: 50%;
	padding: var(--space-2);

	i {
		font-size: small;
	}
}

nav .login-icon.active {
	border-color: var(--color-accent);
}

nav a {
	color: var(--color-text-primary);
	font-weight: 400;
}

nav .logo {
	font-size: 1.5rem;
}

.masonry {
	display: -ms-grid;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
	grid-gap: 5rem;
	padding: 4rem 1rem;
}

figure {
	padding: 0;
	margin: 0;

	.item-img {
		object-fit: fill;
		aspect-ratio: 1 / .6;
	}
}

figcaption {
    padding: 1.5rem 1rem;
    line-height: 1.4;
}

figcaption span {
	display: block;
}

figcaption .item-title {
	position: relative;
	font-weight: bold;
	color: var(--color-text-primary);
}

figcaption .item-subtitle {
	font-size: 1.2rem;
	color: var(--color-text-primary);
	padding: .5rem 0;
}

.main-title {
	font-size: 1.25rem;
	line-height: 3.8rem;
}

.flex {
	display: flex;
}

.flex-1 {
	flex: 1;
}

.align-center {
	align-items: center;
}

.item-image {
	border-radius: 10px;
	background: var(--color-bg-primary);
	box-shadow: 12px 12px 35px rgba(0, 0, 0, 0.4);
	overflow: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding-right: 1rem;
	padding-left: 1rem;
}

.ratio-60 {
	position: relative;
}

.ratio-60:before {
	content: "";
	display: block;
	padding-top: 40%;
}

.py-3 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.py-5 {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

img {
	width: 100%;
}

.map {
	fill: #373d4c;
	stroke: #4f5463;
	stroke-width: 0.5265px;
}

.list-title {
    margin: 0;
    font-size: var(--text-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--main-text);
}

.filter-btn {
	border: 1px solid var(--color-border);
    background: var(--card-bg);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 0.38rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;

   /*  padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
	color: var(--text-primary);
    background: transparent;
    border-color: var(--filter-border);
    cursor: pointer;
    transition: all 0.1s ease; */
}

.filter-btn.active {
    font-weight: var(--font-weight-semibold);
    background: var(--color-btn-bg);
	border-color: var(--color-btn-bg);
    color: var(--color-btn);
}

.filter-btn:not(.active):hover {
    background: var(--sb-hover-bg);
}

@media (max-width: 767px) {
	body {
		background-size: 90%;
	}

	header {
		padding: 2rem 0rem;
	}

	.masonry {
		-webkit-columns: 1;
		columns: 1;
	}
}

@media (min-width: 1025px) {
	::-webkit-scrollbar {
		width: 5px;
		height: 5px;
	}

	::-webkit-scrollbar-track {
		-webkit-box-shadow: #b6b6b6;
		box-shadow: #b6b6b6;
		border-radius: 0;
	}

	::-webkit-scrollbar-thumb {
		background: #9c9c9c;
		border-radius: 2px;
	}

	::-webkit-scrollbar-thumb:hover {
		background: #818181;
	}
}

@media only screen and (min-width: 768px) {}

@media only screen and (min-width: 1280px) {}