#popuppainel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 99999;
    /* display: none; */
}

#popuppainel .popupbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

#popuppainel .popupbox .popupfechar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#popuppainel .popupbox .popupconteudo {
    position: relative;
    float: left;
    width: calc(100% - 80px);
    max-height: calc(100% - 80px);
    max-width: 640px;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}

#popuppainel .popupbox .popupconteudo a {
    position: absolute;
    top: 0;
    right: 20px;
    background-color: #ff5252;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    padding: 0 20px;
    line-height: 32px;
    color: #ffffff;
    transition: 0.2;
}

#popuppainel .popupbox .popupconteudo a:hover {
    background-color: #ff0000;
}


@media only screen and (max-width: 640px) {

    #popuppainel .popupbox .popupconteudo {

        width: calc(100% - 40px);
    }

}


@media only screen and (max-width: 360px) {

    #popuppainel .popupbox .popupconteudo {

        width: calc(100% - 20px);
    }

}

.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 16px 0;
}

.slider-wrapper::before,
.slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 50;
    pointer-events: none;
}

.slider-wrapper::before {
    background: linear-gradient(90deg, #FFF 0%, transparent 100%);
    left: 0;
}

.slider-wrapper::after {
    background: linear-gradient(90deg, transparent 0%, #FFF 100%);
    right: 0;
}

.custom-slider {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: fit-content;
    animation: scroll 75s linear infinite;
    -webkit-animation: scroll 75s linear infinite;
    -moz-animation: scroll 75s linear infinite;
    -ms-animation: scroll 75s linear infinite;
}
.custom-slider:hover {
    animation-play-state: paused;
    -o-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

.custom-slider>a {
    width: 180px;
    margin: 0 22px;
}

.custom-slider>a>img {
    width: 100%;
    transition: scale 0.3s;
    -moz-transition: scale 0.3s;
    -webkit-transition: scale 0.3s;
    -o-transition: scale 0.3s;
    -ms-transition: scale 0.3s;
}

.custom-slider>a>img:hover {
    scale: 1.05;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%)
    }
}

@-webkit-keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%)
    }
}

/* @keyframes scroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(calc(-180px * 11) + calc(-22px * 22)))}
} */

.topics-flex {
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
}
