@media screen and (max-width: 1200px) {
	.wrapper {
		background-size: 80%;
	}

	.list-bg::before {
		top: -360px;
	}

	.home-box .content h2 {
		font-size: 35px;
	}

	.footer .footer-block .footer-description {
		gap: 20px;
	}

	.opposite-dir {
		gap: 15px;
	}

	.opposite-dir .filters-panel {
		max-width: 270px;
	}

	.detail-box::after {
		width: 270px;
		height: 390px;
	}

	.detail-box::before {
		right: 30px;
	}
}

@media screen and (max-width: 1023px) {

	.btn-menu,
	.btn-close {
		width: 40px;
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		border: none;
		background-color: #f4b512;
		color: #fff;
		margin-left: auto;
		font-size: 26px;
	}

	.main-menu {
		position: fixed;
		background-color: #fff;
		height: 100vh;
		width: 100%;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		padding: 15px;
		z-index: 99;
		display: none;
	}

	.main-menu.open-menus {
		display: block;
	}

	.top-menu-header {
		display: flex;
		align-items: center;
	}

	.top-menu-header .logo {
		width: 100%;
		max-width: 150px;
	}

	.main-menu ul {
		gap: 0;
		flex-direction: column;
		margin-top: 15px;
		border-top: 1px solid #ddd;
		padding: 0;
		border-radius: 0;
		background-color: transparent;
	}

	.main-menu ul li a {
		padding: 15px;
		display: flex;
		border-bottom: 1px solid #ddd;
		color: #000;
	}

	.header-right {
		gap: 10px;
	}

	.header-right .account-menu {
		padding: 0;
		background-color: transparent;
	}

	.banner-content h2 {
		font-size: 30px;
	}

	.banner-content {
		padding: 40px 0;
	}

	.banner-content .btn {
		margin-top: 10px;
	}

	.what-box {
		grid-template-columns: repeat(2, 1fr);
	}

	.home-box .content h2 {
		font-size: 26px;
	}

	.section-gapping {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.footer .footer-logo {
		max-width: 250px;
	}

	.footer .footer-links .title {
		font-size: 20px;
	}

	.inner-banner {
		padding: 70px 0;
	}

	.banner-text {
		font-size: 40px;
	}

	.datasets-bg.wrapper::before {
		right: -150px;
		top: -150px;
		width: 500px;
		height: 500px;
	}

	.list-bg::before {
		top: -230px;
		width: 500px;
		height: 500px;
	}

	.active-box {
		grid-template-columns: repeat(3, 1fr);
	}

	.card-view,
	.bookmark-section .card-view {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media screen and (max-width: 991px) {
	.contactus-detail {
		grid-template-columns: repeat(1, 1fr);
	}

	.card-view {
		grid-template-columns: repeat(2, 1fr);
	}

	.dataset-detail {
		flex-direction: column;
		gap: 20px;
	}

	.sidebar {
		max-width: 100%;
	}


	.sidebarDataGen {
		max-width: 100%;
	}

	.opposite-dir {
		flex-direction: column;
	}

	.opposite-dir .filters-panel {
		max-width: 100%;
	}

	.filters-panel .btn_filter {
		display: block;
		width: 100%;
		background: #39af65 !important;
	}

	.filters-panel .sidebar {
		display: none;
		margin-top: 20px;
	}
	.filters-panel .sidebarDataGen {
		display: none;
		margin-top: 20px;
	}

}

@media (min-width: 1500px) {

	.filters-panel .btn_filter {
		display: block;
		width: 100%;
		background: #39af65 !important;
	}
    #sidebarDataGen {
        margin-top:50px;
        display: none; /* Sidebar hidden by default */
        position: absolute;
        right: 0;
        top: 0;
        background-color: white;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    /* Show sidebar when button is clicked */
    #sidebarDataGen.show {
        display: block;
    }

    /* Hide the toggle button on larger screens */
    #toggleSidebar {
        display: block;
        margin-bottom: 10px;
    }

}

/* On larger screens, display the sidebar normally */
@media (max-width: 769px) {
    #sidebar {
        display: block;
    }

	.detail-box::before,
	.detail-box::after {
		width: 150px;
		height: 210px;
	}

	.dataset-detail.explorer-box {
		display: flex;
	}
}

@media screen and (max-width: 767px) {
	.wrapper {
		background-size: 70%;
		padding-top: 70px;
	}

	.datasets-bg.wrapper::before {
		right: -100px;
		top: -100px;
		width: 300px;
		height: 300px;
	}

	.list-bg::before {
		top: -140px;
		width: 200px;
		height: 300px;
		right: -150px;
	}

	.header .logo {
		max-width: 140px;
	}

	.banner-content {
		padding: 20px 0;
	}

	.banner-section .banner,
	.broader-box,
	.home-box {
		grid-template-columns: repeat(1, 1fr);
	}

	.countdown-block {
		grid-template-columns: repeat(1, 1fr);
		padding: 20px 0;
		gap: 30px;
	}

	.what-box {
		grid-template-columns: repeat(1, 1fr);
		gap: 60px 50px;
	}

	.main-title h2 {
		font-size: 26px;
		padding: 0 35px;
	}

	.main-title h2::before,
	.main-title h2::after {
		height: 3px;
		width: 20px;
	}

	.data-section .main-title {
		margin-bottom: 60px;
	}

	.footer .footer-bg1,
	.footer .footer-bg2 {
		max-width: 150px;
	}

	.footer .footer-block .footer-description {
		flex-direction: column;
	}

	.footer .footer-logo {
		max-width: 100%;
		text-align: center;
	}

	.footer-logo .logo {
		max-width: 150px;
		margin: 0 auto 15px;
	}

	.footer .footer-social {
		justify-content: center;
	}

	.footer-links {
		grid-template-columns: repeat(1, 1fr);
		gap: 30px;
	}

	.footer .footer-links .title {
		margin-bottom: 15px;
	}

	.broader-box .contain h3 {
		font-size: 20px;
	}

	.broader-box .contain ul li {
		flex-direction: column;
		text-align: center;
	}

	.home-box.right .info-img {
		order: 0;
	}

	.home-box .content h2 {
		font-size: 22px;
	}

	body .btn .icon {
		width: 20px;
		height: 20px;
	}

	.tag {
		font-size: 14px;
	}

	.banner-content h2 {
		font-size: 20px;
	}

	body p {
		font-size: 14px;
		line-height: 140%;
	}

	.sign-in-container,
	.sign-up-container {
		width: 100%;
	}

	button.link {
		display: inline-block;
	}

	#form-box.right-panel-active .sign-in-container,
	#form-box.right-panel-active .sign-up-container {
		transform: none;
	}

	.login-section {
		height: auto;
		margin: 40px 0;
	}

	.overlay-container {
		top: 0;
		left: 0;
		width: 100%;
		height: 350px;
	}

	#form-box.right-panel-active .overlay-container {
		transform: none;
	}

	.form-container {
		top: auto;
		height: auto;
		bottom: 0;
		min-height: 550px;
		padding: 20px;
	}

	#form-box {
		width: 100%;
		min-height: 936px;
	}

	.login-section.forgot-section {
		height: 100vh;
		margin: 0;
	}

	.contactus-detail .contact-title {
		font-size: 28px;
	}

	.contact-form-detail {
		grid-template-columns: repeat(1, 1fr);
		margin-bottom: 15px;
	}

	.contactus-detail {
		padding: 20px;
	}

	.avatar-image .avatar {
		width: 100px;
		height: 100px;
	}

	.avatar-image {
		width: 120px;
		height: 120px;
		margin: 0 0 10px;
	}

	.detail-box {
		padding: 20px;
		gap: 20px;
		background: #fff;
		flex-direction: column;
		text-align: center;
	}

	.tabs {
		padding: 20px;
	}

	.detail-box .card-detail h2 {
		font-size: 24px;
		text-align: center;
	}

	.detail-box::before,
	.detail-box::after {
		width: 140px;
		height: 180px;
	}

	.active-box,
	.bookmark-section .card-view {
		grid-template-columns: repeat(2, 1fr);
	}

	.detail-box .btn-detail {
		flex-wrap: wrap;
		position: static;
		justify-content: center;
	}
}

@media screen and (max-width: 600px) {

	.card-view,
	.bookmark-section .card-view {
		grid-template-columns: repeat(1, 1fr);
	}

	.top-header .title,
	.inner-main-title {
		font-size: 20px;
	}

	.popup .share-popup {
		width: 90%;
	}

	.btn-detail {
		gap: 5px;
	}

	.active-box {
		grid-template-columns: repeat(1, 1fr);
	}
}