#portfolio-container {
    background-color: #fff;
    margin-top: 2%;
    padding-top: 2%;  
}
#portfolio-heading {
    display: flex;
    background-color: #fff;
    margin: 0 10%;
}
#portfolio-heading span {
    font-size: 3em;
    font-weight: bold;
    padding-top: 1%;
}
#portfolio-heading img {
    width: 22%;
}
#portfolio-container p {
    font-size: 1.2em;
    margin: 0;
    line-height: 29px;
    padding: 20px 10%;
    text-align: justify;
}
.project-container, .education-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 5%;
    color: #fff;
}
.project-details, .project-img, .education-details, .education-img {
    width: 40%;
    height: 70%;
    max-width: 40%;
} 
.project-img img, .education-img img{
    width: 100%;
    height: 100%;
}
h5 {
    font-size: 2em;
    font-weight: bolder;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.project-details i {
    display: block;
}
.project-details p, .education-details p {
    font-size: 1.2em;
    font-weight: 100;
    line-height: 28px;
    text-align: justify;
}
.project-details button {
    border: 1px solid black;
    border-radius: 18px;
    padding: 13px 45px;

}
.project-details button a {
    text-decoration: none;
    color: #000;
    font-size: 1.2em;
    font-weight: bold;
}
.project-details button:hover {
    background-color: #004f99d2;
    cursor: pointer;
}
.rule {
    width: 80%;
    height: 2px;
    color: #000;
    margin:0 auto;
    margin-top: 50px;
}
footer {
    margin-top: 5%;
}
@media (max-width: 1199px) {
    #portfolio-heading {
        flex-wrap: wrap;
    }
    #portfolio-heading img {
        width: 100%;
    }
    .project-container, .education-container {
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
    }
    .project-details, .project-img, .education-details, .education-img {
        width: 100%;
        height: auto;
        max-width: 100%;
    } 
    .item-order-details {
        order: 1;
    }
    .item-order-img {
        order: 2;
    }
    .project-details button {
        margin: 0 25%;
    }
}
