.service-conteiner {
    display: block;
    margin-left: 18%;
    height: 100vv;
    /* margin-top: 10px; */
    padding-block: 10px;
}
::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: cyan;
}


.service-block {
    margin-bottom: 20px;
    border: 1px solid;
    border-radius: 10px;
    padding: 10px;
    margin-right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-color: black;
    display: inline-flex;
     overflow-y: hidden;
    overflow-x: hidden;
    width: 97%;
}
.service-block ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  
    background: #ff0000;
}

.service-block ::-webkit-scrollbar-track {
    background: #000000;
    margin-top: 10px;
}

.service-text:target {
    animation: hidden forwards 2s;
}

.service-img {
    min-width: 34rem;
/*    height: 30rem; */
    align-items: center;
    max-width: 5rem;
    object-fit: cover;
    align-content: right;
    margin: 0 auto;
    justify-self: right;
    border-radius: 10%;
    float: right;
    display: flexbox;
      right: 0px;
}

.service-img img {
    height: 450px;
    min-width: 200px;
    max-width: 420px;
    align-content: center;
    margin: 0 auto;
    display: block;
    justify-self: center;
    object-fit: contain;
    border-radius: 10%;
    margin-top: 10px;
    right: 0px;
}

.service-img:after {
    content: "";
    display: block;
    clear: both;
}

.img-descrip {
    position: static;
    margin-top: 5px;
}

@keyframes hidden {

    0% {
        background-color: rgba(255, 255, 0, 0.7);
    }

    100% {
        background-color: rgba(0, 0, 0, 0.6);
    }

}
.service-text {
    display: block;
    border-radius: 10px;
    padding: 10px;
    margin-right: 2rem;
    text-align: left;
    font-size: clamp(10px, 0.9vw, 25px);
    line-height: 1.5;
    font-weight: 500;
    color: white;
    border-color: rgba(0, 0, 0, 0.6);
    word-break: break-all;   
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    display: flex;
    width: 55rem;;
}

.conteiner-service-text {
    width: 100%;
    flex: 0 0 600px;
}


@media (max-width: 990px) {
    .left-panel {
        visibility: hidden;
        margin: 0px;
        padding: 0px;
    }

    .service-conteiner {
        padding-inline: 0px;
        margin-left: 15px;
        font-size: medium;
    
    }

    .service-text {
        margin-bottom: 30px;
    }
}