@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

html{
    scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', sans-serif;
  padding: 0;
  margin: 0;
  background: #1b263b;
  color: white;
  letter-spacing: 2px;
}

.header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: #0d1b2a;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.header a{
    text-decoration: none;
    color: white;
}

.logo{
  font-size: 30px;
  font-weight: 450;
  letter-spacing: 3px;
}
.logo:hover{
    transform: scale(1.04);
}

.navbar{
    margin-right: 20px;
}

.navbar a{
   font-size: 22px;
   margin-left: 20px;
}
.navbar a:hover{
    color: rgb(33, 165, 183);
}

.home{
    padding-top: 120px;
}
section{
    scroll-margin-top: 90px;
}


.home-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-content img {
    width: 250px;
    max-width: 80%;
    height: auto;
}

.about-content p{
    margin: 20px auto;
    width: 90%;
    max-width: 900px;
    line-height: 1.6;
}
.heading{
    background-color: #0d1b2a;
    padding: 10px 40px;
    display: flex;
    justify-content: center;
    font-size: clamp(22px, 5vw, 32px);
    text-align: center;
    font-weight: 550;
}

.skill-list{
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.skill-list ul {
    list-style-position: inside;
    padding: 0;
    margin: 0;
    width: 260px;
}

.skill-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .skill-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: left;
    }

    .skill-list ul {
        width: 90%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 15px 20px;
    }

    .navbar {
        margin: 10px 0 0 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar a {
        font-size: 16px;
        margin: 8px 10px;
    }
}

.project{
    background-color: rgb(18, 72, 83);
    border-radius: 0.5cm;
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    width: 90%;
    max-width: 900px;
}

.project-content{
    margin-left: 30px;
    margin-right: 30px;
}

.project-title{
    background-color: #0d1b2a;
    padding: 10px 40px;
    border-top-left-radius: 0.5cm;
    border-top-right-radius: 0.5cm;
    display: flex;
    justify-content: center;
}

.contact-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.links{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

@media (max-width: 480px) {
    .links {
        flex-direction: column;
        gap: 10px;
    }
}

.links a{
    color: rgb(33, 165, 183);
    text-decoration: none;
}

.cv-btn {
    color: rgb(33, 165 ,183);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.5s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cv-btn:hover {
    color: #1775da;

}


.footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    background-color: #0d1b2a;
    margin-top: 20px;
}
