html, body{
    margin: 0;
    padding: 0;
}
*{
    box-sizing: border-box;
}
button{
    outline: none;
    border: none;
    cursor: pointer;
}

.content-ma-ads > .wrap-image{
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: max-content;
    max-height: inherit;
}

.content-ma-ads .wrap-image img{
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: inherit;
}

.content-ma-ads video{
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.content-ma-ads > div{
    position: relative;
}
.content-ma-ads .close-button{
    background: rgba(0, 0, 0, .5);
    position: absolute;
    top: .6rem;
    right: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .2rem .5rem;
    color: white;
    border-radius: .2rem;
    border: 1px solid rgba(200, 200, 200, .4);
}
.content-ma-ads .close-button-image{
    max-width: 25px;
    min-width: 12px;
    width: 10%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);
    position: absolute;
    top: 1%;
    right: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: white;
}
.content-ma-ads .close-button:hover{
    background-color: white;
    color: black;
}
.content-ma-ads .close-button:hover svg{
    fill: black;
}
.content-ma-ads .count-down-close-time{
    width: max-content;
    background: rgba(0, 0, 0, .5);
    position: absolute;
    top: .6rem;
    right: .6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .4rem;
    font-size: .8rem;
    font-weight: 500;
    color: white;
}
.content-ma-ads .close-button svg{
    width: 1.3rem;
    margin-left: .2rem;
    fill: white;
}

.content-ma-ads .close-button-image svg{
    width: 80%;
}

.content-ma-ads .load-video{
    color: white;
    background: rgba(0, 0, 0, .5);
    padding: .4rem;
    border-radius: .2rem;
}

body.no-scroll{
    overflow: hidden;
}
.content-ma-ads .wrap-video-full-screen{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.content-ma-ads .wrap-video-full-screen > div{
    position: relative;
    height: 100%;
    position: relative;
    max-height: min-content;
}
.content-ma-ads .redirect{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ef4538;
    color: white;
    font-family: Roboto, sans-serif;
    padding: 15px;
    cursor: pointer;
}
.content-ma-ads .redirect:hover{
    background-color: #c3362c;
}
.content-ma-ads .wrap-button-sound{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.content-ma-ads button.active-sound{
    background-color: #ef4538;
    color: white;
    font-family: Roboto, sans-serif;
    padding: 15px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 20px;
    animation: warning-active-sound 2s infinite;
}

@keyframes warning-active-sound {
    from {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    to {
        transform: scale(1);
    }
}
.content-ma-ads .hidden{
    display: none;
}