

#blogSearchSection{
    width: 100%;
    position: relative;
}

#blogCoverImage{
    width: 100%;
    min-width: 1050px;
}

#blogTextSearch {
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    max-width: 94%;
}

#blogTextSearchText{
    color: white;
    font-size: 37px;
    text-align: center;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 220;
    font-style: normal;
    width: 600px;
    max-width: 94%;
    margin: 0 auto;
}
#blogSearchPosts{
    display: flex;
    flex-direction: column;
}

#blogSearchBar{

    backdrop-filter: blur(20px);
    --backgroundColor: rgba(255, 255, 255, .24);
    background-color: var(--backgroundColor);
    width: 100%;
    height: 55px;
    border-radius: 30px;
    display: flex;
    justify-content: left;
        margin: 20px 0px 10px;

}
#searchBarText{
    background-color: transparent;
    border: 0px;
    width: 89%;
    height: 55px;
    color: white;
    margin: 0 auto;
    font-weight: 300;
}
#seachBarMagnifierImg{
    width: 22px;
    margin-left: 20px;
}

#recomendationsBar{
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    max-width: 100%;    
}

#recomendationsBar::-webkit-scrollbar {
    width: 6px;         
    height: 9px;
}

#recomendationsBar::-webkit-scrollbar-track {
    background: transparent;        /* color of the tracking area */
}

#recomendationsBar::-webkit-scrollbar-thumb {
    background-color: #7474747e;    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 3px solid transparent;  /* creates padding around scroll thumb */
}

#recomendationsBar::-webkit-scrollbar-thumb:hover {
    background-color: #a3a3a37e; /* lighter color on hover */
}

#recomendationsBar.dragging {
  cursor: grabbing;
  user-select: none;
}

.recomendationButton{
    color: white;
    font-size: 16px;
    backdrop-filter: blur(20px);
    --backgroundColor: rgba(255, 255, 255, .24);
    background-color: var(--backgroundColor);
    border: 0px;
    padding: 9px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin: 2.5px;
}

textarea:focus, input:focus{
    outline: none;
}


#blogsSection{
    width: 1000px; 
    margin: 30px auto;
    max-width: 94%;
}

#RecentBlogs{
    margin: 20px 28px;
}
#RecentBlogs h3{
    font-size: 26px;
}


.blogContainer{
    display: block;
    position: relative;
}

.blogContainer iframe{
    width: 97%;
}

.blogContainerAniOn{
    animation-name: blogContainerAniOn;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}
@keyframes blogContainerAniOn{
    from{
        margin-top: 20px;
        width: 91%;
        box-shadow: 0 0 15px rgb(0 0 0 / 8%);
    }
    to{
        margin-top: 15px;
        width: 93%;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.203);
    }
}
.blogContainerAniOff{
    animation-name: blogContainerAniOff;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}
@keyframes blogContainerAniOff{
    from{
        margin-top: 15px;
        width: 93%;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.203);
    }
    to{
        margin-top: 20px;
        width: 91%;
        box-shadow: 0 0 15px rgb(0 0 0 / 8%);
    }
}

.blogTextAdjs{   
    width: 86%;
    margin: 1rem auto;
    display: block;
}

.blogTextAniOff{
    animation-name: blogTextAniOff;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}
@keyframes blogTextAniOff{
    from{
        padding-right: 2%;
    }
    to{
        padding-right: 0%;
    }
}

.blogTextAniOn{
    animation-name: blogTextAniOn;
    animation-duration: 0.3s;
    animation-iteration-count: 1;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}
@keyframes blogTextAniOn{
    from{
        padding-right: 0%;
    }
    to{
        padding-right: 2%;
    }
}


.imageBlogContainer{
    width: 100%;
    border-radius: 8px 8px 0 0;
}
.dateBox{
    display: flex;
    align-items: center;
}
.dateImg{
    margin-top: -2px;
}
.dateBlogContainer{
    font-size: 15px;
    display: block;
    padding-left: 7px;
}
.descBlogContainer{
    display: block;
}

.blogTextAdjs{   
    width: 86%;
    margin: 1rem auto;
}

#blogsDisplay {
  column-count: 2;         /* número de columnas */
  column-gap: 1rem;        /* espacio entre columnas */
}

#blogsDisplay > div {
  break-inside: avoid;     /* evita que se corte un div entre columnas */
}


.watchMore{
    position: absolute;
    bottom: 0;
    left: 7%;
    margin-bottom: 1.5rem;
    display: flex;
}
.watchMoreText{
    font-weight: 360;
    font-size: 17.3px;
}
.arrowBlogImg{
    margin-top: 3px;
    margin-left: 6px;
}
#paginationBar{
    display: flex;
    width: fit-content;
    margin: 15px auto;
}

.pageButton{
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    margin: 10px;
    box-shadow: 0 0 15px rgb(0 0 0 / 8%);
    border-radius: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    font-weight: 340;
    text-decoration: none;
    color: #333;
}

.paginationArrow{
    width: 21px;
}
.arrowLeft{
    transform: rotate(90deg);
    
}
.arrowRight{
    transform: rotate(270deg);
}

@media (max-width: 870px) {
    #blogsDisplay{
        display: grid;
        grid-template-columns: repeat(1, 4fr);
    }
    #blogsSection {
        width: 485px;
        max-width: 94%;
    }
    #blogTextSearchText {
        font-size: 30px;
    }
    #RecentBlogs h3{
        font-size: 22px;
    }


}

.buttonActive, .disabled{
    background: #e2e2e2;
}