@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');

:root {
	--blue: #2a3d63;
	--lightBlue: #475d8a;
	--gray: #4a4a4a;
	--lightGray: #f5f5f5;
	--accent: #f0803c;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.profile-photo {
	width: 50px;
	height: 50px;
	border-radius: 100%;
}
.carousel-container {
	width: 100%;
	height: 80px;
	top: 10px;
	overflow: hidden;
	position: relative;
	background-color: #d5d5d5;
	padding: 20px;
	border-radius: 10px;
}
.info-info {
	position: relative;
	left: 10px;
	top: 5px;
}
.info-text {
	color: black;
}
.flag1 {
	width: 20px;
	height: 12px;
	position: relative;
	top: 20px;
	right: 20px;
}
.info2,
.info1 {
	background-color: white;
	border-radius: 8px;
	display: flex;
	width: 180px;
	height: 60px;
	position: relative;
	bottom: 10px;
	text-decoration: none;
	box-shadow: 0 0 10px 1px #0000005a;
}
.info2 {
	position: relative;
	left: 90%;
}
.h2h-text {
	position: relative;
	bottom: 68px;
	left: 65px;
	font-family: 'Kaushan Script', cursive;
}
a {
	text-decoration: none;
}
.ntrp-text {
	position: relative;
	bottom: 48px;
	left: 65px;
	font-family: 'Kaushan Script', cursive;
	font-size: 20px;
}
.info-container {
	width: 100%;
	height: 80px;
	top: -15px;
	overflow: hidden;
	position: relative;
	padding: 20px;
	border-radius: 10px;
	display: flex;
}
.interactive-div {
	box-shadow: 0 0 10px 1px #0000005a;
	transition: background-color 0.2s, box-shadow 0.2s, color 0.2s;
	cursor: pointer;
	user-select: none;
}
.interactive-div:active {
	background-color: #2a3d63;
	box-shadow: 0 0 10px 1px #2a3d63;
	color: white;
}
.interactive-div:active .info-text {
	color: #fff;
}
@media (max-width: 595px) {
}
@media (max-width: 585px) {
	.info1,
	.info2,
	.info3 {
		width: 160px;
	}
	.info2 {
		position: relative;
		left: 100%;
	}
}
@media (max-width: 527px) {
	.info2 {
		position: relative;
		left: 90%;
	}
}
@media (max-width: 506px) {
	.info2 {
		position: relative;
		left: 70%;
	}
}
@media (max-width: 485px) {
	.info2 {
		position: relative;
		left: 50%;
	}
}
@media (max-width: 452px) {
	.info2 {
		position: relative;
		left: 40%;
	}
	.info3 {
		position: relative;
		left: -230px;
	}
}
@media (max-width: 438px) {
	.info2 {
		position: relative;
		left: 30%;
	}
}
@media (max-width: 419px) {
	.info2 {
		position: relative;
		left: 20%;
	}
}
@media (max-width: 405px) {
	.info2 {
		position: relative;
		left: 10%;
	}
}
@media (max-width: 405px) {
	.info-container {
		position: relative;
		left: 10px;
	}
	.info1,
	.info2 {
		width: 140px;
	}
}
@media (max-width: 382px) {
	.info-container {
		position: relative;
		left: 0px;
	}
	.info1,
	.info2 {
		width: 140px;
	}
}
@media (max-width: 382px) {
	.info-container {
		position: relative;
		left: -10px;
	}
}
@media (max-width: 352px) {
	.info-container {
		position: relative;
		left: -15px;
	}
}
.info3 {
	display: none;
}
/*трое(ПЕРЕД ИСПОЛЬЗОВАНИЕМ УБРАТЬ DISPLAY: NONE КОТОРЫЙ НАХОДИТСЯ СВЕРХУ)
.info-container{
	height: 150px;
}
.info3{
  	background-color: white;
  	border-radius: 8px;
  	display: flex;
  	width: 	180px;
  	height: 60px;
  	position: relative;
  	top: 	60px;
  	right: 185px;
  	text-decoration: none;
  	box-shadow: 0 0 10px 1px #0000005A;
}
*/

/* одно
.info2{
	display: none;
}
.info1{
	position: relative;
	left: 96%;
}
@media(max-width: 496px){
	.info1{
		position: relative;
		left: 84%;
	}
}
@media(max-width: 436px){
	.info1{
		position: relative;
		left: 64%;
	}
}
@media(max-width: 385px){
	.info1{
		position: relative;
		left: 54%;
	}
}
@media(max-width: 288px){
	.info1{
		position: relative;
		left: 40%;
	}
}*/
.logo-of-sponsor:hover img,
.logo-of-sponsor:active img,
.logo-of-sponsor:hover,
.logo-of-sponsor:active {
	filter: grayscale(0%);
}
.carousel-wrapper {
	display: flex;
	width: 100%;
}
.sponsor3,
.sponsor8 {
	border: 1px solid black;
}
.carousel img {
	width: 60px;
	height: 60px;
	border-radius: 100%;
}
.sponsor4 {
	border-radius: 0% !important;
	transform: scale(0.9);
}
.carousel {
	display: flex;
	animation: scroll 20s linear infinite;
	position: relative;
	bottom: 10px;
}
.carousel img:hover,
.carousel img:active {
	filter: grayscale(0%);
}
.logo-of-sponsor {
	margin-right: 20px;
	background-color: #d5d5d5;
	filter: grayscale(0%);
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 10px;
	border-radius: 100%;
	transition: filter 0.3s;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.paused {
	animation-play-state: paused !important;
}
.as {
	border: 1px solid black;
}
body {
	min-height: 100vh;
	background-color: #f0f0f0;
}

#container {
	width: 400px; /* Уменьшаем ширину контейнера */
	height: 400px; /* Высота контейнера */
	position: relative;
	overflow: hidden; /* Скрытие "лишнего" контента */
}

.wheel {
	position: absolute;
	width: 100%;
	height: 100%;
	transform-origin: center;
	animation: rotate 10s linear infinite;
}

.spoke {
	position: absolute;
	width: 2px; /* Ширина спицы */
	height: 50%; /* Длина спицы */
	background-color: transparent; /* Прозрачный фон спицы */
	top: 0;
	left: 50%;
	transform-origin: bottom;
}

.cabin {
	position: absolute;
	width: 60px; /* Ширина кабины */
	height: 60px; /* Высота кабины */
	border-radius: 50%; /* Делаем круглую форму */
	/* background-color: transparent; */ /* Убираем фон кабины */
	top: -0px; /* Небольшой сдвиг спонсора ближе к центру спицы */
	left: -0px; /* Небольшой сдвиг спонсора ближе к центру спицы */
}

.cabin img {
	width: 50px; /* Ширина изображения спонсора */
	height: 50px; /* Высота изображения спонсора */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.center-image-container {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	animation: changeImage 10s linear infinite;
}

.center-image img {
	max-width: 100%;
	max-height: 100%;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes changeImage {
	0%,
	10% {
		opacity: 1;
	}
	20%,
	30% {
		opacity: 0;
	}
	40% {
		transform: scale(1.1);
	}
	50% {
		transform: scale(1);
	}
	60%,
	100% {
		opacity: 1;
	}
}
#container {
	position: relative;
	right: 160px;
	bottom: 100px;
}
.app {
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 5px 0;
}

.home {
}

.home .container {
	max-width: 600px;
	padding: 0 15px;
	margin: 0 auto;
}

.home .header {
	min-height: 50px;
	position: relative;
	padding: 10px 0;
	background-color: var(--blue);
	color: #ffffff;
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
}

.header__slogan {
	position: absolute;
	display: block;
	margin: 0 0 0 10px;
	left: 0;
	right: 0;
	top: 15px;
	font-family: 'Kaushan Script', cursive;
	font-size: 20px;
	line-height: 1em;
	width: 190px;
	margin: 0 auto;
}
.sponsors1 {
	position: relative;
	bottom: 140px;
	display: grid;
	right: 150px;
}
.sponsors2 {
	position: relative;
	bottom: 290px;
	display: grid;
	right: 90px;
}
.sponsors3 {
	position: relative;
	bottom: 390px;
	display: grid;
	left: 180px;
}
.sponsors4 {
	position: relative;
	bottom: 540px;
	display: grid;
	left: 120px;
}
.header__slogan .ball {
	color: #051f52;
}
.img-fluid {
	width: 200px;
	height: 150px;
	position: relative;
	right: 35px;
	bottom: 70px;
}
.header__container {
	display: flex;
	width: 100%;
	/* justify-content: space-between; */
	align-items: center;
}

.header .logo {
	background-color: #ffffff;
	border-radius: 50%;
	padding: 5px;
	height: 50px;
	width: 500px;
}

.logo__wrapper {
	position: relative;
	margin-bottom: 10px;
	padding-bottom: 100px;
}
.logo {
	width: 100px;
}
.logo img {
	max-width: 100%;
	object-fit: cover;
}

.logo2 {
	width: 80px;
}
.logo2 img {
	max-width: 80%;
	object-fit: cover;
}

.header .link {
	display: block;
	text-decoration: none;
	color: #ffffff;
	font-weight: 600;
	font-size: 18px;
	position: relative;
}
.header .link:hover {
	color: var(--lightGray);
}
.header {
	height: 80px;
}
.header #login-button {
	position: relative;
	bottom: 47px;
}

.user {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.user__avatar {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid #ffffff;
	position: relative;
	bottom: 55px;
}

.user__avatar img {
	width: 100%;
}
.header .user__name {
	color: #ffffff;
	font-weight: 500;
	font-size: 24px;
	line-height: 24px;
	display: flex; /* Используем flex-контейнер */
	justify-content: center;
}

body {
	margin: 0; /* Убираем отступы по умолчанию */
}

.marquee {
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	box-sizing: border-box;
	position: relative;
}

.marquee-text {
	display: inline-block;
	animation: marquee 6s linear infinite;
	transform: translateX(-260%); /* Начинаем за пределами экрана справа */
}

@keyframes marquee {
	0% {
		transform: translateX(500%);
	} /* Завершаем за пределами экрана слева */
	100% {
		transform: translateX(-100%);
	} /* Двигаемся влево */
}

/* Стили для маркеров */
.marquee-marker {
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #ff6347;
}
.sponsors {
	display: flex;
	position: absolute;
}
.sponsors .single__sponsor {
	width: 85px;
}
.sponsors .single__sponsor:nth-of-type(1) {
	position: absolute;
	left: -90px;
	bottom: 120px;
}
.sponsors .single__sponsor:nth-of-type(2) {
	position: absolute;
	left: -90px;
	bottom: 30px;
}
.sponsors .single__sponsor:nth-of-type(3) {
	position: absolute;
	left: -45px;
	bottom: -55px;
}
.sponsors .single__sponsor:nth-of-type(4) {
	position: absolute;
	left: 55px;
	top: 5px;
}
.sponsors .single__sponsor:nth-of-type(5) {
	position: absolute;
	left: 155px;
	bottom: -55px;
}
.sponsors .single__sponsor:nth-of-type(6) {
	position: absolute;
	left: 205px;
	bottom: 30px;
}
.sponsors .single__sponsor:nth-of-type(7) {
	position: absolute;
	left: 205px;
	bottom: 120px;
}
.sponsors .single__sponsor img {
	max-width: 100%;
}

.image__wrapper {
	margin-bottom: 10px;
	width: 300px;
}
.img-group {
	width: 400px;
	background-color: #eaeaea;
}
.list-group {
	flex-wrap: wrap;
	justify-content: center;
}
.list-group-item {
	border: none;
	background-color: #eaeaea;
}
.img-group img {
	width: 100px;
}
.header {
	margin: 0 auto;
	height: 60px;
}
@media only screen and (max-width: 400px) {
	.logo {
		width: 80px;
	}
	.sponsors .single__sponsor {
		width: 65px;
	}

	.sponsors .single__sponsor:nth-of-type(1) {
		position: absolute;
		left: -70px;
		bottom: 90px;
	}
	.sponsors .single__sponsor:nth-of-type(2) {
		position: absolute;
		left: -70px;
		bottom: 15px;
	}
	.sponsors .single__sponsor:nth-of-type(3) {
		position: absolute;
		left: -35px;
		bottom: -50px;
	}
	.sponsors .single__sponsor:nth-of-type(4) {
		position: absolute;
		left: 40px;
		top: 5px;
	}
	.sponsors .single__sponsor:nth-of-type(5) {
		position: absolute;
		left: 115px;
		bottom: -50px;
	}
	.sponsors .single__sponsor:nth-of-type(6) {
		position: absolute;
		left: 155px;
		bottom: 15px;
	}
	.sponsors .single__sponsor:nth-of-type(7) {
		position: absolute;
		left: 155px;
		bottom: 90px;
	}
}

.teams {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 0 10px 0;
	align-items: center;
	@media (min-width: 600px) {
		margin-bottom: -30px;
	}
}

/* BTN */
.home .btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	text-decoration: none;
	text-align: center;
	padding: 10px;
	background-color: #ffffff;
	border: 2px solid var(--lightBlue);
	border-radius: 7px;
	color: var(--lightBlue);
	font-weight: 500;
	font-size: 20px;
	line-height: 1em;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.menu__item .btn {
	height: 100%;
}

.btn svg {
	height: 35px;
	margin: 5px;
}
.teams .btn {
	max-width: 150px;
	text-transform: uppercase;
	margin: 0 30px;
	max-height: 50px;
	font-size: 18px;
	@media (min-width: 600px) {
		margin: 0;
		padding: 1px;
		max-width: 155px;
	}
}

.teams .btn svg {
	width: 28px;
	height: 28px;
}

.btn_v {
	flex-direction: column;
}

.home .btn_blue {
	color: #ffffff;
	background-color: var(--blue);
	border-color: var(--blue);
}

.btn:hover {
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.home .btn:active {
	color: #ffffff;
	background-color: var(--lightBlue);
	border-color: var(--lightBlue);
}

.btn span {
	line-height: 1em;
}

.semifinals {
	width: 100%;
	display: flex;
	justify-content: space-between;
	@media (min-width: 600px) {
		position: relative;
		top: -140px;
	}
}
.hertz-1 {
	width: 20px;
	height: 20px;
	border-radius: 50px;
	position: absolute;
	left: 60.5%;
	bottom: 96%;
}
#teams-chart {
	width: 300px;
	height: 300px;
	position: relative;
	margin-top: -15px;
	margin-bottom: -35px;
}

.team-score {
	position: absolute;
	font-weight: 600;
	font-size: 16px;
	color: var(--blue);
}

.team-score_1 {
	top: 43px;
	right: 50px;
}
.team-score_2 {
	bottom: 25px;
	right: 50px;
}

.team-score_4 {
	top: 43px;
	left: 50px;
}
.team-score_3 {
	bottom: 25px;
	left: 50px;
}

#teams-chart .logo {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 150px;
	margin-left: -40px;
	margin-top: -35px;
}
.logo-photo {
	width: 50px;
	height: 50px;
	position: relative;
	left: 68%;
	bottom: 5px;
}
.home .hide {
	display: none;
}
.menu {
	position: relative;
	top: -10px;
}
.div-sponsors1 img {
	width: 50px;
	height: 50px;
	position: relative;
	left: 200%;
	top: 20px;
}
.div-sponsors2 img {
	width: 50px;
	height: 50px;
	position: relative;
	top: 80px;
	right: 190px;
}
.div-sponsors3 img {
	width: 50px;
	height: 50px;
	position: relative;
	top: 140px;
	right: 478px;
}
.div-sponsors1 .sp1 {
	display: inline-block;
	padding-left: 30px;
}
.div-sponsors2 .sp2 {
	display: inline-block;
	padding-left: 30px;
}
.div-sponsors3 .sp3 {
	display: inline-block;
	padding-left: 30px;
}
.menu__list {
	padding: 0;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: minmax(90px, 1fr);
	grid-template-areas:
		'l l l l p p p p s s s s'
		'o o o o o o q q q b b b'
		'o o o o o o m m m e e e'
		'h h h h w w w w r r r r'
		'd d d d f f f f g g g g'
		'a a a a a a c c c c c c';
	justify-items: stretch;
	align-items: stretch;
}
.header p,
.header__slogan {
	left: 0;
	right: 0;
	top: 15px;
	font-family: 'Kaushan Script', cursive;
	font-size: 20px;
	line-height: 1em;
	width: 190px;
	margin: 0 auto;
	justify-content: center;
	text-align: center;
}
@media (max-width: 600px) {
	.container {
		max-width: 100%;
	}
	.logo-photo {
		position: relative;
		left: 80%;
	}
	.div-sponsors1 img {
		width: 50px;
		height: 50px;
		position: relative;
		left: 00%;
		top: 20px;
	}
	.div-sponsors2 img {
		width: 50px;
		height: 50px;
		position: relative;
		top: 80px;
		right: 0px;
	}
	.div-sponsors3 img {
		width: 50px;
		height: 50px;
		position: relative;
		top: 140px;
		right: 0px;
	}
	.div-sponsors1 .sp1 {
		display: table-column;
		padding-left: 30px;
		position: relative;
		bottom: 20px;
	}
	.div-sponsors2 .sp2 {
		display: inline-block;
		padding-left: 30px;
	}
	.div-sponsors3 .sp3 {
		display: inline-block;
		padding-left: 30px;
	}
	.user__name {
		font-size: 18px;
	}
	.header .logo {
		height: 40px;
		width: 40px;
	}
	.header .link {
		font-size: 16px;
	}
	.menu__list {
		grid-auto-rows: 80px;
		gap: 7px;
	}
	.home .btn {
		padding: 2px;
		font-size: 20px;
		font-weight: 500;
	}
	#teams-chart {
		margin-bottom: -20px;
	}

	.home .teams .btn {
		max-width: 160px;
		margin: 0 2px;
		font-size: 16px;
	}
	.btn svg {
		height: 28px;
	}
	.user__avatar {
		width: 50px;
		height: 50px;
	}
	.hertz-1 {
		left: 60.5%;
		bottom: 95%;
	}
}
@media (max-width: 498px) {
	.hertz-1 {
		left: 59%;
		bottom: 95%;
	}
}
@media (max-width: 400px) {
	.home .btn {
		font-size: 16px;
	}
	.home .teams .btn {
		max-width: 130px;
		margin: 0;
		padding: 2px;
		font-size: 14px;
	}
	.teams .btn svg {
		height: 22px;
		margin: 5px 2px;
	}
}

.pos svg {
	height: 40px;
}
.menu__item {
	list-style: none;
	padding: 0;
}

.schedule {
	grid-area: q;
}

.matches {
	grid-area: m;
}

.live {
	grid-area: e;
}

.singles {
	grid-area: o;
	text-transform: uppercase;
}

.players {
	grid-area: p;
}
.weare {
	grid-area: s;
}
.h-h {
	grid-area: k;
}
.weare1 {
	grid-area: l;
}
.stars {
	grid-area: b;
}

.history {
	grid-area: h;
}

.gallery {
	grid-area: g;
}

.donate {
	grid-area: d;
}

.finance {
	grid-area: f;
}

.rules {
	grid-area: w;
}

.about {
	grid-area: a;
}
.store {
	grid-area: a;
}

.contacts {
	grid-area: c;
}

.contacts .btn svg {
	padding: 2px;
}
.weare11{
    grid-area: x;
}
.weare2{
    grid-area: r;
}
.players1{
    grid-area: z;
}
@media (max-width: 500px) {
	.svvg {
		width: 122px;
		height: 11px;
	}
}
@media (max-width: 432px) {
	.svvg {
		width: 100px;
		height: 5px;
	}
}
@media (max-width: 368px) {
	.svvg {
		width: 80px;
		height: 5px;
	}
}
@media (max-width: 550px) {
	.menu__item span {
		font-size: 18px;
	}
}
@media (max-width: 471px) {
	.menu__item span {
		font-size: 15px;
	}
}
@media (max-width: 410px) {
	.menu__item span {
		font-size: 13px;
	}
}
@media (max-width: 300px) {
	.menu__item span {
		font-size: 10px;
	}
}
@media (max-width: 376px) {
	.hertz-1 {
		left: 57%;
		bottom: 95%;
	}
}
@media (max-width: 262px) {
	.hertz-1 {
		left: 56%;
		bottom: 95%;
	}
}
@media (max-width: 260px) {
	.hertz-1 {
		display: none;
	}
}
