
.services{
    width: 100%;
    height: auto;
    padding-top: 200px;
    padding-bottom: 200px;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.services__container{
    width: 100%;
    max-width: 1300px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
}

.services__container h1{
    height: auto;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #000000;
}

.services__container__list{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.services__container__list__item{
    width: 400px;
    height: 450px;
    display: flex;
    border: 2px solid black;
    overflow: hidden;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.services__container__list__item:nth-child(1){
    background: url('../img/fotelservice.webp') no-repeat center center/cover;
}

.services__container__list__item:nth-child(2){
    background: url('../img/matracservice.webp') no-repeat center center/cover;
}

.services__container__list__item:nth-child(3){
    background: url('../img/szonyegService.webp') no-repeat center center/cover;
}

.services__container__list__item__text{
    width: 100%;
    height: 100px;
    background: black;
    display: flex;
    align-self: flex-end;
    align-items: center;
    justify-content: center;
}

.services__container__list__item__text h1{
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
}

@media screen and (max-width: 1360px){
    .services__container__list__item{
        width: 300px;
        height: 350px;
    }

    .services__container__list__item__text{
        width: 100%;
        height: 50px;
    }
}

@media screen and (max-width: 760px) {
    .services__container h1{
        font-size: 32px;
    }

    .services__container__list__item__text h1{
        font-size: 18px;
    }
}
