@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');
.containers {
	position: relative;
	width: 100%;
	height: 500px;
	background: #f5f5f5;
	box-shadow: 0 30px 50px #dbdbdb;
	margin: 0rem auto 5rem;
}
.containers .slidez .item {
	width: 100px;
	height: 150px;
	position: absolute;
	top: 60%;
	transform: translate(0, 0);
	border-radius: 20px;
	box-shadow: 0 30px 50px #505050;
	background-position: 50% 50%;
	object-fit: cover;
	display: inline-block;
	transition: 0s;
	overflow: hidden;
}

.containers .slidez .item .slide-img {
	width: 100%;
	height: 100%;
	background-size: cover;
	position: relative;
	object-fit: cover;
	background-position: center;
}
.containers .slidez .item .slide-img {
	border-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2)) fill 1;
}

.slidez .item:nth-child(1) {
	top: 0;
	left: 0;
	transform: translate(0, 0);
	border-radius: 0;
	width: 100%;
	height: 100%;
	visibility: 0;
}
.slidez .item:nth-child(1) .slide-img {

	animation: visible 10s;
}

.slidez .item:nth-child(2) .slide-img {

	animation: opvisible 10s;
}
@keyframes visible {
    0% {
    opacity: 1
    }
    60% {
    opacity:1
    }
    98% {
    opacity: 0;
    }
}
.slidez .item:nth-child(2) {
	top: 0;
	left: 0;
	transform: translate(0, 0);
	border-radius: 0;
	width: 100%;
	height: 100%;
	visibility: 0;
}

@keyframes opvisible {
    0% {
    opacity: 0
    }
    60% {
    opacity:0
    }
    98% {
    opacity: 1;
    }
}
.slidez .item:nth-child(3),
.slidez .item:nth-child(4),
.slidez .item:nth-child(5),
.slidez .item:nth-child(n + 6) {
	opacity: 0;
}

.item .contents {
	position: absolute;
	top: 50%;
	left: 250px;
	width: 500px;
	text-align: left;
	color: #eee;
	transform: translate(0, -50%);
	display: none;
}

.slidez .item:nth-child(1) .contents {
	display: block;
}
.font {
  font-family: "Fjalla One", sans-serif;
}
.contents .name {
	font-size: 3.9rem;
  font-family: "Fjalla One", sans-serif;
	text-transform: uppercase;
	font-weight: 900;
	padding: 0;
	opacity: 0;
	line-height: 4.3rem;
	animation: animate 3s ease-in-out 1 forwards;
}

.contents .des {
	margin-top: 3px;
  font-family: "Fjalla One", sans-serif;
	margin-bottom: 6px;
	font-size: 2.5rem;
	padding: 0;
	opacity: 0;
	font-weight: 700;
	color: #0289e2;
	animation: animate 3s ease-in-out 0.3s 1 forwards;
}

.contents hr {
	width: 5rem;
  border-width: 4px;
	opacity: 0;
  position: absolute;
  bottom: -17px;
  left: 5px;
	animation: animate 3s ease-in-out 0.6s 1 forwards;
}

.home-cards .title {
	font-weight: 800;
  font-family: "Fjalla One", sans-serif;
	font-size: 1.2rem;
}
.home-cards .card {
	transition: all 1s;
}
.home-cards .user {
	background-color: rgba(0, 110, 181, 0.5);
}
.home-cards .dataset {
	background-color: rgba(23, 164, 151, 0.5);
}
.home-cards .borderland {
	background-color: rgba(255, 255, 255, 0.5);
}

@keyframes animate {
	from {
		opacity: 0;
		transform: translate(0, 100px);
		filter: blur(33px);
	}

	to {
		opacity: 1;
		transform: translate(0);
		filter: blur(0);
	}
}
.button {
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 20px;
	background: transparent;
}

.button button {
	width: 40px;
	height: 35px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	margin: 0 5px;
	transition: 0.3s;
	background: rgba(0, 0, 0, 0.314);

	color: white;
	object-fit: cover;
}

.button button:hover {
	background: #ababab;
	color: #fff;
}

.slidez .item:nth-child(1) .slide-img {
	animation: zooming 18s ;
}
.dropdown-menu .menitem-active .dropdown-item .active {
	background-color: transparent !important;
}
@keyframes zooming {
	0% {
		transform: scale(1, 1);
	}
	100% {
		transform: scale(1.2, 1.2);
	}
}

.blue-background {
	background-image: linear-gradient(
			rgba(4, 74, 131, 0.644),
			rgba(2, 68, 122, 0.678)
		),
		url('/static/images/africa.jpg');
	background-size: cover;
	background-position: center;
	background-attachment: fixed; /* Optional: keeps the background image fixed while scrolling */
	position: relative;
	padding: 100px 0; /* Adjust padding as needed */
}
.card:hover {
	transform: translateY(0px) !important;
}
.blue-background::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 255, 0.5); /* Blue color with 50% opacity */
	z-index: -1; /* Place the background behind the content */
}

.blue-background h1,
.blue-background p {
	color: white;
}
.card {
	margin-bottom: 30px; /* Adjust as needed */
}

.card:hover {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.btn-danger {
	background-color: #dc3545; /* Red color */
	border-color: #dc3545; /* Red color */
}

.btn-effect {
	transition: transform 0.3s, box-shadow 0.3s;
}

.btn-effect:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.page-item:nth-child(n + 10) {
	display: none;
}
.black-background {
	margin-top: 20px;
	margin-bottom: 40px;
}

#map-container {
	padding: 0.5rem 0rem;
	position: relative;
}
.borderlandDes {
	font-size: 17px;
	padding-left: 20%;
	padding-right: 20%;
}
.borderlandTitle {
	font-size: 40px;
	padding-top: 6%;
}
.image-card {
	position: relative;
	width: 100%;
	height: fit-content;
	overflow: hidden;
}
.image-hover-color {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background-color: transparent;
	width: 100%;
	z-index: 10;
	height: 100%;
	transition: all 1s;
}
.card:hover .image-hover-color {
	background-color: rgba(0, 0, 255, 0.4);
}
.stretched-link {
	background-color: #0039b5 !important;
	color: #fff !important;
	transition: all 1s !important;
}
.stretched-link:hover {
	background-color: #e1306c !important;
	color: white !important;
}
.card {
	border-radius: none;
}
.but-section {
	width: 20rem;
}
.buttons {
	width: 50%;
	text-transform: uppercase;
}
#viewCard:hover {
	background-color: #006eb5 !important;
}
#viewList:hover {
	background-color: #0039b5 !important;
}
.borderland-image {
	transform: scale(1.6, 1.6);
	transition: all 2s;
}
.card:hover .borderland-image {
	transform: scale(1, 1);
}

@media screen and (max-width: 600px) {
	.containers {
		height: 320px;
		background-color: transparent;
	}
	.containers .slidez .item {
		height: 320px;
		box-shadow: none;
	}
	.tab-content .summary {
		font-size: 1rem;
	}

	.slidez .item:nth-child(2),
	.slidez .item:nth-child(3),
	.slidez .item:nth-child(4) {
		display: none;
	}
	.item .contents {
		top: 50%;
		left: 45px;
		width: fit;
	}
	.containers .slidez .item .slide-img {
		border-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2)) fill
			1;
	}

	.contents .name {
	    width: 60%;
		font-size: 2rem;
		line-height: 2.2rem;
	}

	.contents .des {
	margin-top: 0px;
		font-size: 1.7rem;
	}

	.contents button {
		padding: 7px 15px;
	}

	.button button {
		width: fit;
		height: fit;
		border: none;
		margin: 0.3rem 5px;
		color: white;
	}
	iframe {
		height: 28rem !important;
	}
	#map-container {
		padding: 0.5rem 20px;
		height: 28rem !important;
		overflow: hidden;
		margin-bottom: 3rem;
	}
	.borderlandDes {
		padding: 0px 20px;
		width: 100%;
	}
	.borderlandTitle {
		font-size: 30px;
		padding: 0 20px;
	}
	#contentCards {
		padding: 0px 20px;
	}
	#contentList {
		padding: 0px 20px;
	}
	.landmass-area {
		padding: 0px 20px;
	}
	.but-section {
		padding: 0px 10px;
		width: 100%;
	}
}

/*this is the mobile view of the graphs*/

/* Media queries for responsiveness */
@media (max-width: 768px) {
	.graph-container-30km,
	.summary-info-30km {
		display: none; /* Hide 30km graph and summary info on small screens */
	}
	.graph-container,
	.summary-info {
		width: 100%; /* Ensure the remaining graph takes full width */
	}
}
@media (min-width: 769px) {
	.graph-container,
	.graph-container-30km,
	.summary-info,
	.summary-info-30km {
		width: 45%; /* Adjust the width for larger screens */
		display: inline-block;
		vertical-align: top;
	}
	.graph-container,
	.graph-container-30km {
		height: 800px; /* Set height for graphs */
	}
	.summary-info,
	.summary-info-30km {
		padding-left: 20px; /* Add some padding for readability */
	}
}
