﻿body {
    background-color: rgba(240, 240, 240, 0.5);
}

.main_site {
    width: 90%;
    margin: 2rem auto;
}

    .main_site .row {
        background-color: rgba(147, 223, 184, 0.3);
        box-shadow: 10px 13px 20px 5px #868974;
    }

.col-md-5 {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .col-md-5 img {
        width: 90%;
        height: 90%;
    }

.col-md-7 h2 {
    position: relative;
    color: #AA4203;
    text-align: center;
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

    .col-md-7 h2 label {
        position: absolute;
        bottom: -20px;
        right: 0;
        color: #431560;
        font-size: 28px;
        font-weight: 600;
        text-transform: uppercase;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    }

.col-md-7 .b_site {
    display: flex;
    flex-wrap: wrap;
}

    .col-md-7 .b_site .title {
        width: 115px;
        text-align: right;
        font-size: 25px;
        font-weight: 600;
        text-decoration: underline;
        font-family: 'Book Antiqua';
        margin-bottom: 18px;
    }

    .col-md-7 .b_site .content {
        width: calc(100% - 115px);
        font-size: 22px;
        font-weight: 300;
        font-family: 'Book Antiqua';
        padding-left: 8px;
        margin-bottom: 18px;
        word-break: break-word;
    }

.score_site {
    display: flex;
    flex-direction: row-reverse;
}

    .score_site .bx {
        font-size: 25px;
        cursor: pointer;
    }

        .score_site .bx:nth-child(1):hover {
            fill: currentColor;
            color: #FFD700;
        }

            .score_site .bx:nth-child(1):hover ~ .bx {
                color: #FFD700;
            }

        .score_site .bx:nth-child(2):hover {
            color: #FFD700;
        }

            .score_site .bx:nth-child(2):hover ~ .bx {
                color: #FFD700;
            }

        .score_site .bx:nth-child(3):hover {
            color: #FFD700;
        }

            .score_site .bx:nth-child(3):hover ~ .bx {
                color: #FFD700;
            }

        .score_site .bx:nth-child(4):hover {
            color: #FFD700;
        }

            .score_site .bx:nth-child(4):hover ~ .bx {
                color: #FFD700;
            }

        .score_site .bx:nth-child(5):hover {
            color: #FFD700;
        }

.p_site {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgb(250, 250, 250);
    width: 100%;
}

    .p_site .item {
        min-height: 365px;
        background-color: rgb(255, 255, 255);
        border: 2px solid;
        border-radius: 20px;
        flex: 0 0 auto;
        width: 30%;
        margin: 2% 1.5% 2% 1.5%;
    }

        .p_site .item:hover {
            transform: translateY(-10px);
            box-shadow: 0px 20px 20px 0px rgb(158, 165, 135);
        }

        .p_site .item img {
            width: 100%;
            height: 250px;
            border-radius: 20px 20px 0 0;
        }

        .p_site .item h5 {
            margin-top: 10px;
            text-align: center;
        }

        .p_site .item p {
            padding: 0 10px;
            margin-bottom: 10px;
        }

@media only screen and (max-width: 932px) {
    .col-md-7 .b_site .title {
        width: 130px;
    }

    .col-md-7 .b_site .content {
        width: calc(100% - 130px);
        padding-left: 12px;
    }
}

@media only screen and (max-width: 770px) {
    .p_site .item {
        width: 45%;
        margin: 2% 1.5% 2% 1.5%;
    }
}

@media only screen and (max-width: 645px) {
    .main_site {
        display: flex;
        justify-content: center;
    }

    .row {
        width: 95%;
    }

    .col-md-7 h2 {
        font-size: 40px;
        font-weight: 700;
    }

        .col-md-7 h2 label {
            font-size: 18px;
        }

    .col-md-7 .b_site .title {
        width: 100%;
        text-align: left;
        padding-left: 10px;
        font-size: 23px;
        font-weight: 700;
        margin-bottom: 0;
        word-wrap: break-word;
    }

    .col-md-7 .b_site .content {
        width: 100%;
        font-size: 20px;
        font-weight: 300;
        word-wrap: break-word;
    }

    .p_site .item {
        width: 90%;
        margin-top: 20px;
    }
}
