@media screen and (min-width: 2200px) {
    .team {
        padding-left: 300px;
        padding-right: 300px;
        padding-bottom: 600px;
    }
}

@media screen and (min-width: 1600px) {
    .team {
        padding-bottom: 600px;
    }

    .team .section3 img, .team .section3 p {
        width: 600px;
    }
}

@media screen and (max-width: 1600px) {
    .team {
        height: auto;
        padding-left: 0px;
        padding-right: 0px;
    }

    .team .section1 h1 {
        margin-top: 100px;
        margin-left: 100px;
        font-size: 48px;
        line-height: 72px;
        width: 80%;
    }

    .team .section1-1 img, .team .section1-1 p {
        width: 432px;
        border-radius: 10px;
    }
    
    .team .section2 img, .team .section2 p {
        width: 432px;
    }
    
    .team .section3 img, .team .section3 p {
        width: 300px;
    }
    
    .team .section4 img, .team .section4 p {
        width: 432px;
    }
    
    .team .section5 img, .team .section5 p {
        width: 432px;
    }
}

@media screen and (max-width: 1200px) {
    .team {
        height: auto;
        padding-bottom: 200px;
    }

    .team .section1 {
        display: grid;
        color: white;
        grid-template-columns: 1fr;
    }

    .team .section1 h1 {
        margin-top: 100px;
        margin-left: 100px;
        font-size: 48px;
        line-height: 72px;
    }

    .team .section1-1 {
        margin: 100px;
    }
    
    .pstyling {
        margin-top: 30px;
        color: #ffffff9a;
    }
    
    .team .section1-1 img, .team .section1-1 p {
        width: 632px;
        border-radius: 10px;
    }
    
    .team .section2 {
        float: right;
        margin-top: 100px;
        margin-left: 180px;
        margin-right: 100px;
    }
    
    .team .section3 {
        float: unset;
        margin-top: 600px;
        margin-right: 150px;
        margin-left: 200px;
    }
    
    .team .section4 {
        float: right;
        margin-top: 100px;
        margin-left: 130px;
        margin-right: 100px;
    }
    
    .team .section5 {
        float: unset;
        margin-top: 600px;
        margin-right: 150px;
        margin-left: 180px;
    }

    .team .section1-1 img, .team .section1-1 p {
        width: 432px;
        border-radius: 10px;
    }
    
    .team .section2 img, .team .section2 p {
        width: 432px;
    }
    
    .team .section3 img, .team .section3 p {
        width: 300px;
    }
    
    .team .section4 img, .team .section4 p {
        width: 432px;
    }
    
    .team .section5 img, .team .section5 p {
        width: 432px;
    }
}

@media screen and (max-width: 700px) {
    .team {
        background-image: url("../images/about-us-page/about-us-background.webp");
        height: auto;
        background-size: cover;
        padding-bottom: 100px;
    }
    
    .team .section1 {
        display: grid;
        grid-template-columns: 1fr;
        margin: 0;
    }
    
    .team .section1 h1 {
        margin: 0;
        margin-top: 50px;
        margin-left: 20px;
        font-size: 28px;
        line-height: 35px;
        color: white;
    }
    
    .team .section1-1 {
        float: unset;
        margin: 0;
        margin: 30px;
        margin-top: 50px;
        margin-bottom: 0px;
    }
    
    .pstyling {
        margin-top: 30px;
        color: #ffffff9a;
    }
    
    .team .section2 {
        float: unset;
        margin: 0;
        margin: 30px;
        margin-top: 50px;
    }
    
    .team .section3 {
        float: unset;
        margin: 0;
        margin: 30px;
        margin-top: 50px;
    }
    
    .team .section4 {
        float: unset;
        margin: 0;
        margin: 30px;
        margin-top: 50px;
    }
    
    .team .section5 {
        float: unset;
        margin: 0;
        margin: 30px;
        margin-top: 50px;
    }

    .team .section1-1 img, .team .section1-1 p {
        width: 100%;
    }
    
    .team .section2 img, .team .section2 p {
        width: 100%;
    }
    
    .team .section3 img, .team .section3 p {
        width: 100%;
    }
    
    .team .section4 img, .team .section4 p {
        width: 100%;
    }
    
    .team .section5 img, .team .section5 p {
        width: 100%;
    }
}