﻿.res-whome-box {
    width: 90%;
    margin: auto;
    /* border-bottom: 1px solid lightgray; */
}

.res-whome-title {
    display: flex;
    justify-content: center;
    margin: 40px auto 20px auto;
    align-items: center;
}

    .res-whome-title > span:last-child {
        display: block;
        width: 25px;
        height: 2px;
        background-image: linear-gradient(to right, white, #e10a10);
    }

    .res-whome-title > h1 {
        font-size: 13px;
        margin: auto 10px;
    }

    .res-whome-title > span:first-child {
        display: block;
        width: 25px;
        height: 2px;
        background-image: linear-gradient(to left, white, #e10a10);
    }

.res-whome-text {
    text-align: justify;
    font-size: 12px;
    line-height: 25px;
}

.res-whome-btn {
    display: block;
    text-align: center;
    margin: 50px auto;
    width: 200px;
    padding: 5px;
    background-color: #e10a10;
    color: white;
    border-radius: 25px;
    font-size: 14px;
}

.res-whome-btn:hover {
    opacity: 0.6
}

/* media query *********************************************** */

@media screen and (min-width: 375px) {
    .res-whome-text {
        font-size: 12px;
        line-height: 25px;
    }
}

@media screen and (min-width: 480px) {
    .res-whome-title > span:last-child {
        width: 35px;
        height: 2.5px;
    }

    .res-whome-title > h1 {
        font-size: 16px;
    }

    .res-whome-title > span:first-child {
        width: 35px;
        height: 2.5px;
    }

    .res-whome-text {
        font-size: 13px;
    }
}

@media screen and (min-width: 600px) {
    .res-whome-title {
        margin: 50px auto 20px auto;
    }

        .res-whome-title > span:last-child {
            width: 45px;
            height: 3px;
        }

        .res-whome-title > h1 {
            font-size: 16px;
            margin: 15px;
        }

        .res-whome-title > span:first-child {
            width: 45px;
            height: 3px;
        }

    .res-whome-text {
        font-size: 14px;
        line-height: 30px;
    }
}

@media screen and (min-width: 768px) {
    .res-whome-box {
        width: 80%;
        margin: 80px auto 50px auto;
    }

    .res-whome-title > span:last-child {
        width: 50px;
        height: 4px;
    }

    .res-whome-title > h1 {
        font-size: 17px;
    }

    .res-whome-title > span:first-child {
        width: 50px;
        height: 4px;
    }

    .res-whome-text {
        font-size: 15px;
    }

    .res-whome-btn {
        width: 300px;
        padding: 10px;
        margin-top: 30px;
        font-size: 15px;
    }

        .res-whome-btn:hover {
            opacity: 0.6;
        }
}

@media screen and (min-width: 992px) {
    .res-whome-title > span:last-child {
        width: 60px;
        height: 5px;
    }

    .res-whome-title > h1 {
        font-size: 18px;
    }

    .res-whome-title > span:first-child {
        width: 60px;
        height: 5px;
    }

    .res-whome-text {
        font-size: 16px;
    }

    .res-whome-btn {
        font-size: 16px;
    }
}

@media screen and (min-width: 1200px) {
    .res-whome-title > span:last-child {
        width: 70px;
        height: 6px;
    }

    .res-whome-title > h1 {
        font-size: 20px;
    }

    .res-whome-title > span:first-child {
        width: 70px;
        height: 6px;
    }

    .res-whome-text {
        font-size: 17px;
    }

    .res-whome-btn {
        font-size: 17px;
    }
}
