@font-face {
    font-family: kelly-slab;
    src: url("../fonts/kelly-slab.ttf");
}

@font-face {
    font-family: "BroadwayD";
    src:
        url("../fonts/BroadwayD.otf") format("opentype"),
        url("../fonts/BroadwayD.ttf") format("truetype");
}


body {
    background: #009899;
}

.character_type_select {
    width: 1020px;
    height: 390px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.character_type_select__unit {
    width: 420px;
    height: 379px;
    background-image: url(../images/register/character_type_select_unit.png);
    text-align: center;
    font-size: 20px;
    font-family: "BroadwayD";
    color: white;
    position: relative;
}

.character_type_select__header {
    margin-top: 35px;
    width: 100%;
    text-align: center;
}

.character_type_select__description {
    margin-top: 30px;
    width: 260px;
    height: 75%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.character_type_select__button {
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    text-align: center;
}

.character_type_select__button_span:hover {
	color: #dcc6c6;
	text-decoration: underline;
    cursor: pointer;
}

.register_logo {
    position: absolute;
    top: 75%;
    left: 0;
    width: 100%;
    height: 135px;
    display: flex;
}

.register_logo_bottom {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 135px;
    display: flex;
}

.register_logo_after {
    width: calc(50% - 504.5px);
    height: 100%;
    background-image: url(../images/register/logo_after.png);
}

.register_logo_center {
    width: 1009px;
    height: 100%;
    background-image: url(../images/register/logo.png);
}

#character_block {
    display: none;
    width: 100%;
	height: 100%;
}

.reg_close_block {
    width: 100%;
	height: 100%;
}

.character_block__header {
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    font-size: 37px;
    font-family: "BroadwayD";
    text-align: center;
    color: white;
}

.passengers_block {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 1200px;
}

.registration_block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    height: 732px;
    color: #009899;
}

.passengers_header_block {
    width: 100%;
    height: 65px;
    background-image: url(../images/register/registration_block_top.png);
}

.passengers_main_img_block {
    width: 100%;
    height: calc(100% - 110px);
    color: #009899;
}

.passengers_bottom_block {
    width: 100%;
    height: 65px;
    background-image: url(../images/register/registration_block_top.png);
}

.type_character {
    display: none;
    text-align: center;
    font-size: 20px;
    font-family: "BroadwayD";
    color: white;
    margin-top: 100px;
    width: 970px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding-top: 10px;
}

.register_table {
    margin-top: 10px;
    margin-bottom: 10px;
	margin-left: auto;
    margin-right: auto;
}

.register_table td {
	text-align: right;
    vertical-align: text-top;
}

.birth_day {
	width: 30px;
}

.birth_year {
	width: 75px;
}

.reg_close_text {
    text-align: center;
    font-size: 20px;
    font-family: "BroadwayD";
    color: white;
    margin-top: 100px;
    overflow-y: scroll;
    width: 970px;
    height: 495px;
    margin-left: auto;
    margin-right: auto;
	position: relative;
}

.type_character__input {
	width: 175px;
}

.description_header {
    margin-bottom: 10px;
}

.player_description {
	width: 905px;
	height: 325px;
	resize: none;
    margin-bottom: 10px;
}

.rules_agree {
    margin-bottom: 10px;
}

#register_button {
	cursor: pointer;
	font-family: "BroadwayD";
	text-decoration: none;
	color: white;
	background-color: inherit;
	font-size: 30px;
	border: none;
	outline: none;
}
#register_button:hover {
	color: #dcc6c6;
	text-decoration: underline;
}

#citizen_input, #email_cabin_input {
	display: none;
}

#register_closed {
    display: block;
}

#avatar_change {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 450px;
    background-color: rgb(224, 200, 185);
    color: black;
    border: 4mm ridge rgba(66, 145, 96, 0.6);
    text-align: center;
    z-index: 999;
    font-family: kelly-slab;
}

#avatar_change_background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

#avatar_button {
    cursor: pointer;
    text-decoration: none;
    color: white;
    background-color: inherit;
    font-size: 20px;
    border: none;
    outline: none;
}

#avatar_button:hover {
    color: #dcc6c6;
    text-decoration: underline;
}

#avatar {
    display: none;
}

#change_avatar {
    cursor: pointer;
    font-family: kelly-slab;
    text-decoration: none;
    color: black;
    background-color: inherit;
    font-size: 20px;
    border: none;
    outline: none;
    margin-top: 20px;
}

#change_avatar:hover {
    text-decoration: underline;
    color: rgb(30, 30, 30);
}

.prepare_image_block {
    position: relative;
    overflow: hidden;
    border: thick double rgba(66, 145, 96, 0.6);
    width: 300px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

#prepare_image_border {
    position: absolute;
    border: 2px solid #000000;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
    cursor: move;
}

#prepare_image_select {
    position: absolute;
    min-width: 100px;
    min-height: 100px;
    z-index: 2;
    top: 0;
    left: 0;
}

#prepare_image_child {
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 20px;
    height: 20px;
    background-color: #000000;
    z-index: 3;
    cursor: nw-resize;
}

.pam_big {
    background: url(../images/pam_big.png);
    width: 814px;
    height: 723px;
    position: fixed;
    bottom: 0;
    right: 0;
}

.pam {
    background: url(../images/pam.png);
    width: 300px;
    height: 281px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 888;
}