@import url('https://fonts.googleapis.com/css2?family=Rubik+Wet+Paint&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik+Wet+Paint&display=swap');


* {
	font-family: "Rubik Wet Paint", system-ui;
	font-weight: 400;
	font-style: normal;
	z-index: 200;
}

:root {
	--bg-color: rgb(13, 13, 13);
}

html, body {
	margin: 0;
	padding: 0;
	background-color: var(--bg-color);
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
	display: none;
}

.description {
	color: white;
	font-size: 24px;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings: "wdth" 100;
}

.first-page, .second-page {
	width: 100vw;
}

.first-page {
	display: flex;
	flex-direction: column;
	width: 100vw;
}

.fp-left {
	display: grid;
	grid-template-columns: 33% 34% 33%;
	height: 80px;
	width: calc(100vw - 2rem);
	border-bottom: 1px solid gray;
	background-color: rgb(13, 13, 13);
	align-items: center;
	padding: 0 1rem;

	@media (width < 1024px) {
		display: grid;
		grid-template-columns: 50% 50%;
		height: 160px;
	}
}



.top-title {
	color: white;
	font-size: 48px;

	@media screen and (width >= 2560px) {
		margin-bottom: 5rem;
	}

	@media screen and (width >= 1920px) {
		margin-bottom: 4rem;
	}

	@media screen and (width >= 1024px) {
		margin-bottom: 3rem;
	}

}

.fp-right {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	flex-direction: column;

	width: 100vw;
	padding-top: 1rem;
}

.today-quests {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	height: min-content;

	@media screen and (width >= 2560px) {
		gap: 7rem;
	}

	@media screen and (width >= 1920px) {
		gap: 3rem;
	}

	@media screen and (width >= 1024px) {
		gap: 2rem;
	}
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

/* Для контейнеров с контентом */
* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

html, body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

.fp-right > p {
	width: 50%;
	text-align: center;
	color: white;
	font-family: 'Roboto', sans-serif;
	padding-bottom: 3rem;
	font-size: 20px;

	@media (width < 1024px) {
		width: 85%;
	}
}

.quest {
	background-color: var(--bg-color);
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	z-index: 100;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 300px;
	max-width: 30%;
	border: 1px solid gray;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings: "wdth" 100;

	@media (width < 1024px) {
		margin-top: 1rem;
	}
}

.quest:hover {
	@media (width > 1200px) {
		transform: scale(1.02);
	}
	z-index: 101;
}

#max-logo {
	height: 25px;
	width: 25px;

	@media screen and (width >= 2560px) {
		height: 50px;
		width: 50px;
	}

	@media screen and (width >= 1920px) {
		height: 40px;
		width: 40px;
	}

	@media screen and (width >= 1024px) {
		height: 30px;
		width: 30px;
	}
}

a {
	text-decoration: none;
}

.center-link {
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	gap: 1rem;
}

.max-link {
	background-color: rgb(76, 73, 245);
	color: white;
	border-radius: 7px;
	padding: 7px 20px;
	width: min-content;
	font-size: 24px;

	@media screen and (width >= 2560px) {
		font-size: 20px;
	}

	@media screen and (width >= 1920px) {
		font-size: 18px;
	}

	@media screen and (width >= 1024px) {
		top: 15px;
		right: 15px;
		font-size: 16px;
	}
}

.quest-image-handler {
	width: 100%;
}

.quest-image {
	width: 100%;
}

.quest-data {
	padding: 1rem;
}

.quest-data > h2 {
	color: white;
	margin-top: 0;
	text-align: center;
}

.quest-data > p {
	color: white;
	font-weight: 400;
	font-family: 'Roboto', 'sans-serif';

	@media screen and (width >= 2560px) {
		font-size: 22px;
	}

	@media screen and (width >= 1920px) {
		font-size: 18px;
	}
}

.quest-price {
	color: indianred;
	font-size: 24px;
	-webkit-text-stroke: 1px gray;
    text-stroke: 1px red;
	margin-right: 1rem;
}

.quest-bottom {
	display: flex;
	justify-content: end;
	margin-bottom: 0.5rem;
	width: 100%;
	align-content: space-between;
}

.second-page {
	display: flex;
	flex-direction: column;
	margin-left: 20%;
	width: 60%;
	justify-content: center;

	@media (width < 1024px) {
		margin-left: 5%;
		width: 90%;
	}
}

.sp-left, .sp-right {
	padding: 1rem;
}

.sp-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 5rem;
}

.sp-left > h1, .sp-left > p {
	text-align: center;
}

.accordion {
	color: white;
	border-radius: 7px;
	border: 1px solid gray;
}

.accordion-item {
	display: flex;
	flex-direction: column;
	color: white;
}

.accordion-header {
	margin: 0;
}

.accordion-header > button {
	height: 100%;
	width: 100%;
	display: block;
	font-size: 22px;
	background-color: rgba(45, 55, 72, 0.7);
	border: none;
}

h1 {
	color: white;
	text-align: center;
}

.accordion {
	width: 100%;
	border: 1px solid gray;
	border-radius: 8px;
	overflow: hidden;
}

.accordion-item {
	border-bottom: 1px solid gray;
	color: white;
}

.accordion-item:last-child {
	border-bottom: none;
}

.accordion-header {
	margin: 0;
	color: white;
}

.accordion-button {
	width: 100%;
	padding: 16px 20px;
	text-align: left;
	background: #f8f9fa;
	border: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	position: relative;
	transition: background-color 0.3s;
	color: white;
}

.accordion-button:hover {
	background: #2d3748;
}

.accordion-button::after {
	content: '\21B4';
	position: absolute;
	right: 20px;
	font-size: 18px;
	transition: transform 0.3s;
}

.accordion-button.active::after {
	content: '-';
	transform: rotate(180deg);
}

.accordion-collapse {
	height: 0;
	overflow: hidden;
	transition: all 0.3s ease-out;
}

.accordion-collapse.show {
	height: min-content;
}

.accordion-body {
	padding: 20px;
	background: rgb(13, 13, 13);
	line-height: 1.5;
	font-size: 20px;
	font-family: "Roboto", sans-serif;
}

.info-text {
	color: white;
	font-size: 20px;
	font-family: "Roboto", sans-serif;
}





.background-element {
    position: absolute;
    z-index: 400;
    pointer-events: none;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.background-element:hover {
    opacity: 0.3;
}

.cross {
    color: lightgray;
}

.circle {
    color: lightgray;
}

/* Пример контента для демонстрации */
.content {
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-top: 20px;
}

.footer {
	width: 100%;
	height: 200px;
	background-color: #000000;
	z-index: 200;
	margin-top: 5rem;
}
























.header {
    padding: 16px 0;
    background: black;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.header__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.header__logo {
    width: 200px;
    height: 200px;
}

.header__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__title {
    color: #ba4242;
    font-size: 32px;
    margin: 0;
    letter-spacing: 2px;
    line-height: 1.2;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.header__work-hours {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.header__contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: rgb(76, 73, 245);
	color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.header__contact-btn:hover {
    background: #9c3636;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(186, 66, 66, 0.3);
}

.header__btn-text {
    font-size: 16px;
    font-weight: 500;
}

.header__btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Планшет (768px и выше) */
@media (min-width: 768px) {
    .header__content {
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
        padding: 0 24px;
    }

    .header__brand {
        flex-direction: row;
        gap: 20px;
        text-align: left;
    }

    .header__logo {
        width: 70px;
        height: 70px;
    }

    .header__title {
        font-size: 40px;
    }

    .header__contacts {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
        width: auto;
    }

    .header__work-hours {
        font-size: 15px;
        text-align: right;
    }

    .header__contact-btn {
        width: auto;
        padding: 10px 20px;
    }
}

/* Десктоп (1024px и выше) */
@media (min-width: 1024px) {
    .header {
        padding: 20px 0;
    }

    .header__content {
        padding: 0 32px;
        gap: 40px;
    }

    .header__logo {
        width: 90px;
        height: 90px;
    }

    .header__title {
        font-size: 48px;
        letter-spacing: 3px;
    }

    .header__work-hours {
        font-size: 16px;
    }

    .header__contact-btn {
        padding: 12px 28px;
    }

    .header__btn-icon {
        width: 22px;
        height: 22px;
    }
}

/* Большие экраны (1440px и выше) */
@media (min-width: 1440px) {
    .header__content {
        padding: 0 48px;
    }
}

.gis-map {
	z-index: 400;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 3rem;
	flex-direction: column;
	width: 100%;
}

.gis-map > iframe {
	width: 1000px;

	@media (width < 1000px) {
		width: 100%;
	}
}

#subdesc_modal {
	background-color: rgb(13, 13, 13);
	border-radius: 6px;
	border: 1px solid #4a5568;
	position: fixed;
	padding: 1rem;
	z-index: 1000;
	top: -100vh;
	transition: all 0.3s ease-in-out;

	-webkit-box-shadow: 0px 0px 43px 2px rgba(197, 197, 197, 0.55);
	-moz-box-shadow: 0px 0px 43px 2px rgba(197, 197, 197, 0.55);
	box-shadow: 0px 0px 43px 2px rgba(197, 197, 197, 0.55);

	@media (width <= 768px) {
		width: calc(100% - 4rem);
		height: calc(100% - 4rem);
		left: 1rem;
	}

	@media (width >= 768px) {
		width: 600px;
		height: calc(100% - 12rem);
		left: calc(50% - 301px);
	}
}

#subdesc_modal.active {
	@media (width <= 768px) {
		top: 1rem;
		left: 1rem;
	}

	@media (width >= 768px) {
		top: 5rem;
		left: calc(50% - 301px);
	}
}

#modal-title {
	color: white;
	padding: 0;
	margin: 0;
}

.modal-footer {
	height: 2rem;
	display: flex;
}

#close-modal-button {
	background-color: #9c3636;
	color: white;
	width: 100%;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
}

.modal-body {
	height: calc(100% - 4rem);
	padding: 1rem;
	width: calc(100% - 2rem);
	overflow-y: scroll;
}

#modal-data {
	margin-top: 4rem;
	font-size: 14px;
	color: white;
	font-family: "Roboto", sans-serif;
}
