/* -----------------------------------------------------------------------------
Fonts
----------------------------------------------------------------------------- */
@font-face {
    font-family: CaviarDreams;
    src: url(https://www.horpereng.org/wp-content/themes/horpereng/fonts/CaviarDreams.ttf);
    font-weight: normal;
    font-style: normal;
}



/* -----------------------------------------------------------------------------
Body
----------------------------------------------------------------------------- */
#container-ads-overlay {
    display: flex;
    justify-content: center;
}

#flex-ads-overlay {
    display: flex;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 11;
}

#ads-overlay {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#display-image {
    margin-bottom: 20px;
}

#close-ad {
    background-color: #f0ecfc;
    background-image: linear-gradient(315deg, #f0ecfc 0%, #c797eb 74%);
    line-height: 42px;
    padding: 0;
    border: none;
    width: 130px;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: CaviarDreams;
}

#close-ad span {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

#close-ad:before,
#close-ad:after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 0;
    background: #c797eb;
        /*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
        -4px -4px 6px 0 rgba(116, 125, 136, .2),
        inset -4px -4px 6px 0 rgba(255,255,255,.5),
        inset 4px 4px 6px 0 rgba(116, 125, 136, .3);*/
    transition: all 0.3s ease;
}

#close-ad:before {
    height: 0%;
    width: 2px;
}

#close-ad:after {
    width: 0%;
    height: 2px;
}

#close-ad:hover:before {
    height: 100%;
}

#close-ad:hover:after {
    width: 100%;
}

#close-ad:hover {
    background: transparent;
}

#close-ad span:hover {
    color: #c797eb;
}

#close-ad span:before,
#close-ad span:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0;
    background: #c797eb;
        /*box-shadow: 4px 4px 6px 0 rgba(255,255,255,.5),
        -4px -4px 6px 0 rgba(116, 125, 136, .2),
        inset -4px -4px 6px 0 rgba(255,255,255,.5),
        inset 4px 4px 6px 0 rgba(116, 125, 136, .3);*/
    transition: all 0.3s ease;
}

#close-ad span:before {
    width: 2px;
    height: 0%;
}

#close-ad span:after {
    height: 2px;
    width: 0%;
}

#close-ad span:hover:before {
    height: 100%;
}

#close-ad span:hover:after {
    width: 100%;
}


