.whatwedo {
    margin: auto;
    width: 60%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.headerwwd {
    color: black;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 48px;
    margin-top: 72px;
    margin-bottom: 72px;
    margin-left: 25px;
    margin-right: 25px;
}

.boxwwd1 {
    background-image: url(/img/compressed/2.jpg);
    margin: 15px;
    transition: 0.3s;
}

.boxwwd2 {
    background-image: url(/img/compressed/3.jpg);
    margin: 15px;
    transition: 0.3s;
}

.boxwwd3 {
    background-image: url(/img/compressed/4.jpg);
    margin: 15px;
    margin-bottom: 100px;
    transition: 0.3s;
}

.boxwwd4 {

    background-image: url(/img/compressed/1.jpg);
    margin: 15px;
    transition: 0.3s;
}
.boxwwd5 {

    background-image: url(/img/compressed/5.jpg);
    margin: 15px;
    margin-bottom: 50px;
    transition: 0.3s;
}

.boxwwd1:hover {
    opacity: 0.93;
    
}

.boxwwd2:hover {
    opacity: 0.93;
}

.boxwwd3:hover {
    opacity: 0.93;
}

.boxwwd4:hover {
    opacity: 0.93;
}
.boxwwd5:hover {
    opacity: 0.93;
}

.boxwwd1,
.boxwwd2,
.boxwwd3,
.boxwwd5{
    width: 500px;
    height: 417px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    border-radius: 10px;
}

.boxwwd4{
     width: 1030px;
    height: 417px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    border-radius: 10px;
}

.text1wwd {
    color: white;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin: 0px;
}

.text2wwd {
    color: #DADADA;
    font-size: 16px;
    font-weight: 400;
    width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

@media only screen and (max-width: 1400px) {
    .headerwwd {
        font-size: 38.4px;
        width: 100%;
        margin: 0;
        margin-top: 50px;
        margin-left: 50px;
        margin-right: 50px;
    }
    .boxwwd3{
        margin: 15px;
    }

    .boxwwd1,
    .boxwwd2,
    .boxwwd3,
    .boxwwd5{
        width: 400px;
    height: 333.6px;
    }
    
    .boxwwd4 {
        margin-top: 50px;
        width: 824px;
        height: 333.6px;
    }
    .text1wwd {
        font-size: 28.8px;
    }
    .text2wwd {
        font-size: 12.8px;
        width: 336px;
    }
}

@media only screen and (max-width: 1800px) {
    .whatwedo{
        width: 80%;
    }

@media only screen and (max-width: 1075px) {
    .boxwwd4{
        width: 400px;
    height: 333.6px;
        background-image: url(/img/compressed/1.2.jpg);
    }
}

@media only screen and (max-width: 1059px) {
    .boxwwd2 {
        margin-top: 15px;
    }
}

@media only screen and (max-width: 750px) {
    .whatwedo {
        width: 100%;
    }

    .boxwwd1,
    .boxwwd2,
    .boxwwd3,
    .boxwwd4 {
        border-radius: 10px;
    }
}

@media only screen and (max-width: 650px) {
    .headerwwd {
        font-size: 36px;
    }
}

@media only screen and (max-width: 550px) {
    .text1wwd {
        font-size: 23.33px;
    }

    .text2wwd {
        font-size: 14px;
        margin: 5px 20px 20px 20px;
        width: auto;
    }

    .boxwwd1,
    .boxwwd2,
    .boxwwd3,
    .boxwwd4,
    .boxwwd5{
        width: 90vw;
        height: 85vw;
        margin-left: 0;
        margin-right: 0;
        background-position: center;
    }
}
}
