:root{
    --main-color: #f85151;
    --secondary-color: #e2e0e0;
    --dark-text: #444444;
    --light-text: white;
    --body-margin:  0px;
    --swiper-padding: 40px;
}

html, body { overscroll-behavior: none; }
.swiper-wrapper{
    touch-action: none;
}


*{
    color: var(--a-main-color);
    box-sizing: border-box;
}

body{
    margin: var(--body-margin);
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
}

.fixed{
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: white;
}
.flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup{
    position: absolute;
    z-index: 60;
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 0 15px;
    width: 300px;
    display: none;
}

#custom-preloader{
    z-index: 5000;
}
#custom-preloader lottie-player{
    width: 50%; 
}
.menu{
    align-self: center;
    justify-self: end;
}

.menu,
.qna,
.open-filter{
    gap:  10px;
}
#my-video{
  width: 100%;
  max-height: 100%;
}
.icon-container{
	border-radius: 25px;
	height: 50px;
	width: 50px;
	background-color: var(--secondary-color);
	color: var(--dark-text);
	font-size: 28px;
}
.icon-container.active{
	background-color: var(--main-color);
}
.limpar{
	position: absolute;
    right: 0;
    top: 0;
}
.limpar::before{
    content: '';
    background-color: white;
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-radius: 50%;
    z-index: -1;
}

.stucture-map .limpar{
	display: none;
}
.close-swiper{
	z-index: 2;
	border-radius: 50%;
	top: 10px;
	right: 10px;
}
.limpar i{
	font-size: 50px;
    color: var(--main-color);
}
.close-swiper i{
    font-size: 4.2vw;
}
.logo{
	width: 240px;
}
.view-changer{
    position: relative;
}
.view-changer>div{
    top: 100%;
    left: 0;
    width: max-content;
}
.grid-active{
    background-color: var(--main-color);
    color: var(--secondary-color);
}

/*Swiper*/
.swiper-slide img{
    max-width: 100%;
    max-height: calc(100vh - var(--swiper-padding) * 2)!important;
    width: 100%;
    height: auto;
}
.swiper-slide{
	padding: var(--swiper-padding);
    background-image: url('../bg.png');
    background-size: cover;
    height: 100vh;
    min-height: 100vh;
}
.swiper-pagination{
    padding: 5px 20px;
    border-radius: 10px;
}

.swiper-pagination-bullet-active{
    background: var(--main-color);
}

/**********************/

/*Styling scrollbar*/
.stucture-map-content::-webkit-scrollbar {
    width: 10px;
}
.stucture-map-content::-webkit-scrollbar-track {
    border-radius: 15px;
    background: #eeeeee;
}
.stucture-map-content::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 15px;
}
/********************/

.stucture-map{
    padding: 40px 60px 0 40px;
    z-index: 40;
    overflow-y: hidden;
    background-image: url('../bg.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.stucture-map-content{
    overflow-y: auto;
    padding: 20px 20px;
}

.map-filter{
    justify-content: space-between;
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: 25% 50% 25%;
    align-items: center;
}
#search{
    border: 0;
    background-color: var(--secondary-color);
    border-radius: 50px;
    padding: 5px 20px;
    font-size: 25px;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    height: 50px;
    color: var(--dark-text);
}

#search::placeholder{
    color: var(--dark-text);
}

#search:focus-visible{
    outline-color: var(--secondary-color);
}

.stucture-map ul{
    margin: 0;
    list-style: none;
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 2px;
}
.thumbnail{
    overflow: hidden;
    transition: 0.2s;
    background: var(--secondary-color);
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.thumbnail:hover{
    background-color: var(--main-color);
    color: white;
}
.thumbnail:hover .author{
    color: white;
}

.thumbnail img{
    width: 100%;
    height: auto;
}
.title{
	font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
}
p{
	margin: 5px 0;
}
.poster-title{
    width: 100%;
    padding: 10px;
}
.title-divider{
    height: 1px;
    background-color: white;
    width: 30%;
    margin: 0;
    border: 0;
}
.author{
    font-size: 14px;
    color: var(--dark-text);
}
.search-erorr{
    display: none;
    text-align: center;
    padding: 20px;
    background-color: #c6c6c652;
    border-radius: 10px;
    color: var(--secondary-color);
}



.open{
    opacity: 1;
    top: 0;
}

.close{
    opacity: 0;
    top: -100%;
}

.animationOpen {
    animation: windowOpen 1s cubic-bezier(0.25, 0.49, 0.31, 0.96);
}
.animationClose {
    animation: windowClose 1s cubic-bezier(0.25, 0.49, 0.31, 0.96);
}

@keyframes windowOpen {
    0%{
        opacity: 0;
        top: -100%;
    }
    100%{
        opacity: 1;
    top: 0;
    }
}

@keyframes windowClose {
    0%{
        opacity: 1;
        top: 0;
    }
    100%{
        opacity: 0;
        top: -100%;
    }
}

@media (max-width: 1250px) {
    .stucture-map ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .stucture-map ul {
        grid-template-columns: repeat(2, 1fr);
    }
}