.services {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #59021B;
    /* width: 100vw; */
    height: auto;
    z-index: 1;
    align-items: center;
    background: url('../media/images/background2.png');
    background-size: cover;
    background-position: top;
    justify-content: center;
}

.services .services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin: 20px;
    background-color: #59021b9c;
    width: 100%;
    max-width: max-content;
    border-radius: 5px;
}

.services .services-title-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.services .services-title-container img {
    width: 100%;
    min-width: 200px;
    max-width: 375px;
}

.services .services-container .services-content-container {
    margin: 30px;
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 80px;
    row-gap: 80px;
    width: 100%;
    height: auto;
    justify-content: center;
}

/* Estilo para cards */

.service-card {
    display: flex;
    flex-direction: column;
    background-color: #FAF6F4;
    width: 300px;
    height: 550px;
    border-radius: 5px;
    transition: 0.2s linear;
}

.service-card:hover {
    scale: 1.05;
    cursor: pointer;
    transition: 0.05s linear;
    /* box-shadow: 1px 1px 7px gray; */
}

.service-card .service-card-image {
    display: flex;
    flex-direction: column;
    /* background-color: red; */
    width: 100%;
    height: 70%;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #80808030;
}

.service-card .service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.service-card .service-card-text-container {
    display: flex;
    flex-direction: column;
    /* background-color: red; */
    width: 100%;
    height: 30%;
    padding: 10px;
}

.service-card .service-card-text-container .card-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card .service-card-text-container .card-title h1 {
    font-size: 16px;
    font-family: 'Aller Std 1';
    color: #59021b;
}

.service-card .service-card-text-container .card-description {
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow-y: auto;
}

.card-description::-webkit-scrollbar {
    /* display: none; */
    width: 2px;
}

.service-card .service-card-text-container .card-description b {
    font-size: 14px;
    font-family: 'Aller Std 6';
    color: #59021b;
}

.service-card .service-card-text-container .card-description p {
    font-size: 14px;
    font-family: 'Aller Std 6';
    color: #59021b;
}

@media only screen and (orientation: portrait) and (max-width: 767px) {
    .services {
        /* background: url('/media/images/mobile_2.jpeg'); */
        background-size: auto;
        background-position: top;
    }
    .services .services-container .services-content-container {
        grid-template-columns: auto;
    }
}

@media only screen and (orientation: landscape) and (max-width: 767px) {
    .services .services-container .services-content-container {
        grid-template-columns: auto;
    }
}


@media only screen and (orientation: portrait) and (min-width: 768px) and (max-width: 1024px) {
    .services {
        background-size: auto;
        background-position: top;
    }
    .services .services-container .services-content-container {
        grid-template-columns: auto auto;
    }
}

@media only screen and (orientation: landscape) and (min-width: 768px) and (max-width: 1024px) {
    .services .services-container .services-content-container {
        grid-template-columns: auto auto;
    }
}

@media only screen and (orientation: landscape) and (min-width: 1380px) {
    .services .services-container .services-content-container {
        grid-template-columns: auto auto auto auto;
    }
}