@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html{
    scrollbar-gutter: stable;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body::before{
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url(/pngs/bgMain2ciemniej.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    color: white;
}

.container{
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;  
}

.nav{
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.navInner{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    flex-direction: row;
}

.navList{
    display: flex;
    grid-auto-flow: column;
    align-items: center;
    column-gap: 100px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.navList li{
    white-space: nowrap;
}

.navToggle{
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.navLogo img{
    height: 54px;
}

.navList a{
    text-decoration: none;
    color: white;
    font-weight: 400;
}

.navCTA a{
    padding: 10px 26px;
    border-radius: 10px;
    background: white;
    color: black;
    font-weight: 500;
    font-size: 15px;
}

body.menu-open .soon {
    display: none;
}

h2{
    text-align: center;
    margin-top: 120px;
}

form, .form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

input, textarea {
    width: 200%;
    max-width: 600px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

button {
    width: 200%;
    max-width: 600px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td{
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

tr:nth-child(even){
    background-color: #f2f2f2;
}

img.thumb{
    height: 80px;
    margin: 2px;
    border-radius: 4px;
}

.error{
    color: red;
    text-align: center;
}


@media (max-width: 768px) {

    *,
    *::before,
    *::after{
        box-sizing: border-box;
    }

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;

        background-image: url("/pngs/mobileBg.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .container {
        background: none !important;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;  
    }

    body.menu-open{
        overflow: hidden;
    }

    body.menu-open .event, body.menu-open .previousEvents{
        opacity: 0;
    }

    .nav{
        left: 0;
        transform: none;
        padding: 0px 30px 0px 35px;
        width: 100%;
    }

    .navInner{
        justify-content: space-between;
        align-items: center;
    }

    .navLogo{
        position: relative;
        z-index: 11;
        scale: 0.9;
    }

    .navList{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: calc(var(--vh, 1vh) * 100);
        background-color: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        list-style: none;
        opacity: 0;
        margin: 0;
        padding: 0;
        z-index: 10;
        pointer-events: none;
    }

    .navList.active{
        opacity: 1;
        display: flex;
        flex-direction: column;
        pointer-events: auto;
    }

    .navToggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1001;
    }

    .navToggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .navToggle span:nth-child(1) { top: 0; }
    .navToggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .navToggle span:nth-child(3) { bottom: 0; }

    .navToggle.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .navToggle.open span:nth-child(2) {
        opacity: 0;
    }

    .navToggle.open span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    .navList.active{
        display: flex;
    }

    h2{
        font-size: 18px;
        margin-top: 100px;
    }

    form{
        scale: 0.9;
    }

    input, textarea, button{
        width: 100%;
        padding: 10px;
        margin: 5px 0;
        border: 1px solid #ccc;
        border-radius: 10px;
        align-items: center;
        justify-content: center;
    }

    button{
        background-color: #fff;
        color: #000;
        border: none;
        cursor: pointer;
        border-radius: 10px;
    }

    body.menu-open .soon {
        display: none;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;

        background-image: url("/pngs/tabletBg2.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .container {
        background: none !important;
    }

    body.menu-open{
        overflow: hidden;
    }

    body.menu-open .event, body.menu-open .previousEvents{
        opacity: 0;
    }

    .nav{
        left: 0;
        transform: none;
        width: 100%;
        padding: 0px 60px 0px 65px;
    }

    .navInner{
        justify-content: space-between;
        align-items: center;
    }

    .navLogo{
        position: relative;
        z-index: 1000;
        scale: 1;
    }

    .navList{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        pointer-events: none;
        z-index: 10;
    }

    .navList.active{
        opacity: 1;
        pointer-events: auto;
    }

    .navToggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1001;
    }

    .navToggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .navToggle span:nth-child(1) { top: 0; }
    .navToggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .navToggle span:nth-child(3) { bottom: 0; }

    .navToggle.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .navToggle.open span:nth-child(2) {
        opacity: 0;
    }

    .navToggle.open span:nth-child(3) {
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    h1{
        font-size: 26px;
    }

    .btn-home {
        padding: 10px 26px;
        border-radius: 10px;
        background: white;
        color: black;
        font-weight: 500;
        font-size: 15px;
        text-decoration: none;
        display: inline-block;
    }

    .soon {
        position: relative;
        z-index: 10;
        text-align: center;
    }

    body.menu-open .soon {
        display: none;
    }

}

/* FOOTER - UNIVERSAL */

.siteFooter{
    width: 100%;
    margin-top: 120px;
}

.footerInner{
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.footerSponsors{
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 80px 0;
}

.footerSponsorsTitle{
    margin: 0 0 48px;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.footerSponsorsLogos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 90px;
    max-width: 1100px;
    margin: 0 auto;
}

.footerSponsorsLogos a{
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footerSponsorsLogos a:hover{
    opacity: 1;
    transform: translateY(-2px);
}

.footerSponsorsLogos img{
    max-height: 50px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footerBottom{
    width: 100%;
    background: #000;
}

.footerBottomInner{
    padding: 110px 40px 70px;
    display: grid;
    grid-template-columns: 180px 1fr 1fr auto;
    gap: 50px;
    align-items: start;
}

.footerBrand img{
    width: 90px;
    height: auto;
    display: block;
}

.footerColumn{
    width: 100%;
}

.footerLinks{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footerLinks a{
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.footerLinks a:hover{
    color: #ffffff;
}

.footerCTA{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.footerCTA a{
    text-decoration: none;
    color: #000;
    background: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footerCTA a:hover{
    transform: translateY(-2px);
    opacity: 0.95;
}

.footerCopy{
    width: 100%;
    background: #000;
}

.footerCopy .footerInner{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 26px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* MOBILE */

@media (max-width: 768px){

    .siteFooter{
        margin-top: 80px;
    }

    .footerInner{
        padding-left: 24px;
        padding-right: 24px;
    }

    .footerSponsors{
        padding: 42px 0 36px;
    }

    .footerSponsorsTitle{
        font-size: 17px;
        margin: 0 0 26px;
    }

    .footerSponsorsLogos{
        gap: 30px;
    }

    .footerSponsorsLogos img{
        max-height: 28px;
        max-width: 100px;
    }

    .footerBottomInner{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        padding: 46px 24px 36px;
        text-align: left;
    }

    .footerBrand{
        display: block;
        width: 100%;
        margin-bottom: 6px;
    }

    .footerBrand a{
        display: inline-block;
    }

    .footerBrand img{
        width: 72px;
        height: auto;
    }

    .footerColumn{
        width: 100%;
    }

    .footerColumn + .footerColumn{
        margin-top: 6px;
    }

    .footerLinks{
        align-items: flex-start;
        gap: 16px;
    }

    .footerLinks a{
        font-size: 18px;
        font-weight: 400;
        color: rgba(255,255,255,0.75);
        letter-spacing: 0;
    }

    .footerCTA{
        width: 100%;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .footerCTA a{
        width: auto;
        max-width: none;
        text-align: center;
        padding: 12px 22px;
        font-size: 13px;
        border-radius: 10px;
    }

    .footerCopy .footerInner{
        text-align: center;
        font-size: 13px;
        padding-top: 8px;
        padding-bottom: 22px;
        color: rgba(255,255,255,0.4);
    }
}

/* TABLET */

@media (min-width: 769px) and (max-width: 1024px){

    .footerInner{
        padding-left: 30px;
        padding-right: 30px;
    }

    .footerSponsors{
        padding: 60px 0;
    }

    .footerSponsorsTitle{
        font-size: 21px;
        margin: 0 0 36px;
    }

    .footerSponsorsLogos{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        align-items: center;
        column-gap: 40px;
        row-gap: 34px;
        max-width: 760px;
        margin: 0 auto;
    }

    .footerSponsorsLogos img{
        max-height: 40px;
        max-width: 120px;
    }

    .footerBottomInner{
        grid-template-columns: 120px 1fr 1fr;
        gap: 30px;
        padding: 70px 30px 50px;
        align-items: start;
    }

    .footerBrand{
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footerBrand img{
        width: 78px;
    }

    .footerLinks{
        gap: 14px;
        align-items: flex-start;
    }

    .footerLinks a{
        font-size: 14px;
        letter-spacing: 0.02em;
    }

    .footerCTA{
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 18px;
    }

    .footerCTA a{
        font-size: 13px;
        padding: 12px 24px;
    }

    .footerCopy .footerInner{
        font-size: 15px;
        padding-top: 10px;
        padding-bottom: 24px;
    }
}