.info-box {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center the content */
}

.info-box h3 {
    font-size: 1.5em;
    margin-top: 0;
}

.requirement-box {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px; /* Decreased padding */
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 60%; /* Adjust the width as needed */
    margin: 0 auto; /* Center the box horizontally */
}

.requirement-box p {
    margin: 0; /* Remove default margin for paragraphs inside boxes */
}

/* Make the menu stick to the top of the screen on smaller screens */
@media screen and (max-width: 600px) {
    #navDemo {
      position: fixed;
      top: 40px; /* Add a margin-top value */
      width: 100%;
      z-index: 9999;
    }
  }


.project-carousel {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    padding: 24px 0;
    overflow: hidden;
}

.project-carousel__viewport {
    overflow: hidden;
    width: 100%;
}

.project-carousel__track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.project-card {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: #1f1f1f;
}

.project-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.project-card__image--contain {
    object-fit: contain;
    background-color: #ffffff;
    padding: 8px;
    box-sizing: border-box;
}

.project-card__body {
    background-color: #f6f6f6;
    border-radius: 6px;
    padding: 16px 20px;
    color: inherit;
}

.project-card__subtitle {
    font-weight: 600;
    margin-bottom: 8px;
    color: #00695c;
}

.project-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: #004d40;
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-carousel__nav:hover {
    background-color: #00332d;
    transform: translateY(-50%) scale(1.05);
}

.project-carousel__nav:focus {
    outline: 3px solid #009688;
    outline-offset: 2px;
}

.project-carousel__nav--prev {
    left: 16px;
}

.project-carousel__nav--next {
    right: 16px;
}

.project-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.project-carousel__pause {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #00332d;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-carousel__pause:hover {
    background-color: #002824;
    transform: translateY(-2px);
}

.project-carousel__pause:focus-visible {
    outline: 3px solid #009688;
    outline-offset: 2px;
}

.project-carousel__pause[aria-pressed="true"] {
    background-color: #555555;
}

.project-carousel__pause-icon {
    font-size: 1rem;
    line-height: 1;
}

.project-carousel__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #009688;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-carousel__dot.is-active {
    background-color: #009688;
    transform: scale(1.1);
}

.project-carousel__dot:focus-visible {
    outline: 2px solid #004d40;
    outline-offset: 2px;
}

.project-carousel__tip {
    font-size: 0.9rem;
    color: #e0f2f1;
    margin-top: 8px;
}

#projecten .w3-col {
    margin-bottom: 24px;
}

@media screen and (max-width: 991px) {
    .project-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 24px;
    }
}

@media screen and (max-width: 600px) {
    .project-carousel {
        padding: 16px 0;
    }

    .project-card {
        padding: 0 16px;
    }

    .project-carousel__nav {
        width: 36px;
        height: 36px;
    }

    .project-carousel__nav--prev {
        left: 8px;
    }

    .project-carousel__nav--next {
        right: 8px;
    }
}
