@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Inconsolata&family=Kolker+Brush&family=Poppins:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Freehand&family=Inconsolata&family=Kolker+Brush&display=swap');


*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;

}


/* ----NAVIGATION------ */
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #002233;
    padding:2rem 9%;
    box-shadow: -1px 4px 5px 1px rgba(0,0,0,0.75);
    -webkit-box-shadow: -1px 4px 5px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 4px 5px 1px rgba(0,0,0,0.75);
    position: fixed;
    z-index: 100;
}

.name{
    padding-left: 10px;
    width: 150px;
    height: 50px;
    background-image: url("./images/title_wave.png");
    color: wheat;
    font-size: 1.5rem;
    letter-spacing: 3px;
    background-size: cover;
    border-radius: 10px;
}

.header ul li{
    display: inline-block;
    padding: 0 20px;
}



.header ul li a {
    color: wheat;
    font-size: 0.8rem;
    letter-spacing: 3px;
    position: relative; /* Add position relative to create a stacking context */
}




.header ul li a:before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #C62368;
    transition: width .7s ease-out; /* Add transition property */
}

.header ul li a:hover:before {
    width: 100%; /* Expand the width to slide from right to left */
}

/* For Mobile Portrait View */


/* ----END OF NAVIGATION---- */

section{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
    overflow: hidden;
    
}
/* ---HOME SECTION---- */

.home_body{
    background-image: url("./images/background_image.svg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 0 9%;
}

.home_section{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25rem;
}

.home_box h1{
    font-size: 3.5rem;
    letter-spacing: 3px;
    color: wheat;
}

.home_box span{
    color: #C62368;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.qote {
   display: inline-flex;
   gap: 10px;
}

.horizontal_line{
    width: 40px;
    height: 0;
    border: 2px solid grey;
    margin-top: 2rem;

}
.italic{
    color: wheat;
}   

.italic i {
    font-weight: 800;
    font-size: 3.5rem;
    font-family: 'Kolker Brush', cursive;
}

.btn{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35rem;
    height: 5rem;
}

.btn .button {
    position: relative;
    width: 8rem;
    height: 55%;
    border: 1px solid #C62368;
    border-radius: .6rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    z-index: 1;
    background: #002233;
    overflow: hidden;
    transition: .7s;
}

.btn .button a{
    color: wheat;
}

.btn .button:hover{ 
    color: #C62368;
}

.btn .button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Added height property */
    background-color: #C62368;
    transition: .7s; /* Changed transition property to only affect width */
    z-index: -1;
}

.btn .button:hover::before {
    width: 0;
    background-color: #C62368;
}


.icons{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 10rem;
    height: 5rem;
    margin-left: 12.5rem;
}

.icons a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #002233;
    background: transparent;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}
.icons a:hover{
    background-color: #002233;
}



.icons a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #C62368;
    transition: .7s;
    z-index: -1;
}
.icons a:hover::before{
    width: 0;
    background-color: #C62368;
}

.profile img{
    width: 40rem;
}

.profile{
    position: relative;
    bottom: 4rem;
}


/* ---END OF HOME--- */

/*-----ABOUT SECTION------*/

.about_body{
    font-family: 'Poppins';
    color: wheat;
    background-image: url("./images/about_bg.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;

}

.about_section{
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 10rem;
}

.box_about_me{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60rem;
    height: 5rem;
    margin-bottom: 1rem;
    margin-left: 17rem;

}


.text_area{
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: .8rem;
}

.text_area h1{
    font-size: 2.5rem;
    border-bottom: 2px solid #C62368;
    width: 250px;
}

.text_area span{
    color: #C62368;
}

.text_area p{
    text-align: center;
    font: 1.3rem;
}

.service{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 3rem;
    margin-left: 5rem;
}

.vertical{
    position: relative;
    transform: rotate(-90deg);
    font-size: 2.5rem;
    letter-spacing: 15px;
    border-bottom: 2px solid #C62368;
    left: 3rem;
    width: 15rem;
}

.frontend_box,
.backend_box{
    position: relative;
    border: 2px solid #002233;
    border-radius: .2rem;
    background-color: #002233;
    box-shadow: -1px 10px 5px 1px rgba(0,0,0,0.75);
    -webkit-box-shadow: -1px 10px 20px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: -1px 10px 5px 1px rgba(0,0,0,0.75);
}



.box_header{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo i{
    font-size: 3.5rem;
}


.skills{
    position: relative;
    padding: 10px 20px;
}

.skills .progress
{
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}



.bar{
    height: 1rem;
    border-radius: .6rem;
    border: 1px solid #C62368;
    margin: 8px 0;
    padding: .3rem;
    width: 250px;
}


.bar span{
    display: block;
    height: 100%;
    border-radius: .3rem;
    background: #C62368;
}

.progress:nth-child(1) .bar span{
    width: 80%;
}

.progress:nth-child(2) .bar span{
    width: 70%;
}

.progress:nth-child(3) .bar span{
    width: 40%;
}


.backend_box{
    margin-right: 400px;
}
.skills_backend{
    position: relative;
    padding: 10px 20px;
    top: 20px;
}

.skills_backend .progress_backend{
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.progress_backend:nth-child(1) .bar span{
    width: 80%;
}

.progress_backend:nth-child(2) .bar span{
    width: 70%;
}

.progress_backend:nth-child(3) .bar span{
    width: 70%;
}

/* END OF ABOUT SECTION */

/* PROJECT SECTION */

.project_body{
    background-image: url("./images/project-bg.svg");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 9% 2rem;
}

.project_section{
    color: wheat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 100px;
}
.project_section h1{
    font-size: 3.5rem;
    color: wheat;
    letter-spacing: 3px;
}

.prject_area{
    display: inline-flex;
    position: relative;
    column-gap: 7rem;
    margin-right: 2rem;
}

.description{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 700px;
    text-align: center;
    row-gap: 1rem;
}

.description h3{
    font-size: 2.5rem;
    color: #C62368;
    letter-spacing: 2px;
}

.description p{
    letter-spacing: 1px;
    font-size: 1.2rem;
}
.description h2{
    font-size: 2rem;
    color: #C62368;
    letter-spacing: 2px;
}

.description ol{
    display: grid;
    margin-left: 4rem;
    grid-template-columns: 1fr 1fr;
}

.description ol li{
    border-bottom: 2px solid #C62368;
    width: 250px;
}

.img_area img{
    width: 50rem;
}

/* END OF PROJECT SECTION */


/* CONTACT SECTION */
.contact_body{
    background-image: url("./images/about_bg.svg");
    background-repeat: no-repeat;
    background-size: cover;
}



form{
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
}

form .input_box{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
}

form .input_box .input_text{
    position: relative;
    width: 49%;
    margin: .8rem 0;
    
}

form .input_box .input_text input,
form .textarea_field textarea{
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: wheat;
    background: transparent;
    border-radius: .6rem;
    border: .2rem solid #C62368;
    
}

form .input_box .input_text input::placeholder,
form .textarea_field textarea::placeholder{
    color: wheat;
}

form .textarea_field{
    position: relative;
    margin: .8rem 0 2.7rem;
    display: flex;
    
}

form .textarea_field textarea{
    resize: none;
}

.btns{
    position: relative;
    margin-left: 17rem;
    bottom: 2rem;
}
.btns:hover{
    background: transparent;
}

.title{
    position: relative;
    font-size: 3.5rem;
    color: wheat;
    left: 37%;
}

.title span{
    color: #C62368;
}

.footer{
    position: relative;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: wheat;
    width: 400px;
}

.footer p{
    font-size: 1rem;
}

.footer span a{
    color: grey;
    font-weight: 100;
    font-size: .8rem;
    transition: .5s;
}

.footer span a:hover{
    color: wheat;
}



/* FOR RESPONSIVE */

@media (max-width:1629px){
    html{
        font-size: 88%;
    }

    section{
        padding: 10rem 2% 2rem;
    }

    .home_body{
        padding: 0 9%;
    }

    .about_section{
        row-gap: 12rem;
    }

    .footer{
        padding: 2rem 4%;
    }
}

@media screen and (max-width:1628px) and (min-width:1402px){

    .home_body{
        padding: 0 5%;
    }

    .prject_area{
        column-gap: 5rem;
    }

    .description{
        width: 100%;
    }

    .img_area img{
        width: 40rem;
    }

}

@media screen and (max-width:1401px) and (min-width:1200px){
    

    .description{
        width: 100%;
    }

    .img_area img{
        width: 40rem;
    }

    .service{
        margin-left: 0;
    }
    .box_about_me{
        margin-left: 12rem;
    }

    .prject_area{
        column-gap: 1rem;
    }
}

@media (max-width:768px) {
    .home_section{
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        row-gap: 0;
    }

    .btn{
        right: 3rem;
    }
    .icons{
        left: 9.5rem;
    }

    .home_box{
        width: 100%;
        margin-left: 15rem;
        
    }

    .home_box h1{
        font-size: 3rem;
    }

    .home_box span{
        font-size: 2rem;
    }
    .profile{
        bottom: 0;
    }

    .profile img{
        width: 28rem;
    }

    .about_section{
        width: 100%;

    }
    .box_about_me{
        width: 100%;
        margin-left: 0;
    }

    .second_profile{
        position: absolute;
        left: 25%;
        opacity: .5;
    }

    .text_area{
        justify-content: center;
        align-items: center;
    }

    .service{
        column-gap: 1rem;
        margin-left: -15rem;
    }

    .vertical{
        transform: rotate(0deg);
        left: 32rem;
        bottom: 12rem;
    }

    .frontend_box, .backend_box{
        width: 25rem;
    }

    .project_section{

        width: 100%;
    }
    .prject_area{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10rem;
    }

    .img_area img{
        width: 40rem;
    }

    .contact_section{
        width: 100%;
    }
    .contact_section h1{
        left: 25%;
    }
    .btns{
        width: 19rem;
        height: 5rem;
    }
    
}

@media (max-width:600px){
    html{
        font-size: 80%;
    }
    .header{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding:1rem 2%;
    }  
    .header ul li{
        padding: 0 10px;
    }

    .home_box{
        margin-left:5rem ;
    }

    .icons{
        margin-left: 1em;
    }
    .home_box h1{
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .second_profile{
        left: 0;
    }

    .btn{
        width: 100%;
    }
    .text_area{
        top: 5rem;
    }
    .text_area h1{
        width: 13rem;
    }
    .service{
        flex-direction: column;
        align-items: baseline;
        margin-left: 2rem;
        row-gap: 2rem;
    }
    .vertical{
        left: 2rem;
        bottom: 1rem;
    }
    .skills_backend{
        top: 0;
    }

    .skills .progress, .skills_backend .progress_backend{
        margin-bottom: 4px;
    }
    .prject_area{
        margin-right: 0;
    }
    .description p{
        width: 380px;
        font-size: 1rem;
        margin-left: 13rem;
    }
    .description ol{
        display: grid;
        grid-template-columns: 1fr;
        margin-left: 17rem;
    }
    .img_area img{
        width: 28rem;
    }

    .contact_section h1{
        font-size: 3rem;
        left: 15%;
    }

    .btns{
        margin: 3rem;
    }
}

/* @media screen and (max-width:1999px) and (min-width:1024px){

    .service{
        margin-left: -3rem;
    }
    .box_about_me{
        margin-left: 12rem;
    }
    .prject_area{
        column-gap: 1rem;
    }

    .description{
        width: 100%;
    }

    .img_area img{
        width: 40rem;
    }

    .home_section{
        gap: 15rem;
    }

    .profile img{
        width: 30rem;
    }
} */

/* iPads (portrait and landscape) ----------- */
/* @media only screen  and (min-width : 1224px) {
    section{
        padding: 10rem 25% 10rem;
    }    
    

    .home_section{
        margin: 0 -7rem ;
    }

    .home_box{
        top: 10rem;
    }
    .icons{
        margin-bottom: 10rem;
    }

    .box_about_me{
        right: 30rem;
    }
    .text_area p{
        width: 45rem;
        font-size: 1rem;
    }
    .service{
        right: 20rem;
    }
    .frontend_box,
    .backend_box{
        margin: 0 2rem;
    }

    .project_body{
        padding: 5rem 4% 1rem;
    }

    .prject_area{
        padding: 1rem 20rem 1rem;
    }

    .description{
        width: 30rem;
        margin-left: 10rem;
    }
    .description ol{
        width: 40rem;
        position: relative;
        left: -2rem;
        
    }

    .img_area img{
        position: relative;
        right: 5rem;
    }


    .title{
        left: 18rem;
    }

    .btns{
        left: 18rem;
    }


}



@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {

    
    .profile img{
        width: 300px;
    }
    .profile{
        top: -1em;
        left: -14.5em;
    }

    .home_box{
        top: 15rem;
        right:-1rem;
    }

    .home_box h1{
        width: 25rem;
        font-size: 2rem;
    }
    .home_box span{
        position: relative;
        left: 4rem;
        font-size: 1.5rem;
    }
    .qote{
        left: 2rem;
    }

    .qote .italic i{
        width: 1rem;
        font-size:2.5rem ;
    }
    .horizontal_line{
        width: 1.5rem;
    }
    .btn{
        right: 2rem;
    }

    .icons{
        right: 1.5rem;
    }

    .text_area{
        position: relative;
        right: 30rem;
    }
    .text_area h1{
        position: relative;
        left: 2rem;
    }
    .text_area p{
        position: relative;
        right: 12em;
        width: 40rem;
        font-size: .9rem;
    }

    .second_profile{
        position: relative;
        right: 8em;
    }
    .second_profile img{
        opacity: .5;
    }

    .frontend_box,
    .backend_box{
        position: relative;
        top: 5rem;
        left: 1.5em;
        width: 20rem;
        margin: 0 2rem;
    }

    .vertical{
        position: relative;
        top: -7rem;
        left: 34rem;
        transform: rotate(0deg);
        letter-spacing: 3px;
    }
    .project_section h1{
        font-size: 2.5rem;
    }

    .description h3, .description h2{
        font-size: 2rem;
        font-weight: 300;
        left: 26rem;
        bottom: 4.5em;
    }
    .description p{
        position: relative;
        left: 27rem;
        font-size: 1rem;
        width: 40rem;
        bottom: 9em;
    }
    .description ol li{
        width: 20rem;
        font-size: 1rem;
        column-gap: 500px;
    }

    .description ol{
        position: relative;
        left: 25rem;
        bottom: 8rem;
        width: 50rem;
    }
    .img_area{
        position: relative;
        left: -21rem;
        top: 16rem;
    }
    .img_area img{
        width: 40rem;
    }

    .title{
        font-size: 3rem;
        left: 9rem;
    }
    .btns{
        left: 9rem;
    }

}

/* Smartphones (portrait and landscape) ----------- */
/* @media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    
    section{
        padding: 10rem 20% 10rem;
    }    
    
    .header{
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .profile img{
        width: 250px;
    }
    .header ul {
        display: inline-flex;
    }
    .header ul li{
        padding: 0 5px;
    }

    .profile{
        top: -4em;
        left: -21em;
    }

    .home_box{
        top: 8rem;
        right: 9rem;
    }

    .home_box h1{
        width: 20rem;
        font-size: 1.5rem;
    }

    .home_box span{
        position: relative;
        left: 2rem;
        font-size: 1.3rem;
    }

    .qote .italic i{
        width: 1rem;
        font-size:2.5rem ;
    }
    .horizontal_line{
        width: 1.5rem;
    }

    .btn {
        right: 4rem;
    }

    .icons{
        top: 4rem;
        right: 3.5rem;
    }
    .text_area{
        position: relative;
        right: 40rem;

    }
    .text_area p{
        position: relative;
        width: 20rem;
        left: 2rem;
    }

    .text_area h1{
        position: relative;
        font-size: 2rem;
        top: 2rem;
        left: 6rem;
        width: 170px;
    }

    .second_profile{
        position: relative;
        top: 10rem;
        right: 18em;
    }
    .second_profile img{
        width: 20em;
        opacity: .4;
        position: relative;
        bottom:10rem ;
    }

    .service{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: .7rem;
    }
    .vertical{
        
        transform: rotate(0deg);
        font-size: 2rem;
        left: 9rem;
        top: -1rem;
    }

    .frontend_box,
    .backend_box{
        position: relative;
        left: 13.5em;
        width: 19rem;
    }
    .backend_box{   
        top: 1.5rem;
        left: 22rem;
    }

    .project_section h1{
        font-size: 2rem;
    }

    .description h3, .description h2{
        font-size: 1.5rem;
        font-weight: 300;
        left: 18rem;
        bottom: 6em;
    }
    .description p{
        position: relative;
        left: 33rem;
        font-size: .7rem;
        width: 15rem;
        bottom: 13em;
    }
    .description ol li{
        width: 180px;
        font-size: .7rem;
        column-gap: 500px;
    }

    .description ol{
        display: flex;
        flex-direction: column;
        position: relative;
        left: 35rem;
        bottom: 8rem;
        width: 25rem;
    }
    .img_area{
        position: relative;
        left: -22rem;
        top: 16rem;
    }
    .img_area img{
        width: 25rem;
    }
    .contact_body{
        padding: 5rem 4% 1rem;
        
    }

    .title{
        font-size: 1.5rem;
        left: 9rem;
        margin-left: -2rem;
    }
    .btns{
        left: 2rem;
        margin-left: 6rem;
    }


 
    .footer_box{
        width: 20rem;
        position: relative;
        bottom: 7rem;
        right: 12rem;
    }

    .footer_box h2{
        font-size: 1rem;
    }

    .footer_box p{
        font-size: .7rem;
    }


}

@media screen and (min-width: 466px)
    and (orientation: portrait) { 
    .header{
        width: 100%;
        display: flex;
        flex-direction: column;

    }

    .header ul {
        display: inline-flex;
    }
    .header ul li{
        padding: 0 10px;
    }

} */ */