@font-face {
    font-family: 'VAG Rounded Bold';
    src: url('../fonts/VAGRoundedLTCYR-Bold.woff2') format('woff2'),
        url('../fonts/VAGRoundedLTCYR-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VAG Rounded Black';
    src: url('../fonts/VAGRoundedStd-Black.woff2') format('woff2'),
        url('../fonts/VAGRoundedStd-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VAG Rounded LT CYR';
    src: url('../fonts/subset-VAGRoundedLTCYR-Light.woff2') format('woff2'),
        url('../fonts/subset-VAGRoundedLTCYR-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.font-light {
    font-family: 'VAG Rounded LT CYR' !important;
    font-weight: 300 !important;
}

#notice {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999999;
    overflow-y: auto;
    background-color: #d9252f;
}

#close-notice {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    padding: 0;
    border: 0;
    z-index: 100;
}

#close-notice svg {
    fill: #d9252f;
    width: 20px;
    margin-top: 5px;
}

.notice-content {
    position: relative;
    z-index: 10;
}

.notice-wrapper {
    color: #fff;
    background-color: #d9252f;
    font-family: 'VAG Rounded Bold';
    width: 100%;
    position: relative;
    padding: 160px 0;
}

.notice-title {
    font-size: 80px;
    text-transform: uppercase;
    margin-bottom: 100px;
}

.notice-title.notice-title--large {
    font-size: 130px;
}

.subtitle {
    font-size: 100px;
    text-transform: uppercase;
}

.notice-wrapper p {
    font-size: 40px;
    line-height: 60px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-15 {
    margin-bottom: 60px;
}

.mb-100 {
    margin-bottom: 100px;
}

.mb-22-half {
    margin-bottom: 90px;
}

.notice-wrapper p.large {
    font-size: 50px;
    color: #ffca7f;
}

.notice-wrapper p.larger {
    font-size: 80px;
    line-height: 1.5;
}

.img-wrapper img {
    max-width: 100%;
    height: auto;
}

.img-wrapper--decor img {
    max-width: 150px;
}

.img-wrapper--1 img {
    width: 900px;
}

.img-wrapper--2 {
    margin-top: 176px;
    margin-bottom: 176px;
}

.img-wrapper--2 img {
    width: 451px;
}

.decoration {
    position: absolute;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.decoration-1 {
    background-image: url(/assets/front/home-popup/images/mrvice-1.png);
    width: 328px;
    height: 315px;
    top: 0;
    left: 0;
}

.decoration-2 {
    background-image: url(/assets/front/home-popup/images/mrvice-2.png);
    width: 111px;
    height: 644px;
    top: 3290px;
    left: 0;
}

.decoration-3 {
    background-image: url(/assets/front/home-popup/images/mrvice-3.png);
    width: 94px;
    height: 566px;
    top: 3690px;
    right: 0;
}
.dots {
    width: 80px;
    vertical-align: baseline;
}

.place {
    position: relative;
}

.place:before {
    content: '';
    display: block;
    position: absolute;
    background-size: 100% 100%;
}

.place.place-1:before {
    width: 100px;
    height: 80px;
    background-image: url(/assets/front/home-popup/images/decor-1.png);
    transform: rotate(-10deg);
    left: 0;
    top: 0;
}

.place.place-2:before {
    width: 80px;
    height: 69px;
    background-image: url(/assets/front/home-popup/images/decor-2.png);
    transform: rotate(10deg);
    right: 0;
    top: 0;
}

.place.place-3:before {
    width: 70px;
    height: 60px;
    background-image: url(/assets/front/home-popup/images/decor-2.png);
    transform: rotate(10deg);
    left: 0;
    top: 0;
}

.place.place-4:before {
    width: 90px;
    height: 72px;
    background-image: url(/assets/front/home-popup/images/decor-1.png);
    transform: rotate(10deg);
    right: 0;
    bottom: 0;
}

.place.place-5:before {
    width: 130px;
    height: 104px;
    background-image: url(/assets/front/home-popup/images/decor-1.png);
    transform: rotate(-10deg);
    left: 0;
    top: 0;
}

@media(max-width: 767px){
    .notice-title {
        font-size: 40px;
        margin-bottom: 50px;
    }
    .notice-title.notice-title--large {
        font-size: 60px;
    }
    .notice-wrapper p {
        font-size: 20px;
        line-height: 32px;
    }
    .notice-wrapper p.large {
        font-size: 30px;
        line-height: 36px;
    }
    .notice-wrapper p.larger {
        font-size: 40px;
        line-height: 48px;
    }

    .subtitle {
        font-size: 50px;
    }

    .place.place-1:before,
    .place.place-2:before,
    .place.place-3:before,
    .place.place-4:before,
    .place.place-5:before {
        transform: scale(0.4);
    }
    .img-wrapper--decor img {
        max-width: 50px;
    }
    /*.decoration-1 {
        width: 150px;
        height: 144px;
    }
    .decoration-2 {
        width: 52px;
        height: 302px;
        top: 1700px;
    }

    .decoration-3 {
        width: 46px;
        height: 277px;
        top: 1975px;
        display: none;
    }*/
    .dots {
        width: 45px;
    }
    
    .img-wrapper--2 {
        margin-top: 76px;
        margin-bottom: 76px;
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .img-wrapper--5 {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    .decoration-1,
    .decoration-2,
    .decoration-3 {
        display: none;
    }
}

@media(max-width: 489px){
    .place.place-1:before,
    .place.place-2:before,
    .place.place-3:before,
    .place.place-4:before,
    .place.place-5:before {
        display: none;
    }
}

@media(max-width: 395px){
    .dots {
        width: 35px;
    }
}

/* FIx for post title justify on mobile */
.single-post-overlay .single-content h2 {
    text-align: left !important;
}
@media (max-width: 992px) {
  .single-post-overlay .single-content h2 {
    text-align: left !important;
  }
}