:root{
    --pink-light: rgb(254 130 177);
    --pink-dark: rgb(182 122 144);
    --text-color: rgb(58, 53, 57);
}

@media screen and (min-width: 320px){
    header{
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .about-wrapper{
        height: 100%;
    }
}
@media screen and (min-width: 320px) and (max-width: 767px){
/* -------------------------------- HOME PAGE ------------------------------- */
    header{
        padding: 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 90px;
        width: 100%;
    }
    main{
        height: calc(100% - 90px);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .logo{
        display: block;
        width: 30px;
        z-index: 222;
    }
    .menu span{
        display: block;
        height: 3px;
        width: 20px;
        border-radius: 25px;
        background-color: rgb(58, 53, 57);
        margin-bottom: 3px;
        transition: .8s ease-in-out;
        position: relative;
    }
    .menu:hover span{
        background-color: var(--pink-light);
    }
    .menu{
        z-index: 9999;
        cursor: pointer;
        transition: all .8s ease-in-out;
        position: relative;
    }
    .menu_top_click{
        transform: rotate(45deg);
        top: 8px;
    }
    .menu_middle_click{
        width: 0%;
        opacity: 0;
    }
    .menu_bottom_click{
        transform: rotate(-45deg);
        top: -4px;
    }
    .nav_menu{
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 200;
        visibility: collapse;
    }
    .burger_menu{
        position: absolute;
        top: 0;
        left: 0;
        text-transform: uppercase;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        background-color: rgba(245, 240, 253, 0.514);
        backdrop-filter: blur(3px);
        z-index: 9000;
        opacity: 0;
        visibility: collapse;
        transition: .5s ease;
    }
    .open{
        opacity: 1;
        visibility: visible;
        transition: .5s ease;
    }
    .nav_link{
        display: block;
        padding: 1.5rem 0;
        font-size: 2rem;
        font-weight: 400;
        font-family: 'Urbanist', sans-serif;
    }
    /* main{
        position: initial;
        display: flex;
        flex-direction: column;
        justify-content: center;
    } */
    .title{
        font-size: 4rem;
    }
    .main_subtitle{
        font-size: 1.5rem;
        text-align: center;
        margin-top: 1rem;
    }
    .container{
        z-index: 98;
        padding: 0;
        margin-bottom: 5rem;
    }
    .container.container-2{
        padding: 0;
        margin-bottom: 0;
    }
/* ---------------------------------- ABOUT --------------------------------- */
    .container.c-about{
        padding: 1.5rem;
        margin-bottom: 0;
    }
    .about-wrapper{
        width: 100%;
    }
    .wrapper{
        margin-bottom: 2rem;
    }
    .w-1{
        flex-direction: column;
    }
    .txt-wrap{
        width: 100%;
        order: 1;
    }
    .profile-pic{
        width: 270px;
        height: 270px;
        padding-bottom: 0;
        margin-right: auto;
        clip-path: none;
        border-radius: 50%;
        margin-bottom: 2rem;
    }
    .profile-pic:hover{
        clip-path: none;
    }
    .profile-pic p{
        display: none;
    }
    .about_txt{
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .b-txt{
        font-size: 1.3rem;
    }
    .b-txt.myname{
        border-bottom: 0;
        font-size: 1rem;
        font-weight: 400;
    }
    .section_sub{
        font-size: 1.4rem;
    }
    .button_wrapper.bw-2 {
        gap: 1rem;
    }
/* -------------------------------- PROJECTS -------------------------------- */
    .p-main{
        justify-content: flex-start;
        padding-top: 5rem;
    }
    .container.container-p1{
        padding: 0 1.5rem;
        margin-bottom: 0;
    }
    .wrapper.wp-1{
        margin-bottom: 3rem;
    }
    .p-title{
        font-size: 2.7rem;
    }
    .p-subtitle, .pw-link{
        font-size: 1.2rem;
    }
    .pw-link{
        margin-top: 1rem;
    }
    .p-img{
        width: 100%;
    }
    .p-img4{
        width: 70%;
    }
    .p-desc, .wp-tools .p-subtitle{
        font-size: 1rem;
    }
    .main_link.p-link {
        font-size: 3rem;
    }
    .img-wrap{
        flex-direction: column;
        gap: 1rem;
    }
    .img-wrap:last-child {
        width: 100%;
        align-items: center;
    }
}
@media screen and (min-width: 600px){
    .img-wrap:last-child{
        flex-direction: row;
    }
    .p-img4{
        width: 32%;
    }
}

@media screen and (min-width: 360px) and (max-width: 767px){
    .container.container-1{
        padding: 0 2.5rem;
    }
}

@media screen and (min-width: 768px){
    header{
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        padding: 2.5rem;
    }
    .menu{
        display: none;
    }
    .nav_menu{
        height: auto;
        visibility: visible;
    }
    .burger_menu{
        display: flex;
        flex-direction: row;
        opacity: 1;
        visibility: visible;
    }
    .nav_link{
        margin: 0 2rem;
    }
    .logo{
        width: 50px;
        transition: all .8s ease;
    }
    .logo a{
        display: block;
    }
    .logo img{
        width: 100%;
    }
    .button_wrapper{
        justify-content: space-between;
    }
    .contact-wrap{
        padding: 0 2.5rem;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px){
    .container.container-2{
        padding: 6rem;
    }
    .title{
        line-height: 10rem;
    }
    .profile-pic{
        width: 270px;
        height: 270px;
        padding-bottom: 0;
        margin-right: 0;
        clip-path: none;
        border-radius: 50%;
    }
    .profile-pic:hover{
        clip-path: none;
    }
    .profile-pic p{
        display: none;
    }
    .txt-wrap{
        width: 50%;
    }
    .about_txt{
        font-size: 1.3rem;
    }
    .b-txt.myname{
        border-bottom: 0;
    }
/* -------------------------------- PROJECTS -------------------------------- */
    .p-main{
        padding-top: 10rem;
    }
    .container.container-p1, .container.container-1{
        padding: 0 4rem;
    }
    .p-img{
        width: 100%;
        margin-bottom: 2rem;
    }
    .img-wrap{
        flex-direction: column;
        margin-bottom: 0;
    }
    .img-wrap:last-child{
        width: 100%;
    }
    .p-img.p-img4{
        width: 32%;
    }
}
@media screen and (min-width: 1024px){
    .container.container-2{
        padding: 6rem 0;
    }
    .title{
        line-height: 10rem;
    }
    .button_wrapper{
        justify-content: space-around;
    }
    .logo:hover{
        filter: grayscale(1);
    }
    .profile-pic{
        background-position: 50% 340%;
        margin-right: 0;
        width: 30%;
        height: 0;
        padding-bottom: 30%;
        clip-path: circle(20%);
    }
    .profile-pic:hover, .pic-hover{
        background-position: center;
        clip-path: circle(45%);
    }
    .about_txt{
        font-size: 1.5rem;
    }
    .c-txt{
        font-size: 5vw;
    }
}
@media screen and (min-width: 1024px) and (max-width: 1365px){
    .container.container-p1{
        padding: 0 4rem;
    }
    .p-main{
        padding-top: 10rem;
    }
    .p-img{
        width: 100%;
        margin-bottom: 2rem;
    }
    .p-img.p-img3{
        width: 49%;
    }
    .img-wrap{
        margin-bottom: 0;
    }
    .img-wrap:last-child{
        width: 100%;
    }
    .p-img.p-img4{
        width: 32%;
    }
}
@media screen and (min-width: 1366px){
    .profile-pic{
        background-position: 50% 340%;
        margin-right: 10%;
        width: 20%;
        height: 0;
        padding-bottom: 20%;
        clip-path: circle(20%);
    }
    .pic-hover{
        clip-path: circle(45%);
        background-position: center;
    }
}

@supports (-moz-appearance:none){
    @media screen and (min-width: 320px) and (max-width: 767px){
        .burger_menu{
            background-color: rgba(245, 240, 253, 0.89);
        }
    } 
}