#detail{
    width: 100%;
    padding: 100px 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: radial-gradient(circle, rgba(0,0,0,0.7) 0%, rgba(0,0,0,1) 100%), url("../images/main/hexagon.jpg");
    background-size: contain;
}
.detail-container{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-top: 40px;
    margin-right: 20px;
    margin-left: 20px;
}
.detail-container:hover{
    -webkit-box-shadow: 0px 0px 70px 0px rgba(186, 50, 57, 0.75);
    -moz-box-shadow:    0px 0px 70px 0px rgba(186, 50, 57, 0.75);
    box-shadow:         0px 0px 70px 0px rgba(186, 50, 57, 0.75);
}
.detail-img{
    width: 200px;
    height: 240px;
    background-size: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

    -webkit-box-shadow: 0px 0px 30px 0px rgba(186, 50, 57, 0.75);
    -moz-box-shadow:    0px 0px 30px 0px rgba(186, 50, 57, 0.75);
    box-shadow:         0px 0px 30px 0px rgba(186, 50, 57, 0.75);
}
#di-1{
    background: url('../images/main/price-list.jpg') center center;
    background-size: cover;
}
#di-2{
    background: url('../images/main/auto-detailing.jpg') center center;
    background-size: cover;
}
#di-3{
    background: url('../images/ozonturbo/turbo.jpg') left center;
    background-size: cover;
}
#di-4{
    background: url('../images/main/cert_min.png') left center;
    background-size: cover;
}
#di-5{
    background: url('../images/main/offer.jpg') center center;
    background-size: cover;
}
#di-6{
    background: url('../images/lit/2.jpg') center center;
    background-size: cover;
}
.detail-content{
    font-family: 'Montserrat', sans-serif;
    color: white;
    width: calc(240px - 20px);
    height: calc(240px - 20px);
    background: #E31E24;
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    padding: 10px;


    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    -webkit-box-shadow: 0px 0px 30px 0px rgba(186, 50, 57, 0.75);
    -moz-box-shadow:    0px 0px 30px 0px rgba(186, 50, 57, 0.75);
    box-shadow:         0px 0px 30px 0px rgba(186, 50, 57, 0.75);
}
.detail-content-title{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    color: white;
}
.detail-content-premium{
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}
.detail-content-detailing{
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 4px;
}
.detail-content-text{
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.detail-content-more{
    background: #111;
    margin-top: 0;
    font-size: 14px;
    width: 120px;
    height: 40px;
}
.detail-content-more:hover{
    background: #311;
}
/*@media(max-width: 1200px){*/
/*    .detail-content{*/
/*        width: calc(40vw - 20px);*/
/*    }*/
/*    .detail-img{*/
/*        width: 40vw;*/
/*    }*/
/*}*/
@media(max-width: 520px){
    .detail-container{
        flex-direction: column;
    }
    .detail-img{
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0;
    }
    .detail-content{
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border-top-right-radius: 0;
    }
    .detail-content{
        width: 300px;
        height: 180px;
    }
    .detail-img{
        width: 320px;
        height: 180px;
    }
}
/*@media(max-width: 600px){*/
/*    .detail-content-premium{*/
/*        font-size: 20px;*/
/*    }*/
/*    .detail-content-detailing{*/
/*        font-size: 30px;*/
/*        letter-spacing: 3px;*/
/*    }*/
/*    .detail-content-text{*/
/*        font-size: 15px;*/
/*        text-align: center;*/
/*    }*/
/*}*/
/*@media(max-width: 400px){*/
/*    .detail-img{*/
/*        height: 200px;*/
/*    }*/
/*}*/
