*,
::befor,
::after {
   padding: 0;
   margin: 0;
   bottom: 0;
   block-size: border-box;
}

a {
   text-decoration: none;
}


* {
   padding: 0;
   margin: 0;
   border: 0;
}



ul,
ol,
li {
   list-style: none;
}

img {
   vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-weight: inherit;
   font-size: inherit;
}

html,
body {

   height: 100%;
   line-height: 1;
   font-size: 15px;
   color: #252b42;
   font-weight: 500;
   font-family: "Montserrat";
}

.wrapper {

   min-height: 100%;
   overflow: hidden;
   display: flex;
   /*прибиваем подвал к низу */
   flex-direction: column;
   /*прибиваем подвал к низу */
}


/*ограничивающий контейнер контента */
.__container {
   max-width: 1046px;
   margin: 0px auto;
   padding: 0px 15px;
   /* ?чтобы не было прилипаний */
   box-sizing: content-box;
   /* ?браузер изменит принцип расчёта и padding с border уже будут включены в width и height. */

   /*выравнивает по центру блочный контент */
}

._ibg {
   position: relative;
}

._ibg img {
   /*технический класс для создания картинки фона */
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   object-fit: cover;

}



/* ! page---------------------------------- */
.page {
   /* прибиваем подвал к низу */
   flex: 1 1 auto;
}

.page__main-block {}

.page__services {
   background-color: #A79EB2;
}

.page__adventages {
   background: #C4CECC;
}

.page__cognic {

   background-color: #A79EB2;

}

.page_cardgame {
}


.header {

	width: 100%;
	left: 0;
	top: 0;
	background-color: #5B9C94;
	position: fixed;
	z-index: 1000;
}


@media (max-width: 560px) {
	.header {
		top: auto !important;
		bottom: 0 !important;
		/* для маленьких экранов - вниз */
	}
}




/*!______  HEADER__BLOCK_____________________________ */

.header__block {
   text-align: center;
   letter-spacing: 0.2;

}

.header__block__title {
   font-size: 40px;
   line-height: 142%;
   font-weight: 700;
}

.header__block__title:not(:last-child) {
   margin: 10px 0px 10px 0px;
}

.header__block__sub-title {
   font-size: 20px;

}

/* !___________________________HEADER__________________ */
/*@media (max-width:560px) {
	.header_top {
		display: none;
	}
}*/

.header__container {
	padding: 8px 0px 8px 0px;
}

.navig__text__logo {
	font-weight: 700;
	font-size: 16px;
	color: #ffffff;
}

@media (max-width:560px) {
	.navig__text__logo {
		font-weight: 700;
		font-size: 10px;
		color: #ffffff;
	}
}

.header_body {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	/*align-items: stretch;*/
}

.header__navig {}

.navig__logo {
	margin: 0px 0px 5px 0px;
	color: #fff;

}


@media (max-width:560px) {
	.navig__logo {
		font-size: 9px;

	}
}

button.yt-icon-button:active {
	vertical-align: middle;
	color: #01a715;
}

.header__logo {
	margin: 0px 0px 5px 0px;
	display: flex;
	justify-content: center;
	color: #fff;

}

@media (max-width:560px) {
	.header__logo img {
		width: 30px;

	}
}


.navig {}

.navig__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.navig__body:hover i {
	color: #252b42;
	cursor: pointer;
}

.navig__body:hover div {
	color: #252b42;
	cursor: pointer;
}

.navig__body:active i {
	color: #1d3596;
}

.navig__body:active div {
	color: #1d3596;
}


.navig__text {
	color: #fff;
	font-weight: 400;
}

.navig__texx {
	color: #fff;
	font-weight: 400;
}


@media (max-width:560px) {
	.navig__text {
		font-size: 10px;
	}
}


.header_username{
	font-weight: 600;
	font-size: 18px;
	border: 3px solid #fffefd;
	border-radius: 50px;
	padding: 5px 10px 5px 10px;
	color: #fff;
}


.navig_prof {
		display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}




/* ! Подвал---------------------------------- */
.footer {}

/* ! main-block---------------------------------- */
.main-block__container {}

.main-block {
   position: relative;
}





.main-block__body {
   padding: 80px 0px 191px 0px;
   position: relative;
   z-index: 2;
   max-width: 509px;
}

@media (max-width:600px) {

   .main-block__body {
      padding: 150px 0px 191px 0px;

   }
}

.main-block__body>*:not(:last-child) {
   /* обращается к каждому блоку внутри .main-block__body
   и откладывает доступ 35px кроме последнего */
   margin: 0px 0px 35px 0px;
}


.main-block__title {
   font-size: 55px;
   line-height: calc(70/55*100%);
   font-weight: 800;
}

@media (max-width:600px) {

   .main-block__title {

      font-size: 35px;
      line-height: calc(70/55*100%);
      font-weight: 600;
   }
}

.main-block__text {
   font-size: 20px;
   line-height: calc(30/20*100%);
}

.main-block__buttons {
   display: inline-flex;
   flex-wrap: wrap;
   align-items: center;
}

@media (max-width: 480px) {
   .main-block__button {
      flex: 1 1 auto;
      /* делает кнопки во всю ширину */
   }
}

.main-block__button:not(:last-child) {
   margin: 0px 15px 0px 0px;

}

@media (max-width:507px) {
   .main-block__button:not(:last-child) {
      margin: 0px 15px 10px 0px;

   }
}

.main-block__button {

   border-radius: 35px;
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 5px 35px;
   min-height: 48px;
   font-size: 18px;
   line-height: 150%;
   text-align: center;

}

.main-block__button_orang {
   background: #E7D290;
   color: #000000;
}

.main-block__button_blue {
   background: #9382A8;
   color: white;
   border: #5AA199 5px solid;
}


.main-block__image {
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
}

@media (max-width:1300px) {
   .main-block__image img {
      object-position: right;
   }
}

@media (max-width:900px) {
   .main-block__image img {
      opacity: 0.4;
   }
}


.main-block__image img {
   object-position: bottom;
}

/*!---------------------- SERVICES------------------------------ */


.services {}

.services__container {}

.services__body {
   display: flex;
   flex-wrap: wrap;
   margin: 0px -15px -30px;
}






.services__column {
   padding: 0px 15px;
   flex: 0 1 30%;
   /*растягиваю карточку */
   position: relative;
   z-index: 2;
   margin: -111px 0px 150px 0px;
   /*отрицательный marg чтобы наехать поверх другого блока .Он подтягивает остальные блоки*/
   display: flex;
   flex-direction: column;
}

@media (max-width:992px) {
   .services__column {
      flex: 1 1 45%;
   }

   .services__column:first-child {
      flex: 1 1 100%;
   }
}

@media (max-width:618px) {
   .services__column {
      flex: 0 1 100%;

   }
}


.services__item {
   box-shadow: 0px 13px 19px rgb(0, 0, 0, 0.7);
   background-color: #5AA199;
   padding: 20px;
   border-radius: 20px;
   height: 100%;
   /* все элементы увелечаться одинаково */


}

.services__item:hover {
   background-color: #00B3FF;
   color: #000000;
}

.item-service {}

.item-service>*:not(:last-child) {
   margin: 0px 0px 20px 0px;
}


.item-service__icon {
   background-color: #DDD2B1;
   border-radius: 20px;
   display: block;
   padding: 0px 0px 73% 0px;

}



.item-service__title {
   font-size: 24px;
   font-weight: 700;
   color: #ffffff;

}

@media (max-width:989px) {
   .item-service__title {
      font-size: 35px;
   }
}

.item-service__icon img {
   max-width: 100%;
   object-position: bottom;
}



.item-service__text {
   color: #ffffff;
}

.item-service__icon_butom {
   flex: 1 1 auto;
}

.icon_butom_clock {
   display: flex;
   justify-content: space-between;
   align-self: center;
}

.clock_img {}

.clock_img_column {
   display: flex;
   justify-content: space-between;
   align-self: center;

}

.clock_text {
   font-size: 12px;
   line-height: 130%;
   margin: 10px 10px 10px 5px;
}

.play_img {}

.icon_butom_play {}


/*!_______ ADVENTAGES___________________________________________ */

.adventages__container {
   padding: 50px 0;
}

.adventages__header {
   margin: 0px 0px 50px 0px;
}

.adventages__body {
   display: flex;
   margin: 0px -15px;
   flex-wrap: wrap;
}

.adventages__column {
   padding: 0px 15px;
   flex: 0 1 20.6%;
   margin: 0px 8px 15px 8px;

}

@media (max-width:914px) {
   .adventages__column {
      flex: 1 1 40%;
   }
}

.adventages__item {
   background-color: #B0B5B4;
   padding: 35px;
   text-align: center;
   border-radius: 15px;
   font-weight: 700;
   height: 80%;
}



.adventages__item>*:not(:last-child) {
   margin: 0px 0px 20px 0px;
}

.adventages__icon {}

.adventages__icon img {
   max-width: 150px;
}

.adventages__value {
   font-size: 20px;
   line-height: 142%;
   color: #2f5050;
}

.adventages__text {
   letter-spacing: 0.1px;
   font-size: 13px;
   line-height: 150%;
}

/*!____________________COGNIC ______________________________*/

.cognic {}

.cognic__container {
   padding: 30px 0;
}

.cognic__header {
   margin: 0px 0px 50px 0px;
}

.cognic__body {
   display: flex;
   margin: 0px -15px;
   flex-wrap: wrap;
   justify-content: center;
}

.cognic__column {
   padding: 0px 7px;
   flex: 0 1 19.2%;
   margin: 0px 20px 15px 20px;
}

@media (max-width:1048px) {
   .cognic__column {
      flex: 0 1 27%;
   }
}

@media (max-width:887px) {
   .cognic__column {
      flex: 0 1 40.5%;
   }
}

@media (max-width:582px) {
   .cognic__column {
      flex: 0 1 100%;
   }
}

.cognic__item {
   background-color: #E7D290;
   padding: 35px;
   text-align: center;
   border-radius: 15px;
   font-weight: 700;
   height: 80%;
   display: flex;
   flex-direction: column;

}

.cognic__item>*:not(:last-child) {
   margin: 0px 0px 20px 0px;
}

.cognic__item__content {
   flex: 1 1 auto;
}

.cognic__text__border {
   width: 100%;
   border-bottom: 2px solid black;
}

.cognic__value {
   font-size: 25px;
   line-height: 142%;
   color: #817491;
}

.cognic__text {
   margin: 10px 0px 0px 0px;
   letter-spacing: 0.1px;
   font-size: 10px;
   line-height: 150%;

}

@media (max-width:1045px) {
   .cognic__value {
      font-size: 25px;
   }

   .cognic__text {
      font-size: 15px;

   }
}

.cognic__icon {

   display: block;
   padding: 76% 0px 0px 0px;

}

/* ?______cardgame_________________Карточка_________________ */


.cardgame__container {
}

.cardgame_main>*:not(:last-child) {
	margin: 15px 0px 0px 0px;
}


.cardgame_main {
	max-width: 250px;
	box-shadow: 0px 13px 19px rgb(0, 0, 0, 0.7);
   padding: 20px;
   border-radius: 20px;
   height: 100%;
	position: relative;
}

.cardgame_main_color{
	background-color: #9182A5;
}

.cardgame_status {
	
}
.cardgame_status_body {
	display: flex;
	justify-content: space-between;
	align-items: center;

}
.cardgame_free {
	top: 28px;
	
	position: absolute;
	z-index: 2;
}
.cardgame_flag {
	top: 28px;
	left:226px;
	position: absolute;
	z-index: 2;
}
.cardgame_icon {
	background-color: #9182A5;
   border-radius: 20px;
   display: block;
   padding: 0px 0px 73% 0px;
}

.cardgame_title {
	color: white;
	font-size: 25px;
	font-weight: 700;
	margin: 10px 0px 0px 0px;
}
.cardgame_text {
	color: white;
	font-size: 15px;
	margin: 10px 0px 0px 0px;

}
.cardgame_button {

	border-radius: 35px;
   display: flex;
   justify-content: center;
   align-items: center;
   /*padding: 5px 35px;*/
   min-height: 50px;
	min-width:200px ;
   font-size: 18px;
   line-height: 150%;
   text-align: center;
		background: #8FB162;

}

.cardgame_button:hover {
	background: #913805;
}



.cardgame_button_name {
	font-weight: 700;
font-size: 25px;
	color: #ffffff;
}
.cardgame_info {
	margin: 10px 0px 0px 0px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}
.cardgame_info_item {
   display: flex;
   justify-content: center;
   align-items: center;
	flex-direction: column;
}
._info-item {
}

.info_item_text {
	margin: 8px 0px 0px 0px;
	font-size: 12px;
	color: rgb(231, 220, 220);
	font-weight: 700;
}


/* ?______FOOTER_________________ПОДВАЛ_________________ */

.footer__top {
	background: #363636;
	padding: 40px 0px 40px 0px;
}

.footer__main {}

.footer__row {
	display: flex;
	margin: 0px -15px 0px -15px;
	flex-wrap: wrap;
	justify-content: space-around;

}

.footer__column {
	flex: 0 1 25%;
	padding: 0px 15px 0px 15px;
	min-width: 180px;

}

/*.footer__column:last-child {
	flex: 0 1 40%;
}*/

@media (max-width:992px) {
	.footer__column {
		flex: 0 1 40%;
		margin: 30px 0px 0px 30px;
	}


}

.footer__label {
	color: #f7f4f4;
	font-weight: 700;
	font-size: 16px;
	line-height: 150%;
	margin: 0px 0px 20px 0px;
}

.footer_menu {}


.menu-footer {}

.menu-footer_list {}

.menu-footer__item {}

.menu-footer__item:not(:last-child) {
	margin: 0px 0px 10px 0px;
}


.menu-footer__link {
	color: #f7f4f4;
	line-height: 171%;
	display: inline-block;
}

.menu-footer__link:hover {
	text-decoration: underline;
}

.footer__contacts {}

.contacts-footer {
	display: flex;
	flex-direction: column;
}

.contacts-footer__item {
	padding: 0px 0px 0px 34px;
	display: flex;
	align-items: center;
	min-height: 30px;
	color: #f7f4f4;
}

.contacts-footer__item:hover {
	text-decoration: underline;
}

.contacts-footer__item:not(:last-child) {
	margin: 0px 0px 12px 0px;
}

.contacts-footer__item_phone {
	background: url('../img/social/icon-02.png') 0 0 no-repeat;
}

.contacts-footer__item_map {
	background: url('../img/social/icon-03.png') 0 0 no-repeat;
}

.contacts-footer__item_mail {
	background: url('../img/social/icon-04.png') 0 0 no-repeat;
}


.footer__bottom {
	padding: 25px 0px 25px 0px;
}

.footer__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer_copu {
	color: #5f5f5f;
	line-height: 140%;
}



.social {
	display: flex;
	align-items: center;

}

.social__item {}

.social__item:not(:last-child) {
	margin: 0px 20px 0px 0px;
}

