/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Index Page Styles */
.index-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(to right, black 50%, white 50%);
    color: white;
    text-align: center;
    position: relative;
}

.index-title {
    font-size: 36px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

/* Make the second half of the name visible */
.index-title span {
    color: black;
    background-color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Navigation Menu */
.menu {
    position: absolute;
    left: 20px;
    top: 20px;
}

.menu a {
    display: block;
    text-decoration: none;
    color: white;
    padding: 10px;
    background-color: #333;
    margin: 5px 0;
    border-radius: 5px;
}

.menu a:hover {
    background-color: #555;
}

/* About Page Styles */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding: 50px;
}

.image-container img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
}

.text-container {
    max-width: 600px;
}

/* Skills Page Styles */
.skills-container {
    text-align: center;
    padding: 50px;
}

.skills-container ul {
    list-style-type: none;
    padding: 0;
}

.skills-container li {
    margin: 10px 0;
}

/* Projects Page Styles */
.projects-container {
    text-align: center;
    padding: 50px;
    position: relative;
}

.project {
    display: inline-block;
    margin: 20px;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.project img {
    width: 300px; /* Increased size */
    height: auto;
    border-radius: 10px;
}

.project:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

.project:hover .project-description {
    display: block;
}

.project-description {
    display: none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 250px;
    text-align: center;
}

/* Back to Home Button */
.back-home {
    display: block;
    width: 150px;
    margin: 20px auto;
    padding: 10px;
    text-align: center;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-home:hover {
    background-color: #555;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 50px;
}

.form-container {
    max-width: 400px;
    padding: 20px;
}

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

label {
    margin-top: 10px;
}

input, textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 15px;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}
