/*
Theme Name: vnezapno
Description: vnezapno
Author: SKaryuk - kit-service - korjeek@gmail.com tg/wa +79899500527
Version: 1.0
*/

html {
	font-family: 'Helvetica';
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
}

.page-yabloko {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    margin: 0;
    padding: 0;
    width: 100%;
    height:100vh;
	/*background-image: url(assets/img/yabloko_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
	overflow: hidden;
}

.screen-wrapper {
    position: relative;
}

/* слой поверх ВСЕГО */
.yabloko-overlay {
    /*position: absolute;
    top: 0;
    left: 0;*/
    position: fixed;
    inset: 0; 
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* pointer-events: none; */
}

.yabloko-overlay .text {
    pointer-events: auto; /* кнопке позволяем клики */
}

.yabloko-inner {
	position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 90%; */
    /* max-width: 650px; */
	/* height: 100%; */
    /* max-height: 975px; */
    /* background-image: url(assets/img/yabloko_inner.jpg); */
    /* background-size: contain; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */	
    width: 90vw;
	max-width: 100%;
}

.yabloko-inner .yabloko-bg {
    /* max-width: 580px; */
	max-width: 90vw;
    max-height: 95vh;
	width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    /* border: 3px solid black; */
    border: 1px solid black;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
	/* position: absolute; */
}

.yabloko-center {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
	height: 100%;
    max-width: 430px;
    max-height: 430px;	
	text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
	flex-direction: column;
    background-image: url(assets/img/yabloko_center.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.yabloko-center .text{
	background: #F1F1F1;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: inline-block;
    padding: 3px 5px;
    border: 1px solid;
	z-index: 10;
	font-weight: 600;
	cursor: pointer;
}



.full-screen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

.title {
    text-align: center;
    font-weight: 900;
    line-height: 1.1;
    /* font-size: clamp(40px, 12vw, 200px); */
	font-size: 14.5vw;
    white-space: nowrap;
}

.title img{
	width: 100%;
}

.three-blocks {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    gap: 20px;
    margin-top: 20px;
}

.item {
    flex: 1;
    text-align: center;
}

.item img {
    width: 100%;
    height: auto;
    display: block;
}

.mobile-only {
    display: none;
}

#yabloko{
	display: flex;
    flex-direction: column;
	cursor: pointer;
}

#yabloko img{
	/* position: absolute; */
    /* z-index: 1000; */
	max-width: 10vw;
}

.glow {
    filter: drop-shadow(0 0 0px #73FF00); /* нет тени при загрузке */
    animation: glowPulse 0.9s infinite ease-in-out;
	/* margin-top: 1em; */
}

@keyframes glowPulse {
    0%   { filter: drop-shadow(0 0 0px #73FF00); }
    50%  { filter: drop-shadow(0 0 10px #73FF00); }
    100% { filter: drop-shadow(0 0 0px #73FF00); }
}

.popup-background{
	/* position: absolute; */
	position: fixed;
    z-index: 1000;
    /* background: white; */
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.popup-background.active {
    opacity: 1;
    pointer-events: all;
}

.popup-body{
	/* border: 3px solid black; */
	border: 1px solid black;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    background: white;
    padding: 3px;
    /* max-width: 350px; */
	/* width: 350px; */
	margin: 0 25px;
	max-width: 444px;
    transform: scale(0.9);
    transition: transform .3s ease;
}

.popup-background.active .popup-body {
    transform: scale(1);
}

.popup-close{
	/* position: absolute; */
	position: fixed;
	/* left: calc(((100vw - 350px) / 2) + 345px); */
	left: 95%;
	top: 5%;
	cursor: pointer;
}

.popup-inner{
	padding: 40px 20px 20px;
    /* height: 175px; */
    display: flex;
    align-items: center;
    text-align: center;
}

.popup_content{
	text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
	line-height: 24px;
}

.popup_text a{
    text-decoration: none;
    color: black;
}

.popup_text .button{
	margin-top: 30px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    display: inline-block;
    padding: 3px 5px;
    border: 1px solid;
    font-weight: 500;
	font-size: 14px;
	line-height: 24px;
    cursor: pointer;
}




@media (max-width: 991px) {	
    .mobile-only {
        display: block;
    }

    .item {
        width: calc(50% - 10px);
        flex: none;
    }
	
	.yabloko-overlay {
		
		backdrop-filter: blur(5px);
		-webkit-backdrop-filter: blur(5px);
		/* pointer-events: none; */
	}
}

@media (max-height: 882px) {
  .yabloko-center {
    max-width: 50vmin;
    max-height: 50vmin;
  }
  
}

@media (max-height: 882px) and (max-width: 768px) {
  .yabloko-center {
		max-width: 250px;
        max-height: 50%;
  }
}

@media (max-height: 768px) {
	#yabloko img{
		max-width: 7vh;
	}
}