/* css e vabiable root er moddhe rakhi next e var bole call korlei hoy notun kore ar color likhar jhamela thake na   */
:root{
    --text-color:#1a1c20;
    --link-color:#4a76ee;
    --background-color:#f4f4f4;
    --font-family:'Roboto', sans-serif;
}

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

body{
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    max-width: 1400px;
    margin:0 auto;
} 

a{
    text-decoration: none;
    color: var(--link-color);
}

/* navbar */
nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}
nav .left img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
nav .left a{
    color:var(--text-color);
    font-size: 22px;
    /* upore ncihe uthe chilo ejonno ei 2 ta use korbo */
    display: flex;
    align-items: center;
}
nav .right a{
    color:var(--text-color);
    font-size: 20px;
    margin-left: 20px;
}
nav .right span{
    margin-left: 5px;
}

/* hero section  */
.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding: 20px;
    gap:20px;
}
.hero .headshot img{
    width: 300px;
    height: 300px;
    border-radius: 50%;
}
.hero .headshot img{
    flex: 3;
    display: flex;
    justify-content: right;
}
.hero .hero-text{
    flex: 7;
    max-width: 600px;
    line-height: 1.6;
    font-size: 18px;
}
.hero .hero-text h1{
    font-size: 36px;
    margin-bottom: 10px;
    color:darkblue;
}
.hero .hero-text h1 span{
    font-size: 48px;
    color:darkred;
}
.hero .hero-text h3{
    font-size: 30px;
}
.hero .hero-text p{
    font-size: 20px;
    color:black;
    margin-bottom: 20px;
}
.hero .hero-text .links a{
    display: inline;
    padding:10px 20px;
    border: 2px solid var(--link-color);
    margin-right: 10px;
    border-radius: 5px;
}
.hero .hero-text .links a:hover{
    background-color: var(--text-color);
}


/* skills section */
.skills{
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin: 150px 0px 150px 0px;
    padding:0 50px;
    height:400px;
    margin-left: 20px;
    margin-right: 20px;
    /* background-color: red; */
    border: 1px dashed black;
    border-radius: 5px;
    
}
.skills h1{
    padding-top:50px;
    font-size: 40px;
    margin-bottom: 20px;
    color:black;
    text-align: center;
}
.skills .text{
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
}
.skills .cells{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.skills .cells .cell{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width:250px;
    height: 60px;
    padding: 10px 20px;
    margin:10px;
    border:2px solid var(--link-color);
    border-radius: 5px;
}
.skills .cells .cell img{
    height: 40px;
    width: 40px;
}
.skills .cells .cell .name{
    font-size: 25px;
    font-weight: bold;
}

/* contact sections */
.contact{
    margin-bottom: 50px;
    padding: 0 50px;
}
.contact h2{
    font-size: 32px;
    color:darkred;
    text-align: left;
}
.contact .group{
    display: flex;
    gap:50px;
}
.contact .group .text{
    flex:6;
    font-size: 18px;
}
.contact .group form{
    flex:4;
    display: flex;
    flex-direction: column;
}
.contact .group form input,
.contact .group form textarea{
    font-size: 16px;
    background-color: transparent;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    outline: none;
    font-family: var(--font-family);
}
.contact .group form button{
    background-color: var(--link-color);
    outline: invert;
    border: 2px solid var(--link-color);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}
.contact .group form button:hover{
    filter:brightness(.8);
    color:white;
}

/* footer */
footer{
    text-align:center;
    padding:20px;
    margin-bottom: 10px;
    background-color: rgb(187, 187, 187);
}

/* project section  */
.projects .projectBoard{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(255, 255, 255);
    border:1px dashed black;
    border-radius: 5px;
    margin:20px;
    margin-bottom: 100px;
    padding:20px;
}
.projects .projectBoard h1{
    font-size: 40px;
    margin-bottom: 10px;
}
.projects .projectBoard p{
    font-size: 18px;
}
.projects .projectBoard .projectShow{
    display: flex;
    justify-content: center;
    word-wrap: wrap;
}
.projects .projectBoard .projectShow .box{
    height:170px;
    width:320px;
    border: 2px solid black;
    border-radius: 5px;
    margin:20px;
    padding:10px;
    background-color: #e7e2e2;
}
.projects .projectBoard .projectShow .box .btn{
    height: 30px;
    width: 70px;
    margin:10px;
    color: var(--link-color);
}

