* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Georgia', 'Times New Roman', serif;
	background: #f7f3ef;
	min-height: 100vh;
	box-sizing: border-box;
}
.page-wrapper {
	background: url("../assets/img/Map_bg.jpg") no-repeat center / cover fixed;
}
.container {
	padding: 0;
	max-width: 1200px;
	margin: auto;
}

.custom-title {
	color: rgb(129, 157, 125);
	font-family: 'Georgia', serif;
	font-weight: bold;
	font-size: 2.8rem;
	margin-bottom: 2.5rem;
	text-align: left;
	line-height: 1.1;
}
.text-content {
	font-size: 2rem;
}
.text-content-2 {
	font-size: 1.7rem
}
.cards-row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
}

.custom-card {
	aspect-ratio: 1 / 0.8;
	/* background: #FFF6EB; */
	background: #ffffff;
	/* border-radius: 20px; */
	box-shadow: 0px 4px 22px 2px rgba(0, 0, 0, 0.2);
	border: none;
	width: 100%;
	max-width: 100%;
	padding: 15px 15px 0;
	transition: transform 0.15s;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.custom-card:hover {
	transform: translateY(-5px);
	box-shadow: 0px 4px 26px 2px rgba(0, 0, 0, 0.2);
}
.custom-card .img-container {
	/* border-radius: 10px; */
	overflow: hidden;
}
.card-img-top {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* border-radius: 18px 18px 0 0; */
}

.card-body {
	border-radius: 0 0 18px 18px;
	text-align: center;
	padding: 24px 16px;
	/* margin-top: 40px; */
}

.card-text {
	/* color: #4B3723; */
	color: rgb(129, 157, 125);
	font-weight: 500;
	font-size: 1.25rem;
	margin-bottom: 0;
}

/* Overlay (fullscreen modal) */
.fullscreen-overlay {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background: #f7f3ef;
	align-items: center;
	justify-content: center;
	transition: opacity 0.3s;
	opacity: 0;
	pointer-events: none;
}

.fullscreen-overlay.active {
	display: flex;
	opacity: 1;
	pointer-events: auto;
}

.overlay-img-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	/* padding: 20px 150px; */
	padding: 20px 70px 20px 90px;
	align-items: center;
	justify-content: center;
	background: none;
	overflow: hidden;
	background: #f8f3ec;
}
.img-container {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.img-container .overlay-img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	user-select: none;
	pointer-events: none;
}
.data-container {
    width: 30%;
    /* padding: 8rem 10px 3rem 3rem; */
    padding: 2rem 10px 3rem 20px;
    align-self: start;
	overflow-y: auto;
	max-height: 100%;
}
.data-container::-webkit-scrollbar {
    width: 2px;
}
.data-container::-webkit-scrollbar-track {
    background: rgb(192, 210, 190);
}
.data-container::-webkit-scrollbar-thumb {
    background-color: rgb(129, 157, 125);
    /* border-radius: 6px; */
    /* border: 1px solid var(--color-white); */
}
.img-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* Buttons */
.overlay-btn {
	position: absolute;
	background: none;
	border: none;
	color: rgb(129, 157, 125);
	z-index: 2;
	cursor: pointer;
	padding: 0 10px;
	line-height: 1;
	transition: color 0.2s;
	opacity: 1;
	transition: transform 0.3s ease-out;
}
.overlay-btn:hover {
	transform: scale(1.05);
}
.overlay-btn.close-btn {
    top: 30px;
    right: 36px;
    width: 40px;
    height: 40px;
    padding: 0;
}

.overlay-btn.back-btn {
    /* top: 30px;
    left: 36px;
    width: 80px;
    height: 80px; */
	top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid rgb(129, 157, 125);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay-btn.back-btn svg {
    width: auto;
    height: 27px;
	transform: rotate(180deg);
}
/* Pins on map */
.pin-btn {
	position: absolute;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	outline: none;
	z-index: 10;
	width: 37px;
	height: auto;
	/* transform: translate(-50%, -100%); */
	/* μετακινεί το κάτω μέρος του pin εκεί που είναι το ποσοστό */
}

.pin-btn img {
	width: 100%;
	height: 100%;
	pointer-events: none;
	user-select: none;
	display: block;
}

#infoModal .modal-body {
	color: #4B3723;
}
#infoModal .modal-dialog {
    max-width: 800px;
}
.modal-header .btn-close {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}
.modal-title {
	font-size: 3rem !important;
}
