

#titleServices {
    display: block;
    margin: 30px auto;
    width: 788px;
    max-width: 94%;
}
#headerTitleText{
    text-align: center;
    font-weight: 300;
}
#headerSubtitle{
    text-align: center;
    font-size:22px;
    line-height: 0.95;
    margin: 10px;
    line-height: 1.2;
}
.productCard{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    height: 120px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#servicesDisplay {
  display: grid;
  grid-template-columns: repeat(2, 4fr);
  grid-auto-rows: auto;
}

/* Centrar la última caja si es impar */
#servicesDisplay > :last-child:nth-child(odd) {
  grid-column: 1 / -1; /* ocupar toda la fila */
  justify-self: center; /* centrar horizontalmente */
  width: 50%; /* igual a una de las dos columnas */
}

.blogContainer{
    width: 96%;
    height: 88%;
    border-radius: 8px;
    display: block;
    margin: 20px auto;
    padding: 10px 0;
    position: relative;
    border: 1px solid rgb(0 0 0 / 35%);
    transition: 0.3s;
}
.blogContainer:hover{
    background-color: #cecece24;
}

.descBlogTitle{
    font-size: 20px;
    font-weight: 300;
}

.descBlogDescription{
    font-size: 17px;
    font-weight: 200;
}

.blogTextAdjs{   
    width: 86%;
    margin: 1rem auto;
}
.descBlogDuration{
    margin-bottom: 25px;
    margin-top: 2px;
    font-size: 17px;
    font-weight: 250;
    color: #333333bd;
}
#productDisplay{
    width: 90%;
    margin: 30px auto;
    max-width: 1045px;

}

.arrowBlogImg{
    transform: translate(2px, 4px);
    width: 16px;
    transition: 0.3s;
}
.arrowBlogImg:hover,
.watchMoreText:hover .arrowBlogImg {
    transform: translate(5px, 4px);
}

.watchMore{
    cursor: pointer;

}

.watchMoreText{
    position: absolute;
    bottom: 22px;
}

#displayMoreProduct{
    position: fixed;
    height: 100%;
    width: 100%;
    right: 0;
    display: flex;
    background-color: #9f9f9f4f;
    top: 0;
}
#closeOnClickBox{
    width: 60%;
    height: 100%;
    cursor: pointer;
}
#informationBox{
    width: 40%;
    height: 100%;
    background-color: #fff;
    padding: 3rem;
    top: 0;
    position: absolute;
    right: 0;

    overflow: auto;
}

.moreProductTitle{
    font-size: 25px;
    font-weight: 350;

}
.moreProductDuration{
    font-size: 17px;
    font-weight: 250;
    color: #333333bd;
}
.moreProductText{
    font-size: 18px;
}

.moreProductBullet{
    font-size: 18px;
    margin: 13px 0 0 20px;
}
.borderDivisor{
    padding-bottom: 30px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgb(0 0 0 / 35%);
}

#closeButtonIcon{
    width: 27px;
    opacity: 0.8;
    position: absolute;
    top: 15px;
    right: 15px;
        cursor: pointer;
}

.purchaseButton{
        width: fit-content;
        text-decoration: none;
    margin: 0 auto;
    margin-top: 25px;
    padding: 20px 50px;
    border-radius: 12px;
    border: 0px solid #ffffff;
    background-image: linear-gradient(to right, #36a3b4, #48d4ea);
    box-shadow: 0 0 10px rgb(0 0 0 / 42%);
    display: flex;
    cursor: pointer;
    transition: filter 0.3s;
}
.purchaseButton:hover{
    filter: brightness(1.1);

}


.purchaseButtonText{
    color: white;
    font-size: 22px;
    margin-right: 10px;
}
.blurArrowBox{
    background-color: rgba(228, 228, 228, 0.288);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    width: 27px;
    height: 27px;
    border-radius: 20px;
    align-items: center;
}
.purchaseCartImg{
    width: 17px;
    margin-top: 6px;
    margin-left: 5px;
}

@media (max-width: 1200px){
    #informationBox {
        width: 60%;
    }
    #closeOnClickBox {
        width: 40%;
    }
}
@media (max-width: 870px) {
    h2 {
       font-size: 40px;
    }

    #headerSubtitle {
        font-size: 21px;    
    }
    #servicesDisplay {
    grid-template-columns: repeat(1, 4fr);
    }
    #servicesDisplay > :last-child:nth-child(odd) {
        width: 96%;
    }
    #informationBox {
        width: 80%;
    }
    #closeOnClickBox {
        width: 20%;
    }
}

@media (max-width: 600px) {
    #informationBox {
        width: 90%;
    }
    #closeOnClickBox {
        width: 10%;
    }
}