.project {
    display: flex;
    margin: 40px 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 100px;
}

.project>div {
    flex-grow: 1;
    flex-basis: 0;
}

.project .text {
    padding: 30px 45px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project h4 {
    margin: 0;
}

.project p {
    flex-grow: 1;
}

.project .dash {
    display: inline-block;
    height: 0;
    width: 20px;
    border-top: 1px solid;
    vertical-align: middle;
    margin: 0 10px;
}

.project a {
    padding-bottom: 5px;
    border-bottom: 2px solid;
    font-weight: bold;
    transition: color .3s;
}

.project a:hover {
    color: var(--color-secondary);
}

.project a>i {
    margin-left: 5px;
}

.project .image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 850px) {
    .project {
        flex-direction: column;
    }
    .project:nth-child(even) {
        flex-direction: column-reverse;
    }
}

.text h1 {
    font-size: 45px;
}
.text p {
    font-size: 20px;
}

#news_section h1 {
    font-size: 40px;
}

@media only screen and (max-width:600px) {
    .text h1 {
        font-size: 30px;
        line-height: 40px;
    }

    #news_section h1 {
        font-size: 30px;
    }
}