body, html {
            margin:0;
            padding-left:0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
		
#backgroundVideo {
	
}

.image-row{
	
}

.me{
font-weight:bold;	
}

#backgroundVideo {
           position: fixed;
    top: 35%;
    left: 50%;
    width: 125vw;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
        }
		
		.formlogin{
		width: 23%;
    margin: 0 auto;
    margin-top: 8%;
display:block;	
		}
		
#backgroundOld {
position: fixed;
    width: 100%;
    height: auto;
    transform: translate(0%, 0%);
    z-index: -1;
        }
#backgroundOld img{
	width:100%;
}
		
#backgroundVideoMain {
            position: fixed;
            top: 50%;
            left: 50%;
            /*width: 100vw;*/
			width:100%;
            height: 80vw;
            transform: translate(-50%, -50%);
            z-index: -1;
        }

        #backgroundOverlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-image: url('bg-hover.png');
            background-size: cover;
            z-index: 1;
        }

        #backgroundCharacter {
			position: fixed;
			top: -20px;
			right: 35px;
			width: 350px;
			height: 113vh;
			z-index: 111;
			background-position: right;
        }
		
		#backgroundCharacter img {
		width: 100%;	
		}

        #game, #ratingModal, button {
            position: relative;
            z-index: 2;
            color: white;
        }

        /* Style for images to be placed side by side */
        .image-row {
            display: flex;
            justify-content: center;
            gap: 0px;
            margin-top: 0px;
			position: fixed;
			z-index: 113;
        }

        .image-row img {
            cursor: pointer;
            width: 80px;
            height: auto;
        }

      /* Модальное окно изначально скрыто за левой границей */
.modal {
    position: fixed;
    top: 25px;
    left: -100%; /* За пределами экрана */
    width: 60%;  
    height: 100%;
    transition: left 0.5s ease-in-out; /* Анимация выезда */
    z-index: 112;
}

/* Модальное окно открывается */
.modal.show {
    left: 0; /* Выезжает в видимую область */
}

/* Анимация для закрытия */
.modal.close-animation {
    left: -100%; /* Заезжает обратно за левую границу */
}

/* Контент модального окна */
.modal-content {
	background-image: url(modal-bg-hover3.png);
    background-repeat: no-repeat;
    position: fixed;
    background-size: contain;
    width: 60%;
    height: 100%;
    background-position: center;
}

/* Прокручиваемый контент внутри модального окна */
.c-block {
    overflow-y: auto;
    width: 72%;
    padding-left: 75px;
    margin-top: 80px;
    height: 60%;
}

/* Стили для кнопки закрытия */
.close-button {
    position: relative;
    margin-top: 8%;
    left: 11%;
    cursor: pointer;
    float: inline-end;
    margin-bottom: -20%;
}

/* Стили для изображения кнопки закрытия */
.close-button img {
    width: 45%;
}





#loading-screen{
	
		display: block;
        text-align: center;
        font-size: 2em;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        background: url(loading.gif) #000;
        background-repeat: no-repeat;
        background-position: center;	
		z-index:999;

}
		
/* Стиль для устройства в ландшафтной ориентации */
@media screen and (orientation: landscape) {
    #landscape-warning {
        display: none;
    }

    #main-content {
        display: block;
    }
}

/* Стиль для устройства в портретной ориентации */
@media screen and (orientation: portrait) {
    #main-content {
        display: none;
    }

    #landscape-warning {
		display: block;
        text-align: center;
        font-size: 2em;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
        background: url(rotate.gif) #000;
        background-repeat: no-repeat;
        background-position: center;
		z-index:120;
    }
}

.formlogin input{
	
    font-size: 12pt;
    border-radius: 25px;
    line-height: 20pt;
    text-align:center;
    background: #96a64d91;
    border: 1px solid #fff482;
    box-shadow: 0px 0px 30px #fff482;
    margin-bottom: 15px;
}

.formlogin input:active{
	

    border: none;
}

.formlogin input::placeholder {
  color: #fff;
  opacity: 1; /* Firefox */
}
.formlogin button{
	/*background: #689F38;
    width: 103%;
    height: 100%;
    border-radius: 30px;
    background-size: contain;
    background-position: center;
    border: 1px solid #fff482;
    margin: 0 auto;
    display: block;
    line-height: 28px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0px 0px 10px #fff482;*/
	font-size: 10pt;
    border-radius: 25px;
    line-height: 20pt;
    text-align: center;
    background: #5a8039;
    border: 0px solid #fff482;
    box-shadow: 0px 0px 30px #fff482;
    margin-bottom: 15px;
	width:215px;
	padding:4px;
	padding-left:20px;
	padding-right:20px;
	display:block;
}


#backgroundCharacterIndex {
    position: fixed;
    top: 20px;
    left: 0px;
    width: 350px;
    height: 113vh;
    z-index: 2;
    background-position: left;
}

#backgroundCharacterIndex img {
		width: 100%;	
		}
		




.indexbutton {
	font-size: 12pt;
    border-radius: 25px;
    line-height: 20pt;
    text-align: center;
    background: #5a8039;
    border: 0px solid #fff482;
    box-shadow: 0px 0px 30px #fff482;
    margin-bottom: 15px;
	width:235px;
	padding:4px;
	padding-left:20px;
	padding-right:20px;
	position: fixed;
    right: 20%;
    top: 45%;	
	
}

#text-narative {
	width: 100%;
	  display: block;
	  z-index: 120;
	  position: fixed;
	  bottom: 0px;
	  height: 150px;
}

#text-narative img{
	width: 100%;
}

.progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    height: 5px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 25px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,252,0,1) 0%, rgba(255,162,0,1) 100%);
    width: 0; /* начальная ширина */
    transition: width 1s ease; /* Плавная анимация заполнения */
}


.gobtm {
	position: fixed;
  display: block;
  right: 20px;
  bottom: 70px;
}

.gobtm img {
  animation: pulseRotate 2s infinite; /* Анимация длится 6 секунд */
  width: 35%!important;
}

.ranklist1{
font-family: serif;
    font-size: 13pt;
    display: block;	
}
.ranklist2{
font-family: serif;
    font-size: 12pt;
    display: block;	
}
.ranklist3{
font-family: serif;
    font-size: 11pt;
    display: block;	
}
.ranklist{
font-family: serif;
    font-size: 10pt;
    display: block;	
}

.txtvle {
font-family: sans-serif;
    font-size: 15pt;
    display: block;
    margin-top: 15px;
    margin-left: 10px;
    color: #5c3b05;
    text-shadow: 1px 1px 6px #f5efba;
    font-weight: 600;
}

#modal-content-2{
margin-top: 15px;
    height: 90%;
	}

.vleall {

position: fixed;
    width: 140px;
    height: 140px;
    background: url(vlv2.png);
    background-size: contain;
    z-index: 110;
    display: block;
    right: 0px;
    top: 0px;
	
}

.txtvleall{
font-size: 26pt;
    margin-top: 50px;
    right: 42px;
    width: 57px;
    display: block;
    text-align: center;
    font-family: sans-serif;
    color: #ffd159;
    font-weight: 600;
    text-shadow: 1px 1px 4px #000;
    z-index: 100;
    position: fixed;
}

@keyframes pulseRotate {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}




.tab-content2 {
            display: none;
        }

        .tab-content2.actives {
            display: block;
        }

        .tabs img {
            cursor: pointer;
            width: 100px;
            height: auto;
            transition: opacity 0.3s ease;
        }

        .tabs img:hover {
            opacity: 0.7;
        }

        /* Стили для классов рейтинга */
        .ranklist1 { color: #e1bd00; }
        .ranklist2 { color: #a5a5a5; }
        .ranklist3 { color: bronze; }
        .ranklist { color: black; }
		
#modal-content-3 span{
font-size: 14pt;
  font-weight: bold;	
}

#modal-content-3 ul li {
list-style: none;	
padding-bottom: 10px;
}
#modal-content-3 ul {
padding-left: 20px;
  
}