*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}


body {
    line-height: 1.6;
    background-color: #f4f4f4;
}

.navbar{
   /* 
    margin: 0 0;
    width: 100%;
    height: 60px;
    */
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    color: #fff;
    position: sticky;
    width: 100%;
    top: 0;
    background-color: #111;
   
}

.logo{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: flex-start;
    align-content: center;
    border-radius: 50%;
    background-size: cover;
    overflow: hidden;
}

div .nav-links {
    display: flex;
    justify-content: flex-end;
    align-content: center;
    overflow: hidden;
    margin: 0 0 0 200px;
    padding-right: 20px;
   
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px;
    display: flex;
    justify-content: space-evenly;
}

nav ul li {
    margin: 0 15px;
    font-size: 18px;
    display: inline;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
}
nav ul li a:hover {
   cursor: pointer;
   color: #fff;
   color: #0d6efd !important;
}


section {
    padding: 20px;
    background-color: #fff;
    margin: 80px auto 20px; /* Adjusted for fixed nav */
    max-width: 800px;
    border-radius: 5px;
}
section h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    text-align: center;
}
section p {
    color: #666;
    text-align: center;
    line-height: 1.6;
    font-size: 16px;    
    margin-bottom: 20px;

}
.skill-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-card {
  padding: 20px;
  background: #eee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-card img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
}



.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.project {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    flex: 1 1 calc(33.333% - 20px);
    text-decoration: none;
}
.project img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.project h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}

.project p {
    margin-top: 10px;
    color: #333;
}
#articles a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
#articles a:hover {
    background-color: #314a66;
}
#articles {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;  
    border-radius: 5px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

#articles h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}
#articles p {
    color: #666;
    margin-bottom: 20px;
}
#articles span {
    color: #2f3438;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}
#articles ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;

}
#contact h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
}
#contact p {
    color: #666;
    margin-bottom: 20px;
}
#contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

#contact {
    background-color: #f4f4f4;
    padding: 20px;
    text-align: center;
}
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100%;
}
@media (max-width: 768px) {
    .project {
        flex: 1 1 calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .project {
        flex: 1 1 100%;
    }
}
footer p {
    margin: 0;
}
footer a {
    color: #fff;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
/* End of styles.css */