.projects {
	background-image: url("../../../../assets/projects/projects_back.png");
	background-repeat: no-repeat;
	background-position: 100% 145%;
	width: 100%;
}

.projects-container {
	margin: 60px 0;
	padding: 0 15px;
	width: 1270px;
	display: flex;
	flex-direction: row;
}

.map-frame {
	width: 70%;
	height: 620px;
	margin-right: 20px;
	margin-bottom: 20px;
}

#map {
	width: 100%;
	height: 100%;
	z-index: 0;
}

.project_cards {
	width: 30%;
	display: flex;
	flex-direction: column;
}

.projects .card-wrapper {
	box-shadow: 0px 0px 15px 0px rgba(41, 41, 42, 0.2);
	direction: ltr;
	background-color: white;
	border-radius: 8px;
	margin-bottom: 20px;
}

.card-show .project_card {
	display: block;
}

.project_head {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 10px;
	cursor: pointer;
	user-select: none;
}

.close {
	font-weight: 500;
	cursor: pointer;
	user-select: none;
	z-index: 0;
	transform: rotate(45deg);
	transition: all 500ms ease-out;
}

.close-active {
	transform: rotate(0deg);
}

.project_card {
	display: none;
}

.project_pic {
	position: relative;
	width: 100%;
}

.project_pic_img {
	width: 100%;
}

.project_pic_tag {
	position: absolute;
	top: 0%;
	left: 0%;
	padding: 15px 20px;
	background: rgba(38, 162, 238, 0.77);
	border-bottom-right-radius: 8px;
	color: white;
}

.description {
	padding: 15px;
}

.description_content {
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	grid-gap: 10px;
	justify-content: space-between;
}

.description_content p {
	font-size: 17px;
}

.popup {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-gap: 10px;
	width: 90%;
	box-shadow: 0px 0px 10px 2px rgba(34, 60, 80, 0.4);
	border-radius: 8px;
	padding: 5px;
	visibility: hidden;
	opacity: 0;
	position: fixed;
	z-index: 5;
	left: -28%;
	top: 14%;
	transition: all 0.8s ease 0s;
	background-color: #eef2f8;
}

.popup_img {
	width: 30px;
}

.popup_close {
	cursor: pointer;
}

.popup_show {
	visibility: visible;
	opacity: 1;
	left: 5%;
}

@media screen and (max-width: 1024px) {
	.projects-container {
		flex-direction: column;
		align-items: center;
		margin: 30px 0;
	}

	.map-frame {
		width: 100%;
		margin-right: 0;
	}

	.project_cards {
		width: 50%;
	}

	.description_content p {
		font-size: 15px;
	}
}

@media screen and (max-width: 668px) {
	.map-frame {
		height: 400px;
	}

	.project_cards {
		width: 100%;
	}
}
