.intro {
    height: 500px;
    background-image: url(../img/earthquake.jpg);
    background-size: 100%;
}

.about, .ourServices {
    margin-top: 50px !important;
}

.vision {
    margin-top: 25px !important;
}

.vision, .about {
    max-width: 600px;
    margin: auto;
}

.projects {
    display: flex;
    justify-content: center;

    a {
        width: fit-content;
        display: flex;
        align-items: center;
        border: 1px solid var(--color-secondary);
        transition: all 0.3s ;

        &:hover {
            color: black !important;
            background-color: white !important;
            i {
                color: black;
            }
        }
    }
}

.review_slide {
    max-width: 800px;
    margin: 75px auto 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    transform-style: preserve-3d;

    input[type=radio] {
        display: none;
    }

    .slideCtl {
        position: absolute;
        z-index: 2;
        font-size: 28px;
        padding: 9px 14px;
        border-radius: 50%;
        background-color: var(--light-grey);
    }

    .left {
        left: 2px;
    }

    .right {
        right: 2px;
    }
}

.slide {
    position: relative;
    width: 100%;
    margin: auto;
    margin-bottom: 300px;
}

#slide1:checked~.slide #review3,
#slide2:checked~.slide #review1,
#slide3:checked~.slide #review2 {
    transform: translatex(-70%) scale(.85);
    opacity: .5;
    z-index: 0;
}

#slide1:checked~.slide #review2,
#slide2:checked~.slide #review3,
#slide3:checked~.slide #review1 {
    transform: translatex(70%) scale(.88);
    opacity: .5;
    z-index: 0;
}

#slide1:checked~.slide #review1,
#slide2:checked~.slide #review2,
#slide3:checked~.slide #review3 {
    transform: translatex(0) scale(1);
    opacity: 1;
    z-index: 1;
}

.review_slide .review {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 325px;
    height: 300px;
    padding: 20px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform .4s ease;
    cursor: pointer;
    background-color: rgb(240, 239, 239);
    border: 1px solid var(--main-grey);

    .stars i {
        margin: 0 5px;
        color: #f5eb01;
    }

    .author i {
        margin-right: 10px;
    }
}

@media only screen and (max-width:800px) {

    .intro {
        background-size: cover;
    }

}

@media only screen and (max-width: 550px) {
    .intro {
        width: 100%;
        height: 300px;
        background-size: 700px;
    }
}
