:root {
	--first-color: #2e2e41;
	--second-color: #5b85ff;
	--third-color: #434354;
	--text-color: #fff;

	--box-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
	--text-shadow: 0 5px 25px rgb(2, 2, 2, 0.1);
}



section {
	transition: .5s ease;
}

.main-container {
	position: relative;
}

/* ===== Tab navigation content ===== */
.tab-nav-bar {
	position: relative;
	
}

.tab-navigation {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: fit-content;
	margin: 0 auto;
}

.tab-menu {
	color: var(--text-color);
	list-style: none;
	
	max-width: 100%;
	padding: 10px;
	white-space: nowrap;
	border-bottom: 1px solid var(--third-color);
	border-radius: 50px;
	box-shadow: var(--box-shadow);
	scroll-behavior: smooth;

	user-select: none;
	overflow-x: auto;
}

.tab-menu.dragging {
	scroll-behavior: unset;
	cursor: grab;
}

.tab-menu::-webkit-scrollbar {
	display: none;
}

.tab-btn {
	display: inline-block;
	color: var(--text-color);
	font-size: 1em;
	font-weight: 400;
	margin: 0 2px;
	padding: 10px 20px;
	border-radius: 30px;
	cursor: pointer;
	user-select: none;
	transition: background-color .3s ease;
}

.tab-menu.dragging .tab-btn {
	pointer-events: none;
}

.tab-btn:hover {
	background-color: var(--first-color);
}

.tab-btn.active {
	background-color: var(--second-color);
}

.left-btn,
.right-btn {
	position: absolute;
	color: var(--text-color);
	font-size: 1.8em;
	padding: 10px;
	cursor: pointer;
}

.left-btn {
	left: 0;
	background: linear-gradient(to left, transparent, black 50%);
	border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    margin:0px 0px 11px -1px;
	display: none;
}

.right-btn {
	right: 0;
	background: linear-gradient(to right, transparent, black 50%);
	border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    margin: 0px -1px 10px 0px;
}

.left-btn::before {
	font-family: 'Courier New', Courier, monospace;
  content: '<';
}

.right-btn::before {
	font-family: 'Courier New', Courier, monospace;
  content: '>';
}



/* ===== Tab content ===== */
.tab-content {
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 20px !important;
}

.tab {
	position: absolute;
	top: 0;
	right: auto;
	bottom: 0;
	left: auto;
	max-width: 1100px;
	padding: 15px 50px;
	opacity: 0;

	transform: translateX(25px);
	content-visibility: hidden;
}

.tab.active {
	transform: translateX(0);
	content-visibility: visible;
	opacity: 1;
	transition: opacity 1s ease, transform 1s ease;
	border:none;
	padding:0px;
}

.tab .row {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 50px 0;
	gap: 30px;
}

.tab .img-card {
	position: relative;
	width: 450px;
	max-width: 450px;
	height: 300px;
	max-height: 300px;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: var(--box-shadow);
}

.tab .img-card img {
	width: 100%;
	object-fit: cover;
}

.right-column {
	max-width: 800px;
}

.info .city,
.info .description p {
	color: var(--text-color);
	margin-bottom: 10px;
}

.info .city {
	font-size: 2em;
}

.country {
	color: var(--third-color);
	font-size: 5em;
	font-weight: 700;
	text-align: center;
	text-shadow: var(--text-shadow);
}



/* ===== Media queries (max-width: 1050px;) ===== */
@media screen and (max-width: 1050px) {
	section {
		margin: 0 0;
	}

	.tab-content{
		padding: 40px !important;
	}

	.tab {
		padding: 15px 25px;
	}

	.tab .row {
		flex-direction: column;
	}

	.tab .img-card {
		width: auto;
		max-width: 600px;
	}

	.country {
		font-size: 10vw;
		padding-bottom: 50px;
	}

}