*{
    margin: 0;
    padding: 0;
    font-family: 'Times New Roman', Times, serif;
}

body{
    font-family: sans-serif;
    font-weight: 300;
    line-height: 1.4;
    background-color: #e0e0e0;
}


.nav-bar{
    background-color: black;
    color: white;
    padding: 0.1px;
    
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    z-index: 1000;
    padding: 0.5rem;
    padding-top: 2%;
}

body {
    margin-top: 60px;
}



h3{
    word-spacing: 40px;
    text-align: left;
    text-indent: 60%;
    transform: translateY(-20px);
    margin: 0%;
}

.body h1{
    font-size: 50px;
}

h5{
    font-size: 30px;
}
.body{
    align-items: center;
    padding-left: 20%;
    padding-top: 12%;
    font-size: larger;
}

.image{
    display: flex;
    align-items: center;
    padding-left: 50%;
    transform: translateY(-250px);
    
}

.Resume{
    display: flex;
    transform: translateY(-430px);
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 50px;
    text-align: center;
    background-color: gray;
    color: white;
}

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

.Resume a:hover {
    color: lightgray;
}

h2{
    transform: translateY(-430px);
    padding-left: 20%;
    font-size: 19px;
    font-family: 'Times New Roman', Times, serif;
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 50px;
    text-align: center;
    background-color: gray;
    color: white;
}

h2:hover {
    background-color: white;
    color: black;
    border-color: gray;
    transform: translateY(-430px) scale(1.1);
}

.line-before-section{
    transform: translateY(-200px) scale(1.1);
    width: 80%;
    height: 2px;
    background-color: black;
    padding-left: 15%;
}

.About {
    display: flex;
    padding-left: 55%;
    transform: translateY(-100px);
}

.image-2 {
    display: flex;
    transform: translateY(-150px);
}

.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.logo img {
    margin: 0;
}

.line-before-section2{
    transform: translateY(-200px) scale(1.1);
    width: 80%;
    height: 2px; 
    background-color: black; 
    padding-left: 15%;
}

.Skills{
    transform: translateY(-150px) scale(1.1);
    padding-left: 10%;
}

.h4 p {
    font-weight: bold;
    font-size: 24px;
    margin: 0;
}

.progress-bar {
    font-family: Arial, sans-serif;
    width: 60%;
    margin: 20px auto;
    padding-left: 47%;
    transform: translateY(-450px) scale(1.1);
}

.skill {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.label {
    width: 120px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.bar {
    width: 100%;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-left: 20px;
}

.progress {
    height: 100%;
    text-align: center;
    line-height: 30px;
    color: white;
    font-weight: bold;
    border-radius: 15px;
}

.html {
    background-color: #f44;
}

.css {
    background-color: #2965f1;
}

.javascript {
    background-color: #f0db4f;
}

.react {
    background-color: #61dbfb;
}

.java {
    background-color: #007396;
}

.cpp {
    background-color: #00599c; 
}

.skill .progress::after {
    content: attr(data-progress);
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 14px;
    font-weight: normal;
    color: #333;
}

.line-before-section3{
    transform: translateY(-260px) scale(1.1);
    width: 80%;
    height: 2px; 
    background-color: black; 
    padding-left: 15%;
}

.Projects{
    transform: translateY(-250px) scale(1.1);
    padding-left: 10%;
}

#Projects {
    margin: 50px 0;
}

#Projects h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.projects-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px; 
    transform: translateY(-250px);
}

.project-box {
    width: 250px;
    height: 400px;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.project-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.project-box h3 {
    font-size: 20px;
    margin: 15px 0;
}

.project-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.project-box .btn {
    background-color: #333;
    color: white;
    padding: 10px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.project-box .btn:hover {
    background-color: #555;
}

.line-before-section4{
    transform: translateY(-100px) scale(1.1);
    width: 80%;
    height: 2px; 
    background-color: black; 
    padding-left: 15%;
}

.Contact-me {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.Contact-me h2 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 20px;
}

.Contact-me form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, 
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
}

.form-group textarea {
    height: 100px;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

.form-submit {
    text-align: center;
}

.form-submit button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-submit button:hover {
    background-color: #45a049;
}

@media (max-width: 600px) {
    .contact-section {
        padding: 30px 10px;
    }

    .form-group input, 
    .form-group textarea {
        font-size: 14px;
    }

    .form-submit button {
        font-size: 14px;
    }
}