body {
    background-color: #D35220;
    background-image: url('../img/line.png');
    background-repeat: repeat;
    background-size: auto;
    margin: 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pix.png') repeat;
    opacity: 0.6;
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 0;
    max-width: 558px;
    width: 30vw;
    height: 100%;
    background: url('../img/rok.png') no-repeat bottom left;
    background-size: contain;
    z-index: -1;
}

header::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 0;
    max-width: 358px;
    width: 14vw;
    height: 100%;
    background: url('../img/bal.png') no-repeat bottom right;
    background-size: contain;
    z-index: -1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 75px 0 75px;
}

.header-logo {
    height: 41px;
}

.header-button {
    width: 158px;
    height: 48px;
    background-image: url('../img/btnd.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff00;
    border: none;
    cursor: pointer;
    transition: background-image 0.3s ease;
    padding: 0;
    outline: none;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-button:hover {
    background-image: url('../img/btnh.svg');
}

.header-button:active {
    background-image: url('../img/btnp.svg');
}

main {
    text-align: center;
    padding: 30px 20px;
    overflow: hidden;
}

.event-logo {
    max-width: 100%;
    height: auto;
}

.event-date {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin: 20px 0 0 0;
    text-transform: uppercase;
}

.event-description {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255);
    margin: 0px 0 40px 0;
}

.event-tagline {
    font-family: 'Recursive', sans-serif;
    font-size: 60px;
    font-style: italic;
    font-weight: 900;
    color: white;
    text-shadow: 0px 1px 3px #03102D66;
    margin: 0px 0;
    text-transform: uppercase;
}

.images-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    margin: 0 auto;
    max-width: 1200px;
    overflow: visible;
}

.clickable-image {
    width: 100%;
    max-width: 316px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.clickable-image:hover {
    transform: scale(1.03);
}

.swiper-container {
    display: none;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 75px;
    background-color: #D35220;
}

.footer-logo {
    width: 72px;
}

.footer-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: #D6DDF8;
}




@media (max-width: 1200px) {
    .event-date {
        font-size: 22px;
    }
    .event-description  {
        font-size: 22px;
    } 
    .event-tagline {
        font-size: 66px; 
    }
    .clickable-image {
        width: 210px;
        height: auto;
    }
    header {
        padding: 50px 20px 0 20px
    }
    
}

@media (max-width: 1000px) {
    .images-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 15px;
        margin: 0 auto;
        max-width: 1200px;
    }
}   
@media (max-width: 768px) {
    body::after, header::after {
        content: '';
        position: absolute;
        bottom: 70px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 372px;
        width: 100vw;
        height: 100%;
        background: url(../img/a1.png) no-repeat center bottom;
        background-size: contain;
        z-index: -1;
    }
    header {
        padding: 30px 20px 0 20px;
    }
    footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 20px;
        background-color: #D35220;
    }
    main {
        padding: 30px 0px;
        overflow: hidden;
        height: 850px;
    }
    
    .images-container {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 0 15px;
    }

    .images-container a {
        flex: 0 0 auto;
    }

    .clickable-image {
        width: calc(100vw - 30px);
        max-width: none;
        min-width: 0;
    }

    .images-container a:last-child {
        margin-right: calc(-50vw + 15px);
    }

    .swiper-container {
        display: none;
    }

    .header-logo {
        height: 28px;
    }

    .main-content {
        margin-bottom: 150px;
    }

    .event-logo {
        max-width: 64px;
        height: auto;
    }

    .event-date {
        font-size: 14px;
    }

    .event-description {
        font-size: 14px;
    }

    .event-tagline {
        font-size: 32px;
    }

    .clickable-image {
        width: 100%;
        height: auto;
    }
}


