html,
body,
.page {
    height: 100%;
}

@font-face {
    font-family: 'TTNorms Medium';
    src: url('../fonts/TTNorms-Medium.woff'),
         url('../fonts/TTNorms-Medium.ttf');

    font-weight: 500;
}

@font-face {
    font-family: 'TTNorms Bold';
    src: url('../fonts/TTNorms-Bold.woff'),
    url('../fonts/TTNorms-Bold.ttf');

    font-weight: bold;
}

/*кнопка*/
.btn-widget {
    border: none;
    margin: 0;
    padding: 20px 10px;
    outline: none;
    background: #59a204;
    color: #fff;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 21px;
    transform: scale(-1, -1);
    height: max-content;
    font-family: "TTNorms Medium", serif;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: 350ms;
    z-index: 999;
}
.btn-widget:hover {
    background: #3e7003;
}

.btn-widget--pos {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    margin-top: auto;
    margin-bottom: auto;
}

/*попап*/
.popup-widget-wrapper {
    display: none;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    position: absolute;
    z-index: 0;
}

.popup-widget-wrapper--show {
    display: block;
}

.popup-widget,
.popup-widget__container {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.popup-widget {
    display: none;
    position: fixed;
    z-index: 2;
}

.popup-widget--show {
    display: block;
    animation: animPopupShow 400ms ease-in-out;
}

.popup-widget__container {
    box-sizing: border-box;
    position: absolute;
    width: 775px;
    height: 475px;
    padding: 100px 40px 40px 40px;
    text-align: center;
    background: #fff;
}

.popup-widget__cont {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.popup-widget__desc {
    max-width: 480px;
    margin-bottom: 40px;
    font-family: 'TTNorms Bold';
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3;
    color: #000;
}

.popup-widget__btn-go {
    border: none;
    outline: none;
    width: 230px;
    height: 72px;
    border-radius: 36px;
    background-color: #a0ca37;
    font-family: 'TTNorms Bold';
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    transition: 350ms;
}

.popup-widget__btn-go:hover {
    background: #81a32b;
}

.popup-widget__btn-close {
    position: absolute;
    top: 30px;
    right: 30px;

    display: inline-flex;
    align-content: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: #67a71d;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 350ms;
}

.popup-widget__btn-close:hover {
    background: #4c7c15;
}

.close-icon {
    display: block;
    background: url("../images/close.svg") no-repeat;
    width: 20px;
    height: 20px;
    margin: auto;
}

@keyframes animPopupShow {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }

    50% {
        opacity: 1;
        transform: translateY(30px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes animPopupHide {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
