/*=================================
            Переменные
===================================*/

:root {
	--background: #f9f9f9;
	--background-secondary: #f4f4f4;
	--primary: #3a4d89;
	--secondary: #ee8224;
	--tertiary: #a5d4f7;
	/* --tertiary: #ffe0ac; */
	--success: #00a94f;
	/* --success: #53cf57; зеленый везде заменить на rudn-green 06.05.2025*/
	/* старые переменные из vmenu.css */
	--bgColorMenu: #00000066;
	--bgColorItem: #6d9fc5;
	--duration: 0.7s;
	--timeOut: none;

	--bg-popover: var(--background);
	--rudn-color: #309bff;
}

/*=================================
              Общее
===================================*/

a:active,
a:hover,
a {
	text-decoration: none;
}

html {
	background: no-repeat center center fixed;
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
}

body {
	width: 100%;
	margin: 0px;
}

.empty {
	height: 5em;
}

.tulle {
	background-color: #6e73db;
	opacity: 0.3;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: -1;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--duration);
}

.shade {
	background-color: #00000047;
}

.loader {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	color: aliceblue;
	font-size: 4em;
	z-index: 1;
}

/*=================================
            Фон сезонов
===================================*/

.bg-january {
	background: url("/images/backGround/january.jpg");
}

.bg-february {
	background: url("/images/backGround/february.jpg");
}

.bg-march {
	background: url("/images/backGround/march.jpg");
}

.bg-april {
	background: url("/images/backGround/april.jpg");
}

.bg-may {
	background: url("/images/backGround/may.jpg");
}

.bg-june {
	background: url("/images/backGround/june.jpg");
}

.bg-july {
	background: url("/images/backGround/july.jpg");
}

.bg-august {
	background: url("/images/backGround/august.jpg");
}

.bg-september {
	background: url("/images/backGround/september.jpg");
}

.bg-october {
	background: url("/images/backGround/october.jpg");
}

.bg-november {
	background: url("/images/backGround/november.jpg");
}

.bg-december {
	background: url("/images/backGround/december.jpg");
}

.bg-mountain {
	background: url("/images/backGround/mountain.jpg");
}

.bg-cover {
	/* background: no-repeat center center fixed; */
	background-attachment: fixed;
	background-position: top;
	background-repeat: no-repeat;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
}

/*=================================
              Шрифты
===================================*/

@font-face {
	font-family: Hemihead;
	src: url(/fonts/Hemihead.otf);
}

@font-face {
	font-family: GentiumBookPlus;
	src: url(/fonts/GentiumBookPlus/GentiumBookPlus-Regular.ttf);
}

/*=================================
     Горизонтальная навигация
===================================*/

header {
	background-color: transparent;
	/* padding: 5px 5px; */
}

.header-nav {
	position: fixed;
	width: 100%;
	background-color: transparent;
	z-index: 10;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background-color: #00000054;
	backdrop-filter: blur(15px);
}

header span {
	color: white;
	font-size: 1.3em;
}

.menu-header-part {
	display: flex;
	gap: 2em;
	margin: 0 1em;
}

.menu-header-part a {
	text-decoration: none;
	font-weight: bold;
}

.menu-header-part i {
	margin-right: 5px;
}

.tab-active {
	color: #a5d4f7;
	border-bottom: 2px #a5d4f7 solid;
}

/*=================================
          Верхний логотип
===================================*/

.header_logo {
	font-family: Hemihead;
	color: aliceblue;
	text-align: center;
	text-shadow: 3px 3px 6px rgba(66, 68, 90, 1);
}

.header_logo a:link,
.header_logo a:hover,
.header_logo a:visited,
.header_logo a:focus,
.header_logo a:active {
	text-decoration: none;
	font-size: 2.8em;
	color: aliceblue;
}

.header_logo p {
	font-size: 1.3em;
	margin-top: -2em;
	margin-bottom: 60px;
	letter-spacing: 1em;
}

/*=================================
              Логотип
===================================*/

.logo-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

.logo {
	width: fit-content;
}

header h1 {
	text-align: center;
	color: aliceblue;
	font-family: Hemihead;
	/* font-size: 4.0em; мешает в 404 */
}

header h1 a:link,
header h1 a:visited,
header h1 a:focus,
header h1 a:hover,
header h1 a:active {
	color: aliceblue;
	text-decoration: none;
}

.ctb {
	display: flex;
	justify-content: center;
	padding: 30px 45px;
	background: rgb(214, 214, 214);
	transition: 1s;
	box-shadow: 20px 20px 0 rgb(58, 58, 58);
	transform: skewX(15deg);
}

.ctb span {
	font-size: 2.5em;
	color: rgb(58, 58, 58);
	transform: skewX(-15deg);
	display: none;
	letter-spacing: -0.06em;
}

/*=================================
            Кнопка входа
===================================*/

.wrapper {
	display: flex;
	justify-content: center;
}

.cta {
	display: flex;
	cursor: pointer;

	padding: 10px 45px;
	text-decoration: none;
	font-size: 40px;
	color: white;
	background: #3b5877;
	transition: 1s;
	box-shadow: 6px 6px 0 black;
	transform: skewX(-15deg);
}

.cta:focus {
	outline: none;
}

.cta:hover {
	cursor: pointer;
	transition: 0.5s;
	box-shadow: 10px 10px 0 #214668;
}

.cta span:nth-child(2) {
	transition: 0.5s;
	margin-right: 0px;
}

.cta:hover span:nth-child(2) {
	transition: 0.5s;
	margin-right: 45px;
}

.cta span {
	font-family: GentiumBookPlus;
	transform: skewX(15deg);
}

.cta span:nth-child(2) {
	width: 20px;
	margin-left: 30px;
	position: relative;
	top: 12%;
}

path.one {
	transition: 0.4s;
	transform: translateX(-60%);
}

path.two {
	transition: 0.5s;
	transform: translateX(-30%);
}

.cta:hover path.three {
	animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
	transform: translateX(0%);
	animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
	transform: translateX(0%);
	animation: color_anim 1s infinite 0.4s;
}

@keyframes color_anim {
	0% {
		fill: white;
	}

	50% {
		fill: #2c5d8a;
	}

	100% {
		fill: white;
	}
}

#bt-entry svg {
	width: 66px;
	height: 43px;
}

/*=================================
            Форма входа
===================================*/

#loginform {
	margin: auto;
	font-size: 1.2em;
	width: fit-content;
	padding: 40px;
	border-radius: 20px;
	-webkit-tap-highlight-color: transparent;
	transition: background-color var(--duration);
	border: 1px solid rgba(255, 255, 255, 0.25);
	background-color: rgb(255 255 255 / 52%);
	box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(15px);
	position: absolute;
	/* top: calc(50vh - 175px); */
	top: calc(40vh - 175px);
	left: calc(50vw - 169px);
	color: black;
	display: none;
}

#loginform h3 {
	font-family: GentiumBookPlus;
	color: var(--primary);
	text-align: center;
}

.container-for-loginform {
	width: 230px;
	font-family: "GentiumBookPlus";
	font-size: 0.9em;
	color: #595959;
	margin-bottom: 20px;
	background-color: white;
	border-radius: 10px;
	padding: 10px;
}

.input-container {
	display: flex;
	align-items: center;
	gap: 5px;
}

.input-form {
	border: 0px;
}

.container-for-loginform .show-hide-content {
	color: var(--primary);
	font-size: 20px;
	background-color: unset;
	border: none;
	cursor: pointer;
}

/*=================================
          Краткое инфо (ФИО)
===================================*/

.short-profile-info_block {
	display: flex;
	flex-direction: row;
	align-items: center;
	font-size: 1.3em;
	/* margin-right: 1em; */
}

.show_desktop {
	text-align: center;
}

.show_mobile {
	display: none;
}

.short-profile-info_block a {
	color: white;
}

.icon-button-exit {
	font-size: 1.3em;
	color: var(--tertiary);
	background-color: unset;
	border: none;
	cursor: pointer;
	margin-left: 0.2em;
}

/*=================================
    Кнопка переключения языка
===================================*/

.language-select {
	background: #00000047;
	padding: 8px;
	margin-right: 0.5em;
	border: none;
	border-radius: 5px;
	font-size: 1.3rem;
	color: white;
}



/*=================================
Кнопка входа, RUDN ID и сброса пароля
===================================*/

#enter,
.reset-password,
#rudn_id {
	font-family: GentiumBookPlus;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 5px 0px;
	font-size: 1.3em;
	width: 100%;
	background-color: var(--primary);
	border: 0px;
	border-radius: 10px;
	color: #d8e3ee;
	cursor: pointer;
	text-align: center;
}

/*=================================
        Окошко сброса пароля
===================================*/

.open_reset_password_form,
.back_to_login {
	color: var(--primary);
	cursor: pointer;
}

.open_reset_password_form {
	display: block;
	text-align: center;
	font-size: small;
}

.open_reset_password_form:hover,
.back_to_login:hover,
.short-profile-info_block a:hover,
.short-profile-info_block i:hover,
.icon-button-exit:hover,
.menu-header-part span:hover {
	color: var(--tertiary);
	text-shadow: 0 0 2px black;
}

.icon-button:hover {
	color: var(--secondary);
	text-shadow: 0 0 2px black;
}

/*=================================
              Footer
===================================*/

.body-content {
	min-height: 100vh;
	/* margin-bottom: 5em; */
}

footer {
	margin-top: 1em;
	font-size: 1.3em;
	width: 100%;
	text-shadow: 1px 1px 1px black;
}

footer p {
	/* font-family: ; */
	text-align: center;
	margin: 20px 0;
	color: #ffffff;
}

.index {
	position: absolute;
	bottom: 10px;
}

.footer-wrapper {
	position: relative;
	bottom: 0px;
	/* margin-top: 5em; */
	/* padding: 0 1em; */
	display: flex;
	width: 100%;
	justify-content: center;
	align-items: center;
	background-color: #0000008a;
	backdrop-filter: blur(6px);
}

.footer-wrapper hr {
	width: 4em;
	margin: 0;
	transform: rotate(90deg);
}

.footer-wrapper div:first-child {
	padding-left: 1em;
}

.footer-wrapper div:last-child {
	padding-right: 1em;
}

.footer-mailto {
	color: unset;
}

.footer-mailto:visited {
	color: unset;
}

/*=================================
            Страница 404
===================================*/

.error_menu {
	background-color: var(--bgColorMenu);
	backdrop-filter: blur(15px);
	text-align: right;
	padding: 0 10px;
}

.error_message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: var(--bgColorMenu);
	backdrop-filter: blur(15px);
	color: white;
	text-shadow: 0 0 1px black;
	font-size: 1.3em;

	margin: auto;
	width: fit-content;
	/* overflow: scroll; */
	padding: 0 2em;
	border-radius: 20px;
}

.error_message a:link,
.error_message a:visited,
.error_message a:focus,
.error_message a:hover,
.error_message a:active {
	color: aliceblue;
	/* text-decoration: none; */
}

.error_message-button {
	color: aliceblue;
	font-size: 1.3rem;
	background-color: transparent;
	border: none;
}

/*=================================
          Мобильная версия
===================================*/

@media screen and (max-width: 890px) {
	#loginform {
		padding: 20px;
		width: 60vw;
		top: calc(40vh - 175px);
		left: 0;
		right: 0;
	}

	.container-for-loginform {
		width: auto;
	}

	.container-for-loginform .show-hide-content {
		position: absolute;
		right: 27px;
	}

	.input-form {
		width: 40vw;
	}

	.short-profile-info_block .show_mobile {
		display: initial;
	}

	.short-profile-info_block .show_desktop {
		display: none;
	}

	.header-nav {
		/* width: auto; */
		flex-direction: column;
		align-items: center;
		position: relative;
	}

	.menu-header-part {
		flex-direction: column;
		align-items: center;
	}

	header .header_logo a:link,
	header .header_logo a:hover,
	header .header_logo a:visited,
	header .header_logo a:focus,
	header .header_logo a:active {
		font-size: 3em;
	}

	.empty {
		height: 0em;
	}

	#bt-entry svg {
		width: 50px;
		height: unset;
	}

	.wrapper {
		flex-direction: column;
	}

	header span {
		font-size: unset;
	}

	.cta {
		font-size: xx-large;
		align-items: center;
		/* padding: 0px 0px 0px 30px; */
		margin: auto;
	}

	.cta span:nth-child(2) {
		width: 0px;
		margin-top: 12px;
	}

	.ctb {
		padding: 20px 40px;
		box-shadow: 10px 10px 0 rgb(58, 58, 58);
	}

	.ctb span {
		font-size: xxx-large;
	}

	header h1 {
		margin-top: 0;
		padding-top: 1em;
	}
}

@media screen and (max-width: 555px) {

	footer .header_logo a:link,
	footer .header_logo a:hover,
	footer .header_logo a:visited,
	footer .header_logo a:focus,
	footer .header_logo a:active {
		font-size: 2.3em;
	}

	footer p {
		font-size: 16px;
	}

	header .header_logo a:link,
	header .header_logo a:hover,
	header .header_logo a:visited,
	header .header_logo a:focus,
	header .header_logo a:active {
		font-size: 2.2em;
	}

	header .header_logo p {
		font-size: medium;
		/* letter-spacing: 0.5em; */
	}

	.menu-header-part {
		display: none;
	}
}

@media screen and (max-width: 380px) {
	.footer-wrapper {
		flex-direction: column;
	}

	.footer-wrapper hr {
		width: 8.5em;
		transform: rotate(0deg);
	}

	.cta {
		/* font-size: xx-large; */
		padding: 0px 40px;
	}

	.cta span:nth-child(2) {
		margin-top: 12px;
	}

	.ctb {
		padding: 10px 25px;
	}

	.ctb span {
		/* font-size: xx-large; */
		font-size: 2em;
	}

	#bt-entry svg {
		width: 40px;
		height: unset;
	}

	.cta:hover span:nth-child(2) {
		margin-right: 25px;
	}
}

@media screen and (max-width: 300px) {

	header .header_logo a:link,
	header .header_logo a:hover,
	header .header_logo a:visited,
	header .header_logo a:focus,
	header .header_logo a:active {
		font-size: 1.3em;
	}

	header .header_logo p {
		font-size: medium;
		letter-spacing: 0.4em;
	}
}

#popover {
	padding: 5px 10px;
	background-color: var(--bg-popover);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	border-radius: 10px;
}

#popover-triangle {
	position: absolute;
	top: -15px;
	width: 15px;
	height: 15px;
	background-color: var(--bg-popover);
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

#popover-content {
	width: 100%;
	height: 100%;
}