*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#Home{
    background-image:url("./asset/bg.jpg") ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
}
.basis-1\/2{
    flex-basis: 50%;
}
header{
    background-color: rgba(0, 0, 0, 0.259);
    
}
ul{
    margin: 0;
    list-style: none;
}

button{
    background-color: #6362e4;
}

.btn-secondary{
    background-color: #ef5555;
    padding: .5rem 1rem;
    border: none;
    border-radius: 3px;
}

.dev{
    width: 300px;
}

#Skill,#Project{
    display: flex;
    padding: 2rem;
    height: 100vh;
    flex-wrap: wrap;
    /* max-width: 1200; */
    overflow-y:scroll;

}
#Skill .container{
    flex-wrap: wrap;

}
.cardCustom{
    height: 400px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all .5s linear;
    background-color: #ef5555;
    padding: 1rem 2rem;
}

.cardCustom:hover{
    transform: translateY(-5px);
    background-color: #6362e4;
}
.cardCustom img{
    width: 100px;
    height: 100px;
}
.cardCustom .text-white{
    text-align: center;
}
.cardCustom p{
    word-break: normal;
}

.first-template{
    right: 60%;
    z-index: 1;
    transform: scale(0.8);
    transition: all .5s ease-in-out;
    animation: come-back-from-left 1s ease-in-out backwards;

    
}
.center-template{
    z-index: 2;
    transition: all .5s ease-in-out;
}
.second-template{
    z-index: 1;
    left: 60%;
    transform: scale(0.8);
    transition: all .5s ease-in-out;
    animation: come-back-from-right 1s ease-in-out backwards;
}   
.first-template:hover ~ .center-template{
    transform: scale(0.8);
    

}


.first-template:hover{
    transform: scale(1);
    z-index: 3;
    animation: come-front-from-left 1s ease-in-out backwards;
}




.second-template:hover{
    transform: scale(1);
    z-index: 3;
    animation: come-front-from-right 1s ease-in-out backwards;

}
.second-template:hover + .center-template{
    transform: scale(0.8);
    
}
.templateCard img{
    width: 400px;
    border-radius: 10px;
}

#Blog .blogCard{
    width: 500px;
}

#Footer{
    background-color: #6362e4;
}
footer{
    background-color: #ef5555;

}

ul a{
    text-decoration: none;
    color: white;
}


.w-full{
    width: 100%;
    }
    .top-none{
        top:0;
    }

    .items-center{
        align-items: center;
    }
@keyframes come-front-from-left {
    0%{
        transform: translateX(0);
    } 50%{
        transform: translateX(-200px);
    } 100%{
        transform: translateX(0);
    }

}
@keyframes come-back-from-left {
    0%{
        transform: translateX(0);
    } 50%{
        transform: translateX(-200px);
    } 100%{
        transform: translateX(0);
    }

}
@keyframes come-front-from-right {
    0%{
        transform: translateX(0);
    } 50%{
        transform: translateX(200px);
    } 100%{
        transform: translateX(0);
    }

}
@keyframes come-back-from-right {
    0%{
        transform: translateX(0);
    } 50%{
        transform: translateX(  200px);
    } 100%{
        transform: translateX(0);
    }

}