@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Noto+Color+Emoji&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root {
  touch-action: pan-x pan-y;
  height: 100% 
}

html, body {
	margin: 0;
	padding: 0;

}

body{

	background-image: url("/img/bg.png"); 
	background-repeat: repeat-y;             
	background-position: top center;       
	background-size: cover;

	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;	
	
}

#main{
	max-width: 1800px;
	position: relative;
	top:0;
	left: 0;	
}


#header, #header2{
	height: 200px;
	width: 100%;
	z-index: 999;
	transform: translateZ(0); / создаёт новый слой */
	will-change: transform;		

}




#logo{
	background-image: url("/img/logo2.png");
	position: absolute;
	background-size: cover;
}


#menu{
	position: absolute;
	right: 0;
	width: 100%;


}

#menu a{
	text-decoration: none;
	color: #fff;

}


#menuItems a{
	border-radius: 5px;
	padding: 10px 16px;
	display: inline;


}


#menuHamburger{
	text-align: right;
	display: none;
	padding: 14px;	
	font-size: 24px;
	color: white;
}




/* 
.menuItem{
    display: inline-flex;	
	color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;	
} */



#menuItems
{

	text-align: right;
}


#userInfo{
    display: inline-flex;
	padding-right: 16px;
	padding-left: 20px;
	font-weight: bold;
}



#userAvatar{
    width: 50px;
    height: 50px;	
    font-size: 18px;
    cursor: pointer;	
	padding-top: 12px;

	margin-right: 0;
}


.avatar {
    display: inline-flex;
/*    align-items: center;*/
	padding-top: 8px;
    justify-content: center;
	text-align: center;
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
    background-color: #87C489;
    color: white;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
	margin-right: 10px;
	flex-shrink: 0;
}


#userBigAvatar{
    display: block;
    width: 100px;
    height: 100px;
    font-size: 54px;
}



#playerContainer{
 position: relative;
  z-index: 1;	
}




h1, h2, h3, h4{
	font-family: "Inter", sans-serif;
	font-weight: 500;
}


.branding{
	position: absolute;	
	background-repeat: no-repeat;  
	background-position: top left;	
	background-size: cover;		
}


.shake {
    animation: shake-effect 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake-effect {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-3px); }
    40%, 60% { transform: translateX(3px); }

}



#stripes{
	position: fixed;
	background-image: url("/img/stripes.png");
}




#userPhotos{
	grid-template-columns:repeat(auto-fit,minmax(20%,20%));
	justify-content: center;
}

.galleryImg{
	width: 100%;
}





/*colors*/

.ppred{
	background-color: #F55B41;
    color: white;	
}


.ppgreen{
	background-color: #87C489;
    color: white;	
}


.ppwhite{
	background-color: #fff;
    color: #000;	
}


.active{
	background-color: #EC221F;
    color: white;	
}



/*buttons*/

button {
    color: white;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}


button:hover {
	background-color: #EC221F;
    color: white;	
}



.centered {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;  
	
}


.ppRoundBorder{
	border-radius: 8px;
	padding: 16px;
	background-color: white;
}
	

.ppWnd{
    padding: 16px 16px 32px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.mr8{
	margin-right: 8px;
}



/* Десктоп версия (широкий экран) */
@media screen and (min-width: 1024px) {
	
	#header{
		position: static;
	}	
	
	#header2{
		display: none;
	}
	
	#logo{
		top: 30px;
		left: 40px;
		width: 210px;
		height: 70px;	
	}

	#menu{
		top: 45px;
		right: 50px;
		height: 70px;	
	}

	#stripes{
		bottom: 0;
		right: 0;
		width: 768px;
		height: 764px;		
	}
	
}



/* Планшеты (средняя ширина экрана) */
@media screen and (max-width: 1024px) and (min-width: 768px) {
	
	#header{
		position: static;
	}	
	
	#header2{
		display: none;
	}	
	
	#logo{
		top: 50px;
		left: 30px;
		width: 210px;
		height: 70px;	
	}

	#menu{
		top: 55px;
		right: 30px;
		height: 70px;	
	}	

	#stripes{
		bottom: 0;
		right: 0;
		width: 591px;
		height: 588px;		
	}	
}



/* Смартфоны (узкая ширина экрана) */
@media screen and (max-width: 767px) {
	
	#header, #header2{
		height: 65px;
		background-color: #082E34;
	}
	
	#header{
		position: fixed;
	}
	
	#logo{
		top: 15px;
		left: 17px;
		width: 108px;
		height: 36px;	
	}


	#menuHamburger{
		display: block;
	}
	
	#btnHamb{
		padding: 10px;
		border-radius: 5px;
	}	
	
	#menuItems{
		display: none;
		background-color: #333;
		float: right;
		padding: 8px;
	}

	#menuItems a{
		display: block;	
		text-align: left;
	}
	
	#userInfo{
		padding-left: 0;
	}
	

	#stripes{
		left: 0;
		bottom: 0;
		width: 100%;
		max-width: 402px;
		height: 80%;
		max-height: 490px;
		background-image: url("/img/stripes-phone.png");		
	}	
	
	
	
}


