@font-face {
    font-family: Poppins2 ;
    src: url(./font/poppins.semibold.ttf);
}

@font-face {
    font-family: Poppins1 ;
    src: url(./font/poppins.extralight.ttf);
}

@font-face {
    font-family: roboto;
    src: url(./font/roboto-400.ttf);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "poppins";
}
html, body{
    height: 100%;
    width: 100%;
}

#projects{
    width: 100%;
    height: auto;
    z-index: -100;
    background-color: #F9F9F9;
}

#project-content{
    display: flex;
    padding: 10rem 0 10rem 0;
    height: auto;
}

#project-main{
    width: 100%;
    height: auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

#project-text{
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

#project-text > p{
font-size: 1.1rem;
font-family: poppins2;
font-size: 900;
text-transform: uppercase;
color: #147EFB;
}

#project-text > h3{
    font-size: 1.5rem;
    font-weight: 800;
}

#project-grid{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    height: auto;
}

#prop1{
    width: 100%;
    height: 27rem;
    background-color: #ffff;
    border-radius: 15px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

#prop1:nth-child(even) {
    flex-direction: row-reverse;
}

#prop-left{
    width: 58%;
    height: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#prop-img{
width: 100%;
height: auto;
background-color: rgb(59, 60, 61);
transition: transform 10s ease-in-out;
position: relative;
}

#prop-img > img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

#prop-img:hover {
transform: translateY(calc(-90%));
}


#prop-right{
    width: 40%;
    height: 90%;
    /* background-color: aqua; */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#prop-right > h3{
    font-family: Poppins2;
    font-size: 1rem;
    text-align: center;
}
#prop-right >h3 >  span{
    font-family: Poppins2;
    font-size: .8rem;
    color: #2D2E32;
    padding: 0 .1rem;
}

#prop-right > p{
    text-align: center;
    font-weight: 400;
    font-family: poppins2;
    color: #2d2e32d0;
}

#prop-right > #btn{
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 1rem;
} 
#btn > p{
    width: 80px;
    padding: .4rem .3rem;
    background-color: #ffff;
    text-align: center;
    font-weight: 600;
    font-family: poppins2;
    font-size: 13px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

#prop-right > #botm{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    font-family: poppins1;
    font-size: 1.3rem;
    font-weight: 600;
}

@media screen and (max-width: 1130px) {

    #prop1:nth-child(even) {
        flex-direction: column;
    }
  
    #prop1{
        width: 80%;
        height: 45rem;
        background-color: #ffff;
        border-radius: 15px;
        padding: 0 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        padding-top: 2rem;
    }
     
    #prop-left{
        width: 88%;
        height: 90%;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    #project-grid{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4rem;
        height: auto;
    }
    
    #prop-right{
        width: 80%;
        height: 90%;
        /* background-color: aqua; */
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    
    #prop-right > h3{
        font-family: Poppins2;
        font-size: 1.4rem;
        text-align: center;
    }
    #prop-right >h3 >  span{
        font-family: Poppins2;
        font-size: 1rem;
        color: #2D2E32;
        padding: 0 .1rem;
    }
    
    #prop-right > p{
        text-align: center;
        font-weight: 400;
        font-family: poppins2;
        font-size: 1.2rem;
        color: #2d2e32d0;
    }
    
    #prop-right > #btn{
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 2rem;
    } 
    #btn > p{
        width: 80px;
        padding: .4rem .3rem;
        background-color: #ffff;
        font-size: 1.4rem;
        text-align: center;
        font-weight: 600;
        font-family: poppins2;
        font-size: 13px;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
    
    #prop-right > #botm{
        display: flex;
        width: 100%;
        /* background-color: #147EFB; */
        justify-content: space-evenly;
        font-family: poppins1;
        font-size: 1.4rem;
        font-weight: 600;
    }
    }

    @media screen and (max-width: 900px) {
        #project-content{
            display: flex;
            padding: 8rem 0 8rem 0;
            height: auto;
        }

        #prop1:nth-child(even) {
            flex-direction: column;
        }
      
        #prop1{
            width: 45rem;
            height: 45rem;
            background-color: #ffff;
            border-radius: 15px;
            padding: 0 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 1rem;
            align-items: center;
            box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
            padding-top: 2rem;
        }
         
        #prop-left{
            width: 88%;
            height: 90%;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        }
    
        #project-grid{
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4rem;
            height: auto;
        }
        
        #prop-right{
            width: 80%;
            height: 90%;
            /* background-color: aqua; */
            padding: 1rem;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
            gap: .3rem;
        }
        
        #prop-right > h3{
            font-family: Poppins2;
            font-size: 1.4rem;
            text-align: center;
        }
        #prop-right >h3 >  span{
            font-family: Poppins2;
            font-size: 1rem;
            color: #2D2E32;
            padding: 0 .1rem;
        }
        
        #prop-right > p{
            text-align: center;
            font-weight: 400;
            font-family: poppins2;
            font-size: 1.2rem;
            color: #2d2e32d0;
        }
        
        #prop-right > #btn{
            display: flex;
            width: 100%;
            justify-content: center;
            gap: 2rem;
        } 
        #btn > p{
            width: 80px;
            padding: .4rem .3rem;
            background-color: #ffff;
            font-size: 1.4rem;
            text-align: center;
            font-weight: 600;
            font-size: 13px;
            font-family: poppins2;
            box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
        }
        
        #prop-right > #botm{
            display: flex;
            width: 100%;
            /* background-color: #147EFB; */
            justify-content: space-evenly;
            font-family: poppins1;
            font-size: 1.4rem;
            font-weight: 600;
            padding:2rem 0rem 0 0;
        }
        }   

        @media screen and (max-width: 766px) {
            #project-content{
                display: flex;
                padding: 8rem 0 8rem 0;
                height: auto;
            }

            #prop1:nth-child(even) {
                flex-direction: column;
            }
          
            #prop1{
                width: 40rem;
                height: 50rem;
                background-color: #ffff;
                border-radius: 15px;
                padding: 0 2rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
                padding-top: 2rem;
                gap: 1rem;
            }
        }

        @media screen and (max-width: 700px) {

            #prop1:nth-child(even) {
                flex-direction: column;
            }
          
            #prop1{
                width: 35rem;
                height: 50rem;
                background-color: #ffff;
                border-radius: 15px;
                padding: 0 2rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
                padding-top: 2rem;
                gap: 1rem;
            }

            #prop-left{
                width: 100%;
                height: 90%;
                border-radius: 20px;
                overflow: hidden;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
            }
        
        }

        @media screen and (max-width: 599px) {

            #project-text{
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: .5rem;
            }
            #project-text > h3{
                text-align: center;
            }

            #prop1:nth-child(even) {
                flex-direction: column;
            }
          
            #prop1{
                width: 30rem;
                height: 60rem;
                background-color: #ffff;
                border-radius: 15px;
                padding: 0 1.5rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
                padding-top: 1.5rem;
                gap: 1rem;
            }

            #prop-left{
                width: 100%;
                height: 90%;
                border-radius: 20px;
                overflow: hidden;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
            }

            #prop-right{
                width: 100%;
                height: 90%;
                /* background-color: aqua; */
                padding: 1rem;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                align-items: center;
            }        

            #prop-right > h3{
                font-family: Poppins2;
                font-size: 1.4rem;
                text-align: center;
                padding-bottom: 1rem;
            }
            #prop-right > p{
                text-align: center;
                font-weight: 400;
                font-family: poppins2;
                font-size: 1.2rem;
                color: #2d2e32d0;
                padding-bottom: 1rem;

            }
            #prop-right > #btn{
                display: flex;
                width: 100%;
                justify-content: center;
                gap: 2rem;
                padding-bottom: 1rem;
            } 
        
        }

        @media screen and (max-width: 502px) {
            #prop1:nth-child(even) {
                flex-direction: column;
            }
          
            #prop1{
                width: 25rem;
                height: 68rem;
                background-color: #ffff;
                border-radius: 15px;
                padding: 0 1.5rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
                padding-top: 1.5rem;
                gap: 1rem;
            }

            
            #prop-left{
                width: 100%;
                height: 90%;
                border-radius: 20px;
                overflow: hidden;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
            }

        }

        @media screen and (max-width: 420px) {

            #prop-img{
                width: 100%;
                height: 100%;
                background-color: rgb(59, 60, 61);
                transition: transform 10s ease-in-out;
                position: relative;
                }
                
                #prop-img > img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: top;
                }
                
                #prop-img:hover {
                transform: translateY(0%);
                }

                
            #prop1:nth-child(even) {
                flex-direction: column;
            }
          
            #prop1{
                width: 21rem;
                height: 68rem;
                background-color: #ffff;
                border-radius: 15px;
                padding: 0 1.5rem;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
                padding-top: 1.5rem;
                gap: 1rem;
            }

            
            #prop-left{
                width: 105%;
                height: 70%;
                border-radius: 20px;
                overflow: hidden;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
            }

            #prop-right{
                width: 105%;
                height: 90%;
                padding: 1rem;
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                align-items: center;
            }        

            #prop-right > h3{
                font-family: Poppins2;
                /* background-color: #147EFB; */
                width: 109%;
                font-size: 1rem;
                text-align: center;
                padding-bottom: 0rem;
            }
            #prop-right > p{
                text-align: center;
                font-weight: 400;
                font-family: poppins2;
                font-size: 1.2rem;
                color: #2d2e32d0;
                /* padding-bottom: 1rem; */

            }
            #prop-right > #btn{
                display: flex;
                width: 100%;
                justify-content: center;
                gap: .5rem;
                padding-bottom: 1rem;
            } 

            #btn > p{
                width: 80px;
                padding: .4rem .3rem;
                background-color: #ffff;
                font-size: 1rem;
                text-align: center;
                font-weight: 600;
                gap: 1rem;
                font-family: poppins2;
                font-size: 13px;
                box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
            }

            #prop-right > #botm{
                display: flex;
                width: 100%;
                /* background-color: #147EFB; */
                justify-content: space-evenly;
                font-family: poppins1;
                font-size: 1.4rem;
                font-weight: 400;
            }

        }