﻿/* General Reset */
#loading-fix {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  background-color: #dcddd4;
  z-index: 9999;
  opacity: 1;
  transition: opacity 2.0s linear; /* Плавное исчезновение */
user-select: none;
  pointer-events: none;
}

#loading-fix.hidden {
  opacity: 0; /* Исчезновение через анимацию */
}

#loading-fix.hidden-finished {
  display: none; /* Полное скрытие после завершения анимации */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none; /* Для Safari */
    -moz-user-select: none;    /* Для Firefox */
    -ms-user-select: none;     /* Для Internet Explorer и Edge */
    user-select: none;         /* Стандартное свойство */
}

body {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.6;
    background-color: rgb(37 34 28/1);
    color: #25221c;
    overflow-x: hidden;
}

/* Parallax Container */
.parallax_top {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.01s linear;
}

    .parallax-image.active {
        opacity: 1;
    }

.headerWrapper {
    position: relative;
}
.topwrapper {
    /*background-color: rgb(37 34 28/1);*/
    background-color: rgba(220, 221, 212, 1);
    position: relative;
z-index: 2;
}
    .topwrapper header {
        padding-top: 5rem;
        padding-bottom: 2rem;
        margin: 0 auto;
        max-width: 48rem;
        width:80%;
        position: relative;
        text-align:center;
    }
.headerWrapper:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    /*background: linear-gradient(to bottom, rgba(37, 34, 28, 1) 0%, 
    rgba(37, 34, 28, 0.1) 85%, 
    rgba(37, 34, 28, 0) 100% 
    );*/
    background: linear-gradient(to bottom, rgba(220, 221, 212, 1) 0%, /* Непрозрачный цвет в rgb(220 221 212/1) */
    rgba(220, 221, 212, 0.2) 65%, rgba(220, 221, 212, 0.05) 85%, /* Плавный переход до 85% */
    rgba(220, 221, 212, 0) 100% /* Полная прозрачность на оставшиеся 15% */
    );
    height: 35rem;
    width: 100%;
    z-index: 2;
}

.container1, .container2 {
    display: flex;
    flex-wrap: wrap; /* Позволяет элементам переноситься на следующую строку */
    gap: 10px; /* Отступ между элементами */
}

.box {
    flex: 1; /* Элементы занимают равное пространство */
    min-width: 200px; /* Минимальная ширина каждого элемента */
    padding: 20px;
    background-color: #f0f0f0;
    text-align: center;
    border: 1px solid #ddd;
}

.image-container {
    display: flex;
    justify-content: flex-start; /* Начало прокрутки слева */
    gap: 10px;
    overflow: hidden; /* Скрываем скроллбар */
    white-space: nowrap; /* Убедимся, что изображения располагаются в строку */
    cursor: grab; /* Курсор для захвата */
}

    .image-container img {
        width: 200px;
        height: auto;
        flex: 0 0 auto; /* Фиксированный размер изображений */
        user-select: none; /* Запрещаем выделение */
    }

    .image-container.active {
        cursor: grabbing; /* Курсор во время перетаскивания */
    }

.box2 {
    display: flex; /* Включаем Flexbox */
    flex-direction: column; /* Элементы располагаются в колонку */
    justify-content: center; /* Центрирование по вертикали */
    align-items: center; /* Центрирование по горизонтали */
    text-align: center; /* Текст внутри элементов по центру */
    height: auto;
    padding: 20px;
    box-sizing: border-box; /* Учитываем padding в размерах */
}
.container2 {
    text-align: center;
}
.text-separator {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin: 0 auto;
    max-width: 48rem;
    width: 80%;
    position: relative;
    text-align: center;
}
/* Parallax Container */
.parallax_bottom {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.image-w-bot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax2-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.01s linear;
}

    .parallax2-image.active {
        opacity: 1;
    }
.ender {
    text-align: center;
    position: relative;
    background-color: rgb(37 34 28/1);
}
    .ender:before {
        position: absolute;
        content: '';
        bottom: 100%;
        left: 0;
        background: linear-gradient(to top, rgba(37, 34, 28, 1) 0%, /* Непрозрачный цвет в начале */
        rgba(37, 34, 28, 0.1) 85%, /* Плавный переход до 85% */
        rgba(37, 34, 28, 0) 100% /* Полная прозрачность на оставшиеся 15% */
        );
        height: 35rem;
        width: 100%;
        z-index: 4;
    }
.join-dev-block {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-image: url('/templates/images/about/feature-3.jpeg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}
    .join-dev-block:after {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        background: linear-gradient(to bottom, rgba(220, 221, 212, 1) 0%, /* Непрозрачный цвет в rgb(220 221 212/1) */
        rgba(220, 221, 212, 0.2) 65%,
        rgba(220, 221, 212, 0.05) 85%, /* Плавный переход до 85% */
        rgba(220, 221, 212, 0) 100% /* Полная прозрачность на оставшиеся 15% */
        );
        height: 70vh;
        width: 100%;
        z-index: 2;
    }
    .join-dev-block h2, .join-dev-block p {
        position: relative;
        margin: 0 auto;
        max-width: 48rem;
        width: 80%;
        z-index: 3;
    }
    .join-dev-block h2 {
        padding-top: 20vh;
    }

.separator {
    height: 100px;
    background: linear-gradient(to right, #ddd, #fff);
}
.final-separator {
    width:100%;
    height:10px;
    background: blue;
}
.welcome-message, .text-connect, .streamers-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 48rem;
    width: 80%;
}
/* Content Section */
.content {
    padding: 20px;
    text-align: center;
    background-color: #fff;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

/* Fixed Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #25221c 65%, #dcddd4 40%);
    font-family: 'Russo One', sans-serif;
    color: #dcddd4;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
    z-index:10;
}

    .footer a {
        font-weight: 600;
        text-decoration: none;
        color: #dcddd4;
    }

        .footer a:hover {
            text-decoration: underline;
        }
.logolink {
  background: url('/templates/images/umlogo.png') no-repeat center center;
    background-size: auto;
  width: 50px;
  height: 32px;
  background-size: contain;
  position: absolute;
  left: 70%;
  top: 4px;
  display: block;
  cursor: pointer;
}

/* Welcome Message Styling */
.welcome-message {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    text-transform: uppercase;
}

/* List Styling */
ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 20px auto;
    max-width: 700px;
}

    ul li {
        margin: 10px 0;
        font-size: 1rem;
    }

        ul li::before {
            content: '';
            color: #333;
            font-weight: bold;
            display: inline-block;
            width: 1em;
            margin-left: -1em;
        }
.topmenu {
    display: flex; /* Размещаем элементы в одну линию */
    justify-content: space-between; /* Равномерное распределение */
    width: 80%;
    padding: 0;
position:absolute;
height:19px;
top: 0; /* Закрепляем сверху */
    left: 0;
    right: 0; /* Гарантируем центрирование */
    margin: 0 auto; /* Центрируем блок по горизонтали */
gap: 20%;
z-index:10;
}
.topmenu a {transition: all 0.5s ease;border-radius:2px;font-size: .85em; padding-bottom:1px;line-height: 1rem;
    flex: 1; /* Каждый блок занимает равное пространство */
    text-align: center; /* Текст по центру */
    text-decoration: none; /* Убираем подчеркивание */
    box-sizing: border-box; color:#fcfcfc; font-weight:bold;border:1px solid transparent;

}
.topmenu a:hover {border:1px solid #8e7747;}
#menu-item-left {background-color:rgba(137, 143, 90, 0.98);}
.topmenu .menu-item-right {background-color:rgba(209, 149, 68, 0.98);}
.topmenu .menu-item-right:hover {background-color:rgba(209, 149, 68, 0.65);transition: all 0.5s ease;}
#menu-item-left:hover {transition: all 0.5s ease;
    background-color: rgba(137, 143, 90, 0.65);
}
.joinbtn {left:50%;transform: translateY(-70%) translateX(-70%);}
.joinbtn span {text-align:center;}
/* Скрытие контента по умолчанию */
#toggleJoin ~ .join-section {
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transform: translateY(-10px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Видимый контент при включении чекбокса */
#toggleJoin:checked ~ .join-section {
  opacity: 1;
  pointer-events: auto;
  user-select: auto;
  transform: translateY(0);
  transition: all 1s ease, transform 1s ease;
}
/* Стили секции */
.join-section {
  position: fixed; /* Закрепляем элемент относительно окна */
  top: 0;          /* Привязываем к верхнему краю */
  left: 0;         /* Привязываем к левому краю */
  right: 0;        /* Привязываем к правому краю */
  bottom: 0;       /* Привязываем к нижнему краю */
  background: rgba(37, 34, 28, 0.98);
  padding: 20px;
  border-radius: 0; /* Убираем скругление, если нужно */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 9999;   /* Обеспечиваем перекрытие других элементов */
}

/* Стили кнопки закрытия */
.close-button {
  display: block;
  margin: 15px;
float:right;
  cursor: pointer;
  width: 32px;
  height: 32px;
}
.text-connect {will-change: opacity!important;}
.body-no-scroll {
  overflow: hidden; /* Блокирует прокрутку */
  height: 100vh;    /* Убирает вертикальный скроллинг */
touch-action: none;
user-select: none;
  pointer-events: none;
}
.join-section .content {background:none; box-shadow:none;margin-top: 10%;}
.text-connect-show .joinbtn {
  transform: translateY(-70%) translateX(-70%);
}

