@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&display=swap');

html {
background: #1c1a1b url(/css/img/background.jpg);
background-size: cover;
}

body {
background: #201f1f;
font-size: 16px;
font-family: 'Roboto', sans-serif;
color: #bfb5ba;
margin: 0 auto;
max-width: 450px;
min-height: 100vh;
word-wrap: break-word;
}

.imgFight{
    display: inline-block;
    position: relative;
    top: 0px;
    margin:4px;
    border: 1px solid #555555;
}

.imgFight2{
    display: inline-block;
    position: relative;
    top: -5px;
    margin:2px;
    border: 1px solid #555555;
}


.imgL{
float:left;
padding: 0 4px 0 0;
margin:0;
vertical-align:middle;
}

a { 
color: #bfb5ba; 
text-decoration: none;
}

a:hover { 
text-decoration: none;
}

img {
vertical-align: middle;
}

/*- Работа с постерами и дополнительными элементами -*/

.poster {
background: url(/css/img/poster/logo.png);
background-repeat: no-repeat;
width: 100%;
background-position-x: center;
background-position: bottom;
min-height: 550px;
object-fit: cover;
position: relative;
text-align: center;
}

.navi {
color: #bfb5ba;
background: #271516;
padding: 6px 6px 6px;
border-radius: 6px;
margin: 4px;
}

.navi2 {
color: #bfb5ba;
background: #671516;
padding: 6px 6px 6px;
border-radius: 6px;
margin: 4px;
}

.-start {
background: url(/css/img/poster/index.png);
background-repeat: no-repeat;
width: 100%;
background-position-x: center;
background-position: top;
}

.-gas {
background: url(/css/img/gas.png);
background-repeat: no-repeat;
width: 100%;
min-height: 440px;
background-position-x: center;
background-position: top;
}

.title-wqi {
font-size: 20px;
font-weight: 700;
color: #ffdb77;
display: block;
padding: 10px 0;
font-family: 'El Messiri', sans-serif;
}

.title-poster {
font-family: 'El Messiri', sans-serif;
display: block;
position: absolute;
width: 100%;
top: 25px;
font-size: 25px;
font-weight: 600;
color: #fffbfd;
text-shadow: 0px 0px 20px #6a1f3f, 0px 0px 1em #ff004e;
}

.butt {
width: 100%;
position: absolute;
bottom: 0;
left: 0;
}

/*- Работа со стартовыми и дополнительными элементами -*/

.game-info {
text-align: center;
margin: -20px 0 20px 0;
}

hr {
background: url(/css/img/hr.png) no-repeat top center;
height: 31px;
border: none !important;
margin: 0;
}

.start, .foot {
text-align: center;
padding: 10px;
}

.title {
font-size: 25px;
font-weight: 600;
font-family: 'El Messiri', sans-serif;
color: #fffbfd;
margin: 0 0 15px 0;
}

.grad-end {
background: url(/css/img/back-red.png);
background-position: center bottom;
background-repeat: no-repeat;
}

.grad-end-res {
background: url(/css/img/back-red-res.png);
background-position: center top;
background-repeat: no-repeat;
}

a.reset-pass {
display: block;
margin: 5px 0 0 0;
color: #89787f;
text-decoration: underline;
}

.foot {
font-size: 14px;
color: #7b6b77;
}

.user-panel {
background: #000;
padding: 10px 20px;
text-align: center;
font-size: 14px;
}

.gold {
color: #cec9a9;
}

.mann {
color: #9fb9d2;
}

.hp {
color: #cea8a8;
}

.stat-e {
margin-top:4px;
height: 3px;
background: #352a30;
}

.stat-e2 {
background: #059114;
height: 3px;
max-width: 100%;
}

.stat-p {
height: 5px;
background: #352a30;
}

.stat-a {
background: #71661c url(/css/img/prog.png);
height: 4px;
max-width: 100%;
}

.menu-us {
padding: 10px;
text-align: left;
background: #171516;
background-position: right;
border-radius: 6px;
border: 1px solid #131012;
color: #bfb5ba;
font-size: 15px;
margin: 0 0 5px 0;
}

.menu-not {
padding: 10px;
text-align: center;
background: #171516;
background-position: right;
border-radius: 0px;
border: 1px solid #131012;
color: #bfb5ba;
font-size: 15px;
margin: 0 0 1px 0;
}

.click {
display: inline-block;
width: 50%;
padding: 10px;
text-align: center;
background: #611c38;
border-radius: 3px;
border: 1px solid #222222;
color: #bfb5ba;
font-size: 15px;
margin: 3px;
}

.menu-not2 {
padding: 10px;
text-align: left;
background: #171516;
background-position: right;
border-radius: 0px;
border: 1px solid #131012;
color: #bfb5ba;
font-size: 15px;
margin: 0 0 5px 0;
}

.menu-wi {
padding: 20px;
text-align: end;
background: #171516 url(/css/img/bgll.png);
background-position: right;
border-radius: 6px;
border: 1px solid #131012;
color: #474244;
font-size: 14px;
margin: 0 0 15px 0;
}

.title-wi {
font-size: 20px;
font-weight: 700;
color: #b4a270;
display: block;
font-family: 'El Messiri', sans-serif;
text-shadow: 6px 6px 6px black, 0 0 1em black;
}

.img-menu {
width: 70px;
margin: 0 0 10px 0;
}

.menu-wai {
padding: 20px;
border: 1px solid #131012;
box-sizing: border-box;
background: url(/css/img/nl.png) left bottom no-repeat, url(/css/img/np.png) right bottom no-repeat;
background-color: #171516;
border-radius: 6px;
font-family: 'El Messiri', sans-serif;
text-align: center;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.onl {
width: 33.33%;
padding: 7.5px;
box-sizing: border-box;
}

.grab {
margin: -7.5px;
}

.fer {
background-image: url(/css/img/fer.png);
background-repeat: no-repeat;
background-position: left;
}

.bit {
background-image: url(/css/img/bit.png);
background-repeat: no-repeat;
background-position: left;
}

.use-men {
width: 33%;
font-family: 'El Messiri', sans-serif;
font-weight: 700;
text-align: center;
font-size: 16px;
}

.u-m {
margin: 0 0 5px 0;
}

.aci {
font-size: 12px;
color: #92886a;
}

.gg-b {
margin: -20px -20px 15px -20px;
padding: 7px;
border: 1px solid transparent;
border-image: linear-gradient(to right, transparent 0%, #e2be56 50%, transparent 100%);
border-image-slice: 1;
}

.user-av {
width: 50%;
padding: 15px 15px 0 15px;
text-align: center;
box-sizing: border-box;
}

.us-av {
width: 100%;
height: 260px;
object-fit: contain;
}

.left-inv, .right-inv {
width: calc(25%);
text-align: center;
box-sizing: border-box;
}

.inv {
margin: 15px;
position: relative;
}

.st-l {
position: absolute;
display: inline-grid;
left: 0;
top: 6px;
}

.st-r {
position: absolute;
display: inline-grid;
right: 0;
top: 6px;
}

.stats {
border: 1px solid transparent;
border-image: linear-gradient(to right, transparent 0%, #7a7a7a 50%, transparent 100%);
border-image-slice: 1;
padding: 15px;
color: #dbd6c9;
}

.stats2 {
border-top: 1px solid transparent;
border-image: linear-gradient(to right, transparent 0%, #7a7a7a 50%, transparent 100%);
border-image-slice: 1;
	margin: 9px;
color: #dbd6c9;
}

.p1p {
width: 50%;
text-align: start;
}

/*- Технические элементы -*/

input, select, textarea {
color: #bfb5ba;
background: #191718;
font-size: 16px;
font-family: 'Roboto', sans-serif;
padding: 10px;
border: 1px solid #34272e;
margin: 0 0 15px 0;
border-radius: 8px;
max-width:100%; 
width:100%; 

box-sizing: border-box;
}

input[type="submit"] {
background: #711c38;
font-family: 'El Messiri', sans-serif;
font-weight: 700;
border: 1px solid #6f3f4f;
color: #ffcadc;
}

.butmin {
height:40px;
padding: 6px;
width: 60%;
background: #611c38;
font-family: 'El Messiri', sans-serif;
font-weight: 700;
border: 1px solid #6f3f4f;
color: #ffcadc;
}

.block {
display:-webkit-flex; 
-webkit-justify-content:flex-start;
-webkit-align-items:stretch;
-webkit-flex-wrap:wrap;
display:flex;
justify-content:flex-start;
align-items:stretch;
flex-wrap:wrap;
}

.-center {
-webkit-align-items: center;
align-items: center;
}

@media screen and (max-width: 425px) {

.p1p {
width: 100%;
text-align: center;
}

.onl {
width: 50%;
padding: 7.5px;
box-sizing: border-box;
}

}