<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<title>
Петрович
</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link href="/favicon.ico" rel="shortcut icon" type="image/x-icon">
<link crossorigin="anonymous" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" rel="stylesheet">
<!-- jquery -->
<script src="https://code.jquery.com/jquery-1.10.2.js">
</script>
<!-- cookie -->
<script src="https://yandex.st/jquery/cookie/1.0/jquery.cookie.min.js">
</script>
<!-- modal plugin -->
<script src="js/arcticmodal/jquery.arcticmodal-0.3.min.js">
</script>
<link href="js/arcticmodal/jquery.arcticmodal-0.3.css" rel="stylesheet">
<style>
body {
font-family : Arial;
color : white;
}
.split {
height : 100%;
width : 50%;
position : fixed;
z-index : 1;
top : 0;
overflow-x : hidden;
padding-top : 20px;
cursor : pointer;
}
.left {
left : 0;
background-color : #111;
background : url("img/berpagbg.png");
background-size : cover;
transition : transform .2s;
}
.left:hover {
transform : scale(1.2); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
transition : 0.8s;
filter : brightness(100%);
}
.right {
right : 0;
background-color : red;
background : url("img/999-7-3.jpg");
background-size : cover;
transition : transform .2s;
}
.right:hover {
transform : scale(1.2); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
transition : 0.8s;
filter : brightness(100%);
}
.centered {
position : absolute;
top : 50%;
left : 50%;
transform : translate(-50%, -50%);
text-align : center;
}
.centered img {
max-width : 250px;
border-radius : 0%;
filter : brightness(100%);
}
@media (max-width: 767px) {
.centered img {
max-width : 120px;
}
}
/* modal */
.modal_age {
display : none;
}
#info_age_modal {
max-width : 620px;
background : #fff;
padding : 25px;
border-radius : 5px;
}
.modal_title {
text-align : center;
color : #000;
font-size : 24px;
margin-bottom : 40px;
}
.modal_age_text {
text-align : center;
}
.modal_age_text span {
font-size : 20px;
color : #000;
margin-bottom : 10px;
display : inline-block;
}
.modal_age_but {
text-align : center;
margin-top : 15px;
}
.modal_but_yes, .modal_but_no {
display : inline-block;
padding : 8px 12px;
border-radius : 5px;
background : #000;
cursor : pointer;
}
</style>
<script>
(function($) {
$(function() {
if (!$.cookie('was')) {
$('#info_age_modal').arcticmodal({
closeOnOverlayClick: false,
closeOnEsc: true
});
}
$('.modal_but_no').click(function() {
window.location.href = 'http://www.yandex.ru/';
return false;
});
$('.modal_but_yes').click(function() {
$.cookie('was', true, {
expires: 5,
path: '/'
});
return false;
});
});
})(jQuery);
</script>
</head>
<body>
<style>
</style>
<div class="modal_age">
<div class="modal_age_wrap" id="info_age_modal">
<img alt="20-лет" src="/20let.png" style="width:100%" title="20-лет">
<br>
<div class="modal_title">
Добро пожаловать на сайт Петровичъ
</div>
<div class="modal_age_text">
<span>
Вам уже исполнилось 18 лет?
</span>
<p style="color: #2c2c2c;">
Перейдя по ссылки вы так же подтверждаете что вам исполнилось 18 лет
</p>
<br>
</div>
<div class="modal_age_but">
<div class="modal_but_yes arcticmodal-close">
Да, мне есть 18
</div>
<div class="modal_but_no">
Мне нет 18
</div>
</div>
</div>
</div>
<section class="page-section">
<div class="split left" onclick="location.href='https://petrovich-beer.ru/index2.php';">
<div class="centered">
<img alt="Avatar woman" src="img/logo_craft_beer-black.png">
<br>
<br>
<p>
ПИВОВАРНЯ
</p>
</div>
</div>
<div class="split right" onclick="location.href='https://petrovich.rest';">
<div class="centered">
<img alt="Avatar man" src="img/gorizont-logo-1.png">
<br>
<br>
<p>
ЗАВЕДЕНИЯ
</p>
</div>
</div>
</section>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script crossorigin="anonymous" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js">
</script>
</body>
</html>