/*
Theme Name: Romanuke Theme
Theme URI: https://romanuke.com
Author: osmak
Author URI: https://romanuke.com
Version: 1.0
Text Domain: romanuke
*/

:root {
	--color1: #ffffff;
	--color2: #95969D;
	--color3: #0A794B;
	--color4: #14F294;
	--color5: #333333;
	--color6: #7A7C85;
	--color7: #cccccc;
	--color8: #EB5757;
	--color9: #1A1A1A;
	--color10: #000000;
}

::-webkit-scrollbar-button {
	background-color: var(--color9);
	background-repeat: no-repeat;
	width: 8px;
	height: 8px;
}
::-webkit-scrollbar-track {
	background-color: var(--color5);
}
::-webkit-scrollbar-thumb {
	-webkit-border-radius: 2px;
	border-radius: 2px;
	background-color: var(--color3);
	-webkit-transition: background-color .2.2s ease-out 0s;
	transition: background-color .2s ease-out 0s;
}
::-webkit-scrollbar-thumb:hover {
	background-color: var(--color4);
}
::-webkit-resizer {
	background-repeat: no-repeat;
	width: 8px;
	height: 8px;
}
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

/* default css */
html {
	font-family: Inter, sans-serif;
	font-weight: 400;
	color: var(--color7);
	line-height: 1.6;
	background-color: var(--color10);
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	margin: 0;
}
body.vism {
	overflow: hidden;
}

*,
*:before,
*:after {
	box-sizing: border-box;
	-webkit-tap-highlight-color: unset;
}
a {
	display: inline-block;
	background-color: transparent;
	text-decoration: none;
}
a:not([class]) {
	-webkit-transition: color .2s ease-out 0s;
	transition: color .2s ease-out 0s;
}
svg *:not([class]) {
	-webkit-transition: fill .2s ease-out 0s, stroke .2s ease-out 0s;
	transition: fill .2s ease-out 0s, stroke .2s ease-out 0s;
}
:focus,
:active {
	outline: none;
}
a:active,
a:hover {
	text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--color4);
	outline-offset: 3px;
}
b,
strong {
	font-weight: 600;
}
img {
	display: inline-block;
	border: 0;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}
svg {
	display: block;
	max-width: 100%;
	height: auto;
}
p {
	padding: 0;
	margin-top: 0;
}
p:not(:last-child) {
	margin-bottom: 1.3333em;
}
p:last-child {
	margin-bottom: 0;
}
p:empty {
	display: none;
	margin: 0;
	padding: 0;
}
ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul ul,
ol ul,
ul ol,
ol ol {
	margin-bottom: 0;
}
iframe {
	width: 100%;
	max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 0;
}

/* class */
.container,
.containerSmall,
.containerMini {
	margin-right: auto;
	margin-left: auto;
}
.text-right {
	text-align: right;
}
.text-center {
	text-align: center;
}
.text-justify {
	text-align: justify;
}
.oh {
	overflow: hidden;
}
.pr {
	position: relative;
}

/* header */
#header {
	position: fixed;
	left: -1px;
	width: calc(100% + 2px);
}
#header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 0 0 2em 2em;
	background: #000000C2;
	border-top-width: 0;
}
.fixm #header::before {
	backdrop-filter: blur(1rem);
}
#header .flx {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#header .logoBox {
	transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
}
#header .logoImage {
	height: 2em;
	margin-top: .5em;
	margin-bottom: .5em;
	width: auto;
}
#header .menu a {
	color: var(--color1);
	font-weight: 500;
	line-height: 1;
	letter-spacing: .08em;
	text-transform: uppercase;
}
#header .menu a:hover {
	color: var(--color4);
}

/* content (button, others) */
.button {
	text-align: center;
	display: inline-block;
	padding: .5625em 1.5em .4375em;
	line-height: 1.5;
}
.button svg {
	display: inline-block;
	margin-right: 1em;
	vertical-align: middle;
	height: .75em;
}
.button.style0 {
	color: var(--color4);
	background-color: var(--color9);
	border-radius: 8px;
	font-weight: 400;
	transition: box-shadow .2s ease-in-out;
}
.button.style1 {
	color: var(--color9);
	background-color: var(--color4);
	font-weight: 500;
	border-radius: 8px;
	transition: box-shadow .2s ease-in-out;
}
.button.style0:hover,
.button.style1:hover,
.button.style2:hover,
.button.style3:hover,
.button.style4:hover {
	box-shadow: 0px 0px 2em #00FF8055;
}
.button.style2,
.button.style3,
.button.style4 {
	font-weight: 500;
	border-radius: 8px;
	transition: box-shadow .2s ease-in-out;
}
.button.style2 {
	color: var(--color4);
	background-color: var(--color9);
	border: 1px solid var(--color5);
}
.button.style3 {
	color: var(--color3);
	background-color: var(--color1);
	border: 1px solid var(--color3);
}
.button.style4 {
	color: var(--color4);
	background-color: transparent;
	border: 1px solid var(--color4);
}

.subsc .subscribtionPopUp {
	visibility: visible;
	opacity: 1;
}
.subsc,
.subsc #page {
	overflow: hidden;
}
.subscribtionPopUp {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
	background-color: var(--color1);
	border-radius: 16px;
	padding: 2em;
	box-shadow: 0px 16px 32px 0px #0A794B66;
	box-sizing: border-box;
	transition: all .2s ease-in-out;
	visibility: hidden;
	opacity: 0;
}
.subscribtionPopUp svg {
	position: absolute;
	top: 1em;
	right: 1em;
	cursor: pointer;
}
.subscribtionPopUp .tt {
	color: var(--color3);
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.03em;
	margin-bottom: .67em;
}
.subscribtionPopUp .tx {
	color: var(--color5);
	margin-bottom: 1em;
}
.subscribtionPopUp .wpcf7 div {
	display: flex;
	align-items: center;
	gap: .5em;
}
.subscribtionPopUp .wpcf7 div p span {
	margin: 0;
	display: inline-flex;
	align-items: center;
	max-width: max-content;
	min-width: 1.5em;
}
.subscribtionPopUp .wpcf7 div>p {
	color: var(--color5);
	margin: 0;
	display: flex;
	align-items: center;
}
.subscribtionPopUp .wpcf7-form.submitting input[type="submit"] {
  opacity: 1 !important;
}
.subscribtionPopUp .wpcf7 div>p a {
	color: var(--color3);
	margin-left: .375em;
}
.subscribtionPopUp .wpcf7 .wpcf7-submit[disabled]{
	opacity: 1 !important;
	cursor: not-allowed;
}
.subscribtionPopUp .wpcf7 div>p a:hover {
	text-decoration: underline;
}
.subscribtionPopUp .wpcf7 input[type="checkbox"] {
	width: 1.25em;
	height: 1.25em;
	position: relative;
	margin-right: .5em;
	display: flex;
	align-items: center;
}
.subscribtionPopUp .wpcf7 input[type="email"] {
	border: 1px solid var(--color7);
	border-radius: 8px;
	padding: .55em 5em .55em 1em;
	margin-bottom: 0;
}
.subscribtionPopUp .wpcf7 input[type="email"]:focus-visible{outline: none !important;} 
.subscribtionPopUp .wpcf7 input[type="email"]:focus{
	color: var(--color5);
}
.subscribtionPopUp .wpcf7 input[type="email"]::placeholder {
	color: var(--color5);
	opacity: 1;
}
.subscribtionPopUp .wpcf7 .pr {
	margin-top: 1.375em;
}
.subscribtionPopUp .wpcf7 .pr input[type="submit"] {
	position: absolute;
	top: -1px;
	right: 0;
	height: calc(100% + 2px);
	border-radius: 8px;
	color: transparent;
	width: 3.75em;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.3536 4.03556C12.5488 3.8403 12.5488 3.52372 12.3536 3.32845L9.17157 0.146473C8.97631 -0.0487893 8.65973 -0.0487893 8.46447 0.146473C8.2692 0.341735 8.2692 0.658318 8.46447 0.85358L11.2929 3.68201L8.46447 6.51043C8.2692 6.7057 8.2692 7.02228 8.46447 7.21754C8.65973 7.4128 8.97631 7.4128 9.17157 7.21754L12.3536 4.03556ZM0 3.68201L0 4.18201L12 4.18201V3.68201V3.18201L0 3.18201L0 3.68201Z' fill='black'/%3e%3c/svg%3e ");
	background-size: .75em;
	background-repeat: no-repeat;
	background-position: center;
	box-sizing: border-box;
}
.subscribtionPopUp .wpcf7 .wpcf7-not-valid input[type="checkbox"]:checked::before{
	border: none;
}
.subscribtionPopUp .wpcf7 .wpcf7-not-valid input[type="checkbox"]::before{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border: 1px solid #CB0B2B !important;
	border-radius: 4px;
}	
.subscribtionPopUp .wpcf7 .pr .wpcf7-not-valid{
	border: 1px solid #CB0B2B !important;
}
.subscribtionPopUp span.wpcf7-not-valid-tip {
	position: absolute;
	width: max-content;
	bottom: -1.5em;
	left: -.5em;
	color: #CB0B2B !important;
}
.subscribtionPopUp .pr span.wpcf7-not-valid-tip {
	bottom: -2em;
}
.subscribtionPopUp .wpcf7-response-output {
	width: calc(100%) !important;
	position: absolute;
	left: 0;
	bottom: 0;
	transform: translateY(100%);
	margin: 0 !important;
	font-size: .75em !important;
	border-radius: 16px !important;
	background: #CB0B2B !important;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
}
.subscribtionPopUp .wpcf7-list-item-label {
	color: transparent;
	height: 0;
	width: 0;
	visibility: hidden;
	opacity: 0;
	position: absolute;
}
.subscribtionPopUp .wpcf7 form.sent .wpcf7-response-output {
	background: var(--color3) !important;
}

@media(max-width: 992px) {
	.for_desk {
		display: none;
	}

	.container .outside,
	.containerMini .outside {
		max-width: 100vw;
		width: 100vw;
	}

	#header {
		z-index: 10;
	}
	#header .menuBox {
		z-index: 12;
	}
	#header .motion_js {
		padding: 1px;
		margin-top: -1px;
		margin-bottom: -1px;
	}
	#header .menuIcon {
		position: relative;
		margin: 1.375em;
		cursor: pointer;
		max-width: 1.625em;
	}
	#header .menuIcon .line {
		height: 4px;
		width: 1.625em;
		border-radius: 1px;
	}
	#header .menuIcon .line::before,
	#header .menuIcon .line::after {
		left: 0;
		position: absolute;
		height: 2px;
		width: 100%;
		content: "";
		border-radius: 1px;
	}
	#header .buttonBox .menuIcon .line::before,
	#header .buttonBox .menuIcon .line::after {
		background-color: var(--color1);
	}
	#header .menuBox .menuIcon .line::before,
	#header .menuBox .menuIcon .line::after {
		background-color: var(--color4);
	}
	#header .buttonBox .menuIcon .line::before {
		top: -3px;
	}
	#header .buttonBox .menuIcon .line::after {
		top: 5px;
	}
	#header .menuBox .menuIcon .line::before {
		top: 0px;
		transform: rotateZ(-45deg);
	}
	#header .menuBox .menuIcon .line::after {
		top: 0px;
		transform: rotateZ(45deg);
	}
	#header .menuBox {
		top: 0;
		right: 0;
		position: fixed;
		width: 100dvw;
		height: 100dvh;
		overflow: auto;
		background-color: #121212;
		text-align: center;
		transition: opacity .2s ease-in, transform .2s ease-in;
		overflow-y: auto;
		overflow-x: hidden;
	}
	body:not(.vism) #header .menuBox {
		transform: translateX(100%);
		opacity: 0;
	}
	#header .menuBox .menuBoxShadow {
		box-shadow: -.3125em -.3125em 7.125em #00FF8040;
		border-radius: 2rem;
		background: #000000CC;
		min-height: 100%;
		position: relative;
	}
	#header .menuBox .motion_js {
		position: absolute;
		z-index: 3;
	}
	#header .menuBoxShadow .decor {
		opacity: .25;
	}
	#header .menuBoxShadow .decor::before {
		content: '';
		display: block;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.6) 48.01%, rgba(0, 97, 48, 0.6) 100%);
		box-shadow: 0px 0px 15.625em #00FF8080;
		width: 86.4%;
		padding-top: 86.4%;
		border-radius: 50%;
	}
	.vism #header .menuBoxShadow .decor::before {
		animation: 10s linear .2s infinite anCircleShadow2;
	}
	#header .menuBoxShadow .decor,
	#header .menuBoxShadow .imgLogo {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.vism #header .menuBoxShadow .imgLogoCircle {
		animation: 30s linear .2s infinite anCircleLine2;
	}
	@keyframes anCircleLine2 {
		0%,
		100% {
			transform: rotate(0deg);
		}
		33.33% {
			transform: rotate(160deg);
		}
		66.66% {
			transform: rotate(-180deg);
		}
	}
	@keyframes anCircleShadow2 {
		0%,
		100% {
			box-shadow: 0px 0px 15.625rem #00FF8080;
		}
		25% {
			box-shadow: 0px 0px 18.625rem #00FF8094;
		}
		50% {
			box-shadow: 0px 0px 15rem #00FF8078;
		}
		75% {
			box-shadow: 0px 0px 20.625rem #00FF8092;
		}
	}

	#header .menu-item-has-children > .pr > svg{
		transition: transform .2s ease-in;
		display: inline-block;
		width: .75em;
		margin-left: .625em;
		vertical-align: .125em;
	}
	#header .menu-item-has-children > .pr.open > svg{
		transform: rotate(-180deg);
	}
	#header .menu-item-has-children > .pr > a + svg *{
		transition: fill .2s ease-in;
	}
	#header .menu-item-has-children > .pr > a:hover + svg *{
		fill: var(--color4);
	}
	#header .sub-menu{
		overflow: hidden;
		height: 0;
  		transition: height .4s ease;
	}
	#header .sub-menu > li:first-child{
		margin-top: 2em;
	}
	#header .sub-menu > li:not(:last-child){
		margin-bottom: 1.5em;
	}
}

@media(min-width: 601px) and (max-width: 782px) {
	/* header */
	body:not(.admin-bar) #header {
		top: 0;
	}
	body.admin-bar #header {
		top: 46px;
	}
	body:not(.admin-bar) #header .menuPopup {
		height: 100dvh;
	}
	body.admin-bar #header .menuPopup {
		height: calc(100dvh - 46px);
	}
}

@media(min-width: 551px) and (max-width: 650px) { /* 600 */
	html {
		font-size: 2.67vw;
	}
}

@media(min-width: 451px) and (max-width: 550px) { /* 540 */
	html {
		font-size: 16px; /*2.963vw*/
	}
}

@media(max-width: 450px) { /* 400 */
	html {
		font-size: 16px; /*4vw*/
	}
}

@media(max-width: 650px) {
	.subscribtionPopUp {
		width: calc(100% - 3em);
	}
	.for_desk_tab,
	.for_tab {
		display: none;
	}

	.container,
	.containerSmall,
	.containerMini {
		padding-right: 1.5rem;
		padding-left: 1.5rem;
	}
	.container .outside,
	.containerMini .outside {
		margin-left: -1.5rem;
	}

	/* header */
	body.home:has(.sectionVideoHero:first-child) #header::before {
		transition: opacity .2s ease-in-out, visibility .2s ease-in-out;
	}
	body.home:has(.sectionVideoHero:first-child) #header:not(.vis)::before,
	body.home:has(.sectionVideoHero:first-child) #header:not(.vis) .logoBox {
		visibility: hidden;
		opacity: 0;
	}
	#header .menuBox {
		padding: 1.5rem;
	}	
	#header .menuBox .menuBoxShadow {
		padding: 1.5rem 1.5rem 5rem;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	#header .menuBox .motion_js {
		top: 1.5rem;
		right: 0rem;
	}
	#header .logoImage {
		margin-left: 1.5rem;
	}
	#header .menu > li:not(:last-child) {
		margin-bottom: 2.5em;
	}
	#header .menuBoxShadow .decor {
		width: 75.5vw;
	}
	#header .menuBoxShadow .imgLogo {
		width: 61.58%;
	}
	#header .button.style1 {
		position: absolute;
		bottom: 1.5em;
		width: calc(100% - 3rem);
		left: 1.5rem;
	}
	#header .flx {
		justify-content: center
	}
	#header .buttonBox {
		position: absolute;
		right: 0;
		top: 0;
	}
	#header .logoImage {
		margin-left: 0;
	}
}

@media(max-width: 600px) {
	/* header */
	body:not(.admin-bar) #header,
	body.admin-bar.fixm #header {
		top: 0;
	}
	body.admin-bar:not(.fixm) #header {
		top: 46px;
	}
}
