@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Geologica:wght@100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Reddit+Sans+Condensed:wght@200..900&display=swap');

:root {
    --section-default-width: min(800px, calc(100vw - 100px));
    --section-wide-width: min(1000px, calc(100vw - 100px));
    --section-vast-width: calc(100vw - 200px);
}
body {
  padding: 0;
  margin: 0;
  background-color: #20124dff;
}
* {
    box-sizing: border-box;
}
h1, h2, h3, h4, p, ul, menu {
    margin: 0;
}
menu {
    list-style-type: none;
    padding: 0;
}
table {
    border-collapse: collapse;
}


/*******************************
Header
*******************************/
header {
    background-color: rgb(250, 250, 250);
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}
#main-logo {
    background-image: url("assets/icons/lmc.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: block;
    width: 100px;
    height: 100px;
    transition: 0.2s;
}
#main-logo:hover {
    filter: opacity(0.6) drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.2));
}
#main-logo:active {
    filter: opacity(0.35) drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.2));
    transition: 0s;
}
#header-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 550px;
}
#header-title h1 {
    font-family: "DM Sans";
    font-size: 40px;
    line-height: 50px;
}
#header-title p {
    font-family: "Atkinson Hyperlegible";
    font-size: 20px;
    line-height: 20px;
}
#contact {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}
#contact-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}
#contact-row a {
    height: 40px;
    width: 40px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: 0.2s;
}
#contact-row a:hover {
    filter: opacity(0.7);
}
#contact-row a:active {
    filter: opacity(0.2);
    transition: 0s;
}
#contact-gmail { background-image: url("assets/icons/gmail.png"); }
#contact-discord { background-image: url("assets/icons/discord.png"); }
#contact-instagram { background-image: url("assets/icons/instagram.png"); }
#contact-youtube { background-image: url("assets/icons/youtube.png"); }


/*******************************
Navigation
*******************************/
#nav-page {
    background-color: #ead1dcff;
}
#nav-page menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
#nav-page:not(.nav-active) {
    color: #595959;
}
#nav-page menu li {
    font-family: "Reddit Sans Condensed";
    font-size: 22px;
    font-weight: 500;
    user-select: none;
    transition: 0.2s;
    padding: 8px 20px;
    text-wrap: nowrap;
}
#nav-page menu li:not(.nav-active) {
    cursor: pointer;
}
#nav-page menu li:not(.nav-active):hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #777777;
}
#nav-page menu li:not(.nav-active):active {
    transition: 0s;
    filter: brightness(0.7);
}
.nav-active {
    color: black;
    font-weight: 700;
}


/*******************************
Tabs
*******************************/
.tab:not(.tab-active) {
    display: none;
}
.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Atkinson Hyperlegible";
    color: rgb(230, 230, 230);
    font-size: 18px;
    overflow-x: hidden;
}
.tab h1, .tab h2 {
    font-family: "Geologica";
    font-size: 28px;
    color: rgb(250, 250, 250);
    font-weight: 600;
}
.tab h2 {
    font-size: 26px;
    font-variant: small-caps;
    color: rgb(255, 255, 55);
}
.tab h4 {
    font-weight: normal;
}

.tab-viewer:not(.tab-viewer-active) {
    display: none;
}
.tab-song:not(.tab-song-active) {
    display: none;
}


/*******************************
Hyperlinks
*******************************/
.tab p a, .table-hyperlinks a {
    color: rgb(230, 230, 230);
    text-decoration: none;
    position: relative;
    text-wrap: nowrap;
}
.tab p a:before, .table-hyperlinks a:before {
    content: '';
    background-color: rgba(34, 87, 201, 0.75);
    width: 100%;
    height: 2px;
    bottom: 1px;
    position: absolute;
    z-index: -1;
    transition: 0.2s;
}
.tab p a:hover:before, .table-hyperlinks a:hover:before {
    bottom: 0;
    height: 100%;
}
.tab p a:active:before, .table-hyperlinks a:active:before {
    transition: 0s;
    background-color: rgba(96, 128, 231, 0.75);
}
#discord-channels a {
    font-family: 'Jetbrains Mono';
    line-height: 1.5;
}


/*******************************
Hyperlink Table
*******************************/
.table-hyperlinks-container {
    display: flex;
    flex-direction: row;
    transition: 0.2s;
    outline: 2px solid white;
    outline-offset: -1px;
}
.table-hyperlinks-container:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.table-hyperlinks {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 5px 15px;
    padding: 10px;
    margin: 0;
    /* border: 1px dashed rgb(200, 200, 255); */
    transition: 0.2s;
}
.table-hyperlinks-icon {
    min-width: 50px;
    width: 50px;
    position: relative;
}
.table-hyperlinks-icon:before {
    content: '';
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(1);
    position: absolute;
    height: 100%;
    width: 60%;
    left: 25%;
}
.table-hyperlinks dd {
    margin: 0;
}
.table-hyperlinks dd:not(a) {
    color: rgb(150, 150, 200);
}



/*******************************
Icons
*******************************/
#icon-practice:before { background-image: url("assets/icons/practice.png") }
#icon-arrangement:before { background-image: url("assets/icons/arrangement.png") }
#icon-music-theory:before { background-image: url("assets/icons/music theory.png") }
#icon-audio-production:before { background-image: url("assets/icons/audio production.png") }


/*******************************
Sections
*******************************/
section {
    display: block;
}
.section-default {
    width: var(--section-default-width);
    margin: 50px 0px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.section-default-bg:before {
    content: '';
    position: absolute;
    background-color: #351c75ff;
    width: 100vw;
    margin-left: calc(calc(100vw - 100%) / -2);
    height: 100%;
    z-index: -1;
    margin-top: -50px;
}
.section-default-bg {
    width: var(--section-default-width);
    padding: 50px 0px;
    margin: 50px 0px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-banner {
    background-color: #674ea7ff;
    width: 100%;
    min-height: 100px;
    background-size: cover;
    background-position: 50% 50%;
}
.section-gallery {
    background-color: #674ea7ff;
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    gap: 15px;
}
.gallery-container {

}


/*******************************
Notifications / Announcements
*******************************/
.notification {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    background-color: #eeeeeeff;
    padding: 20px;
    margin-top: 15px;
    border-radius: 10px;
}
.notification span {
    color: #666666;
}
.notification-icon {
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
    background-image: url("assets/icons/announcement.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}


/*******************************
Big Announcements
*******************************/
.card-big {
    display: flex;
    flex-direction: row;
    background-color: #351c75ff;
    padding: 50px;
    border-radius: 25px;
    gap: 20px;
    margin-top: 15px;
    width: var(--section-wide-width);
    margin-left: calc(calc(var(--section-wide-width) - var(--section-default-width)) / -2);
    border: none;
    color: rgb(230, 230, 230);
}
.card-big span {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.card-big-img {
    background-color: #eeeeeeff;
    color: black;
}


/*******************************
Iframes and embeds
*******************************/
.embed-calendar {
    margin-top: 15px;
    height: 600px;
    width: var(--section-wide-width);
    margin-left: calc(calc(var(--section-wide-width) - 100%) / -2);
    border: none;
    border-radius: 10px;
    background-color: white;
}
.embed-drive-grid, .embed-drive-list {
    border: none;
    background-color: white;
    width: 100%;
}
.embed-drive-grid {
    border-radius: 10px 0px 0px 10px;
    height: 500px;
}
.embed-drive-list {
    border-radius: 10px;
    height: 300px;
}
.embed-youtube {
    aspect-ratio: 16 / 9;
    width: 100%;
}
.embed-grid {
    width: var(--section-wide-width);
    margin-left: calc(calc(var(--section-wide-width) - 100%) / -2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.embed-maps {
    border: none;
    background-color: white;
    width: 100%;
    aspect-ratio: 1.2;
}


/*******************************
Collapsible Detail Summary
*******************************/
details summary {
    background-color: rgb(240, 240, 240);
    color: black;
    padding: 15px;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
    transition: 0.2s;
    filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.1));
    align-items: center;
}
.details-hidden summary {
    filter: none;
}
details summary:hover {
    background-color: white;
}
details summary:active {
    background-color: rgb(240, 253, 183);
    transition: 0s;
}

details .summary-triangle {
    min-width: 20px;
    min-height: 20px;
    background-image: url("assets/icons/arrow.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.3s;
}
.details-hidden .summary-triangle {
    transform: rotate(180deg);
}

details .summary-body {
    color: rgb(105, 105, 105);
    background-color: rgb(204, 204, 204);
    padding: 15px 15px;
    overflow: hidden;
    transition: 0.3s;
    height: auto;
    interpolate-size: allow-keywords;
    border-radius: 0px 0px 10px 10px;
    margin-bottom: 5px;
}
.details-hidden .summary-body {
    padding: 0px 15px;
    height: 0px;
    margin-bottom: 0px;
}


/*******************************
Subgroup Cards
*******************************/
.card-subgroup-container {
    --card-subgroup-padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: calc(100% + calc(2 * var(--card-subgroup-padding)));
    margin-left: calc(-1 * var(--card-subgroup-padding));
}
.card-subgroup {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgba(155, 155, 255, 0.1);
    padding: var(--card-subgroup-padding);
    transition: 0.3s;
}
.card-subgroup:hover {
    background-color: rgba(155, 155, 255, 0.2);
}
.table-subgroup {
    display: grid;
    grid-template-columns: 125px auto;
    margin: 0;
}
.table-subgroup * {
    text-wrap: nowrap;
}
.table-subgroup dt {
    color: rgb(100, 100, 200);
    font-style: italic;
}
.table-subgroup dd {
    margin: 0;
}


/*******************************
Member Cards Big
*******************************/
.card-member-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}
.card-member {
    display: flex;
    flex-direction: column;
}
.card-member-img {
    background-color: red;
    width: 100%;
    aspect-ratio: 1;
}

.list-social-media {
    list-style-type: none;
    padding: 0;
    text-wrap: nowrap;
}
.li-discord:before {
    content: '';
    width: 28px;
    height: 28px;
    margin-bottom: -8px;
    background-image: url('assets/icons/discord.png');
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
    margin-right: 5px;
}


/*******************************
Member Cards Small
*******************************/
.table-past-members tr td:nth-child(3n + 3), .table-past-members tr th:nth-child(3) {
    min-width: 215px;
}
.table-past-members tr td:nth-child(3n + 2), .table-past-members tr th:nth-child(2) {
    text-align: center;
    width: 150px;
}
.table-past-subgroups tr td:nth-child(3n + 2), .table-past-subgroups tr th:nth-child(2) {
    text-align: center;
    width: 150px;
}

.card-member-small {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
.card-member-text-small {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.card-member-img-small {
    background-color: red;
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    aspect-ratio: 1;
}


/*******************************
Tags
*******************************/
.tag-container h4 {
    margin-right: 5px;
}
.tag-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 5px;
}
.tag {
    background-color: rgb(100, 100, 100);
    color: white;
    border-radius: 10px;
    padding: 0px 10px;
    text-wrap: nowrap;
}


/*******************************
Card Buttons
*******************************/
.button-block {
    display: flex;
    flex-direction: row;
    gap: 25px;
    justify-content: center;
}
.card-button {
    width: 25%;
    aspect-ratio: 1;
    background-color: rgb(222, 222, 222);
    font-family: "Atkinson Hyperlegible";
    color: black;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.2s;
}
.card-button:hover {
    background-color: white;
}
.card-button:active {
    filter: opacity(0.8);
    transition: 0s;
}
.card-button-img {
    background-color: red;
    width: 50%;
    height: 50%;
    background-size: contain;
    background-position: 50% 50%;
}


/*******************************
Personnel Table
*******************************/
#table-personnel {
    --table-personnel-padding: 15px;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr 1fr;
    border: 1px dashed rgb(200, 200, 255);
    padding: var(--table-personnel-padding);
    width: calc(100% + calc(2 * var(--table-personnel-padding)));
    margin-left: calc(-1 * var(--table-personnel-padding));
    margin: 0;
}
#table-personnel * {
    text-wrap: nowrap;
}
#table-personnel dt {
    color: rgb(150, 150, 200);
}
#table-personnel dd {
    text-align: center;
    margin: 0;
}


/*******************************
Paginated Table
*******************************/
.table-paginated {
    position: relative;
    width: 100%;
    min-width: 600px;
}
.pagination {
    position: absolute;
    z-index: 1;
    right: 0;
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
}
.pagination span {
    margin-right: 5px;
}

.paginate-arrow {
    width: 25px;
    height: 25px;
    background-color: rgb(152, 134, 241);
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
    cursor: pointer;
}
.paginate-arrow:hover {
    background-color: rgb(186, 173, 255);
}
.paginate-arrow:active {
    transition: 0s;
    background-color: rgb(128, 110, 219);
}
.paginate-left:before {
    position: absolute;
    content: '';
    border-top: 7.5px solid transparent;
    border-bottom: 7.5px solid transparent;
    border-right: 10px solid white;
    margin-left: 6px;
    margin-top: 5px;
}
.paginate-right:before {
    position: absolute;
    content: '';
    border-top: 7.5px solid transparent;
    border-bottom: 7.5px solid transparent;
    border-left: 10px solid white;
    margin-left: 9px;
    margin-top: 5px;
}

.table-paginated thead tr {
    font-weight: 700;
    background-color: #333b8f;
    text-align: left;
    transition: 0.2s;
}
.table-paginated thead tr:hover {
    background-color: #4049a8;
}
.table-paginated th, .table-paginated td, .pagination {
    padding: 10px 15px;
}
.table-paginated tbody tr {
    color: rgb(200, 200, 222);
    transition: 0.2s;
}
.table-paginated tbody tr:not(:last-child) {
    border-bottom: 2px dashed rgba(165, 158, 255, 0.5);
}
.table-paginated tbody tr:hover {
    background-color: rgba(100, 100, 255, 0.15);
}


/*******************************
Viewer
*******************************/
.viewer-container {
    width: var(--section-vast-width);
    margin-left: calc(calc(var(--section-vast-width) - 100%) / -2);
    display: flex;
    flex-direction: row;
}
.viewer-sidebar {
    background-color: #0b5394ff;
    position: relative;
    width: max(calc(var(--section-vast-width) * 0.2), 300px);
    transition: 0.2s;
    z-index: 1;
}
.viewer-sidebar-closed {
    width: 0%;
}
.viewer-sidebar menu {
    position: absolute;
    width: max(calc(var(--section-vast-width) * 0.2), 300px);
    z-index: 2;

    display: flex;
    flex-direction: column;
}
.viewer-sidebar menu li {
    padding: 10px 15px;
    transition: 0.2s;
    user-select: none;
    color: black;
    background-color: rgb(200, 200, 200);
}
.viewer-sidebar menu li:not(.sidebar-active) {
    cursor: pointer;
}
.viewer-sidebar menu li:not(.sidebar-active):hover {
    background-color: rgb(215, 215, 215);
}
.viewer-sidebar menu li:not(.sidebar-active):active {
    transition: 0s;
    background-color: rgb(187, 187, 187);
}
.sidebar-active {
    background-color: rgb(244, 243, 164);
    background-image: linear-gradient(to right, rgb(244, 243, 164) 70%, rgb(243, 223, 107));
    border-right: 4px solid rgb(209, 186, 55);
}

.viewer {
    z-index: 3;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: rgb(222, 222, 222);
    padding: 25px;
    color: #595959;
    gap: 15px;
}
.viewer-header, .viewer-header hgroup {
    display: flex;
    flex-direction: row;
}
.viewer-header {
    align-items: center;
    gap: 15px;
}
.viewer-header hgroup {
    align-items: baseline;
    gap: 10px;
}
.viewer-header h2 {
    color: black;
    font-variant: normal;
    font-family: 'Atkinson Hyperlegible';
    text-wrap: nowrap;
    font-size: 28px;
}
.viewer-header span {
    font-size: 24px;
    text-wrap: nowrap;
}

.viewer-hamburger {
    width: 22px;
    height: 22px;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
    transform: rotate(90deg);
}
.viewer-hamburger-closed {
    transform: rotate(0deg);
}
.viewer-hamburger rect {
    fill: #595959;
    transition: 0.2s;
}
.viewer-hamburger:hover rect {
    fill: #8b8b8b;
}
.viewer-hamburger:active rect {
    transition: 0s;
    fill: #5180e6;
}

.nav-viewer menu {
    display: flex;
    flex-direction: row;
    gap: 25px;
    font-size: 20px;
    border-bottom: 2px solid #9c9c9c;
}
.nav-viewer menu li, .nav-song menu li {
    transition: 0.2s;
    user-select: none;
}
.nav-viewer menu li:not(.nav-viewer-active), .nav-song menu li:not(.nav-song-active) {
    cursor: pointer;
}
.nav-viewer menu li:not(.nav-viewer-active):hover, .nav-song menu li:not(.nav-song-active):hover {
    color: #9c9c9c;
}
.nav-viewer menu li:not(.nav-viewer-active):active, .nav-song menu li:not(.nav-song-active):active {
    color: black;
    transition: 0s;
}
.nav-viewer-active, .nav-song-active {
    font-weight: 700;
}


/*******************************
Setlist
*******************************/
.song-container {
    display: flex;
    flex-direction: row;
}
.nav-song {
    border-right: 2px solid #9c9c9c;
    text-align: right;
    width: 100px;
    min-width: 100px;
}
.nav-song menu li {
    padding: 5px 15px;
}
.tab-song {
    padding: 15px;
    padding-top: 5px;
}

.table-song-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.table-song-info span {
    text-wrap: nowrap;
}
.table-song-info span:nth-child(2n) {
    color: black;
}

.tab-song-players {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    gap: 15px;
}
.player-instrument {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
}
.player-instrument dt {
    color: black;
    font-size: 20px;
    font-weight: 700;
}
.player-instrument dd {
    margin: 0;
}


/*******************************
Location
*******************************/
.col-divider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.row-divider {
    display: flex;
    flex-direction: column;
    gap: 15px;
}