/* General Reset */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Josefin Sans", sans-serif;
}

body {
    
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Header */
header {
    background: #9b0a1e;
    color: #f7f7f7;
    text-align: center;
    padding: 50px 20px;
}

header h1 {
    font-size: 2.6em;
}

header p {
    font-size: 1.2em;
}

/* Section */
.section {
    margin: 20px 0;
}

.section h2 {
    text-align: center;
    color: #444;
    margin-bottom: 20px;
}

/* Info & Skills */
.info, .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info > div, .skills > div {
    flex: 1 1 300px;
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skills .bar {
    height: 20px;
    background: #9b0a1e;
    margin: 5px 0;
    border-radius: 10px;
}

/* Artworks Section */
.artworks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.artworks img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.artworks img:hover {
    transform: scale(1.05);
}

 Contact Section 

#contact {
    box-shadow: 0px 20px 25px rgb(66, 66, 66);
    width: 300px;
    height: 300px;
    background: #f4f4f4;
    color: rgb(61, 61, 61);
    font-family: "Josefin Sans", sans-serif;
    font-size: large;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 20px 25px rgb(66, 66, 66);
    padding: 20px;
    border-radius: 24px;
    margin-bottom: 15px;



    text-align: center;
}

#contactForm {
    max-width: 350px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#contactForm label {
    text-align: left;
    font-weight: bold;
    margin-bottom: 2px;
}

#contactForm input, #contactForm textarea {
    padding: 6px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.5s ease;
}

#contactForm input:focus, #contactForm textarea:focus {
    outline: none;
    border-color: #0078ff;
}

#contactForm button {
    margin-top: 5px;
    padding: 10px;
    background-color: #9b0a1e;
    color: white;
    border:rgb(61, 61, 61);
    border-radius: 5px;
    cursor: pointer;
    width: 200px;
    align-self: center;
    transition: background 0.6s ease;
    
}

#contactForm button:hover {
    background-color: #005bb5;
} 



    .skills {
        margin: 20px 0;
    }
    
    .skill-container {
        display: flex;
        align-items: center; /* Aligns items vertically */
    }
    
    .percentage {
        margin-right: 10px; /* Space between percentage and bar */
        font-weight: bold; /* Makes the percentage text bold */
        min-width: 40px; /* Ensures consistent width for alignment */
    }
    
    .bar {
        height: 20px;
        background-color: #4CAF50; /* Green */
        border-radius: 5px;
        transition: 0.5s; /* Smooth transition */
        flex-grow: 0; /* Allows the bar to take up remaining space */
    }