body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Navigation */
[role="navigation"] {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

[role="navigation"] ul {
    padding: 0;
    list-style: none;
    text-align: center;
}

[role="navigation"] li {
    display: inline;
    margin: 0 10px;
}

[role="navigation"] a {
    color: #fff;
    text-decoration: none;
}

/* Main content */
[role="main"] {
    padding-top: 60px; /* To account for fixed navigation */
}

.section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

/* Hero section */
.hero {
    background: #f4f4f4;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/* About section */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about-text {
    flex: 2;
    padding-right: 30px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 50%;
}

/* Skills section */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    padding: 0;
}

.skill-item {
    background: #f4f4f4;
    margin: 10px;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Projects section */
.project {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Contact form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button[type="submit"] {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
.social-links {
    text-align: center;
    margin-bottom: 20px;
}

.social-link {
    margin: 0 10px;
    color: #333;
    text-decoration: none;
}

/* Past Work section */
.work-experience {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.company-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.job h3 {
    margin-top: 0;
}

.job .company, .job .date {
    font-style: italic;
    color: #666;
}

.job ul {
    padding-left: 20px;
}

/* Wells */
.well {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 2px;
    transition: background-color 0.3s ease;
}

/* Plate background */
#plate-background {
    display: grid;
    grid-template-columns: repeat(24, auto);
    gap: 2px;
    padding: 10px;
    background-color: rgba(240, 240, 240, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    pointer-events: none;
    width: calc(100% - 20px); /* Adjust for padding */
    height: calc(100% - 20px); /* Adjust for padding */
}

/* Liquid handler */
#liquid-handler {
    position: fixed;
    z-index: -1;
    pointer-events: none;
    background-color: rgba(51, 51, 51, 1);
    border-radius: 10px;
    transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, height 0.3s ease;
}

/* Ensure content is above the plate background and liquid handler */
.container {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Section colors */
#home { --section-color: #ff6b6b; }
#about { --section-color: #4ecdc4; }
#skills { --section-color: #45b7d1; }
#past-work { --section-color: #feca57; }
#projects { --section-color: #ff9ff3; }
#vision { --section-color: #54a0ff; }
#contact { --section-color: #5cd85a; }

/* Adjust section padding to accommodate the plate background */
.section {
    padding: 80px 0;
}

/* Make sure text is readable on colored backgrounds */
.section-title,
.about-text p,
.project p,
.vision p {
    color: #333;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}
