/* .dim{
    float: left;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    display:block;
}
.dim.active{
    display:block;
}
.popup-wrap{
    float:left;
    width:100%;
    display:none;
}
.popup-wrap.active{
    display:block;
}
.popup{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 45%;
    text-align: center;
    max-width: 1200px;
    z-index:999;
    background:url("../img/popup.svg") no-repeat center;
    background-origin: padding-box;
    width: 355px;
    height: 530px;
    background-size: cover;
    padding:20px;
    box-sizing:border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.popup .name{
    text-transform:uppercase;
}
.popup .center-form{
    width:100%;
    padding:30px;
    box-sizing:border-box;
}
.popup .center-form form .inputs-holder{
    gap:15px;
}
.popup .close-btn{
    width: 50px;
    height: 50px;
    position: absolute;
    right: 40px;
    cursor:pointer;
}
.top-logo{
    float:left;
    width:100%;
}
.cicle-logo img{
    border-radius:100%;
    border:3px solid rgba(255, 199, 83, 1);
    margin-top:-50px;
}
.top-logo img{
    width:30%;
}
.all-visites{
    float:left;
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.all-visites .row{
  display: flex;
    align-items: center;
    justify-content: center;  
}
.all-visites .btn{
    margin-top:20px;
}
.is-visited{
    width:60%;
}
.punkts{
        float: left;
    width: 60%;
    height: 50px;
    display: flex;
    background: #fff;
    border: 1px solid rgba(254, 183, 36, 1);
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 10px;
    justify-content: center;
    align-items: center;
    border-radius:5px;
}
.name-big{
    float:left;
    width:100%;
    font-size:31px;
}
.sub-txt{
    float:left;
    width:100%;
    margin-top:20px;
}
.is-visited{
    float: left;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;

} */

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    overflow-x: scroll;
    z-index: 1001;
}

.popup {
    text-align: center;
    max-width: 1200px;
    width: 80%;
    /* background: url("../img/popup.svg") no-repeat center; */
    background: url("../../../public/box/img/inner_bg.webp") repeat center;
    /* background-size: cover; */
    padding: 20px;
    border-radius: 6px;
    box-sizing: border-box;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.popup:before,
.popup:after {
    content: '';
    position: absolute;
    width: 84.853px;
    height: 160.25px;
    background-image: url('../../../public/box/img/vine.svg');
    background-size: cover;
    -webkit-backface-visibility: hidden;
}

.popup:before {
    top: -10px;
    right: -22px;
    transform: rotate(2deg);
}

.popup:after {
    bottom: -10px;
    left: -20px;
    transform: rotate(182deg);
}

/* Animation */
.popup {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease, height 0.3s ease;
}

.popup.active {
    opacity: 1;
    transform: scale(1);
}

.popup-reward .img-reward {
    width: 100%;
    position: relative;
}

.popup-reward .img-reward .hero {
    margin-top: -40%;
    width: 100%;
    max-width: 7.5rem;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 100%;
    border: 6px solid #FEB724;
    outline: 3px solid #352E2A;
    filter: drop-shadow(-4px 0px 6px rgba(0, 0, 0, 0.25));
    box-sizing: border-box;
    position: relative;
}

.popup-reward .title {
    color: #352E2A;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 0.28px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.popup-reward .description {
    color: #352E2A;
    text-align: center;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 1rem;
}

.popup-reward .description p {
    margin-bottom: .5rem;
}

.popup-reward .btn img {
    max-width: 100%;
}

.popup-reward .points-deficit {
    font-weight: 700;
    font-style: normal;
    color: #352E2A;
}

.popup-map .title {
    color: #352E2A;
    text-align: center;
    font-variant-numeric: lining-nums tabular-nums;
    font-family: Cormorant Infant;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.16px;
    text-transform: uppercase;
    text-wrap: balance;
}

.popup-map .logo {
    max-width: 100px;
    position: relative;
    margin-top: -2rem;

}

.popup-map .visit-info {
    color: #352E2A;
    text-align: center;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: 0.16px;
}

.popup-map .visit-info .visit-date {
    color: #352E2A;
    font-style: normal;
    font-weight: 700;
}

.popup-map .poi-info {
    border-radius: 5px;
    border: 1px solid #FEB724;
    background: rgba(255, 255, 255, 0.60);
    box-sizing: border-box;
    padding: 1rem;
    margin-block: 1rem;
    color: #352E2A;
    text-align: center;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.16px;
}

.popup-map .poi-info .accented {
    color: #352E2A;
    font-variant-numeric: lining-nums tabular-nums;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}
.popup-map .poi-info img{
    max-width: 1.5em;
}