/*!
Theme Name: GN BPP
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: gn-bpp
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

GN BPP is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.page_top {
    background: var(--color-bg-header-footer);
    padding: 45px 0 55px;
}

.page_top h1 {
    font: bold 80px / 85px 'Font-Secondary', Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: var(--color-white);
}
.page_body {
    padding: 50px 0 60px;
}

.page_body .p_big {
    max-width: 863px;
    margin-bottom: 45px;
}

.div_404 {
    font: bold 300px / 318px 'Font-Base', Arial, Helvetica, sans-serif;
    opacity: .1;
    text-align: right;
    margin: -36px 0 0 250px;
}

@media (max-width: 767px) {
	    .page_top {
        padding: 30px 0;
    }

    .page_top h1 {
        font: bold 45px / 50px 'Font-Secondary', Arial, Helvetica, sans-serif;
    }

    .page_body .p_big {
        margin-bottom: 40px;
        font: 500 20px / 24px 'Font-Base', Arial, Helvetica, sans-serif;
    }

    .div_404 {
        font: bold 150px / 150px 'Font-Base', Arial, Helvetica, sans-serif;
        padding-top: 25px;
    }

    .page_body {
        padding: 50px 0;
    }
}

.left_popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 460px;
    background-color: var(--color-white);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 16px;
    display: block;
    z-index: 35;

    @media (max-width: 767px) {
        width: calc(100% - 40px);
    }
}
.popap_logo{
	height: 187px;
	background-color:var(--color-dark);
	display: flex;
	justify-content: center;
	align-items: center;
}
.popap_logo img{
	max-width: 203px;
	max-height: 140px;
}

.left_popup .close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 32px;
    color: #555;
    cursor: pointer;
}

.left_popup .close-btn:hover {
    color: #000;
}

.left_popup-content img {
    max-width: 140px;

    @media (max-width: 767px) {
        max-width: 90px;
    }
}

.left_popup-content p {
    font: 500 20px/26px 'Font-Base', Arial, Helvetica, sans-serif;
    color: var(--color-dark);
    margin-bottom: 20px;
    padding-right: 30px;
	@media (max-width: 767px) {
		 padding-right: 0px;
		
	}
}
@media (max-width: 767px) {
	.left_popup-content{
		flex-wrap: wrap;
		text-align: center;
	}
	.left_popup-content .left{
		margin: 0 auto;
	}
	.left_popup-content .btn{
		margin: 0 auto;
	}
}

 @media (max-width: 767px) {
        max-width: 90px;
    }
.left_popup.active {
    display: block;
}

#left_popup-trigger {
    display: none;
}

#left_popup-trigger:not(:checked) ~ .left_popup {
    display: none;
}

.center_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    background-color: var(--color-white);
    border: 2px solid var(--color-accent);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: block;
    z-index: 40;
    overflow: hidden;

    @media (max-width: 767px) {
        width: calc(100% - 40px);
    }
}

.center_popup .close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--color-white);
    cursor: pointer;
}

.center_popup .close-btn:hover {
    color: var(--color-accent-2);
}

.center_popup-content img {
    max-width: 101%;
    /*border-radius: 16px 16px 0 0;*/
}

.center_popup-content p {
    margin: 20px;
    text-align: center;
    text-transform: uppercase;
}

.center_popup-content p.big {
    font: 700 36px/36px 'Font-Base', Arial, Helvetica, sans-serif;
    color: var(--color-accent-2);
    margin-bottom: 16px;

    @media (max-width: 767px) {
        font: 700 24px/24px 'Font-Base', Arial, Helvetica, sans-serif;
    }
}

.center_popup-content p.small {
    font: 700 16px/16px 'Font-Base', Arial, Helvetica, sans-serif;
    color: var(--color-accent-2);
    opacity: 0.5;
    margin: 16px;

    @media (max-width: 767px) {
        font: 700 12px/12px 'Font-Base', Arial, Helvetica, sans-serif;
    }
}

.center_popup-content span {
    color: var(--color-dark);
    font: 900 64px/64px 'Font-Base', Arial, Helvetica, sans-serif;

    @media (max-width: 767px) {
        font: 900 36px/36px 'Font-Base', Arial, Helvetica, sans-serif;;
    }
}

.center_popup.active {
    display: block;
}

#center_popup-trigger {
    display: none;
}

#center_popup-trigger:not(:checked) ~ .center_popup {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    z-index: 36;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#center_popup-trigger:checked ~ .overlay {
    opacity: 1;
    visibility: visible;
}

.mx-20 {
    margin-inline: 20px;
    width: calc(100% - 40px);
}
.center_popup-content .btn{
	width:320px;
	margin:0 auto;
}