.case {
    text-align: left;
    display: inline-block;
    margin: 10px auto;
    padding: 20px;
}
.case h2 {
    font-size: 24px;
    line-height: 140%;
    letter-spacing: 0.0166px;
    color: #4F4F4F;
}
.case p, .case a {
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.0166px;
}
.top{
    display: flex;
    align-items: center;
    justify-content: center;
}

.case p {
    color: #828282;
}
.bottom-cases-flex h2 {
    margin-top: 7px;
}
.case .read-more {
    color: #2F80ED;
}

.case .preview-img {
    display: block;
    height: 300px;
    width: 100%;
    border-radius: 4px;
    background-size: cover;
}
.case .preview-text {
    display: block;
    height: 40%;
    width: 100%;
}

.case .preview-text h2:hover {
    text-decoration: underline;
}

.case.case-2 .preview-img {
    background: url("../png/musement_case.png");
}
.case.case-1 .preview-img {
    background: url("../png/tecinstore_case.png");
    border: 1px solid #CCCCCC;
}
.case.case-3 .preview-img {
	background: url("../jpg/final-logo.jpg");
	background-size: 35%;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #CCCCCC;
	padding: 10px;
}
.case.case-4 .preview-img {
	background: url("../fetchh.html");
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #CCCCCC;
	padding: 10px;
}
.case.case-5 .preview-img {
	background: url("../png/iva-case.png");
	/*background-size: 100%;*/ 
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #CCCCCC;
	padding: 10px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .case {
        margin: 40px auto;
    }
    #footer {
        margin-top: 44px;
    }
}

@media (min-width: 992px) {
    .case.case-4 .preview-img, .case.case-3 .preview-img,
    .case.case-2 .preview-img, .case.case-1 .preview-img {
        background-position: center;
    }
}

@media (max-width: 991px) {
    #middle {
        margin-top: 30px;
    }
    .case {
        padding: 0 15px;
    }
    .case.case-5 .preview-img,
    .case.case-4 .preview-img, .case.case-3 .preview-img,
    .case.case-2 .preview-img, .case.case-1 .preview-img {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 515px) {
    .subscribe-block .inner input {
        width: 44%;
    }
    .subscribe-block .inner .close-btn {
        margin-left: 10%;
    }
    .case {
        height: auto;
    }
    .case .preview-img {
        /*display: none;*/
    }
    .case .preview-text {
        height: 100%;
    }
    .top h1{
        margin: 60px auto 20px;
        text-align: center;
        font-size: 36px;
    }
}
/*ailira*/
.ailira-top{
    background: url(../png/ailirabg.png) no-repeat;
    background-size: cover;
}
.content p{
    color: rgba(0, 0, 0, 0.5);
}
.blue-line{
        width: 166px;
    margin: 0 auto;
    height: 4px;
    border-radius: 4px;
    background: #2E61A6;
}
.customer-photo {
    height: 100px;
    width: 100px;
    border-radius: 100px;
    margin: 30px auto;
}
.customer-photo img{
      border-radius: 100px;
}
.words {
    font-size: 18px;
    text-align: center;
    color: #333333;
    padding: 100px 200px 50px;
}
.customer-name {
    font-size: 18px;
    text-align: center;
    color: #333333;
}
@media screen and (max-width:768px){
    .words {
        padding: 20px 0;
    }
    .bottom-cases-flex{
        flex-direction: column;
    }
    .bottom-cases-flex a{
        margin-top: 20px;
        width: auto;
        max-width: 234px;
    }
}
/*iva*/
.iva-top{
       background: url(../png/canada-bg.png) no-repeat;
    background-size: cover;
}
.bottom-cases-flex h2{
    padding: 0;
    margin: 0;
    font-size: 48px;
letter-spacing: 0.0166em;
color: rgba(0, 0, 0, 0.8);
}
.bottom-cases-flex{
    margin: 30px 0;
    display: flex;
    justify-content: space-between;
}
.down-head-text{
    width: 60%;
    margin: 0 auto;
}
.down-head-text a{
    margin-top: 20px;
}
/*fetchh*/
.fetchh-top{
    background: url(../png/fetchcase-bg.png) no-repeat;
    background-size: cover;
}
.fetch-ul{
    list-style:none;
    padding: 0;
    margin-bottom: 30px;
}
.fetch-ul li{
  color:rgba(0, 0, 0, 0.5);
    font-weight: 300;
}
