* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    background-color: #4747478d;
    font-family: Arial, sans-serif;
}
.home, .about, .skills, .project, .contact, .hobby {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.home {
    background-image: url("https://wallpapers.com/images/hd/beautiful-nature-pictures-2c29nke7owomq7la.jpg");
    background-size: cover;
}
.about {
    background-color:#000; 
}
.skills {
    background-image: url("https://images.pexels.com/photos/5598301/pexels-photo-5598301.jpeg?cs=srgb&dl=pexels-anntarazevich-5598301.jpg&fm=jpg");
    background-size: cover;
}
.hobbies {
    background-image: url("https://as1.ftcdn.net/v2/jpg/04/17/82/24/1000_F_417822477_kt3vFAeJZrOcdbJm4YECuP9vsH6dXdv7.jpg");
    background-size: cover;
}
.project {
    background-color: #000;
}
.contact {
    background-color: #fff;
    height: 800px;
}
.menu {
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    border-radius: 10px;
    z-index: 1; /* Ensure it's on top */
}
.menu i {
    font-size: 25px;
    color: #fff;
}
.tab {
    width: 350px;
    background-color: rgba(0, 0, 0, 0.8);
    height: 100vh;
    border: 2px solid #000;
    position: fixed;
    top: 0;
    left: -354px;
    transition: 1s;
}
.show-tab {
    left: 0;
    z-index: 10;
}
.tab ul {
    padding: 30px;
    list-style-type: none;
}
.tab ul li {
    margin-bottom: 20px;
}
.tab ul li a {
    color: #a7a7a7;
    text-decoration: none;
    font-size: 23px;
}
.x {
    cursor: pointer;
    margin-left: 300px;
    margin-top: 10px;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    border-radius: 10px;
}
.x i {
    font-size: 30px;
    color: #fff;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s;
}
.show-overlay {
    opacity: 0.5;
    z-index: 2;
}
.img1 {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 20px;
    margin-left: 100px; 
}
html {
    scroll-behavior: smooth;
}
.h2 {
    color: #fff;
    margin-top: 20px;
    margin-left: 90px;
}
.tab ul li a:hover {
    color: #fff;
}
.tab ul li a i:hover {
    color: aqua;
}
.home-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.home-content h2,
.home-content h3 {
    margin: 5px 0;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
input, textarea {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}
button[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: #0056b3;
}
.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 30px; /* Spacing between the skills */
    max-width: 800px; /* Optional: limit the width */
    margin: 0 auto; /* Center the grid */
    padding: 20px;
}

.skill {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.progress {
    background-color: #e0e0e0; /* Background for the progress bar */
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
    min-width: 400px; 
}

.progress-bar {
    background-color: #0064fb; /* Green for filled progress */
    height: 20px;
    line-height: 20px; /* Center text vertically */
    color: white;
    min-width: 300px; /* Ensure progress bar is at least 300px */
    transition: width 0.3s ease; /* Smooth filling effect */
}

.hobbies-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px; /* Spacing between the items */
    max-width: 800px; /* Optional: limit the width */
    margin: 0 auto; /* Center the grid */
    padding: 20px;
}

.hobby-item {
    background-color: #2e2d2d56;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center; /* Center text below the image */
}

.hobby-item p,h3{
    color: #fff;
}

.hobby-item img {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Slightly round the image corners */
    max-height: 200px; /* Set a maximum height for the images */
}
.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.about-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin-right: 30px;
}

.about-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 400px;
}

.column {
    width: 50%;
    color: white;
    font-size: 18px;
}

.column p {
    margin: 5px 0;
    margin-bottom: 100px;
    margin-top: 100px;
}

.about-content img{
    width:400px ;
    height:500px ;
    border-radius: 8px;
    margin-right:10px;
    margin-left: 100px;
}
.contact {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.section-title p {
    font-size: 16px;
    color: #6c757d;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col {
    flex: 1;
    margin: 20px;
    min-width: 300px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.info-box {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
}

.info-box i {
    font-size: 40px;
    color: #00aaff;
    margin-bottom: 10px;
}

.info-box h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 16px;
    color: #6c757d;
}

.contact-form {
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    color: #fff;
}

.contact-form textarea {
    resize: none;
    height: 150px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #00aaff;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0088cc;
}
.projects {
    padding: 50px 0;
    text-align: center;
    background-color: #fff;
}

.projects h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.project-item {
    width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(69, 69, 69, 0.105);
}

.project-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item h3 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #000000;
}
