/* Global functional styles */
/* Global nonfunctional styles */
/* Mobile styles */
/* Desktop styles */

body {
    padding: 0;
    margin: 0;
    background: #18181a;
    color: #e6c16a;
    font-family: "Montserrat";
    height: 110%;
}

a {
    color: #e6c16a;
}

a:visited {
    color: #946528;
}

#banner .logo {
    fill: #e6c16a;
    stroke: #e6c16a;
}

svg {
    overflow: visible;
}

.inline-toggle-spinner {
    aspect-ratio: 1/1;
    fill: #e6c16a;
    overflow: visible;
    stroke-width: 0px;
    stroke: none;
    width: 2em;
    margin: auto 1ch auto 1ch;
}

/* #title { margin-top: 160px; } /\* TODO remove magic number *\/ */

#title {
    margin-top: 160px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.5em;
}

#title h1 {
    margin: 0;
}

.banner-expanded {  height: 160px; }

#title {
    min-width: 30vw;
}

*[class*="instagram"] {
    width: 40%;
    position: unset !important;
}

#banner {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    transition: all 0.2s linear;
    width: 100%;
    z-index: 100;
}

#banner > * { height: 100%; }

#banner.stickied {
    background: #7d7575;
    height: 48px;
}

/* expandable menu */

.menu {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    margin: auto;
    max-width: 50vw;
    outline: 2px solid #e6c16a;
}

.menu * { transition: all 0.2s ease; }

.menu-topic {
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu-description {
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0px 50px;
}

.menu-item.expanded .menu-description {
    opacity: 1;
    margin-top: 5px;
}

/* landing page */

/* .counter-digit { */
/*     height: 1lh; */
/*     width: fit-content; */
/*     background: red; */
/*     overflow: hidden; */
/* } */

/* .counter-digit-col { */
/*     position: relative; */
/*     top: 0lh; */
/* } */

/* utility classes */
.margin-top-0 { margin-top: 0 }
.margin-bottom-0 { margin-bottom: 0 }

/* mobile styles */
@media (max-width: 1000px) {
    *[class*="instagram"] { width: 80%; }
    .menu { max-width: 80vw; }

    #title {
	margin-top: 160px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5em;
    }
}
