.mainShowProject{
    display: flex;
    justify-content: center;
    align-items: center;
}

.projectsCenterDiv{
    width: 80%;
    margin: 2em 0;
    padding: 2em;
    border-radius: 40px;
    background-color: var(--darkGray);
}

.topTitleAndType{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.divProjectType{
    display: flex;
    margin-top: 1em;
    text-align: center;
}

.projectType{
    background-color: var(--yellow);
    color: black;
    font-size: 16pt;
    font-weight: 500;
    padding: 0.5em;
    border-radius: 20px;
}

.projectTitle{
    font-size: 24pt;
    font-weight: 600;
    margin: 0;
}

.divProjectImage{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em 0;
}

.divProjectImage img{
    width: 80%;
    border-radius: 20px;
}

.divProjectDescription img{
    max-width: 100%;
    border-radius: 20px;
    justify-self: center;
    margin-bottom: 2%;
}

@media (max-width: 425px){
    .projectsCenterDiv{
        width: 90%;
    }
}

@media (max-width: 780px){
    .topTitleAndType{
        flex-direction: column;
        align-items: flex-start;
    }

    .projectsCenterDiv{
        padding: 1em;
    }

    .projectTitle{
        font-size: 20pt;
    }

    .projectType{
        font-size: 14pt;
    }

    .divProjectDescription{
        /* break the text if needed */
        word-break: break-word;
    }
}