*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.container{
    background-color: #272940;
    color: #d8d9ed;
    width: 100%;
    margin-bottom: 20px;
}
nav{
    display: flex;
    justify-content: center;
    
    padding: 10px;
    
}

ul{
    display: flex;
    gap: 20px;
}
ul a{
    text-decoration: none;
    color: black;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    color: #d8d9ed;
}
ul li{
    list-style: none;
}
ul a:hover{
    background-color: #ef37ed;
}
#aboutMe{
    display: flex;
    gap: 30px;
    padding: 30px;
    justify-content: center;
    align-items: center;
}
.fore{
    width: 220px;
}
#aboutMe .profilePic img{
    height: 156px;
    width: 156px;
    border-radius: 50%;
}
#About{
    background-color: #f2f3f5;
    padding: 20px;
    margin-bottom: 20px;
}
#About p{
    width: 70%;
    margin: 10px auto;
}
#Skills{
    background-color: #f2f3f5;
    padding: 20px;
}
.skill{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.skill p{
    text-align: center;
    color: #f2f3f5;
    
}
.academy{
    padding: 20px;
    height: 85px;
    width: 85px;
    border: #272940 solid 1px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    background-color: #282a41;
    
}
#projects{
    margin-top: 20px;
    background-color: #f2f3f5;

}
.projects{
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    gap: 20px;
}
.pro{
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 300px;
    width: 400px;
    padding: 10px;
    border: #272940 solid 1px;
    border-radius: 12px;
    box-shadow:  0 4px 15px rgba(0,0,0,.1);
    transition: all 0.3s ease;
}
.pro:hover{
    transform: scale(1.05);
    box-shadow:  0 4px 15px rgba(0,0,0,.4);
}
.pro img{
    width: 100%;
    height: 50%;
}
.pro p{
    margin: 10px 0 ;
}
#contact{
    background-color: #f2f3f5;
    margin-top: 20px;
}
.cards{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    
    
    padding: 20px;
}
.card{
    padding: 10px;
    background-color: rgb(237, 238, 239);
    height: 200px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}
.card a{
    color: #d8d9ed;
    font-size: 80px;
    color: #272940;
}
.btn{
    background-color: #ef37ed;
    transition: all 0.3s ease;
}
.btn:hover{
    transform: scale(1.02);
    background-color: #ea64e8;
}
@media screen and (max-width:480px){
    #about{
        flex-direction: column;
    }
    ul{
        gap: 5px;
    }
    .profilePic{
        order:-1;
    }
    .projects{
        flex-direction: column;
        padding: 15px;
    }
    .pro{
        width: 100%;
    }
    .card{
        flex-direction: column;
    }
}