@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

body{
    font-family: "Poppins", sans-serif;
    background-color: #F5F3EF;
    color: #2A2A2A;
}

.navbar{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /*margin-top: 0px;*/
    padding: 20px;
    background-color: #1B2430;
}

.navbar li{
    display: inline-block;
    list-style: none;
    margin-right: 40px;
}

.navbar a{
    text-decoration: none;
    color: #F5F3EF;
    font-family:"Poppins", sans-serif;
    font-size: 16px;
    font-weight: bold;
}
.navbar a:hover{
    color: #D4A73D;
    transition: 0.25s;
}

h1{
    text-decoration:underline #D4A73D;
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.about-me{
    display: flex;
    flex-direction: row;
    /*margin: 0px;*/
    padding: 20px;
    gap: 20px;
    flex: 1 1 auto;
}

.about-me em{
    font-weight: bold;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-style: italic ;
}
.about-me h2{
    font-size: 25px;
    margin-bottom: 20px;
    text-decoration: underline;
}

.about-me img{
    max-width: 300px;
    width: 100%;
    height: 100%;
    margin-right: 40px;
    margin-top: 50px;
    border: 3px solid #D4A73D;
}

.about-me p{
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: normal;
    /* text-align:right; */
    /*border: 1px solid black;*/
    margin-right: 70px;
    line-height: 2.1;
    text-align: justify;
}

.svg{
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

svg{
    width: 18px;
    height: 20px;
    margin-right: 10px;
    margin-top: 6px;
    flex-shrink: 0;
}



.skills-section h2{
    margin-left: 20px;
    text-decoration: underline;

}
.skills ul{
    display: flex;
    flex-direction: row;      /* was: column */
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    margin: 20px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    list-style: none;
}

.skills li{
    background-color: #1B2430;
    color: #F5F3EF;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 500;
    transition: 0.25s;
}

.skills li:hover{
    background-color: #D4A73D;
    color: #1B2430;
}

.projects-section h2{
    margin-left: 20px;
    text-decoration: underline;
}

.projects-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}

.project-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #1B2430;
    width: 250px;
    padding: 20px;
}

.project-card img{
    max-width: 400px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card-body h3, .project-card-body p{
    color: whitesmoke;
    text-align: center;
}

.project-card-body h3{
    margin-top: 10px;
}

.project-card-body p{
    margin-top: 6px;
    font-size: 14px;
}

.project-card a{
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #D4A73D;
    color: #1B2430;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.25s;
}

.project-card a:hover{
    background-color: #F5F3EF;
}

.contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 90%;
    max-width: 1000px;
}

.contact-links{
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.contact-item{
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2A2A2A;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    transition: 0.25s;
}

.contact-item svg{
    width: 20px;
    height: 20px;
    fill: #1B2430;
    flex-shrink: 0;
    margin: 0;
}

.contact-item:hover{
    color: #D4A73D;
}

.contact-item:hover svg{
    fill: #D4A73D;
}

footer{
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #1B2430;
    color: #F5F3EF;
}

@media( max-width: 650px){
    .navbar{
        max-width: 100%;
        width: 650px;
        font-size: 12px;
        justify-content: center;
        align-items: center;
    }
    .about-me{
        flex-direction: column;
        align-items: center;
  
        
    }
    .about-me img{
        width: 300px;
        max-width: 100%;
        height: auto;
        margin: 0;
        /* float: right; */
    }
    .about-me p{
        margin-right: 0;
    }
    .fun-area{
        flex-direction: column;
        font-size: 12px;
        flex-wrap: wrap;
        margin: auto;
        justify-content: center;
    }
    .contact{
        font-size: 16px;
    }
}