* {
    box-sizing: border-box;
}

h2 {
    width: 100%;
    font-size: 50px !important;
    font-weight: 600 !important;
}

h3 {
    color: #222 !important;
    font-weight: 600 !important;
    background-color: #f5f5f5aa;
    border-radius: 6px;
    padding: 10px;
}

h5 {
    width: 480px;
}

.navbar {
    box-shadow: 0px 0px 5px #222;
    z-index: 1;
}

.logo:hover {
    opacity: 0.7;
}

.subtract-navbar {
    margin-top: -56.6px;
    padding-top: 106px !important;
}

.portfolio-block {
    background: #000;
    padding: 80px 60px 60px 60px;
    color: #fff;
    position: relative;
}

.full-height {
    height: 100vh;
}

.first {
    background-image: url('../../images/bg1.png');
    background-size: cover;
    background-position: 200px -20px;
    background-repeat: no-repeat;
}

.last {
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 43%, rgba(245, 245, 245, 1) 47%, rgba(153, 153, 153, 1) 69%, rgba(0, 0, 0, 1) 94%);
}

.footer {
    background: #0a0b0d;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #fff;
}

.footer-card {
    background-color: #333 !important;
}

.clients-container {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    padding-top: 50px;
}

.client, .top-clients {
    margin: 10px;
    background-color: #fff;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide1, .slide2, .slide3 {
    height: 400px;
    border-radius: 6px;
    padding: 25px;
    background-size: cover;
    background-position: 0 -100px;
    background-repeat: no-repeat;
}

.slide1 {
    background-image: url('../../images/portfolio-slide1.jpg');
}

.slide2 {
    background-image: url('../../images/portfolio-slide2.jpeg');
}

.slide3 {
    background-image: url('../../images/portfolio-slide3.jpeg');
}

#carouselExampleControls {
    margin-top: 30px;
}

.top-clients {
    padding: 130px 100px;
    min-width: 45%;
    height: 350px;
    transition: .6s;
}

.top-clients:hover {
    opacity: .7;
    cursor: pointer;
}

.top-clients img{
    width: 250px;
}

.client {
    width: 160px;
    min-height: 160px;
    padding: 20px;
}

.client img {
    width: 150px;
}

@media only screen and (max-width: 600px) {
    .portfolio-block {
        height: auto;
    }
    .first {
        background: #000;
    }
    h5 {
        width: 100%;
    }
    .slide1, .slide2, .slide3 {
        background-position: center;
    }
    .top-clients {
        min-width: 80%;
    }
}