@media only screen and (max-width: 965px) {
    .body{
        padding-bottom: 0px;
    }
    .page_title{
        font-size: 25px;
        height: 100px;
    }
    .other_portfolio p {
        margin-top: 6px;
    }
    .portfolio{
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        padding: 40px;
        min-height: 80vh;
    }
    .photo4{
        margin-left: 50px;
    }
    .menu_option{
        margin: 0 25px;
    }
    .photo3, .photo4{
        box-shadow: 10px 10px 15px #f4f4f4;
        margin-bottom: 50px;

        width: 330px;
    }
    .line1{
        display: grid;
        grid-row-end: 30px;
        grid-gap: 30px;
    
    }

}

@media only screen and (max-width: 790px) {
    .navbar{
        display: flex;
        background-color: white;
        /* border: green 2px solid; */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }    
    .nav-branding {
        font-size: 1.5rem;
        background-color: white;
        opacity: 0.7;
    }
    .page_title{
        display: none;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0px;
        flex-direction: column;
        background-color: white;
        opacity: 0.7;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item{
        margin: 16px 0;
    }   

    .nav-menu.active{
        left: 0;
    }

    /* .menu_option{
        margin: 0 20px;
    }
    .page_title{
        font-size: 20px;
        height: 100px;
    } */

    .line1{
        display: grid;
        grid-row-gap: 20px;
        grid-gap: 20px;
    
    }
    .other_portfolio p { 
        margin-top: 2px;
        font-size: 18px;
        opacity: 80%;
    }
    .portfolio{
        margin-top: 20px;
        padding: 20px;
    }


}

@media only screen and (max-width: 680px) {
    .page_title{
        font-size: 20px;
        height: 130px;
    }

    .other_portfolio p { 
        margin-top: 2px;
        font-size: 18px;
        opacity: 80%;
    }

    .menu_option{
        margin: 0 15px;
    }

    .line1{
        display: block;
        margin: 10px auto;
    }

    .line1{
        display: grid;
        grid-row-gap: 10px;
        grid-gap: 10px;
    
    }
    .portfolio{
        margin-top: 30px;
        padding: 40px;
    }

    .photo3, .photo4{
        box-shadow: 5px 5px 7px #f4f4f4;
        margin-bottom: 30px;

        width: 400px;
        margin: 30px auto;

        display: flex;
        justify-content: center;
    }

    .menu_op1, .menu_op2, .menu_op3{
        margin-right: 25px;
        color: #525252;
        opacity: 80%;
    }
    .line1{
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 20px;
    }

}
@media only screen and (max-width: 535px) {
    .other_portfolio p { 
        margin-top: 2px;
        font-size: 18px;
        opacity: 80%;
    }

    .menu_option{
        margin: 0 10px;
    }
    .menu_op1, .menu_op2, .menu_op3{
        margin-right: 15px;
        color: #525252;
        opacity: 80%;
    }

}
@media only screen and (max-width: 490px) {
    .page_title{
        font-size: 18px;
    }
    .portfolio{
        margin-top: 100px;
    }
    .other_portfolio{
        display: block;
        justify-content: space-evenly;
    }

    .other_portfolio p { 
        margin-top: 3px;
        font-size: 16px;
        opacity: 80%; 
    }

    .menu_option{
        margin: 0px;
        padding: 0px;
        height: 27px;
        display: block;
    }
    
    .menu_op1, .menu_op2, .menu_op3{
        margin-right: 10px;
        color: #525252;
        opacity: 80%;
    }
    
}
