﻿.navbar {
    transition: .4s;
    border-bottom: 1px solid #fafafa0a;
    background-color: rgba(21, 21, 21, 0.27);
}

.navbar a {
    color: #fff !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb%28255, 255, 255%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-item {
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: .5rem .7rem;
    text-transform: uppercase;
		margin-left: 50px !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, .2);
    border-radius: .2rem;
    color: #fff;
}

.dropdown-menu {
    background: #242424 !important;
    padding: 0;
    text-align: center;
}

.dropdown-menu a {
    font-weight: 600;
}

.dropdown-item:hover, .dropdown-item:active, .dropdown-item:focus {
    background: #000 !important;
    border-radius: .25rem;
}

.scrolled {
    background: #111;
}

.navbar i {
    text-shadow: 0 0 20px #0078D7;
}

.donate {
    border: 2.5px solid #fff;
    border-radius: 8px;
    padding: 6px 10px !important;
}


/* For main elements */

::selection {
    background: #0078D7;
}

body {
    background-color: #111;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.index-header {
    align-items: center;
    background: rgba(0, 0, 0, .35);
    display: flex;
    height: 160vh;
    max-height: 1025px;
    padding: 0;
    position: relative;
    width: 100%;
}

.page-header {
    min-height: 83.4vh;
    margin-top: 6em;
}

.page-bg {
    background-position: center center;
    background-size: cover;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.brand {
    max-width: 70%;
		margin-bottom: 50px;
}

.brand h1 {
	font-size: 2.8em; /* Основной размер шрифта */
	font-weight: 600;
	white-space: normal; /* Позволяет переносить текст на новую строку */
}

@media screen and (max-width: 768px) {
	.brand h1 {
			font-size: 8vw; /* Ширина шрифта в зависимости от ширины экрана */
			text-align: center; /* Центрирование текста для мобильных устройств */
	}
}

.brand p {
    font-size: 2em;
    line-height: 1.4em;
    margin-bottom: 30px;
}

.brand img {
    height: 124px;
    margin-bottom: 20px;
}

.play-btn {
    background: #131313;
		text-transform: uppercase;
    border: 2px solid #fff;
    border-radius: 20px;
    color: #fff;
    display: inline-block;
    font-size: 25px;
    font-weight: 700;
    margin-top: 20px;
    padding: 20px 35px;
    position: relative;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.play-btn:hover {
		background: #0078D7; /* Желтый фон при наведении */
		border: 2px solid #0078D7;
    box-shadow: 0 10px 50px 0 #7d7d7d;
    color: #131313;
    text-decoration: none;
}

.play-btn i {
    transition: transform .3s ease-in-out;
}

.play-btn:hover i {
    transform: translateX(5px);
}

.main {
    position: relative;
}

.section {
    background-color: #111;
    padding: 100px 0;
    position: relative;
}

.section h2 {
    font-weight: 600;
}

.section p {
    font-size: 24px;
}

html {
	min-height: 100%;
	position: relative;
}

body {
	margin-bottom: 60px;
}

.images-container {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	padding: 0 15px;
}

.images-container img {
  max-width: 100%;
  height: auto;
  display: block; /* Убираем лишние отступы вокруг изображений */
}

.section {
  padding: 50px 0; /* Отступы сверху и снизу секции */
}


@media screen and (max-width: 768px) {
  .brand p {
    font-size: 1.65em;
  }
}

@media screen and (max-width: 475px) {
  .play-btn {
    font-size: 1.55em;
  }
}

@media screen and (max-width: 991px) {
  .news-img {
    margin-bottom: 1rem;
  }
}



.title-wrap {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -2px;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
    text-underline-offset: 6px;
}

.rlbtn {
    padding: 0.5em;
    border: 2px solid #0078D7;
    text-decoration: none;
    color: #0078D7;
    display: inline-block;
    text-align: center;
    font-weight: 600;
    width: 100%;
    transition: .15s;
    font-size: 1.05rem;
    background-color: transparent;
}

.rlbtn:hover {
    border-color: #fff;
    color: #fff;
}

.game-features {
    padding-left: 80px;
    position: relative;
		padding-bottom: 20px;
}


.game-features i {
    background-size: 100%;
    color: #0078D7;
    display: block;
    font-size: 20px;
    height: 60px;
    left: 0;
    line-height: 50px;
    margin-left: 20px;
    padding-left: 7px;
    position: absolute;
    text-align: center;
    width: 60px;
}

#steps {
    background: rgba(0, 0, 0, .65);
    position: relative;
}

.steps-bg {
    background-position: center center;
    background-size: cover;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: -1;
}

.server-unavailable {
    color: #0078D7;
}

.server-unavailable:hover::after {
    opacity: 1;
}

.server-unavailable:after {
    content: 'Сервер недоступен';
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    padding: 5px 10px;
    background-color: #111111;
    border-radius: 10px;
    position: absolute;
    right: -7px;
    top: 42px;
    opacity: 0;
    transition: .2s;
    pointer-events: none;
}

.summary-online {
    color: #0078D7;
}

.steps-desc {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 15px 0;
    text-align: center;
}

.steps-grid {
    grid-gap: 60px;
    margin: 50px auto 0;
    width: 90%;
}

.steps-grid > div {
    background: #242424;
    height: 490px;
    padding: 30px;
    position: relative;
}

.steps-grid > div span.step-count {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    bottom: 15%;
    color: #2d2828;
    display: flex;
    font-size: 18px;
    font-weight: 800;
    height: 50px;
    justify-content: center;
    left: 50%;
    margin-left: -25px;
    position: absolute;
    width: 50px;
}

.steps-grid > div p strong {
    font-weight: 700;
}

.steps-grid > div p {
    color: #fff;
    display: block;
    font-size: 20px;
    font-weight: 400;
    height: 180px;
    line-height: 7.2;
}

.step-btn {
    background: #fff;
    color: #282828 !important;
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .2s ease-in-out .02s;
}

.step-btn:hover {
    box-shadow: 0 10px 40px rgba(255, 255, 255, .37), 0 5px 0 0 #0078D7;
    transform: translateY(-5px);
}

.questions {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    padding: 80px 0;
    text-align: center;
    text-transform: uppercase;
}

.link {
    color: #0078D7;
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.link:hover {
    border-color: #fff;
    color: #fff;
}

.server-block {
    background: #242424;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    line-height: 40px;
    margin-top: 20px;
    padding: 25px;
}

.server-block h3 {
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.server-online {
    float: right;
    letter-spacing: 2.5px;
}

.server-block p {
    padding: 10px 0;
}

.server-block a {
    background: #1a1a1a;
    border-radius: 10px;
    color: #fff !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 10px 15px;
    text-decoration: none;
    transition: text-shadow .3s;
}

.server-block a:hover {
    text-shadow: 0 0 2px;
}

.about-header {
    background-image: linear-gradient(179.61deg, #0078D7, rgb(230, 151, 50) 100%);
    border-radius: 30px;
    box-shadow: 0 0 20px #8a7127;
    padding: 30px;
    text-align: center;
}

.about-header h1, .about-header p {
    font-weight: 700;
    margin-left: 40px;
}

.about-header h1 {
    font-size: calc(1em + 2.5vw);
}

.about-header p {
    font-size: calc(1em + 1.5vw);
}

.about-container {
    padding-top: 50px;
}

.about-container h2 {
    border-left: #0078D7 3px solid;
    font-size: 36px;
    font-weight: 700;
    padding-left: 20px;
}

.about-container i {
    font-size: 30px;
}

.about-info p {
    font-size: 24px;
    font-weight: 600;
    max-width: 700px;
    width: 95%;
}

.support-info p {
    font-size: 24px;
    font-weight: 600;
}

/* For all */



.footer {
    background: #111;
    position: absolute;
    white-space: nowrap;
    width: 100%;
		padding: 20px;
}

.owner {
    border-radius: 10px;
}

.owner-name {
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
}

.owner-bio {
    font-weight: 500;
    font-size: 1.05rem;
}

.owner-avatar {
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
}

.faq-inner {
    border-left: 4px solid #0078D7;
    padding: .5em .75em;
}

.faq-inner h2, .faq-inner p {
    padding: 0;
    margin: 0;

    text-align: justify;
}

.faq-inner h2 {
    font-weight: 700;

    margin-bottom: 15px;
}

.faq-inner h2:before {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;

    content: '⁉️';

    width: 32px;
    height: 32px;
}

.faq-inner p:before {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;

    content: '📌';

    width: 32px;
    height: 32px;

    padding: 0 10px;
}

.info-block {
    border-left: 4px solid #0078D7;
    padding: 0 .75em;
}

article {
    overflow: hidden;
}

.news-content {
    text-overflow: '...';
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
}

.news-img {
    border-radius: 5px;
    height: 100%;
    width: 100%;
}

.news-term {
    font-weight: 600;
    min-width: 8rem;
    border: 2px solid #0078D7;
    background-color: #0078D7;
    color: #000;
    border-radius: 5px;
}

.news-image-container {
    height: 50vh;
    width: 70vw;
    margin: 2rem auto;
    background-position: center center;
    background-size: cover;
    border-radius: 5px;
}

.stats-player {
    height: 20em;
    border-radius: 20px;
    position: relative;
}

.player-place {
    font-size: 2rem;
    border-radius: 50%;
    padding: 0.2em;

    width: 4rem;
    height: 4rem;

    vertical-align: middle;
}

.player-name {
    line-break: anywhere;
}

.player-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
}

@media screen and (min-width: 997px) {
    .place-gold {
        height: 22em;
        transform: translateY(-2em);
    }
}

.player-place {
    position: absolute;

    top: 0;
    transform: translateY(-2.5rem);
}

.place-gold > .player-place {
    background-color: #0078D7;
    box-shadow: 0 0 5px #0078D7;
    color: #000;
}

.place-gold {
    border: 3px solid #ffd900;
    box-shadow: 0 0 9px #ffd900;
}

.place-silver {
    border: 3px solid #eee;
    box-shadow: 0 0 5px #eee;
}

.place-bronze {
    border: 3px solid #7b4933;
    box-shadow: 0 0 5px #7b4933;
}

.place-silver > .player-place {
    background-color: #eee;
    box-shadow: 0 0 5px #eee;
    color: #000;
}
.place-bronze > .player-place {
    background-color: #7b4933;
    box-shadow: 0 0 5px #7b4933;
    color: #000;
}

.player-personal-bio {
    padding: 1.5em;
    border: 2px solid #777;
    box-shadow: 0 0 2px #777;
    border-radius: 8px;
}

.stat {
    margin: 0.25em 0;
    font-size: 1.1rem;
}

.stat-name {
    text-transform: uppercase;
    font-weight: bold;
}

.stat-value {
    font-weight: 500;
}


/* Стили для элементов портфолио */
.portfolio-item {
	position: relative;
	border-radius: 10px;
	width: 100%;
	max-width: 300px; /* Максимальная ширина блока */
	margin: 15px;
	display: flex;
	flex-direction: column;
}

/* Стили для фотографий */
.portfolio-photo {
	width: 100%;
	height: 200px; /* Фиксированная высота для одинакового размера фотографий */
	object-fit: cover; /* Обрезка изображения для соответствия размеру блока */
	border-radius: 10px;
	transition: transform 0.3s ease;
	cursor: pointer; /* Курсор указывает на кликабельность */
}

/* Эффект увеличения при наведении */
.portfolio-photo:hover {
	transform: scale(1.05);
}

/* Стили для информации о проекте */
.portfolio-info {
	padding: 15px;
	text-align: center;
	margin: 0;
	text-overflow: ellipsis; /* Добавляет многоточие для длинного текста */
	flex: 1; /* Растягивает блок информации, чтобы он занимал все доступное пространство */
}

/* Стили для модального окна */
.modal {
	display: none; /* Скрыть модальное окно по умолчанию */
	position: fixed;
	z-index: 1050; /* Убедитесь, что это значение выше, чем у меню */
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 767px) {
	.modal-content {
			width: 95%; /* Почти полная ширина экрана на мобильных */
			max-width: none; /* Убираем ограничение по ширине */
			max-height: 85vh; /* Немного уменьшаем максимальную высоту */
			padding: 10px; /* Добавляем внутренние отступы */
	}

	.close {
			top: 10px; /* Чуть ниже на мобильных */
			right: 20px; /* Чуть ближе к краю на мобильных */
			font-size: 30px; /* Уменьшение размера иконки на мобильных */
	}

	#caption {
			margin: 15px; /* Немного уменьшаем отступы */
			font-size: 14px; /* Уменьшаем шрифт на мобильных */
	}
}


.modal-content {
	box-sizing: border-box; /* Убедитесь, что padding и border учитываются в размерах */
	width: 90%;
	max-width: 600px;
	max-height: 90vh;
	margin: auto;
	margin-top: 100px;
	overflow-y: auto;
	padding: 20px;
	border-radius: 30px; /* Округляем края для лучшего внешнего вида */
}

.close {
	position: absolute;
	top: 15px;
	right: 35px;
	color: #fff;
	padding: 5px;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1051;
}


.close:hover,
.close:focus {
	color: #bbb;
	text-decoration: none;
}

#caption {
	margin: 20px;
	text-align: center;
	color: #fff;
}
