*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Glacial Indifference";
    src: url("../../../ASSETS/FONTS/GlacialIndifference/GlacialIndifference-Regular.otf");
}

@font-face {
    font-family: "Brittany";
    src: url("../../../ASSETS/FONTS/Brittany/BrittanySignature.ttf");
}

header{
    width: 100%;
    height: 80vh;
    background-color: #000;
}

.imgBlogMain{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.7);
}

.contentBlog{
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    justify-content: center;
}

.boxContentBlog{
    position: relative;
    display: flex;
    margin-top: -15rem;
    width: 90%;
    height: auto;
    justify-content: center;
    background-color: #fff;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.categoryBlog{
    position: absolute;
    top: -50px;
    font-size: 20px;
    right: 0;
    color: #ffffff;
    font-family: "Brittany";
}

.titleBlog{
    width: 90%;
    font-family: "Glacial Indifference";
    font-size: 40px;
    color: #000000b4;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detailsBlog{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 90%;
    font-family: "Glacial Indifference";
    color: #000000b4;
    margin-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #00000060;
}

.dateBlog{
    font-size: 14px;
    display: flex;
    justify-content: left;
}

.boxAuthorBlog{
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
}

.linkAuthorBlog{
    text-decoration: none;
    color: #000000b4;
}

.authorBlog{
    text-decoration: none;
    color: #000000b4;
}

.underlinedAuthorBlog{
    width: 0;
    height: 1px;
    background-color: #000;
    transition-duration: .4s;
}

.underlinedAuthorBlog_Active{
    transition-duration: .4s;
    width: 100%;
}

.boxAvatarAuthorBlog{
    width:40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    overflow: hidden;
}

.avatarAuthorBlog{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boxLikes{
    margin-top: 1rem;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.heartBlog{
    width: 25px;
    cursor: pointer;
}

.heartRed{
    display: none;
    animation: heartRed .7s forwards ;
}

@keyframes heartRed{
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.5);
    }
    100%{
        transform: scale(1);
    }
}

.quantityLikes{
    font-family: "Glacial Indifference";
    font-size: 17px;
    color: #000000b4;
    margin-left: 10px;
}


.boxShares{
    margin-top: 1rem;
    display: flex;
    width: 100%;
    justify-content: right;
    align-items: center;
    gap: 1rem;
}

.boxShare{
    width: 25px;
    height: 25px;
    padding: 5px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 50%;
}

.toastify {
    font-family: "Glacial Indifference", sans-serif; /* Cambia la fuente aquí */
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    background: linear-gradient(to right, #00b09b, #96c93d); /* Color personalizado */
    border-radius: 5px;
    padding: 10px;
}

.shareBlog{
    font-family: "Glacial Indifference";
    color: #000000b4;
}

.iconShare{
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.paragraph{
    display: flex;
    justify-content: center;
    width: 100%;
    font-family: "Glacial Indifference";
    font-size: 18px;
    color: #000000b4;
    margin-top: 3rem;
    padding-bottom: 2rem;
    flex-wrap: wrap;
}

.paragraph p{
    display: flex;
    width: 100%;
    text-align: justify;
    line-height: 2;
    flex-wrap: wrap;
    font-size: 20px;
    margin-bottom: 10px;
}

.paragraph h2{
    display: flex;
    width: 100%;
    text-align: justify;
    line-height: 2;
    flex-wrap: wrap;
    font-size: 30px;
    margin-bottom: 10px;
}

.paragraph p:nth-child(1):first-letter{
    font-family: "Brittany";
    font-size: 40px;
    margin-right: 10px;
    color: #ff0000;
    line-height: 1;
}

.paragraph p a{
    color: #e2083eef;
    text-decoration: none;
    font-weight: 100;
    cursor: pointer;
}

.paragraph p img{
    width: 100%;
    height: auto;
    margin-top: 2rem;
}

.paragraph blockquote{
    margin-top: 5px;
    width: 100%;
    padding: 1rem;
    background-color: #0000000d;
    border-left: 5px solid #000;
    color: #000000b4;
    font-style: italic;
    font-size: 13px;
}

.boxParagraphs{
    display: flex;
    justify-content: center;
    width: 60%;
    flex-wrap: wrap;
}

.contentParagraph{
    width: 100%;
    font-family: "Glacial Indifference";
    font-size: 20px;
    color: #000000b4;
    margin-top: 2rem;
    padding-bottom: 2rem;
    text-align: justify;
    line-height: 2;
}

.ql-video{
    width: 100%;
    height: 400px;
}



.boxBtnPrevNextBlog{
    display: flex;
    justify-content: center;
    width: 90%;
    margin-top: 2rem;
    height: 80px;
}



.linkBtnPrevBlog, .linkBtnNextBlog{
    width: 50%;
    height: 100%;
}

.btnPrevBlog, .btnNextBlog{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    border: none;
    padding: 2rem;
    cursor: pointer;
    background-color: transparent;
    transition-duration: .4s;
}


.btnPrevBlog:hover, .btnNextBlog:hover{
    background-color: #000;
    color: #fff;
}

.linkBtnPrevBlog, .linkBtnNextBlog{
    text-decoration: none;
}


.arrowPrevBlog, .arrowNextBlog{
    width: 30px;
    transition-duration: .4s;
}



.titleBlogNext, .titleBlogPrev{
    font-family: "Glacial Indifference";
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* Número de líneas visibles */
    -webkit-box-orient: vertical;
    line-height: 1em; /* Espaciado entre líneas */
    white-space: normal;
    position: relative;
}

.btnPrevBlog{
    border-right: 1px solid #00000080;
}

.btnNextBlog{
    border-left: 1px solid #00000080;
}

.commentForm{
    display: flex;
    width: 80%;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 1rem;
}

.titleComments{
    width: 100%;
    font-family: "Glacial Indifference";
    color: #000000b4;
    margin-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}



#nombre{
    width: 70%;
    height: 30px;
    font-family: "Glacial Indifference";
    font-size: 20px;
    border: none;
    border-bottom: 1px solid #00000080;
    margin-bottom: 2rem;
    padding: 20px 0;
}

#nombre:focus{
    outline: none;
}

#comentario{
    width: 70%;
    height: 100px;
    font-family: "Glacial Indifference";
    font-size: 20px;
    border: none;
    border-bottom: 1px solid #00000080;
    margin-bottom: 2rem;
    padding: 20px 0;
    resize: vertical;
    
}

#comentario:focus{
    outline: none;
}

.btnSubmitComment{
    width: 70%;
    height: 50px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 15px;
    border: none;
    font-family: "Glacial Indifference";
    font-size: 20px;
    color: #000000;
    cursor: pointer;
    transition-duration: .4s;
    background-color: #fff;
}

.btnSubmitComment:hover{
    background-color: #000000;
    color: #fff;
}


.quantityComments{
    width: 51%;
    font-family: "Glacial Indifference";
    color: #000000b4;
    margin-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

#commentsSection{
    width: 70%;
    font-family: "Glacial Indifference";
}

#commentsSection div{
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    border-radius: 15px;
}

#commentsSection div:nth-of-type(even){
    border-left: 10px solid rgb(0, 0, 255);
}

#commentsSection div:nth-of-type(odd){
    border-right: 10px solid rgb(0, 0, 255);
}

.comment{
    color: rgb(0, 0, 255);
}


.nameComment{
    color: #000;
}

@media (max-width: 1024px) and (max-height: 1366px) {
    header{
        height: 550px;
    }

    .boxParagraphs{
        width: 80%;
    }
}

@media (max-width: 1024px) and (max-height: 600px) {
    header{
        height: 450px;
    }
    .titleBlog{
        font-size: 25px;
    }
}

@media (max-width: 912px) {
    header{
        height: 500px;
    }

    .titleBlog{
        font-size: 30px;
    }

    .boxParagraphs{
        width: 80%;
    }

}

@media (max-width: 853px) {
    .ql-video{
        height: 300px;
    }
}

@media (max-width: 820px) {
    .heartBlog{
        width: 30px;
    }

    .quantityLikes{
        font-size: 22px;
    }

    .shareBlog{
        font-size: 22px;
    }

    .boxShare{
        width: 30px;
        height: 30px;
    }

    .titleBlogPrev, .titleBlogNext{
        font-size: 18px;
    }

    #nombre, #comentario, .btnSubmitComment{
        width: 80%;
    }

    #commentsSection{
        width: 80%;
    }

    .divComment{
        width: 100%;
    }

    .nameComment{
        font-size: 20px;
    }

    .comment{
        font-size: 22px;
    }
}

@media (max-width: 540px) {
    header{
        height: 400px;
    }

    .titleBlog{
        font-size: 20px;
    }

    .boxAuthorBlog{
        margin-top: 1rem;
    }

    .boxAvatarAuthorBlog{
        width: 30px;
        height: 30px;
    }

    .boxParagraphs{
        width: 90%;
    }

    .ql-video{
        height: 250px;
    }

    .titleBlogNext, .titleBlogPrev{
        font-size: 12px;
    }

    .btnPrevBlog{
        padding: 0 10px 0 0;
    }

    .btnNextBlog{
        padding: 0 0 0 10px;
    }

    .boxBtnPrevNextBlog{
        width: 90%;
    }

    #commentForm{
        width: 90%;
    }

    #nombre, #comentario, .btnSubmitComment{
        width: 100%;
    }

    #commentsSection{
        width: 90%;
    }

    .nameComment{
        font-size: 15px;
    }

    .comment{
        font-size: 17px;
    }
}