@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* General */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.select_anim_green_background {
	transition: 0.2s;
}

.select_anim_green_background:hover {
	background-color: #b7ffd7;
}

.select_anim_white {
	transition: 0.2s;
}

.select_anim_white:hover {
	color: #fff !important;
}

.select_anim_blue_background_white:hover {
	background-color: #378bee;
	color: white !important;
}

.select_anim_green_background_blue:hover {
	background-color: #51ee99;
	color: #378bee !important;
}

* {
	box-sizing: border-box;
	/* z-index: 2; */
}

.blueText {
	color: #378bee;
}

.greyText {
	color: #ababab;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Roboto', serif;
	font-weight: 400;
	font-style: normal;
	color: #414141;
	overflow-x: hidden;
}

/* Header */

.menu-icon {
	display: none;
}

header {
	margin-top: 25px;
	/* width: 1620px; */
	/* height: 58px; */
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.title {
	width: 160px;
	height: 47px;
}

nav {
	font-size: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 50px;
	margin-left: 113px;
}

.nav__item {
	all: unset;
	transition: 0.15s;
}

.nav__item:hover {
	color: #378bee;
}

/* Main-screen */

.loading {
	background-image: url('/img/loading/medium.png');
	background-repeat: round;
}

.empty {
	display: none !important;
}

.main-screen {
	/* width: 1820px; */
	height: 600px;
	background: url('/img/main-screen-bg-text.svg') #378bee;
	border-radius: 50px;
	overflow: hidden;
	position: relative;
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 50px;
	padding-bottom: 50px;
	z-index: 1;
}

.main-screen__cloud {
	position: absolute;
	width: 677px;
	height: 542px;
	background: linear-gradient(
		90deg,
		rgba(62, 255, 152, 0.8) -103.92%,
		rgba(87, 255, 90, 0.8) 103.92%
	);
	background-color: black;
	filter: blur(125px);
	transform: rotate(35.25deg);
	z-index: -1;
}

.main-screen__cloud:first-child {
	bottom: -300px;
	left: -175px;
}

.main-screen__cloud:nth-child(2) {
	top: -225px;
	right: -350px;
}

.main-screen-text {
	width: 1346px;
	height: 225px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 80px;
	z-index: 2;
}

.main-screen-text img {
	z-index: 2;
	position: sticky; /* Это для того чтобы z-index работал */
	height: 225px;
	width: 1346px;
}

.main-screen-nav {
	width: 648px;
	display: flex;
	margin-left: auto;
	margin-right: auto;
	margin-top: 115px;
	border: white solid 2px;
	border-radius: 50px;
	padding: 10px;
	color: white;
	gap: 5px;
	font-size: 20px;
	z-index: 2;
}

.main-screen-nav__item {
	padding: 20px 0px 20px 12px;
	width: 206px;
	background-color: #ffffff33;
	text-align: center;
	display: flex;
	align-items: center;
	gap: 5px;
}

.main-screen-nav__item:hover {
	background-color: #ffffff40;
}

.main-screen-nav__item:first-child {
	border-radius: 50px 0 0 50px;
	background-color: white;
	padding-right: 40px;
	justify-content: end;
	color: #414141;
}

.main-screen-nav__item:last-child {
	border-radius: 0 50px 50px 0;
	padding-left: 25px;
	justify-content: start;
}

.group {
	position: relative;
}

/* Search menu */

.search {
	background-color: white;
	width: 80%;
	height: 100px;
	position: absolute;
	bottom: -50px;
	border-radius: 50px;
	border: #f1f1f1 solid 1px;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	box-shadow: 0px 2px 40px 0px #0000001a;
	display: flex;
	align-items: center;
	padding: 0 1vw 0 50px;
	font-size: 20px;
	justify-content: space-between;
	z-index: 2;
}

.search__settings {
	width: 100%;
	justify-content: space-around;
	/* gap: 5.5%; */
	display: flex;
	align-items: center;
	color: #ababab;
}

.search__select {
	color: #ababab;
	padding: 0 8vw 0 10px;
	background: url('/img/down-arrow.svg') no-repeat 100% 50%;
	width: 18vw;

	color: #414141;
}

.search__select[data-content='Пункт отправления'],
.search__select[data-content='Пункт прибытия'] {
	color: #ababab;
}

.search__select span {
	color: #414141;
}

.search__settings > * {
	display: flex;
}

.select_date {
	all: unset;
	margin-left: 20px;
	background-color: transparent;
	color: #414141;
}

input.select_date[value='Дата поездки'] {
	color: #ababab;
}

.search-btn {
	all: unset;
	color: white;
	background-color: #378bee;
	padding: 15px 2% 15px 2%;
	width: 10%;
	border-radius: 30px;
	height: 30px;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
}

.point {
	user-select: none;
	cursor: pointer;
	width: 20vw;
	display: flex;
	align-items: center;
}

.point-out {
	position: relative;
}

.select-menu {
	position: absolute;
	box-shadow: 0px 2px 40px 0px #0000001a;
	border-radius: 0 0 15px 15px;
	width: 100%;
	top: 35px;
	background-color: white;
	font-size: 15px;
	display: none;
	z-index: 3;
}

.select-menu__item {
	display: flex;
	justify-content: space-between;
	padding: 7px 20px 7px 20px;
	align-items: center;
	user-select: none;
	cursor: pointer;
}

.select-menu > *:last-child {
	border-radius: 0 0 15px 15px;
}

.select-menu > *:hover {
	background-color: #cfe5ff;
	color: #212121;
}

.calendar {
	cursor: pointer;
	display: flex;
	align-items: center;
}

.search-medium {
	display: none;
}

.search-small {
	display: none;
}

/* Tickets */

.tickets {
	display: flex;
	flex-wrap: wrap;
	margin: 80px auto 0 auto;
	width: 1532px;
}

.filter {
	width: 100%;
	font-size: 16px;
	display: flex;
	justify-content: space-between;
}

.filter > * {
	display: flex;
	align-items: center;
}

.filter > *:first-child {
	gap: 10px;
}

.filter > *:last-child {
	display: flex;
	justify-content: space-between;
	gap: 50px;
}

.filter > *:last-child > * {
	display: flex;
	align-items: center;
	gap: 7px;
}

.switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.switch input {
	display: none;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 44px;
	background-color: #ccc;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	border-radius: 30px;
}

.slider:before {
	position: absolute;
	content: '';
	height: 20px;
	width: 20px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: #51ee99;
}

input:focus + .slider {
	box-shadow: 0 0 1px #51ee99;
}

input:checked + .slider:before {
	transform: translateX(20px);
}

.filter__select {
	all: unset;
	cursor: pointer;
	color: #378bee;
	background: url('/img/down-arrow-blue.svg') no-repeat 100% 50%;
	padding: 0 25px 0 0;
}

a {
	all: unset;
}

.day-btn {
	all: unset;
	cursor: pointer;
	height: 38px;
	width: 104px;
	border-radius: 40px;
	border: 1px #ababab dashed;
	text-align: center;
	color: #ababab;
	font-size: 16px;
}

.day-btn-selected {
	border-color: #378bee;
	color: #378bee;
}

.tickets-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1vw;
	margin-top: 50px;
}

.more {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
}

.more-btn {
	all: unset;
	height: 58px;
	width: 192px;
	border-radius: 30px;
	border: 1px #51ee99 solid;
	color: #51ee99;
	text-align: center;
	cursor: pointer;
	font-size: 20px;
	transition: 0.2s;
}

/* Guide */

.guide-screen {
	background: url('/img/main-screen-bg-text-rotate.svg') #378bee 50% 50%
		no-repeat;
	background-size: 100% 100%;
	border-radius: 50px;
	overflow: hidden;
	margin-left: 50px;
	margin-right: 50px;
	margin-top: 140px;
	color: white;
	display: flex;
	flex-direction: column;
	padding: 70px 100px;
	gap: 50px;
}

.guide-screen__title {
	font-size: 60px;
	text-align: center;
	font-weight: 300;
}

.guide {
	display: flex;
	margin: 0 auto;
}

.guide > *:not(.arrow) {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 220px;
	padding: 0 10px;
}

.guide-screen__icon {
	margin-left: auto;
	margin-right: auto;
}

.arrow {
	margin-top: 100px;
	margin-left: 25px;
	margin-right: 25px;
}

.guide-screen__guide__title {
	display: flex;
	justify-content: center;
	font-size: 30px;
	font-weight: 300;
	white-space: nowrap;
	width: 90%;
	margin: 10px auto 0 auto;
	text-align: center;
}

.guide-screen__description {
	text-align: center;
	margin: 15px auto 0 auto;
	color: #cfe5ff;
	font-size: 18px;
}

/* Post-trip */

.post-trip-screen {
	border-radius: 50px;
	background-color: #f5f5f5;
	margin: 200px 50px 0 50px;
	overflow: hidden;
	display: flex;
	color: #212121;
	font-size: 30px;
	height: 588px;
}

.post-trip-screen__description {
	margin: 70px 75px 70px 100px;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.landscape {
	height: 100%;
	transform: rotateY(180deg);
}

.post-trip-screen__title {
	font-size: 60px;
	font-weight: 500;
}

.post-trip-screen__title span {
	font-weight: 300;
	font-style: italic;
	font-size: 90px;
	color: #378bee;
}

.post-trip-screen__btn {
	all: unset;
	cursor: pointer;
	color: #ffffff;
	background: url('/img/short-right-arrow.svg') #378bee no-repeat 90% 50%;
	padding: 15px 30px 15px 30px;
	width: 330px;
	font-size: 20px;
	border-radius: 30px;
}

.post-trip-screen-small {
	display: none;
}

/* Marketing */

.apps-list-mini {
	display: none;
}

.marketing {
	height: 700px;
	background: url('/img/main-screen-bg-text-rotate-v2.svg') no-repeat #378bee;
	border-radius: 50px;
	overflow: hidden;
	position: relative;
	margin: 200px 50px 0 50px;
	padding-bottom: 50px;
	display: flex;
	justify-content: center;
}

.marketing__cloud-1 {
	position: absolute;
	width: 677px;
	height: 542px;
	background: linear-gradient(
		90deg,
		rgba(62, 255, 152, 0.8) -103.92%,
		rgba(87, 255, 90, 0.8) 103.92%
	);
	background-color: black;
	filter: blur(125px);
	transform: rotate(35.25deg);
	z-index: -1;
	bottom: -250px;
	left: -150px;
}

.marketing-text {
	background: url('/img/marketing-text.svg') no-repeat 50% 15%;
	width: 100%;
	display: flex;
	justify-content: center;
}

.phone {
	height: 100%;
	width: 100%;
	background: url('/img/phone-1.png') no-repeat 10% 50%;
	position: absolute;
}

.apps {
	margin: 350px 0 0 400px;
	color: white;
	font-size: 30px;
	font-weight: 300;
	gap: 50px;
	display: flex;
	flex-direction: column;
}

.apps-list {
	display: flex;
	flex-wrap: wrap;
	width: 390px;
	gap: 17px;
}

.apps-list > * {
	height: 53px;
}

/* Footer  */

.footer-company-social-icon {
	width: 30px;
}

.footer-contacts-icon {
	width: 17px;
	height: 20px;
}

.footer {
	background-color: #212121;
	display: flex;
	color: #fff;
	justify-content: space-around;
	align-items: center;
	height: 150px;
	padding: 0 15px;
	margin-top: 50px;
}

.footer-company,
.footer-contacts {
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.footer-company {
	gap: 100px;
}

.footer-company-social {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 25px;
}

.footer-contacts-geo,
.footer-contacts-phone,
.footer-contacts-emal {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 13px;
}

.footer-contacts {
	gap: 50px;
}

.footer-company-creator {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: #ababab;
}

.footer-company-creator > span {
	white-space: nowrap;
}

/* Functions  */

.functions {
	display: flex;
	justify-content: space-between;
	font-size: 20px;
	margin: 140px 50px 0 50px;
}

.functions > div {
	height: 520px;
	width: 49.5%;
	border-radius: 50px;
	padding: 70px 100px;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.functions > div:first-child {
	border: 2px solid #378bee;
	background: url('/img/big-bus.png') no-repeat 101% 101%;
	color: #378bee;
}

.functions > div:last-child {
	background: #378bee url('/img/main-screen-bg-text-rotate.svg');
	position: relative;
	color: white;
}

.money-bg {
	position: absolute;
	bottom: -170px;
	right: -50px;
}

.function__header {
	font-size: 60px;
	font-weight: 300;
}

.function__information {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.function__buttons {
	display: flex;
	flex-direction: column;
	gap: 17px;
	font-size: 20px;
}

.function__buttons > button {
	all: unset;
	cursor: pointer;
	padding: 15px 30px;
	width: 230px;
	border-radius: 30px;
}

.function__buttons > button:first-child {
	background-color: #51ee99;
	color: #378bee;
}

.first > button {
	background-image: url('/img/right-arrow-blue.svg');
	background-repeat: no-repeat;
	background-position: 90% 50%;
	transition: 0.2s;
}

.second > button {
	background-image: url('/img/right-arrow-blue.svg');
	background-repeat: no-repeat;
	background-position: 90% 50%;
	transition: 0.2s;
}

.first > button:last-child {
	border: 2px solid #378bee;
	color: #378bee;
}

.second > button:last-child {
	background-image: url('/img/right-arrow-green.svg');
	border: 2px solid #51ee99;
	color: #51ee99;
}

/* Comments  */

.comments-screen {
	margin: 200px 0;
	font-size: 18px;
}

.comments__header {
	font-weight: 500;
	font-size: 60px;
	text-align: center;
	color: #212121;
}

.comments-list {
	display: flex;
	gap: 20px;
	margin-top: 77px;
	padding: 0 150px;
	position: relative;
	width: 100%;
}

.comment {
	border: 2px solid #378bee;
	border-radius: 30px;
	padding: 30px 40px;
	position: relative;
}

.comment__user__avatar {
	background-color: grey;
	border-radius: 100%;
	height: 50px;
	width: 50px;
}

.comment__user__avatar2 {
	background: url(/imgs/bbbb.jpeg);
	background-size: cover;
}

.comment__user__avatar1 {
	background: url(/imgs/bbb.jpeg);
	background-size: cover;
}

.comment__user {
	display: flex;
	align-items: center;
	gap: 10px;
}

.comment__user-data {
	font-size: 20px;
}

.comment__user-data > div:last-child {
	font-size: 16px;
}

.comment__text {
	margin-top: 20px;
	color: #4a4951;
}

.comment__text__header {
	color: #212121;
	font-size: 24px;
}

.commas {
	position: absolute;
	right: 40px;
	top: -33px;
}

.arrows {
	position: absolute;
	display: flex;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	justify-content: space-between;
	width: 100%;
	z-index: 100;
}

.arrows > div {
	background-color: #378bee;
	padding: 13px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.arrows > div:first-child {
	border-radius: 0 50px 50px 0;
	background-color: #dedede;
	cursor: default;
}

.arrows > div:last-child {
	border-radius: 50px 0 0 50px;
}

#datepicker-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
}

#datepicker-modal {
	display: flex;
}

#datepicker-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}

.footer_rules {
	text-decoration: underline;
}
