.gewerke-container {
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 2px;
    justify-content: flex-start;
    align-content: flex-start;
}

.gewerk-box {
    background-color: #FFA500;
    padding: 10px;
    color: #333;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border: 1px solid #cc8400;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    font-size: 1.1em;
    background-size: 20px 20px;
    min-width: max-content;
    opacity: 0;
    animation: brickDrop 0.1s forwards;
}

.border-container {
    position: relative;
    border: 1px solid #FFA500;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.border-title {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    color: #FFA500;
    font-weight: bold;
    padding: 0 10px;
    font-size: 1.2rem;
}

.custom-dropdown-item {
    background-color: #FFA500;
    color: #333;
    border: 1px solid #cc8400;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 5px;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
    text-decoration: none;
}

.custom-dropdown-item:hover {
    background-color: #e69500;
    color: white;
}

.gewerke-container .gewerk-box:last-child {
    animation: brickDrop 0.5s forwards;
}


.gewerke-container .gewerk-box:nth-child(1) {
    animation-delay: 0.1s;
}

.gewerke-container .gewerk-box:nth-child(2) {
    animation-delay: 0.2s;
}

.gewerke-container .gewerk-box:nth-child(3) {
    animation-delay: 0.3s;
}

.gewerke-container .gewerk-box:nth-child(4) {
    animation-delay: 0.4s;
}

.gewerke-container .gewerk-box:nth-child(5) {
    animation-delay: 0.5s;
}

.gewerke-container .gewerk-box:nth-child(6) {
    animation-delay: 0.6s;
}

.gewerke-container .gewerk-box:nth-child(7) {
    animation-delay: 0.7s;
}

.gewerke-container .gewerk-box:nth-child(8) {
    animation-delay: 0.8s;
}

.gewerke-container .gewerk-box:nth-child(9) {
    animation-delay: 0.9s;
}

.gewerke-container .gewerk-box:nth-child(10) {
    animation-delay: 1s;
}

.gewerke-container .gewerk-box:nth-child(11) {
    animation-delay: 1.1s;
}

.gewerke-container .gewerk-box:nth-child(12) {
    animation-delay: 1.2s;
}

.gewerke-container .gewerk-box:nth-child(13) {
    animation-delay: 1.3s;
}

.gewerke-container .gewerk-box:nth-child(14) {
    animation-delay: 1.4s;
}

.gewerke-container .gewerk-box:nth-child(15) {
    animation-delay: 1.5s;
}

.gewerke-container .gewerk-box:nth-child(16) {
    animation-delay: 1.6s;
}

.gewerke-container .gewerk-box:nth-child(17) {
    animation-delay: 1.7s;
}

.gewerke-container .gewerk-box:nth-child(18) {
    animation-delay: 1.8s;
}

.gewerke-container .gewerk-box:nth-child(19) {
    animation-delay: 1.9s;
}

.gewerke-container .gewerk-box:nth-child(20) {
    animation-delay: 2s;
}

@keyframes brickDrop {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1279px) {
    .gewerk-box {
        padding: 10px;
        font-size: 0.9em;
    }
}