.history-intro {
    padding: 50px;
    background-image: url(images/history/background.jpg);
    width: 100vw;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


h1 {
    font-family: 'Libre Baskerville';
    font-style: normal;
    font-weight: 400;
    text-align: center;
    font-size: 80px;
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);

}

.work-history {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}


.sort-buttons {
    text-align: center;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.5s ease;
    border-radius: 5px;
}

button i {
    margin-right: 8px;
}

button:hover {
    background-color: #2980b9;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project {
    width: calc(33.333% - 20px);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.project:hover {
    box-shadow: 8px 8px 12px rgba(0, 0, 0, 0.1), -8px -8px 12px white;
    transform: translateY(-8px);
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-details {
    margin-top: 15px;
}

.project-details h3 {
    font-size: 18px;
    margin: 0;
    font-weight: bold;
}

.project-details p {
    font-size: 14px;
    margin: 5px 0;
}

.project-type {
    font-weight: bold;
}

.project-overview {
    font-size: 13px;
    color: #555;
}

@media (max-width: 768px) {
    .project {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .project {
        width: 100%;
    }
}
