.d-network {
    background: url(../images/d-network-bg.jpg) no-repeat;
    background-size: cover;
}

.nd-image {
    position: relative;
    width: 100%;
}

.nd-image img {
    margin-bottom: -5px;
}

.nd-title {
    position: absolute;
    top: 45%; left: 180px;
    transform: translate(0, -50%);
    color: #fff;
    font-size: 28px;
    line-height: 1.5;
    text-shadow: 0 0 25px rgba(0, 0, 0, .3);
    z-index: 10;
}

.nd-title span {
    font-weight: 300;
}

.nd-title b {
    font-weight: 600;
}

.nd-wrapper {
    width: 70%;
    padding: 70px;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background-color: #fff;
    margin-top: -5rem;
    z-index: 20;
}

.nd-text h5 {
    color: #222;
    font-size: 22px;
    font-weight: 600;
}

.nd-text p {
    color: #888;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 10px;
}


/*==================================================*/
@media (max-width: 1250px) {
    .nd-title {
        left: 10%;
        font-size: 24px;
    }
}


@media (max-width: 1050px) {
    .nd-wrapper {
        width: 90%;
        padding: 50px;
    }
}


@media (max-width: 768px) {
    .nd-title {
        font-size: 22px;
    }
    
    .nd-wrapper {
        padding: 40px;
        margin-top: -2rem;
    }

    .nd-text h5 {
        font-size: 20px;
    }
    
    .nd-text p {
        font-size: 15px;
    }
}


@media (max-width: 550px) {
    .nd-title {
        top: 50%;
        font-size: 16px;
        text-shadow: 0 0 25px rgba(0, 0, 0, .5);
    }
    
    .nd-wrapper {
        padding: 35px 25px;
        margin-top: -1rem;
    }
    
    .nd-text h5 {
        font-size: 18px;
    }
    
    .nd-text p {
        font-size: 13px;
    }
}


@media (max-width: 450px) {
    .nd-title {
        font-size: 13px;
    }
}