/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
}

/* OGÓLNE */
body {
    font-family: Arial, sans-serif;
    background: #006a89;
    color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

h2 {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
}

h3 {
    text-align: center;
}

a {
    color: #fff;
}

.center {
    text-align: center;
    color: red;
}

/* HERO */
.hero {
    height: 30vh;
    background: url('/img/hero.jpg') center/cover;
    position: relative;
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
}

/* BUTTON */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #c8102e;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.25s ease;
}

.btn:hover {
    background: #a60d25;
}

/* SEKCJE */
section {
    padding-top: 20px;
    padding-bottom: 60px;
}

.cards,
.cards_hotele {
    display: grid;
    gap: 20px;
}

.card {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
}

/* MAPA */
.map-container {
    border-radius: 10px;
    overflow: hidden;
}

/* LOGOTYPY */
.sponsors {
    display: grid;
    gap: 35px;
    justify-items: center;
    align-items: center;
}

/* ORGANIZATORZY */
.organizers {
    display: grid;
    gap: 35px;
    text-align: center;
}

.organizer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

/* PARTNERZY + PATRONI */
#partnerzy .sponsors,
#patroni .sponsors {
    grid-template-columns: repeat(3, 1fr);
}

/* SPONSORZY */
#sponsorzy .sponsors {
    grid-template-columns: repeat(5, 1fr);
}

/* WSPARCIE */
#wsparcie .sponsors {
    grid-template-columns: repeat(1, 1fr);
}

/* LOGA */
.sponsors img,
.organizer img {
    max-height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

/* HOVER */
.sponsors img:hover,
.organizer img:hover {
    transform: scale(1.05);
}

/* RESPONSYWNOŚĆ */

/* MOBILE */
@media (max-width: 767px) {

    .cards {
        grid-template-columns: 1fr;
    }

    .cards_hotele {
        grid-template-columns: 1fr;
    }

    .organizers {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsors {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }

    .sponsors img,
    .organizer img {
        max-height: 75px;
    }

    .organizer {
        min-height: 100px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 1023px) {

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards_hotele {
        grid-template-columns: repeat(2, 1fr);
    }

    .organizers {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsors {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    #sponsorzy .sponsors {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 1024px) {

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards_hotele {
        grid-template-columns: repeat(3, 1fr);
    }

    /* ORGANIZATORZY */
    .organizers {
        grid-template-columns: repeat(4, 1fr);
    }

    /* PARTNERZY + PATRONI */
    #partnerzy .sponsors,
    #patroni .sponsors {
        grid-template-columns: repeat(3, 1fr);
    }

    /* SPONSORZY */
    #sponsorzy .sponsors {
        grid-template-columns: repeat(5, 1fr);
    }

    /* WSPARCIE */
    #wsparcie .sponsors {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background: #020617;
}