@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

main {
    width: 100%;
    height: max-content;
    padding: 30px;
}

main h2 {
    font-size: 2.5em;
    padding: 25px;
    color: #018dd3;
    font-weight: 500;
    text-align: center;
}

.desc {
    width: 100%;
    height: max-content;
    margin: auto auto;
    display: flex;
    flex-wrap: wrap-reverse;
}

.decsP {
    width: 50%;
    height: max-content;
}

.decsP p {
    font-size: 1.5em;
    padding: 20px;
    letter-spacing: 1px;
    font-family: 'Open Sans', sans-serif;
    /* font-weight: 500; */
    line-height: 1.5em;
    text-align: justify;
}

.descImg {
    width: 50%;
    height: auto;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
    background: url(../Images/communication.jpg) no-repeat center;

}

.boxs {
    width: 80%;
    height: 40vh;
    margin: 40px auto;
    display: flex;

    justify-content: space-around;
}

.mission {
    width: 45%;
    height: max-content;
    margin: 10px;
    border: none;
    padding: 20px 40px;
    transition: 0.5s;
}

.mission:hover {
    transform: translateY(-5%);
    cursor: pointer;
    box-shadow: 0px 10px 30px rgb(0 33 71 / 35%);
}

.missionS {
    width: 80%;
    text-align: center;
    margin: auto auto;
    font-size: 2.5em;
    font-weight: 600;
    border-bottom: 1px solid #000;
}

.missionS img {
    width: 15%;
    height: 10%;
    margin-right: 10px;
}

.missionP {
    width: 100%;
    text-align: center;
    font-size: 1.9em;
    padding: 12px 10px;
    font-family: 'Pacifico', cursive;
}

@media screen and (min-width: 768px) and (max-width: 900px) {
    .decsP {
        width: 100%;
    }

    nav .navbar .nav-links {
        top: 4vh;
    }

    .decsP p {
        padding: 0;
    }

    .boxs {
        height: max-content;
        flex-wrap: wrap;
    }

    .mission {
        width: 100%;
        margin: 20px 0;
        box-shadow: 0px 10px 30px rgb(0 33 71 / 20%);
    }

    main h2 {
        padding: 0;
    }

    .descImg {
        width: 75%;
        height: 40vh;
        margin: auto auto;
        clip-path: polygon(0 0, 100% 0%, 100% 50%, 50% 100%, 0% 50%);

    }

}

@media screen and (max-width: 767px) {
    main h2 {
        padding: 0;
    }

    .descImg {
        width: 100%;
        height: 40vh;
        margin: 0;
        clip-path: polygon(0 0, 100% 0%, 100% 50%, 50% 100%, 0% 50%);

    }

    .decsP {
        width: 100%;
        padding: 20px;
    }

    .decsP p {
        padding: 0;
    }

    .boxs {
        height: max-content;
        flex-wrap: wrap;
    }

    .mission {
        width: 100%;
        margin: 20px 0;
        box-shadow: 0px 10px 30px rgb(0 33 71 / 20%);
    }

    .missionS img {
        width: 30%;
    }
}