@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Alkalami&family=Dancing+Script:wght@400..700&family=Lexend+Giga:wght@100..900&family=Macondo&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Satisfy&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
    --body-color--: #f2f2f2;
    --parent-color--: #fbf8f9;
    --secondary-container--: #f8f8f8;
    --main-text--: rgb(25, 25, 25);
    --secondary-text-- : #707070;
}

.darkmode{
    --body-color--: #0d0d0d;
    --parent-color--: #252525;
    --secondary-container--: #393939;
    --main-text--: rgb(236, 236, 236);
    --secondary-text-- : #aeaeae;
}

html{
    scroll-behavior: smooth;
}

body{
    display: flex;
    justify-content: center;
    gap: 20px;
    background-color: var(--body-color--);
    font-family: "Roboto", sans-serif;
}
h1{
    margin: 20px 0px;
    font-size: 42px;
}
h4{
    margin: 15px 0px 10px;
}
h2{
    font-size: 24px;
}
.work_links{
    display: flex;
    align-items: center;
    gap: 15px;
}
.work_links a i{
    font-size: 20px;
}
.work_links a span{
    font-size: 20px;
    font-weight: 800;
}
.divider{
    background-color: var(--secondary-container--);
    width: 90%;
    height: 1px;
    margin: 10px auto;
}

.up_arrow{
    position: fixed;
    bottom: 10px;
    right: 50px;
    background-color: #399cdeeb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    display: none;
    transition: .5s ease-in-out;
}

.up_arrow a i{
    font-size: 18px;
    color: #f2f2f2;
}

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

.parent{
    background-color: var(--parent-color--);
    width: 80%;
    border-radius: 5px;
    box-shadow: 0px 5px 5px 0px rgba(119, 119, 119, 0.16);
    /* height: 100vh; */
    color: var(--main-text--);
    display: flex;
    flex-direction: column;
}
.head_container{
    /* background-color: red; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}
.header{
    background-color: var(--secondary-container--) !important;
    box-shadow: 0px 5px 5px 0px rgba(119, 119, 119, 0.16) !important;
    /* height: 50px; */
    text-align: center;
    border: 2px solid rgba(184, 183, 183, 0.159);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    width: 55%;
}

.header_navs{
    width: 55%;
    height: 50px;
    text-align: center;
    border: 2px solid rgba(184, 183, 183, 0.159);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.header li a{
    color: var(--main-text--);
    font-weight: 500;
    margin: 0px 5px;
}
.header li a:hover{
    color: var(--main-text--) !important;
}
.menu_icon{
    color: rebeccapurple !important;
    border: none !important;
}
.header button{
    border: none !important;
    outline: none !important;
}

.switch_mode{
    margin: 40px 10px;
    box-shadow: 0px 5px 5px 0px rgba(119, 119, 119, 0.16);
    border: 2px solid rgba(184, 183, 183, 0.159);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.switch_mode i:last-child{
    display: none;
}

.darkmode .switch_mode i:first-child{
    display: none;
}

.darkmode .switch_mode i:last-child{
    display: block;
}

#about{
    margin: 30px 50px;
}

.personal_img{
    width: 90px;
    height: 100px;
    border-radius: 45%;
    border: 2px solid #eda22adb;
}
.img_parent{
    position: relative;
}
.circle{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #59db0ddb;
    position: absolute;
    bottom: 15px;
    left: 77px;
}
.personal_description{
    color: var(--secondary-text--);
    font-size: 14px;
    width: 90%;
}

#education{
    margin: 30px 50px;
}
#education p{
    color: var(--secondary-text--);
}
#skills{
    margin: 30px 50px;
}
#skills button{
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid #56bbff6a;
    outline: none;
    background-color: transparent;
    color: #399cdeeb;
    font-weight: 600;
    transition: .32s ease-in-out;
}
#skills button:hover{
    background-color: #75c8ff2d;
    cursor: pointer;
}
.skill_button{
    width: 70%;
}
.skill_button button{
    margin-bottom: 10px;
}

#projects{
    margin: 30px 50px;
}

.filter_buttons{
    margin: 20px auto 0px;
    width: fit-content;
    /* border: 1px solid #399cdeeb; */
    border-radius: 3px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.filter_buttons button{
    width: 10rem;
    padding: 12px 10px;
    color: #399cdeeb;
    font-weight: 600;
    font-size: 16px;
    background-color: transparent;
    border: 1px solid #399cdeeb;
    outline: none;
    transition: .32s ease-in-out;
}

.filter_buttons button:hover{
    background-color: #75c8ff2d;
    cursor: pointer;
}
/* .filter_buttons button:first-child, button:last-child{
    border-right: 1px solid;
    border-left: 1px solid;
} */

.projects_container{
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.project{
    border: 2px solid rgba(184, 183, 183, 0.159);
    width: 300px;
    height: 420px;
    border-radius: 5px;
    transition: .32s ease;
}
.project:hover{
    transform: scale(1.03);
    box-shadow: 0px 5px 5px 0px rgba(119, 119, 119, 0.16);
    cursor: pointer;
    border: 1px solid #399cdeeb;
}
.project img{
    border-radius: 5px 5px 0px 0px;
}
.proj_text{
    margin: 10px 15px;
}
.proj_description{
    margin-top: 10px;
    color: var(--secondary-text--);
    font-size: 14px;
}
.proj_icons {
    display: flex;
    gap: 15px;
}
.proj_icons a i{
    color: var(--secondary-text--);
}
.proj_icons a i:hover{
    color: var(--main-text--);
}
#contact{
    margin: 30px 50px;
}

.contact_form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0px 5px 5px 0px rgba(119, 119, 119, 0.16);
    border: 2px solid rgba(184, 183, 183, 0.159);
    padding: 30px 20px;
    width: 100%;
    border-radius: 5px;
}
.contact_form input, textarea{
    width: 100%;
    border: 2px solid rgba(138, 137, 137, 0.159);
    outline: none;
    padding: 15px 12px;
    border-radius: 5px;
    font-size: 14px;
    background-color: transparent;
    color: var(--main-text--);
    transition: .32s ease-in;
}

.contact_form input:focus, textarea:focus{
    border: 1px solid #399cdeeb;
}

@media screen and (max-width: 920px){
    .head_container{
    /* background-color: red; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
}
.header{
    border-radius: 0px;
    width: 100%;
}
}