/* 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: #f8f8f8;
    height: 100%;
    margin-bottom: 50px;
}



/* Container */
.container {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 20px 10% 10px 10%;
}

/* Header */
header {
    background:#0078ff;
    color: #f7f7f7;
    text-align: center;
    padding: 30px 0px 30px 0px;
    position: sticky;
    top: 0px;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2.6em;
    letter-spacing: 1px;

}

header p {
    font-size: 1.2em;
}

/* Section */
.section {
    margin: 20px 0;
    
}

.section h2 {
    text-align: center;
    color: #444;
    margin-bottom: 20px;
}

.container1 {
    width: 100%;
    max-width: fit-content;
    margin: auto;
    min-width: fit-content;
}

.information {
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.17);
display: flex;
flex-wrap: wrap;
height: fit-content;
justify-content: center;
border-radius: 5px;
align-items: center;
margin: 20px 50px 5px 50px;
}

.container1 .information img{
    width: 200px;
    height: 200px;
    float:left;
    padding: 10px 10px 10px 10px;
    margin: 10px 20px 10px 20px;
}
.inf{
    margin: 5px 20px 15px 20px;
    font-size:small;
    padding: 5px;
    height: fit-content;

}

.menu{
    text-align: center;
    position:fixed;
    bottom: 35px;
    width: 100%;
}

.menu a{
    color:#f7f7f7;
    background-color:#0060ce;
    padding: 8px 10px 5px 10px ;
    font-weight:normal;;
    transition: background 0.6s ease;
    text-decoration:none;
    transition: 1s;
    margin: -3px;
}

.about{
    border-radius: 10px 0px 0px 0px;
}
.art .skill{
    border-radius: 0px 0px 0px 0px;
}
.contact{
    border-radius: 0px 10px 0px 0px;
}

.menu .contact:hover {
    background-color: #0078ff;
    padding: 10px 8px 5px 8px ;
    margin: 0px 5px 0px 5px;
    letter-spacing: 2px;
    font-weight: bold;

}
.menu .art:hover {
    background-color: #0078ff;
    padding: 10px 8px 5px 8px ;
    margin: 0px 5px 0px 5px;
    letter-spacing: 2px; 
    font-weight: bold;

}
.menu .about:hover {
    background-color: #0078ff;
    padding: 10px 3px 5px 9px ;
    margin: 0px 9px 0px 5px;
    letter-spacing: 2px;
    font-weight: bold;
}
.menu .skill:hover {
    background-color: #0078ff;
    padding: 10px 8px 5px 8px ;
    margin: 0px 4px 0px 9px;
    letter-spacing: 2px;
    font-weight: bold;

 }

 .menu a:active{
    background-color: #0078ff;

 }



/* 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: #0060ce;
    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 {
    height: auto;
    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;
    padding: 20px;
    border-radius: 24px;
    margin-bottom: 15px;
    margin-bottom: 15px;
}


#contactForm {
    max-width: 300px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#contactForm label {
    text-align: left;
    font-weight: bold;
    margin-bottom: 2px;
}

#contactForm input, #contactForm textarea {
    width: 300px;
    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: 15px;
    margin-bottom: 50px;
    padding: 10px;
    background-color: #0060ce;
    color: white;
    border:rgb(61, 61, 61);
    border-radius: 5px;
    cursor: pointer;
    width: 300px;
    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: #0060ce; /* Green */
        border-radius: 5px;
        transition: 0.5s; /* Smooth transition */
        flex-grow: 0; /* Allows the bar to take up remaining space */
    }

   

   footer{
    background-color: #0060ce;
    text-align: center;
    padding: 5px;
    font-weight: bolder;
    color: #e0e0e0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
   }