.warning {
    line-height: 50px;
    background-color: rgb(254, 178, 178);
    margin-left: 200px;
    margin-right: 200px;
    border-style: solid;
    border-color: rgb(254, 139, 139);
    text-align: center;
}

.top-image-experience {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 0% 80%;
}

.experience-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 100px 50px 100px;
}

.experience-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.experience-content {
    padding: 20px;
    font-family: 'Roboto', sans-serif;
}

.experience-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.experience-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

/* === Dark Mode Support === */
body.dark-mode {
    background-color: black;
    color: white;
}

body.dark-mode .header {
    background-color: black;
}

body.dark-mode .left-section,
body.dark-mode .skills-button,
body.dark-mode .experience-button,
body.dark-mode .resume-buttons,
body.dark-mode .contact-button {
    color: white;
}

body.dark-mode .experience-card {
    background-color: #1e1e1e;
    border-color: #333;
    color: white;
}

body.dark-mode .experience-date {
    color: #aaa;
}

body.dark-mode .experience-content h3 {
    color: #f0f0f0;
}
