/*
Custom CSS for TemplateMo 561 Purple Buzz

https://templatemo.com/tm-561-purple-buzz

*/

@media (min-width: 992px) {
    .navbar{
        max-height: 100px;
    }
}
#main_nav{
    background-color: #cbed64 !important;
}
.nav-link:hover{
    background-color: #f9f167 !important;
    color:#2e2b00 !important;
}
.nav-link{
    color: #2e2b00 !important;

}
.nav-item{
    font-size: 1.75rem;
}

.container .incubations .card-text{
    color:#000000;

}

.container .incubations .card .btn{
    background-color: rgba(252, 248, 171, 0.6); /* 50% Deckkraft */
    color:#000000;
    font-weight:550;
}

.content .nav a{
    background-color: #fbf69d;
    color:black;
    border-color: #ccc200;
}

.content .nav.row{
    margin-bottom: 1rem !important;
    margin-top: 1rem !important;
}

.top-nav {
    display: flex;
    justify-content: center; /* zentriert horizontal */
    align-items: center;      /* zentriert vertikal (optional) */
    height: 60px;             /* optional: für vertikale Zentrierung */
    background-color: #f8f9fa; /* Beispielhintergrund */
    font-size: 1.33rem;
}

.task-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.task {
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #dfeadd;
    border-left: 6px solid #4caf50;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    font-size: 0.8rem;
}

.task-description {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    margin-left: 2rem;
}

.task-title {
    font-size: 1.4rem;
    color: #2e7d32;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 2rem;
}

.task-due {
    font-size: 1.25rem;
    font-weight: 500;
    color: #757575;
    margin-bottom: 1rem;
}

.task-meta {
    margin-left: 2rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #444;
}

.task-link {
    color: #388e3c;
    text-decoration: none;
    font-weight: 500;
}

.task-link:hover {
    text-decoration: underline;
}

.task-actions {
    margin-top: 0.8rem;
}

.task-btn {
    font-size: 0.6rem;
    padding: 0.5rem 1.2rem;
    margin-right: 1rem;
    border: 2px solid #4caf50;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.task-btn:hover {
    background-color: #c8e6c9;
    border-color: #388e3c;
    color: #1b5e20;
    text-decoration: none;
}

.task-btn.task-cancel {
    border-color: #e53935;
    background-color: #ffebee;
    color: #b71c1c;
}

.task-btn.task-cancel:hover {
    background-color: #ffcdd2;
    border-color: #c62828;
    color: #b71c1c;
}
.overlay-box {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    width: 80%; /* 👈 hier breiter machen */
}

/*Images Lightbox Modal*/

.image-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.3rem;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
