:root {
    --bg-top: #FFFDD6;
    --bg-bottom: #CCC5B4;
    --black: #000000;
    --white: #FFFFFF;
    --maroon: #760D17;

    --menu: 24px;
    --def: 16px;
    --h1: 32px;
    --h2: 24px;
}

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

html {
    color-scheme: light;
    font-size: var(--def);
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: linear-gradient(var(--bg-top), var(--bg-bottom));
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--black);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

body.nav-locked {
    overflow: hidden;
}

::selection {
    background: var(--maroon);
    color: var(--bg-top);
}

::-moz-selection {
    background: var(--maroon);
    color: var(--bg-top);
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 6px;
}

p {
    margin-bottom: 20px;
    color: var(--black);
    font-family: "Platypi", Calibri, "Open Sans", sans-serif;
    font-size: var(--def);
}

h1 {
    color: var(--maroon);
    font-size: var(--h1);
    font-weight: 700;
}

h2 {
    color: var(--maroon);
    font-size: var(--h2);
}

h3 {
    color: var(--black);
    font-style: italic;
}

h1,
h2,
h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

h4 {
    height: 50px;
    margin: 0;
    padding: 0;
    font-size: 45px;
}

header {
    position: relative;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 175px;
    padding: 32px 25px 32px 32px;
    border-radius: 0 0 64px 64px;
    background: var(--maroon);
}

#logos {
    display: block;
    flex-shrink: 0;
}

#logo {
    display: block;
    width: 256px;
    height: auto;
}

#logo_small {
    display: none;
}

nav {
    position: relative;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: var(--menu);
    font-weight: 700;
}

nav a,
#btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 64px;
    padding: 12px;
    border: 3px solid transparent;
    border-radius: 25px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

nav a img,
nav a svg,
#btn-mobile img {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

nav a:hover {
    text-decoration: underline;
}

nav a[aria-current="page"] {
    border-color: #FFFFFF51;
}

#btn-home:hover {
    border-color: #CC9F2C51;
    color: #FFF200;
}

#btn-event:hover {
    border-color: #EE181751;
    color: #EE1817;
}

#btn-about:hover {
    border-color: #009DFF51;
    color: #59BDFF;
}

#btn-contact:hover {
    border-color: #2CC77551;
    color: #00FFC8;
}

#btn-mobile {
    display: none;
    cursor: pointer;
}

nav.mobile-open {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 120px 0 40px;
    background: #000000E6;
    overflow-y: auto;
}

nav.mobile-open a {
    display: flex;
    width: 80%;
    min-height: 64px;
    padding: 18px 20px;
    border: 0;
    border-radius: 0;
    font-size: 20px;
    text-align: center;
    white-space: normal;
}

nav.mobile-open #btn-home {
    background: linear-gradient(90deg, #FFF20000, #E6C81699, #CC9F2C00);
}

nav.mobile-open #btn-event {
    background: linear-gradient(90deg, #EE181700, #E2391999, #D6591B00);
}

nav.mobile-open #btn-about {
    background: linear-gradient(90deg, #009DFF00, #009DFF99, #009DFF00);
}

nav.mobile-open #btn-contact {
    background: linear-gradient(90deg, #00FFC800, #16E39E99, #2CC77500);
}

nav.mobile-open #btn-mobile,
body.nav-locked #btn-mobile {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    min-height: 64px;
    padding: 12px;
    border-color: #FFFFFF51;
    background: var(--maroon);
    color: var(--white);
}

#btn-mobile:hover {
    border-color: #760D1751;
    text-decoration: underline;
}

main {
    flex: 1;
    min-width: 0;
}

footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 108px;
    padding: 28px 64px;
    border-radius: 64px 64px 0 0;
    background: var(--maroon);
    color: var(--white);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: var(--menu);
    font-weight: 700;
    line-height: 1.6;
}

#copyright {
    max-width: 75%;
}

#law {
    flex-shrink: 0;
}

#law a {
    color: var(--white);
}

#law a:hover {
    color: var(--bg-bottom);
}

#home-top {
    position: relative;
    display: block;
    height: 95vh;
    min-height: 0;
    padding: 0;
    border-radius: 0 0 64px 64px;
    background:
        linear-gradient(#000000 5%, #00000000 20%),
        url("../assets/brass/banner.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: var(--menu);
    font-weight: 700;
}

#home-top #logos {
    position: absolute;
    top: 32px;
    left: 32px;
    z-index: 500;
}

#home-top nav {
    position: absolute;
    top: 32px;
    right: 25px;
    z-index: 999;
}

#home-top nav.mobile-open {
    position: fixed;
    inset: 0;
}

#btn-news {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

#btn-news div {
    margin-bottom: 40px;
    padding: 5px;
    border: 3px solid #FFFFFF51;
    border-radius: 25px;
    color: var(--white);
}

#btn-news div span {
    margin: 5px;
    font-size: 32px;
}

#live {
    width: 25vw;
    min-width: 256px;
    height: inherit;
    padding-top: 30vh;
    border-radius: 0 0 0 64px;
    background: linear-gradient(#531B1C 0%, #3C080C 100%);
    -webkit-mask-image: linear-gradient(90deg, var(--black) 95%, transparent 100%);
    mask-image: linear-gradient(90deg, var(--black) 95%, transparent 100%);
}

#live > img {
    display: block;
    width: 20vw;
    margin: auto;
    border-radius: 64px;
}

#live > div {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 22vw;
    margin-bottom: 25px;
    margin-left: 25px;
}

#date {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 104px;
    height: 104px;
    border-radius: 24px;
    background: var(--bg-top);
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

#date > h4 {
    color: var(--maroon);
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#date > h5 {
    color: var(--maroon);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#perf-info {
    display: flex;
    flex: 1 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

#perf-info > h2 {
    margin: 0;
    color: var(--bg-top);
    font-size: var(--menu);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#perf-info > div {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    align-items: flex-start;
    gap: 8px;
}

#perf-info > div > p {
    align-self: stretch;
    margin: 0;
    color: var(--bg-top);
    font-size: var(--def);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#news {
    width: 960px;
    margin: 64px auto 64px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    place-items: center;
}

#news a {
    width: 100%;
    height: 100%;
    text-decoration: none;
}

#news a:hover p {
    color: var(--maroon);
    text-decoration: underline;
}

#news a:hover img {
    border-color: var(--maroon);
}

#news img {
    object-fit: cover;
}

.new-wood img {
    border-color: #74FF1B;
}

.new-clar img {
    border-color: #FF89FF;
}

.new-sax img {
    border-color: #00FFC8;
}

.new-brass img {
    border-color: #FFF200;
}

.new-string img {
    border-color: #EE1817;
}

.new-perc img {
    border-color: #7090FC;
}

#news a img {
    width: 100%;
    height: 235px;
    border-radius: 32px;
    border-width: 5px;
    border-style: solid;
}

#news a p {
    margin: 0px;
    font-family:
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;
    font-weight: bold;
}

#btn-more {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    bottom: 0;
    width: 100%;
}

#btn-more a {
    margin-bottom: 64px;
    padding: 5px;
    border-style: solid;
    border-radius: 25px;
    border-width: 3px;
    border-color: #00000051;
    font-family:
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;
    font-size: var(--menu);
    font-weight: bold;
    color: var(--black);
    text-decoration: none;
}

#btn-more a span {
    font-size: 32px;
    margin: 5px;
}

#btn-more a:hover {
    color: var(--maroon);
    border-color: var(--maroon);
}

main > h1,
main > h2,
main > h3,
main > p {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

main > img {
    display: block;
    width: min(50vw, 634px);
    margin: 24px auto 2rem;
}

#all_news_header {
    text-align: center;
}

@media (max-width: 1560px) {
    nav {
        flex-direction: column;
        flex-wrap: wrap;
        height: 150px;
    }

    #home-top {
        background-image:
            linear-gradient(#000000 5%, #00000000 30%),
            url("../assets/brass/banner.png");
    }

    #live > div {
        flex-direction: column;
    }

    #live > img {
        border-radius: 24px;
    }

    footer {
        font-size: 18px;
    }
}

@media (max-width: 1000px) {

    #logo {
        width: 200px;
    }

    nav {
        gap: 0;
    }

    nav a {
        gap: 6px;
        padding: 8px;
    }

    footer {
        padding-right: 32px;
        padding-left: 32px;
        font-size: 16px;
    }

    #news {
        grid-template-columns: repeat(2, 1fr);
        width: auto;
        margin: 64px 32px 64px 32px;
        gap: 16px;
    }

    #news a:first-child {
        grid-column-end: span 2;
    }

    #live > img {
        width: 0;
        height: 0;
    }
}

@media (max-width: 800px) {
    :root {
        --menu: 18px;
        --def: 16px;
    }

    header {
        min-height: 128px;
        padding: 16px 24px;
        border-radius: 0 0 32px 32px;
    }

    #logo {
        display: none;
    }

    #logo_small {
        display: block;
        width: 96px;
        height: 96px;
        object-fit: contain;
    }

    nav a {
        display: none;
    }

    nav.mobile-open a {
        display: flex;
    }

    #btn-mobile {
        display: flex;
        border-color: #FFFFFF51;
    }

    #home-top {
        height: 75vh;
    }

    #home-top #logos {
        top: 16px;
        left: 24px;
    }

    #home-top nav:not(.mobile-open) {
        top: 32px;
        right: 24px;
    }

    footer {
        flex-direction: column;
        gap: 12px;
        padding: 28px 24px;
        border-radius: 32px 32px 0 0;
        text-align: center;
    }

    #copyright {
        max-width: 100%;
    }

    #law {
        margin-top: 0;
    }

    #news {
        grid-template-columns: repeat(1, 1fr);
        width: auto;
        margin: 64px 32px 64px 32px;
        gap: 16px;
    }

    #news a:first-child {
        grid-column-end: span 1;
    }

    #live {
        width: 100%;
        height: 250px;
        padding-top: 0;
        border-radius: 0;
        background: linear-gradient(#531B1C 0%, #3C080C 100%);
        -webkit-mask-image: linear-gradient(black 95%, transparent 100%);
        mask-image: linear-gradient(black 95%, transparent 100%);
    }

    #live > div {
        position: absolute;
        top: 0;
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 16px;
        width: 50vw;
        height: inherit;
        margin: 0 25px 0 160px;
        padding-bottom: 24px;
        padding-top: 24px;
    }
}

@media (max-width: 480px) {
    :root {
        --h1: 40px;
        --menu: 16px;
    }

    header {
        gap: 16px;
        padding-right: 16px;
        padding-left: 16px;
    }

    #home-top #logos {
        left: 16px;
    }

    #home-top nav:not(.mobile-open) {
        right: 16px;
    }

    #btn-mobile,
    nav.mobile-open #btn-mobile,
    body.nav-locked #btn-mobile {
        min-height: 48px;
        padding: 8px;
    }

    #btn-mobile img {
        width: 24px;
        height: 24px;
    }

    footer {
        font-size: 14px;
    }
}

@media (max-height: 800px) {
    #live > img {
        width: 0;
        height: 0;
    }
}

@media (max-height: 500px) {
    nav.mobile-open {
        justify-content: flex-start;
        gap: 16px;
        padding-top: 100px;
    }
}

@keyframes brassFadeIn {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes brassFadeInSoft {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes brassMenuDropIn {
    from {
        opacity: 0;
        transform: translateY(-45px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes homeTopFadeIn {
    from {
        opacity: 0;
        height: 50vh;
    }

    to {
        opacity: 1;
        height: if(media(width <= 800px): 75vh; else: 95vh);
    }
}

body > header,
body > main,
body > footer {
    animation: brassFadeIn 700ms ease-out both;
}

body > header {
    animation-delay: 80ms;
}

body > main {
    animation-delay: 220ms;
}

body > footer {
    animation-delay: 360ms;
}

body > main > * {
    animation: brassFadeInSoft 600ms ease-out 320ms both;
}

header #logos {
    animation: brassMenuDropIn 550ms ease-out 180ms both;
}

header nav {
    animation: brassMenuDropIn 650ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

header nav.mobile-open {
    animation: none;
}

body.nav-locked > header {
    opacity: 1 !important;
    transform: none !important;
}

body > header#home-top {
    animation: homeTopFadeIn 700ms ease-out 180ms both;
    transform: none;
    background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    body > header,
    body > main,
    body > footer,
    body > main > *,
    header #logos,
    header nav {
        animation: none;
    }
}