* {
  -webkit-tap-highlight-color: transparent;
}

@font-face {
    font-family: 'American Typewriter';
    src: url('../fonts/AmericanTypewriter-01.ttf') format('truetype');
}

@font-face {
    font-family: 'American Typewriter Bold';
    src: url('../fonts/AmericanTypewriter-Bold-03.ttf') format('truetype');
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-SemiBold.ttf') format('truetype');
}

	* {
    font-family: 'American Typewriter';
}

h1, p {
    margin: 0;
    padding: 0;
}

h1 {
	margin-bottom: 20px;
}

body, html {
	font-family: 'American Typewriter';
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ea9cae url('../images/cover.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: #313149
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding-bottom: 0px;
    transition: 0.3s;
}

a {
	text-decoration: none;
	color: #313149
}

.make_acc_block, .code_auth_block, .panel-lev2 {
	position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; background: rgba(255,255,255,0.3); justify-content: center; flex-direction: column; align-items: center; 
	transition: 0.3s;
	/*transform: scale(0.1);*/
	z-index: 10;
	opacity: 0;
	display: none;
}

.make_acc_block.show, .code_auth_block.show, .panel-lev2.show {
	display: flex;
	transform: scale(1);
	opacity: 1;
	}


.vk_btn div {
	background: #000;
	border-radius: 100px;
	mask: url(/images/vk-black.svg) no-repeat center;
	mask-size: 50px;
	background: linear-gradient(97deg, rgb(49 49 73) 0%, rgb(90 66 87) 100%)
}

.vk_btn div span {
	position: absolute;
}

.vk_btn div button {
	width: 50px !important;
	height: 50px !important;
}

.wrapper.mini { 
		transform: scale(0.2);
		transform-origin: 30px 30px;
		z-index: 12;
	}
	
.make_acc_block.mini, .panel-lev2.mini {
	transform: scale(0.2) !important;
	transform-origin: 50% 30px;
	z-index: 2
}

.container {
    position: relative;
    background-color: rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100vw !important;
    box-sizing: border-box;
    /*padding: 40px;*/
    box-sizing: border-box;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    min-height: 100vh;
}


.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.logo-image {
    width: 100%;
    height: auto;
    max-width: 360px;
}

.form {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 82px;
    color: #313149;
    display: block;
    box-sizing: border-box;
    font-weight: normal;
}

span {
    display: block;
    font-size: 28px;
    padding: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-container {
    position: relative;
    width: 30vw;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}


input[type=text], input[type=number], input[type=email] {
    width: 100%;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 28px;
    backgrorgb(74, 68, 72)or: #f5f1f8;
    text-align: center;
}

input::placeholder {
    font-size: 28px;
    text-align: center;
    color: #543d3d;
}

input:focus::placeholder {
  color: transparent;
}

.question-icon {
	position: absolute;
    right: 0;
    margin-right: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    min-width: 50px;
    box-sizing: border-box;
    background-color: #ddbcd5;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    padding: 0px 15px;
}

.question-icon img {
    width: 30px;
    height: 30px;
}

.mask {
	background: linear-gradient(97deg, rgb(49 49 73) 0%, rgb(90 66 87) 100%);
}

.mask.tg {
  
  -webkit-mask: url(/images/telegram-black2.svg) no-repeat center;
  mask: url(/images/telegram-black2.svg) no-repeat center;
  mask-size: 50px;
}

.mask.vk {
  
  -webkit-mask: url(/images/vk-black.svg) no-repeat center;
  mask: url(/images/vk-black.svg) no-repeat center;
  mask-size: 50px;
}

.fclick, .fclick2 {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 2;
	display: none;
	cursor: pointer;
}

.login-button, .reg-button {
	
	background: rgb(63 8 64 / 55%);
    color: #fff;
    font-size: 30px;
    border-radius: 10px;
    background-size: contain;
    width: 18vw;
    height: 60px;
    max-width: 275px;
    border: none;
    border-top: 2px solid #83127d;
    border-bottom: 2px solid #83127d;
    cursor: pointer;
    margin-top: 0px;
}

.reg-button {
	font-size: 18px; white-space: nowrap;
	width: auto;
	padding-left: 20px;
	padding-right: 20px;
	}

.create-account {
    position: relative;
    margin-top: 10px;
    width: 40vw;
    left: calc(50% - 30vw);
    transform: translateX(-50%);
    background-color: #34495e;
    color: white;
    font-size: 28px;
    padding: 0.5rem;
    border-radius: 10px;
    border: none;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transition: background-color 0.3s;
}

.create-account.tg {
	background-color: #085baf 
	}

.create-account:hover {
    background-color: #2c3e50;
}

@media (max-width: 1280px) {
    .container {
        width: 100%;
        
    }

	.create-account {
		left: 0;
        transform: unset;
        width: 55vw;
	}

    .logo {
        width: 65vw;
    }

    .logo-image {
        width: 100%;
    }

    h1 {
        font-size: 72px;
    }

    .input-container {
        position: relative;
        width: 55vw;
    }

    input[type=text], input[type=number] {
        padding: 25px;
        padding-top: 20px;
        padding-bottom: 18px;
        padding-right: 30px;
        font-size: 20px;
        background-color: #f5f0f7;
    }
    
    input[type=text].w_placeholder, input[type=number].w_placeholder {
    	padding-top: 25px;
    }

    .question-icon {
        margin-right: 10px;
        width: 32px;
        height: 32px;
    }
    
    .question-icon img {
        width: 20px;
        height: 20px;
    }

    .login-button {
        width: 25vw;
        height: 60px;
    }

    .create-account {
        font-size: 24px;
    }
}

@media (max-width: 1024px) {
    .container {
        width: 90vw;
    }
     .create-account {
        width: 70vw;
        font-size: 22px;
    }

    .logo {
        width: 60vw;
    }

    .logo-image {
        width: 100%;
    }

    h1 {
        font-size: 64px;
    }

    .input-container {
        width: 70vw;
    }

    .question-icon {
        width: 32px;
        height: 32px;
    }
    
    .question-icon img {
        width: 18px;
        height: 18px;
    }

    .login-button {
        width: 24vw;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100vw;
    }
     .create-account {
        width: 70vw;
        font-size: 20px;
    }

    .logo {
        width: 55vw;
    }

    .logo-image {
        width: 100%;
    }

    h1 {
        font-size: 72px;
    }

    .input-container {
        width: 70vw;
    }

    input[type=text], input[type=number] {
        padding: 20px;
        padding-top: 30px;
        padding-bottom: 17px;
        font-size: 24px;
    }

    .question-icon {
        width: 28px;
        height: 28px;
    }
    
    .question-icon img {
        width: 18px;
        height: 18px;
    }

    .login-button {
        width: 24vw;
        height: 60px;
    }
}

@media (max-width: 480px) {

     .create-account {
        font-size: 18px;
    }

    .logo {
        width: 50vw;
    }

    .logo-image {
        width: 100%;
    }

    h1 {
        font-size: 54px;
    }

    .input-container {
        width: 65vw;
    }

    input[type=text], input[type=number] {
        padding: 18px;
        padding-top: 16px;
        padding-bottom: 14px;
        font-size: 16px;
    }
    
    input::placeholder {
		font-size: 18px;
	}

    .question-icon {
        width: 26px;
        height: 26px;
    }
    
    .question-icon img {
        width: 16px;
        height: 16px;
    }

    .login-button {
        width: 38vw;
        height: 50px;
    }

}

@media (max-width: 320px) {
    .container {
        width: 90vw;
    }
     .create-account {
        width: 90vw;
        font-size: 16px;
    }

    .logo {
        width: 50vw;
    }

    .logo-image {
        width: 100%;
    }

    h1 {
        font-size: 42px;
    }

    .input-container {
        width: 65vw;
    }

    input[type=text], input[type=number] {
        padding: 12px;
        font-size: 16px;
    }

	input::placeholder {
		font-size: 16px;
	}

    .login-button {
        width: 40vw;
        height: 50px;
    }

}