@font-face {
    font-family: 'Sunday';
    src: url('../fonts/Sunday-Regular.woff2') format('woff2'),
        url('../fonts/Sunday-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    
}

@font-face {
    font-family: 'OpenSans';
    src: 
        url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    
}


.main{
	background-repeat: no-repeat;
    width: calc(100% + 100px);
    height: 100%;
    background-image: url(../img/45196.jpg);
    background-size: 1000px auto;
    display: block;
    overflow: hidden;
    background-position-x: right; 
	background-color: black;
	position: absolute;
	z-index:-1;
	top:0px;
	transition-duration: 0.5s;
}

.main_normal
{
	transform: translateX(0px);
}

.main_moved
{
	transform: translateX(-100px);
}
.main2
{
	background-repeat: no-repeat;
    width: 480px;
    min-height: 700px;
    background-image: url(../img/back.jpg);
    background-size: cover;
    display: block;
    overflow: hidden;
    background-position-x: -565px; 
	position: absolute;
	z-index:-1;
	top:-100px;
	
}

.head{
	background-color: aqua;
    height: 75px;
    width: 250px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    z-index: 1;
    position: relative;
	font-family: "Sunday";
	background: url(../img/main_logo.png);
    background-size: cover;
}

.after_head
{
	    width: fit-content;
    font-family: Sunday;
    margin-left: auto;
    margin-right: auto;
    display: block;
    font-size: 20px;
	margin-top: 5px;
	color: white;
}

.club_auril
{
	background-color: #ffffff;
}
.club_asmodey
{
	background-color: #ffad6a;
}
.club_strad
{
	background-color: #b34f4f;
}
.club_beholder
{
	background-color: #b10d97ab;
}
.club_kraken
{
	background-color: #7a7aff;
}
.club_tiamat
{
	background-color: #a9ff99;
}
.club_tarrask
{
	background-color: #654000a6;
}
.club_vekna
{
	background-color: #b2db00;
}
.club_online{
    background-color: black;
    color: wheat;
}

.day_week
{
	font-family: Sunday;
	background-color: #ffffffb5;
	width: 400px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	border-radius: 10px;
	padding: 10px;
	overflow: hidden;
	max-height: 120px;
	transition: 0.5s;
}
.day_week_show{
	max-height: 5000px;
}

.day_week_button
{
	display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    height: 30px;
    font-family: Sunday;
    color: black;
    background-color: #ffdb97;
}

.window_day
{
	    font-family: Sunday;
    width: 390px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 10px 0px 0px 10px;
    padding: 10px;
	
	
	background-image: url(../img/sun.png);
    background-repeat: no-repeat;
	background-position-x: 100%;
    background-position-y: 2px;
    background-size: 55px;
}

.window_night
{
	    font-family: Sunday;
    width: 390px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 10px 0px 0px 10px;
    padding: 10px;
	
	
	background-image: url(../img/moon.png);
    background-position-x: 100%;
    background-position-y: -2px;
    background-size: 55px;
    background-repeat: no-repeat;
}

.window_online
{
    
	    font-family: Sunday;
    width: 390px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 10px 0px 0px 10px;
    padding: 10px;
	
	
	background-image: url(../img/ONLINE.png);
    background-position-x: 100%;
    background-position-y: -2px;
    background-size: 55px;
    background-repeat: no-repeat;
}

#desc_warning{
    background-color: none;
    text-align: center;
    padding: 10px;
}

.desc_warning_show{
    background-color: red;
}

.icon
{
	width: 30px;
	height: 30px;
	z-index: 2;
	position: relative;
	background-color: green;
	border-radius: 7px;
	background-image: url("../img/icon_empty.png");
	background-size: cover;
}
.icon_red
{
	width: 30px;
	height: 30px;
	z-index: 2;
	position: relative;
	background-color: red;
	border-radius: 7px;
	
	
	background-image: url("../img/icon_fill.png");
	background-size: cover;
}

.desc
{
	max-width: 480px;
	width: calc(100% - 24px);
    height: calc(100% - 165px);
    position: absolute;
	margin-top: 30px;
	border: solid 2px;
    
    
    background-color: #bdbdbdbf;
    border-radius: 18px;
    transition-duration: 0.5s;
	
	font-family: Sunday;
	
}
.desc_show
{
	transform: translateX(10px);
}

.desc_hide
{
	transform: translateX(1000%);
}

.content
{
	transition-duration: 0.5s;
    
}

.content_show
{
	transform: translateX(0px);
}

.content_hide
{
	transform: translateX(-200%);
}

.desc_back
{
	position: absolute;
    right: 12px;
    top: 126px;
    width: 50px;
    height: 50px;
    background-color: gray;
    border-radius: 16px;
    background-image: url(../img/exit.png);
    background-position: center;
    background-size: 30px;
    background-repeat: no-repeat;
	z-index: 5;
	
    transition: 0.3s;
    
}
.desc_back_show
{
	transition-delay: 0.2s;
	transform: scaleX(1) scaleY(1);
	
}
.desc_back_hide
{
	transition-delay: 0s;
	transform: scaleX(0) scaleY(0) rotateZ(90deg);
	
	
}
.desc_text
{
	    width: calc(100% - 20px);
    margin-top: 10px;
    margin-left: 10px;
	font-family: "OpenSans";
	margin-bottom: 30px;
}

.desc_flex
{
	display: flex;
    width: auto;
    justify-content: space-between;
    margin-left: 10px;
    margin-right: 10px;
	
	font-size: 20px;
	margin-bottom: 10px;
}

.desc_name
{
	    font-size: 23px;
		text-align: center;
    margin: 10px;
}

.desc_players
{
	display: grid;
    grid-template-columns: 1fr calc(100% - 30px);
    grid-column-gap: 10px;
    margin: 10px;
    grid-row-gap: 10px;
}

#desc_for_img
{
	width: 400px;
    height: 200px;
    overflow: hidden;
    
    background-position: center;
    background-size: cover;
}

.beaulert_show
{
	position: absolute;
    font-family: Sunday;
    background-color: #ffffff;
    width: 320px;
    left: calc(50% - 160px);
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 10px;
    padding: 10px;
    z-index: 100;
}
.beaulert_hide
{
	position: absolute;
    display: none;
}

.beaulert_button
{
	display: block;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    font-family: Sunday;
}
.footer
{
	font-family: Sunday;
    background-color: #ffffffb5;
    width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 10px 10px 0 0;
    padding: 10px;
    overflow: hidden;
	
	
	text-align: center;
	
		
}

.signup_button
{
	text-decoration: none;
    color: blue;
    text-align: center;
    width: 100%;
    display: block;
    font-size: 30px; 
}
.signup_button_desc
{
	padding: 10px; 
	text-align: center; 
	margin: 0px;
	font-size: 12px;
}

.boardblock
{
	display: flex;
    justify-content: space-between;
    width: 390px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    border-radius: 10px 0px 0px 10px;
    padding: 10px;
    background-color: black;
    color: yellow;
}


@media screen and (min-width: 1000px) 
{
	.desc_show
	{
		transform: translateX(calc(50vw - 50% + 5px));
	}
	
	.main
	{
		background-size: cover;
	}
}

@media screen and (max-width: 440px) {
  
	.day_week
	{
		width: calc(100% - 40px);
	}
	.window_night
	{
		width: calc(100% - 10px);
	}.window_day
	{
		width: calc(100% - 10px);
	}.window_online
	{
		width: calc(100% - 10px);
	}
	.footer
	{
		width: calc(100% - 40px);
	}
	
}

@media screen and (max-width: 331px) {
  .day_week
	{
		width: 290px;
	}
	.footer
	{
		width: 290px;
	}
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background-color: #f9f9fd;
  
}
/* Для админки */
.input_common
{
	display: block;
	font-family: 'Sunday';
	background-color: #f5deb300;
	font-size: inherit;

}





