.background-img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.slogan-container {
    position: absolute;
    top: 150px;
    max-width: 98%;
    left: 10%;
    max-width: 98vw;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px 30px;
}

.slogan-small {
    position: relative;
    color: var(--kibuh-subtle);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0px;
}

.slogan-big {
    color: var(--kibuh-main);
    font-size: 52px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 3px 3px 3px var(--kibuh-main-dark);
    margin: auto;
    text-wrap: nowrap;
}

.events-btn-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.btn-events,
.btn-donate {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    border: 4px solid var(--kibuh-main);
    border-radius: 5px;
    padding: 10px 20px;
    min-width: 180px;
    text-decoration: none;
    text-align: center;
}

.btn-events {
    background-color: var(--kibuh-main);
    color: var(--kibuh-main-text);
}

.btn-donate {
    color: var(--kibuh-main);
    background-color: transparent;
}

.head-text {
    margin: 10px auto;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    color: var(--kibuh-text);
}

.text {
    width: 80%;
    margin: 10px auto;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--kibuh-text);
}

.short-text-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.short-text-panel {
    display: flex;
    flex-direction: column;
    width: 400px;
    margin: 0px 20px;
    padding: 15px;
}

.panel-img {
    display: block;
    margin: 0px;
    border-radius: 10px;
    background-color: dimgrey;
}

.panel-header {
    font-size: 22px;
    font-weight: 900;
    margin: 0px;
    color: var(--kibuh-text);
}

.panel-text {
    margin: 5px 0px;
    min-height: 50px;
}

.panel-link {
    margin: 0 20px 10px;
    color: lightcoral;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.festival-section {
    width: 80%;
    max-width: 1100px;
    margin: 40px auto;
    text-align: center;
}

.festival-heading {
    margin-bottom: 15px;
    font-size: 30px;
    font-weight: 700;
}

.festival-text {
    margin: 10px auto;
    font-size: 18px;
    line-height: 1.6;
}

.festival-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}


@media (max-aspect-ratio: 1/1) {
    .slogan-container {
        left: 2%;
        right: 2%;
    }

    .slogan-small {
        font-size: 14px;
    }

    .slogan-big {
        font-size: clamp(28px, 34px, 42px);
    }

    .btn-events {
        font-size: 16px;
        padding: 5px 20px;
    }

    .btn-donate-hide{
        display: none;
    }

    .short-text-container {
        flex-direction: column;
    }

    .short-text-panel {
        width: 95vw;
        max-width: 95vw;
    }

    .background-img {
        height: 150rem;
    }
}