/*
	💗 Mr.R (css)
===================================================================================== */


/* === Header ======================================================================= */
header .top_menu li a {
	border-radius: 100px;
	transition: all 0.2s !important;
}

header .top_menu li.current-menu-item a {
	background: #23A2F4;
}

header .top_menu li a:hover {
	background: #108bda;
	transition: all 0.1s !important;
}










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













/* === Common ======================================================================= */
main#content,
div.elementor-location-single {
	margin-top: 56px !important;
}

h1.entry-title {
	font-family: "Geologica", sans-serif !important;
	font-weight: 500 !important;
	color: #2b2b2b !important;
}












/* === MAIN PAGE ==================================================================== */
/*MR.R - надпись с анимацией*/
.header_grad {
	--gradient-splash: linear-gradient(to top left, hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0) 45%, hsla(0, 0%, 100%, .72) 50%, hsla(0, 0%, 100%, 0) 57%, hsla(0, 0%, 100%, 0));
	--gradient-text: linear-gradient(68deg, #2b82eb 0.63%, #1ac8ff 90%);
	background: var(--gradient-splash), var(--gradient-text);
	background-repeat: no-repeat;
    background-position: -100% 0, 0;
    background-size: 40% 200%, 100% 100%;
	-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
	animation: shineAnimation 3s infinite;
}

@keyframes shineAnimation {
    to {
        background-position: 200% 0,50%
    }
}


/*Иконка в блоке*/
.cont_block .cont_icon {
	transition: all 0.5 ease-in-out !important;
}

.cont_block:hover .cont_icon,
.cont_block_tg:hover .cont_icon {
	transform: rotate(10deg);
}




/*cont_block_tg (telega) - анимация бордюра*/
@property --cblock_tg_border-angle-1 {
	syntax: "<angle>";
	inherits: true;
	initial-value: 0deg;
	min-height: 100vh;
}

@property --cblock_tg_border-angle-2 {
	syntax: "<angle>";
	inherits: true;
	initial-value: 90deg;
}

@property --cblock_tg_border-angle-3 {
	syntax: "<angle>";
	inherits: true;
	initial-value: 180deg;
}


:root {
	/* sRGB color. */
    --cblock_tg_bright-blue: #008aff;
    --cblock_tg_bright-green: #2a75b5;
    --cblock_tg_bright-red: #2a75b5;
	--cblock_tg_background: grey;
	--cblock_tg_foreground: white;
	--cblock_tg_border_size: 2px;
}

@supports (color: color(display-p3 1 1 1)) {
	/* Display-P3 color, when supported. */
	:root {
		--cblock_tg_bright-blue: color(display-p3 0.12 0.16 0.33);
        --cblock_tg_bright-green: color(display-p3 0 0.49 1);
        --cblock_tg_bright-red: color(display-p3 0.02 0.49 0.9);
	}
}

@keyframes rotateBackground {
	to { --cblock_tg_border-angle-1: 360deg; }
}

@keyframes rotateBackground2 {
	to { --cblock_tg_border-angle-2: -270deg; }
}

@keyframes rotateBackground3 {
	to { --cblock_tg_border-angle-3: 540deg; }
}

.cont_block_tg {
	--cblock_tg_border-angle-1: 0deg;
	--cblock_tg_border-angle-2: 90deg;
	--cblock_tg_border-angle-3: 180deg;
	color: inherit;
	border: 0;
	padding: var(--cblock_tg_border_size);
	display: flex;
	width: max-content;
	background-color: transparent;
	background-image: conic-gradient(
			from var(--cblock_tg_border-angle-1) at 10% 15%,
			transparent,
			var(--cblock_tg_bright-blue) 10%,
			transparent 30%,
			transparent
		),
		conic-gradient(
			from var(--cblock_tg_border-angle-2) at 70% 60%,
			transparent,
			var(--cblock_tg_bright-green) 10%,
			transparent 60%,
			transparent
		),
		conic-gradient(
			from var(--cblock_tg_border-angle-3) at 50% 20%,
			transparent,
			var(--cblock_tg_bright-red) 10%,
			transparent 50%,
			transparent
		);
	animation: 
		rotateBackground 3s linear infinite,
		rotateBackground2 8s linear infinite,
		rotateBackground3 13s linear infinite;
}




/* Измени фон на прозрачный, чтобы увидеть, как работает градиент */
.cont_block > div,
.cont_block_tg > div {
	height: 100%;
	opacity: 1;
}






















/* === news (posts) ====================================================================== */
.elementor-post__text {
	display: flex !important;
    justify-content: space-between !important; 
    flex-direction: column !important;
}

.elementor-post__read-more {
	width: 100%;
    text-align: center;
}










/* === Post single ====================================================================== */
.post_content img {
	border-radius: 35px !important;
	border: 4px solid #BDBDBD !important;
	box-shadow: 0px 0px 40px #c2c2c2 !important;
}

body.single-post a {
	color: #0035ff;
}

body.single-post .post img {
	margin: 20px 0;
}










/* === Section ====================================================================== */
/* === Section ====================================================================== */

