
@import'font.css';
@import'responsive.css';
@import'header.css';
@import'foot.css';
*{
    margin: 0;
    padding: 0;
    list-style: none;
}

body{
    background-color: #F2F2F2;
}

.sect--1{
    width: calc(100% - 44px);
    height: 420px;
    padding: 22px ;
    background-color: #fff;
    box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    margin: 70px 0 0 0;
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 24px;
    grid-template-rows: 180px 30px 90px 1fr;
    row-gap: 16px;
    grid-template-areas:
    "im im"
    "b1 b1"
    "b2 b2"
    "p1 p1" ;
}
.sect--2{
    width: calc(100% - 44px);
    height: 240px;
    padding: 22px ;
    background-color: #fff;
    /*box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);*/
    border-radius: 12px;
    margin: 24px 0 0 0;
}
.sect--3{
    width: calc(100% - 44px);
    height: 150px;
    padding: 22px ;
    background-color: #fff;
    /*box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);*/
    border-radius: 12px;
    margin: 24px 0 0 0;
}
.sect--4{
    margin: -70px 0 0 0 ;
    padding: 190px 0 0 0;
}



/* image */
.sect__img{
    height: 180px;
    width: 100%;
    border-radius: 12px;
    grid-area: im;
    margin:  0 auto;
}
.sect__icon{
    width: 18px;
    height: 18px;
    margin: 3px 3px 0 -6px;
}



.b1{
    grid-area: b1;
}
.b2{
    grid-area: b2;
    margin: 15px 0 0 0;
    padding: 16px 0 0 0;
}
.p1{
    grid-area: p1;
}

/* the porcent range */
.sect__infoBox{
    display: flex;
    flex-direction: row;
    margin: 0px 0 0 0 ;
    
}
.sect__boxSkillAll{
    display: flex;
    flex-direction: row;
    margin: 17px 0 0 0 ;
}
.sect__boxSkillAll > p {
    flex: 0.3;
}
.sect__boxPercent{
    width: 240px;
    height: 10px;
    border-radius: 6px;
    background-color: #f4f4f4;
    flex: 0.7;
    margin: 4px 0 0 0;
}
.sect__boxPercentInter{
    width: 70%;
    height: 10px;
    border-radius: 6px;
    background-color: rgb(250, 199, 121);
}

.sect__boxPercentInter--css{
    width: 90%;
}
.sect__boxPercentInter--redux{
    width: 30%;
}
.sect__boxPercentInter--react{
    width: 60%;
}
.sect__boxPercentInter--vue{
    width: 60%;
}
.sect__boxPercentInter--ux{
    width: 90%;
}
.sect__boxPercentInter--xd{
    width: 90%;
}
.sect__boxPercentInter--ps{
    width: 60%;
}

/* the tags */

.sect__bpxTag{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);
    width: calc(100% - 44px);
    height: 31px;
    padding:12px 22px ;
    background-color: #fff;
    border-radius: 12px;
    margin: 24px 0 0 0;

}


/* project */
.sect__project{
    width: calc(100% - 36px);
    padding: 18px;
    height: 462px;
    background-color: #fff;
    margin: 24px 0 0 0;
    border-radius: 24px;
    display: block;
    transition: 0.3s;
}
.sect__project--none{
    display: none;
    transition: 0.3s;
}
.project__img{
    width: 100%;
    height: 180px;
    border-radius: 12px;
    border: 1px solid #f4f4f4;
    object-fit: contain;
}
.project__tagBox{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin: 18px 0 0 0 ;
}
.project__boxBtn{
    margin: 40px 0 0 0;
    display: flex;
    flex-direction: row;
}


/*hobbie*/

.sect--5{
    width: calc(100% - 44px);
    height: 840px;
    padding: 18px 22px;
    background-color: #fff;
    border-radius: 24px;
    margin: 140px 0 0 0 ;
}

.sect__hobbieCard{
    margin: 36px 0 0 0 ;
    width: 100%;
    height: 220px;
    
}
.sect__hobbieCard--1{
    margin: 26px 0 0 0 ;
}
.hobbieCard__img{
    width: 100%;
    height: 139px;
    border-radius: 12px;
    object-fit: cover;
}

/* responsive */
@media(min-width: 410px){
    .sect--1{
        width: calc(100% - 44px);
        height: 380px;
        padding: 22px ;
        background-color: #fff;
        box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        margin: 70px 0 0 0;
        display: grid;
        grid-template-columns: 180px 1fr;
        column-gap: 24px;
        grid-template-rows: 180px 100px 1fr;
        row-gap: 16px;
        grid-template-areas:
        "im im"
        "b1 b2"
        "p1 p1" ;
    }
}

@media(min-width: 750px){

    .main{
        width: calc(100% - 64px);
        padding: 0 32px;
    }
    .sect--1{
        width: calc(100% - 44px);
        height: 270px;
        padding: 22px ;
        background-color: #fff;
        box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        margin: 70px 0 0 0;
        display: grid;
        grid-template-columns: 180px 1fr;
        column-gap: 24px;
        grid-template-rows: 70px 100px 1fr;
        row-gap: 16px;
        grid-template-areas:
        "im b1"
        "im b2"
        "p1 p1" ;
    }

    .b2{
        grid-area: b2;
        margin: 15px 0 0 0;
        padding: 0px 0 0 0;
    }


    .sect__boxSkillAll > p {
        flex: 0.2;
    }
}
@media(min-width: 1000px){

    .main{
        width: calc(100% - 24vw);
        padding: 0 12vw;
    }
    .sect--1{
        width: calc(100% - 44px);
        height: 270px;
        padding: 22px ;
        background-color: #fff;
        box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        margin: 70px 0 0 0;
        display: grid;
        grid-template-columns: 30% 1fr 1fr;
        column-gap: 24px;
        grid-template-rows: 70px 130px ;
        row-gap: 60px;
        grid-template-areas:
        "im b1 b2"
        "im p1 p1";
    }
    .sect--rowSkill{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .sect__boxSkillAll{
        justify-content: space-between;
    }
    .sect__boxSkillAll > p {
        flex: 0.5;
    }
    .sect--2{
        width: calc(45% - 44px);
        height: 240px;
        padding: 22px ;
        background-color: #fff;
        /*box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);*/
        border-radius: 12px;
        margin: 24px 0 0 0;
    }
    .sect--3{
        width: calc(45% - 44px);
        height: 200px;
        padding: 22px ;
        background-color: #fff;
        /*box-shadow: 0px 4px 32px rgba(0, 0, 0, 0.12);*/
        border-radius: 12px;
        margin: 24px 0 0 0;
    }
    .b2{
        grid-area: b2;
        margin: 15px 0 0 0;
        padding: 0px 0 0 0;
    }
    .sect__img{
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .sect__boxSkillAll > p {
        flex: 0.2;
    }
    

    /* project */
    .sect__project{
        width: calc(100% - 44px);
        padding: 22px;
        height: 311px;
        margin: 24px 0 0 0;
        display: flex;
        flex-direction: row;
    }
    .project__boxInfo{
        display: flex;
        flex-direction: column;
        margin: 0 0 0 4.5vw;
    }
    .project__img{
        width: 100%;
        min-width: 350px;
        max-width: 580px;
        height: 100%;
        border-radius: 12px;
        border: 1px solid #f4f4f4;
        object-fit: contain;
    }
    .project__tagBox{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 18px 0 0 0 ;
        width: 300px;
    }
    .sect__boxBtn{
        width: 160px;
        margin: 0 10vw 0 0 ;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    /*hobbie*/

    .sect--5{
        width: calc(100% - 44px);
        height: 346px;
        padding: 18px 22px;
        background-color: #fff;
        border-radius: 24px;
        margin: 140px 0 0 0 ;

    }
    .hobbie__list{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .sect__hobbieCard{
        flex: 0.3;
        margin: 36px 0 0 0 ;
        width: 100%;
        height: 220px;
        
    }
    .sect__hobbieCard--1{
        margin: 26px 0 0 0 ;
    }
    .hobbieCard__img{
        width: 100%;
        height: 139px;
        border-radius: 12px;
        object-fit: cover;
    }
    .sect__project--none{
        display: none;
        transition: 0.3s;
    }
}