@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&family=Playfair+Display+SC&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
    background-color: #ece8df;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.wrapper {
    width: 1440px;
    margin: 0 auto;
}

.topnav {
    width: 1440px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(35, 61, 47, 0.72);
    z-index: 10;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em 0;
}

.logo {
    margin: 0;
    padding-left: 100px;
}

.logo img {
    width: 220px;
}

.main-nav {
    display: flex;
    margin: 0 auto;
    padding: 10px 0;
    align-items: center;
}

.main-nav a {
    padding: 10px 18px;
    display: block;
    color: #ffffff;
}

.main-nav a:hover {
    color: #d97a1d;
}

.ticket-button {
    background-color: #d97a1d;
    color: #ffffff;
    border-radius: 4px;
    margin-left: 10px;
}

.ticket-button:hover {
    background-color: #2f4638;
    color: #ffffff;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.40), rgba(0, 0, 0, 0.40)), url("../images/hero.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 1440px;
    height: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero-text h1 {
    font-family: 'Playfair Display SC', serif;
    font-size: 64px;
    color: #ffffff;
    margin: 0;
}

.hero-text p {
    font-family: 'Playfair Display SC', serif;
    font-size: 22px;
    color: #ffffff;
    margin-top: 8px;
}

.hero-button {
    background-color: #d97a1d;
    display: inline-block;
    padding: .7em 1.5em;
    border-radius: 6px;
    font-size: 20px;
    color: #ffffff;
    margin-top: 35px;
}

.hero-button:hover {
    color: #2B3E30;
}

.spacer {
    width: 1440px;
    background-color: #efe7dc;
    padding: 35px 0;
    margin: 0 auto;
}

.spacer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    text-align: center;
}

.spacer-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #2f4638;
    font-size: 42px;
}

.spacer-item img {
    width: 100px;
    height: 100px;
}

.artists {
    width: 1440px;
    margin: 0 auto;
    background-color: #b8b7ab;
    padding: 70px 0 50px 0;
}

.artists-content {
    width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.artists-content h2 {
    font-family: 'Playfair Display SC', serif;
    font-size: 46px;
    color: #2f4638;
    margin: 0;
}

.artists-content p {
    font-size: 24px;
    color: #2f4638;
    margin-top: 5px;
    margin-bottom: 40px;
}

.artist-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 36px;
}

.artist-card {
    width: 200px;
    background-color: transparent;
}

.artist-card img {
    width: 200px;
    height: 160px;
    object-fit: cover;
}

.artist-card h3 {
    background-color: #2f4638;
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    padding: 12px 8px;
    line-height: 1.2;
}

.artist-button-wrap {
    margin-top: 35px;
}

.artist-button {
    background-color: #d97a1d;
    display: inline-block;
    padding: .7em 1.5em;
    border-radius: 6px;
    font-size: 20px;
    color: #ffffff;
}

.artist-button:hover {
    color: #2B3E30;
}

.market {
    width: 1440px;
    margin: 0 auto;
    background-color: #ece8df;
    padding: 35px 0;
}

.market-content {
    width: 1440px;
    margin: 0 auto;
    display: flex;
}

.market-text {
    width: 40%;
    background-color: #b8b7ab;
    padding: 90px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.market-text h2 {
    font-family: 'Playfair Display SC', serif;
    font-size: 42px;
    color: #2f4638;
    margin: 0 0 20px 0;
}

.market-text p {
    font-size: 24px;
    color: #2f4638;
    margin-bottom: 30px;
    line-height: 1.4;
}

.market-button {
    background-color: #2f4638;
    display: inline-block;
    padding: .7em 1.5em;
    border-radius: 6px;
    font-size: 18px;
    color: #ffffff;
    width: fit-content;
}

.market-button:hover {
    color: #d97a1d;
}

.market-image {
    width: 60%;
}

.market-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsors {
    width: 1440px;
    margin: 0 auto;
    padding: 60px 0;
    background-color: #ece8df;
    text-align: center;
}

.sponsors h2 {
    font-family: 'Playfair Display SC', serif;
    font-size: 42px;
    color: #2f4638;
    margin-bottom: 30px;
}

.sponsor-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.sponsor-row img {
    max-height: 90px;
    width: auto;
}

footer {
    width: 1440px;
    margin: 0 auto;
    background-color: #234131;
    color: #ffffff;
    padding: 30px 40px 15px 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    width: 270px;
}

.footer-info {
    display: flex;
    gap: 70px;
    align-items: flex-start;
}

.footer-column h3 {
    font-family: 'Playfair Display SC', serif;
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-column p,
.footer-menu li {
    font-size: 16px;
    line-height: 1.5;
}

.footer-menu a {
    color: #ffffff;
}

.footer-menu a:hover {
    color: #d97a1d;
}

.socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.socials img {
    width: 65px;
    height: 65px;
}

.copy {
    text-align: center;
    font-size: 12px;
    color: #d6d6d6;
    margin-top: 12px;
}

.history-hero {
    width: 1440px;
    height: 560px;
    margin: 0 auto;
    background-image: linear-gradient(rgba(0,0,0,0.50), rgba(0,0,0,0.50)), url("../images/history.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.history-hero-text {
    margin-top: 90px;
}

.history-hero-text h1 {
    font-family: 'Playfair Display SC', serif;
    font-size: 44px;
    color: #ffffff;
    margin-bottom: 8px;
}

.history-hero-text p {
    color: #ffffff;
    font-size: 14px;
    margin-top: 0;
    line-height: 1.3;
}

.history-story {
    width: 1440px;
    margin: 0 auto;
    padding: 70px 95px;
    background-color: #ece8df;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.history-text {
    width: 42%;
}

.history-text h2 {
    font-family: 'Playfair Display SC', serif;
    font-size: 36px;
    color: #2f4638;
    margin-bottom: 20px;
}

.history-text p {
    font-size: 20px;
    color: #2f4638;
    margin-bottom: 22px;
    line-height: 1.3;
}

.history-image {
    width: 45%;
    text-align: center;
    background-color: #efe7dc;
    padding: 15px 15px 10px 15px;
}

.history-card {
    background-color: #efe7dc;
    padding: 15px 15px 10px 15px;
    text-align: center;
}

.history-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.history-image p {
    font-size: 18px;
    color: #2f4638;
    padding: 8px 0 0 0;
}

.posters {
    width: 1440px;
    margin: 0 auto;
    background-color: #b8b7ab;
    padding: 25px 0 80px 0;
    text-align: center;
    overflow: hidden;
}

.posters h2 {
    font-family: 'Playfair Display SC', serif;
    font-size: 34px;
    color: #2f4638;
}

.posters p {
    font-family: 'Playfair Display SC', serif;
    font-size: 22px;
    color: #2f4638;
    margin-bottom: 50px;
}

.poster-wrapper {
    width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.poster-slideshow {
    width: 430px;
    height: 500px;
    overflow: hidden;
}

.poster-slide-wrapper {
    width: 5160px;
    height: 500px;
    display: flex;
    animation: posterSlide 36s ease infinite;
}

.poster-slide {
    width: 430px;
    height: 500px;
    flex-shrink: 0;
}

.poster-slide img {
    width: 430px;
    height: 500px;
    object-fit: contain;
}

.info-slideshow {
    width: 580px;
    height: 500px;
    overflow: hidden;
}

.info-slide-wrapper {
    width: 5220px;
    height: 500px;
    display: flex;
    animation: infoSlide 30s ease infinite;
}

.info-slide {
    width: 580px;
    height: 500px;
    flex-shrink: 0;
}

.info-slide img {
    width: 580px;
    height: 500px;
    object-fit: contain;
}

@keyframes posterSlide {
    0% { transform: translateX(0px); }
    8% { transform: translateX(0px); }

    10% { transform: translateX(-430px); }
    16% { transform: translateX(-430px); }

    18% { transform: translateX(-860px); }
    24% { transform: translateX(-860px); }

    26% { transform: translateX(-1290px); }
    32% { transform: translateX(-1290px); }

    34% { transform: translateX(-1720px); }
    40% { transform: translateX(-1720px); }

    42% { transform: translateX(-2150px); }
    48% { transform: translateX(-2150px); }

    50% { transform: translateX(-2580px); }
    56% { transform: translateX(-2580px); }

    58% { transform: translateX(-3010px); }
    64% { transform: translateX(-3010px); }

    66% { transform: translateX(-3440px); }
    72% { transform: translateX(-3440px); }

    74% { transform: translateX(-3870px); }
    80% { transform: translateX(-3870px); }

    82% { transform: translateX(-4300px); }
    88% { transform: translateX(-4300px); }

    90% { transform: translateX(-4730px); }
    96% { transform: translateX(-4730px); }

    100% { transform: translateX(0px); }
}

@keyframes infoSlide {
    0% { transform: translateX(0px); }
    10% { transform: translateX(0px); }

    12% { transform: translateX(-580px); }
    20% { transform: translateX(-580px); }

    22% { transform: translateX(-1160px); }
    30% { transform: translateX(-1160px); }

    32% { transform: translateX(-1740px); }
    40% { transform: translateX(-1740px); }

    42% { transform: translateX(-2320px); }
    50% { transform: translateX(-2320px); }

    52% { transform: translateX(-2900px); }
    60% { transform: translateX(-2900px); }

    62% { transform: translateX(-3480px); }
    70% { transform: translateX(-3480px); }

    72% { transform: translateX(-4060px); }
    80% { transform: translateX(-4060px); }

    82% { transform: translateX(-4640px); }
    90% { transform: translateX(-4640px); }

    100% { transform: translateX(0px); }
}

/* Slideshow inspired by:
   https://www.w3schools.com/howto/howto_js_slideshow.asp
   https://www.w3.org/Style/Examples/007/slideshow.en.html
   Modified and adapted to fit this project */