.dental-services-container {
    width: 75%;
    height: 100%;
    margin: 3rem;
}

.dental-services-tittle h2{
    font-size: 3rem;
    font-weight: 700;
    color: #131313;
    margin-bottom: 1rem;
}

.dental-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 2rem;
    width: 100%;
    height: 100%;

}


.dental-services-one { 
    grid-area: 1 / 1 / 4 / 3;
    border: 1px #D9D9D9 solid; 
    border-radius: 1rem;
    
}

.dental-services-two { 
    grid-area: 4 / 1 / 7 / 3; 
    border: 1px #D9D9D9 solid;
    border-radius: 1rem;
}

.dental-services-three { 
    grid-area: 1 / 3 / 4 / 5;
    border: 1px #D9D9D9 solid;
    border-radius: 1rem;
}

.dental-services-four { 
    grid-area: 4 / 3 / 7 / 5;
    border: 1px #D9D9D9 solid;
    border-radius: 1rem;
}

.dental-services-five { 
    grid-area: 1 / 5 / 5 / 7; 
    border: 1px #D9D9D9 solid;
    background-color: white;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    align-items: center;
    height: 50%;
} 

.dental-services-reserv-button {
    background-color: #131313;
    color: #f5f5f5;
    width: 100%;
    text-align: center;
    padding: 10px 10px 10px 10px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.dental-services-reserv-header {
    font-size: 1.5rem;
    font-weight: 600;
    width: 100%;
}

/* estilos para las cards */ 

.dental-service-one-img {
    width: 100%;
    height: 180px; 
    background-image: url("https://clinicaparravazquez.es/wp-content/uploads/2019/08/tipos-brackets.png");
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}
.dental-service-two-img {
    width: 100%;
    height: 180px; 
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSUrKX8rywvAnyfZ_QBLzbZuemjCLUa-SfoxA&s");
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}
.dental-service-three-img {
    width: 100%;
    height: 180px; 
    background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-1BI-wKLbN7Tucn70ka8M0QTu-0JHJojE8w&s");
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}
.dental-service-four-img {
    width: 100%;
    height: 180px; 
    background-image: url("https://staticnew-prod.topdoctors.mx/files/Image/large/21c2ae4cfca0f880cb2d50d4def932ff.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

.dental-card-content-one {
    padding: 12px;
}

.dental-button-one {
    margin-top: 10px;
    color: #131313;
    font-weight: 500;
    border: 0.5px #D9D9D9 solid;
    width: 80px;
    padding: 3px 0 3px 12px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 800px) {
    .dental-services-container {
        width: 85%;
        height: 100%;
    }
    .dental-services-grid {
        grid-template-columns: 1fr; /* Una sola columna */
        grid-template-rows: auto;
    }
  
    .dental-services-one {
        grid-column: 1;
        grid-row: auto; /* Se acomodan de manera automática */
    }
  
    .dental-services-two {
        grid-column: 1;
        grid-row: auto;
    }
  
    .dental-services-three {
        grid-column: 1;
        grid-row: auto;
    }
  
    .dental-services-four {
        grid-column: 1;
        grid-row: auto;
    }
  
    .dental-services-five {
        display: none;
    }
}

  