﻿.rest-item-options {
    position: relative;
}

    .rest-item-options > img:first-child {
        display: none;
    }

.rest-item-vector {
    width: 100%;
    display: block;
}

.rest-item-title {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    right: 5%;
}

    .rest-item-title > h1 {
        font-size: 13px;
        color: #00485b;
        text-align: center;
    }

.rest-item-main {
    max-width: 1200px;
    margin: auto;
}

.rest-item-header {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .rest-item-header > span {
        width: 30px;
        height: 2px;
        display: block;
    }

        .rest-item-header > span:first-child {
            background-image: linear-gradient(to right, #e10a10, white);
        }

        .rest-item-header > span:last-child {
            background-image: linear-gradient(to left, #e10a10, white);
        }

    .rest-item-header > h1 {
        font-size: 14px;
        margin: auto 5px;
        text-align:center
    }

.rest-item-box {
    margin: 30px auto;
}

.rest-item-item {
    margin: 40px auto;
    width: 90%;
}

.rest-item-topic {
    font-size: 13px;
    margin: 10px 0;
    border-right: 2px solid #e10a10;
    padding-right: 5px;
}

.rest-item-description {
    text-align: justify;
    line-height: 25px;
    font-size: 12px;
}

.rest-item-screenshot {
    width: 100%;
    margin: 20px auto;
}

    .rest-item-screenshot > a {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .rest-item-screenshot > a > img {
            width: 80%;
            cursor: pointer
        }

/* ********************************* */

@media screen and (min-width: 375px) {
    .rest-item-title > h1 {
        font-size: 14px;
    }
}

@media screen and (min-width: 480px) {
    .rest-item-title > h1 {
        font-size: 16px;
    }

    .rest-item-header > span {
        width: 40px;
    }

    .rest-item-header > h1 {
        font-size: 13px;
    }
}

@media screen and (min-width: 600px) {
    .rest-item-title > h1 {
        font-size: 18px;
    }

    .rest-item-header > h1 {
        font-size: 15px;
    }
}

@media screen and (min-width: 768px) {
    .rest-item-title > h1 {
        width: 80%;
        font-size: 22px;
    }

    .rest-item-header > span {
        width: 50px;
        height: 3px;
    }

    .rest-item-header > h1 {
        font-size: 16px;
        margin: auto 10px;
    }

    .rest-item-item {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

        .rest-item-item:nth-child(even) {
            direction: ltr;
        }

    .rest-item-text {
        width: 40%;
    }

    .rest-item-topic {
        font-size: 14px;
        border-right: 3px solid #e10a10;
        padding-right: 10px;
    }

    .rest-item-description {
        line-height: 30px;
        font-size: 13px;
    }

    .rest-item-screenshot {
        width: 40%;
        margin: 0;
    }

        .rest-item-screenshot > a > img {
            width: 85%;
        }
}

@media screen and (min-width: 992px) {
    .rest-item-options > img:first-child {
        display: block;
    }

    .rest-item-options > img:nth-child(2) {
        display: none;
    }

    .rest-item-title > h1 {
        font-size: 26px;
    }

    .rest-item-header > h1 {
        font-size: 17px;
    }
}

@media screen and (min-width: 1200px) {
    .rest-item-title > h1 {
        font-size: 30px;
    }

    .rest-item-header > span {
        width: 60px;
    }

    .rest-item-header > h1 {
        font-size: 20px;
    }

    .rest-item-item {
        width: 100%;
    }

    .rest-item-screenshot > a > img {
        width: 60%;
    }
}
