*,
*::before,
*::after {
	box-sizing: border-box;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--color-text);
	padding: 0;
}

body {
	font-family: proxima nova regular;
	margin: 0;
	width: 100%;
	min-height: 100vh;
	height: 100%;
}

:root {
	--border-radius: 4px
}

option {
	background-color: var(--white);
}

img {
	height: 100%;
	width: 100%;
}

.close-wrapper .close {
	position: relative;
	color: var(--color-text);
	background-color: var(--white);
	font-size: 16px;
	line-height: 18px;
	text-decoration: none;
	border: 1px solid var(--border);
	padding: 6px 30px;
	display: inline-flex;
}

.title-text {
	font-size: 34px;
	font-family: proxima nova semibold;
	margin-block-start: 10px;
  margin-block-end: 10px;
}

/* новое */

.arrow-rigth {
	position: absolute;
	font-size: 25px;
	left: 3px;
	top: 3px;
	color: var(--color-text);
}

.close-button-i {
	position: absolute;
	content: "";
	width: 16px;
	height: 18px;
	top: 0;
	right: 0;
	font-size: 25px;
	color: var(--color-text);
}

.close-button {
    position: absolute;
    display: block;
    cursor: pointer;
    border: none;
    width: 16px;
    height: 16px;
    background: inherit;
    top: 18px;
    right: 15px;
}

.popup-auth-wrapper {
	padding: 15px;
	background: var(--col-label);
	max-width: 515px;
	width: 100%;
	margin: 0 auto;
	min-height: 270px;
	box-sizing: border-box;
	border-radius: 7px;
	min-height: 250px;
	backdrop-filter: blur(var(--blur));
}

.popup-auth-wrapper p {
	color: var(--text-gray);
	font-size: .875em;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	border: 0;
	padding: 0;
	white-space: nowrap;
	clip-path: inset(100%);
	clip: rect(0 0 0 0);
	overflow: hidden;
}

/* header */

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
	padding: 20px;
}

.header-logo {
	display: flex;
    align-items: center;
    justify-content: center;
    /* height: 39px;
    width: 150px;
    background-image: var(--logo-img); */
}

.auth {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	padding: 11px;
    background-color: var(--col-label);
	backdrop-filter: blur(var(--blur));
    border-radius: 7px;
}

.auth a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-text);
}

.auth .auth-name {
	display: none;
	color: var(--color-text);
	font-size: 18px;
	line-height: 20px;
}

.auth img {
	width: 35px;
	height: 35px;
	margin-right: 10px;
	border-radius: 100px;
}

.popup-exit {
	display: none;
}

.popup-exit span {
	margin-left: 10px;
}

/* изменения тут */

.position {
	position: relative;
}

.position .icon {
	position: absolute;
	left: -10px;
}

.popup-down {
  font-size: 1.2em;
}

/* все 2 блока только */

.popup-exit-active {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: absolute;
  width: 205px;
	height: 85px;
	right: 0;
	z-index: 100;
	top: 45px;
	background: var(--white);
	box-shadow: 0px 12px 16px rgba(0, 0, 0, 0.08), 0px 4px 56px rgba(0, 0, 0, 0.08);
}

/* изменения тут */

.popup-exit .link {
	text-decoration: none;
	color: var(--color-text);
	width: 100%;
	height: 42px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-left: 40px;
}

/* style theme */

.mode {
	border-radius: 6px;
	position: relative;
	/* transition: var(--tran-05); */
}

.mode .sun-moon i {
	position: absolute;
	left: -10px;
}

.mode .sun-moon i.sun {
	opacity: 0;
}

body.dark .mode .sun-moon i.sun {
	opacity: 1;
}

body.dark .mode .sun-moon i.moon {
	opacity: 0;
}

@media(min-width: 768px) {
	.popup-auth-wrapper {
		padding: 30px;
	}

	.auth .auth-name {
		display: block;
		margin-right: 15px;
	}

	.auth {
		flex-direction: row;
	}
}

main {
	height: 100%;
	/* padding: 10px; */
}

.button {
	display: flex;
	position: relative;
    text-decoration: none;
    align-items: center;
    text-align: center;
    justify-content: center;
    color: var(--white-text);
    background: var(--button);
    padding: 9px 4px;
    margin: 20px 0;
    border-radius: 4px;
    border: none;
	overflow: hidden;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.button::after {
	content: "";
	position: absolute;
	transform: rotate(45deg);
	width: 400%;
	height: 1000%;
	bottom: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.616);
	transition: .5s ease-in-out;
}

.button:hover::after {
	content: "";
	width: 200%;
	height: 1000%;
	background-color: rgba(0,0,0,0);
}


button:disabled,
button[disabled]{
  pointer-events: none;
  opacity: .65;
}

.button__discord {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 12px 0;
    color: var(--white-text);
    margin-top: 15px;
    cursor: pointer;
    transition: all .3s ease-out;
}

.sub_button-discord {
    width: 100%;
}

.button__discord_active {
    opacity: 1;
    width: 100%;
    margin-left: 15px;
}

.discord_green {
	background-color: #519c54;
  }
  
  .discord_green:hover {
	background-color: rgba(81,156,84,0.43);
  }
  
  .discord_blue {
	position: relative;
	background: #5662f6;
  }
  
  .discord_blue:hover {
	background: rgba(86,98,246,0.43);
  }  

input[type=text]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=text]::-ms-reveal {  display: none; width : 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
input {outline:none;}


@font-face {
    font-family: proxima nova regular;
    src: url(../font/ProximaNova-Regular.eot);
    src: url(../font/ProximaNova-Regular.eot?#iefix) format('embedded-opentype'),url(../font/ProximaNova-Regular.woff) format('woff'),url(../font/ProximaNova-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: proxima nova semibold;
    src: url(../font/ProximaNova-Semibold.eot);
    src: url(../font/ProximaNova-Semibold.eot?#iefix) format('embedded-opentype'),url(../font/ProximaNova-Semibold.woff) format('woff'),url(../font/ProximaNova-Semibold.ttf) format('truetype');
    font-weight: 400;
    font-style: normal
}