.just-one-service {
    padding: 25px;
}

.just-one-service h1 {
    text-align: center;
    font-size: 40px;
    text-shadow: 0px 2px 4px gray;
    color: var(--theme);
}

.just-one-service h1 span,
.just-one-service h2 label span {
    margin-left: 5px;
    color: white;
    background-color: var(--theme);
    padding: 5px;
    border-radius: 5px;
}

.just-one-service h2 {
    font-size: 25px;
    text-align: justify;
}

.just-one-service h2 label,
.just-one-service h3 span,
.just-one-service h4 span {
    color: var(--theme);
}

.just-one-service h2 label span {
    margin-left: 0px;
}

.just-one-service div.container-img {
    text-align: center;
    display: block;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.just-one-service div.container-img img {
    width: auto;
    max-width: 60%;
    height: auto;
    max-height: 400px;
    border-radius: 50px;
    filter: grayscale(0.5);
    transition: all 0.5s;
}

.just-one-service div.container-img:hover img {
    box-shadow: 0px 5px 10px black;
    border-radius: 3px;
    filter: grayscale(0);
}

.just-one-service .more-about {
    display: flex;
    justify-content: center;
    align-items: center;
}

.just-one-service .more-about fieldset {
    border: none;
    border-top: 1px solid var(--theme);
    width: 30%;
    transition: all 0.5s;
}

.just-one-service .more-about fieldset legend {
    text-align: center;
    padding: 10px 10px;
    margin: 10px 0;
    font-weight: bold;
    color: var(--theme);
}

.just-one-service .more-about:hover fieldset {
    width: 100%;
}

.just-one-service .content-about-note {
    width: 90%;
    display: block;
}

.just-one-service .content-about {
    width: 100%;
    padding: 0px;
    margin: 0px;
    display: block;
    text-align: center;
}

.just-one-service div.content-about section ul {
    list-style: decimal;
}

.just-one-service .content-about section {
    display: inline-block;
    width: 40%;
    margin: 20px;
    border: 3px solid var(--theme);
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.5s;
}

.just-one-service .content-about section:hover {
    box-shadow: 0px 10px 25px  black;
    border-radius: 3px;
    border: 3px solid white;
}

.just-one-service .content-about section h5 {
    border-bottom: 3px solid var(--theme);
    padding: 10px;
    text-align: center;
    display: block;
    background-color: var(--theme);
    color: white;
    transition: all 0.5s;
}

.just-one-service .content-about section:hover h5 {
    color: var(--theme);
    background-color: white;
}

.just-one-service .content-about section ul li {
    text-align: justify;
    padding: 10px;
}

.just-one-service .content-about section ul li:hover {
    font-weight: bold;
    color: var(--theme);
    cursor: pointer;
}

.just-one-service .go-more {
    display: block;
    text-align: center;
    margin-top: 25px;
}

.just-one-service .go-more a {
    font-weight: bold;
    border: 3px solid var(--scroll-back);
    padding: 10px;
    border-radius: 5px;
    transition: all 0.5s;
}

.just-one-service .go-more a:hover {
    background-color: var(--scroll-back);
    color: black;
}

.just-one-service .go-more a.a-primary {
    border: 3px solid var(--theme);
}

.just-one-service .go-more a.a-primary:hover {
    background-color: var(--theme);
    color: white;
    box-shadow: 0px 0px 5px  gray;
}

@media only screen and (max-width: 614px) {
    .just-one-service .content-about section {
        display: block;
        width: 100%;
        margin: 0px;
        border: 1px solid var(--theme);
        margin-bottom: 30px;
    }

    .just-one-service .content-about section:hover {
        box-shadow: none;
        border-radius: 10px;
        border: 1px solid var(--theme);
    }
    
    .just-one-service .content-about section:hover h5 {
        color: white;
        background-color: var(--theme);
    }

    .just-one-service .content-about section ul li {
        text-align: center;
    }
}

@media only screen and (max-width: 600px) {
    .just-one-service div.container-img img {
        max-width: 80%;
        filter: grayscale(0);
        border-radius: 5px;
    }

    .just-one-service div.container-img:hover img {
        box-shadow: 0px 0px 0px white;
    }

    .just-one-service .more-about fieldset {
        width: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .just-one-service div.container-img img {
        max-width: 100%;
    }

    .just-one-service h2 {
        font-size: 20px;
        text-align: center;
        padding-bottom: 20px;
    }
}