@font-face {
    font-family: 'proximanova';
    /* format for jinja flask app formating of url of static/fonts/proximanova_regular.ttf */
    src: url("fonts/proximanova_regular.ttf") format('truetype');
    font-weight: 100;
    font-style: normal;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    text-shadow: 0 0 1px rgba(51, 51, 51, 0.5);
}

body {
    font-family: "Manufacturing Consent",'Quicksand', 'Lexend', "proximanova", 'Segoe UI', Arial, Helvetica, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #e5e5db;
    background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M81.28 88H68.413l19.298 19.298L81.28 88zm2.107 0h13.226L90 107.838 83.387 88zm15.334 0h12.866l-19.298 19.298L98.72 88zm-32.927-2.207L73.586 78h32.827l.5.5 7.294 7.293L115.414 87l-24.707 24.707-.707.707L64.586 87l1.207-1.207zm2.62.207L74 80.414 79.586 86H68.414zm16 0L90 80.414 95.586 86H84.414zm16 0L106 80.414 111.586 86h-11.172zm-8-6h11.173L98 85.586 92.414 80zM82 85.586L87.586 80H76.414L82 85.586zM17.414 0L.707 16.707 0 17.414V0h17.414zM4.28 0L0 12.838V0h4.28zm10.306 0L2.288 12.298 6.388 0h8.198zM180 17.414L162.586 0H180v17.414zM165.414 0l12.298 12.298L173.612 0h-8.198zM180 12.838L175.72 0H180v12.838zM0 163h16.413l.5.5 7.294 7.293L25.414 172l-8 8H0v-17zm0 10h6.613l-2.334 7H0v-7zm14.586 7l7-7H8.72l-2.333 7h8.2zM0 165.414L5.586 171H0v-5.586zM10.414 171L16 165.414 21.586 171H10.414zm-8-6h11.172L8 170.586 2.414 165zM180 163h-16.413l-7.794 7.793-1.207 1.207 8 8H180v-17zm-14.586 17l-7-7h12.865l2.333 7h-8.2zM180 173h-6.613l2.334 7H180v-7zm-21.586-2l5.586-5.586 5.586 5.586h-11.172zM180 165.414L174.414 171H180v-5.586zm-8 5.172l5.586-5.586h-11.172l5.586 5.586zM152.933 25.653l1.414 1.414-33.94 33.942-1.416-1.416 33.943-33.94zm1.414 127.28l-1.414 1.414-33.942-33.94 1.416-1.416 33.94 33.943zm-127.28 1.414l-1.414-1.414 33.94-33.942 1.416 1.416-33.943 33.94zm-1.414-127.28l1.414-1.414 33.942 33.94-1.416 1.416-33.94-33.943zM0 85c2.21 0 4 1.79 4 4s-1.79 4-4 4v-8zm180 0c-2.21 0-4 1.79-4 4s1.79 4 4 4v-8zM94 0c0 2.21-1.79 4-4 4s-4-1.79-4-4h8zm0 180c0-2.21-1.79-4-4-4s-4 1.79-4 4h8z' fill='%23ffbf00' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

body {
    margin: 0;
    padding-bottom: 100px;
    /* space for bottom bar */
}

.eqypt-hd-background {
    background: radial-gradient(ellipse at center, #443501 0%, #000000 100%);
    background-color: rgba(245, 221, 80, .2);
    background-blend-mode: multiply;
}

h1.gold {
    background: linear-gradient(to bottom, #cfc09f 27%, #ffecb3 40%, #3a2c0f 78%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    font-family: "Manufacturing Consent",'Quicksand', 'Lexend', "proximanova", 'Segoe UI', Arial, Helvetica, sans-serif;
    position: relative;
    text-transform: uppercase;
    font-size: calc(5vw + .5rem);
    margin: 0;
    font-weight: 400;
}

h1.gold::after {
    background: none;
    content: attr(data-heading) / "";
    left: 0;
    top: 0;
    z-index: -1;
    position: absolute;
    text-shadow:
        -1px 0 1px #c6bb9f,
        0 1px 1px #c6bb9f,
        5px 5px 10px rgba(0, 0, 0, 0.4),
        -5px -5px 10px rgba(0, 0, 0, 0.4);
}

.scroll-content {
    display: inline-block;
    padding: 20px;
}

.eqypt-hd-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.box,
.tag,
.footer {
    border: 2px solid #ffbf00;
}

.tag.is-medium {
    margin: 0 10px 10px 0;
}

.orange-text {
    color: #ffbf00;
}

a.is_act {
    background-color: #ffbf00;
}

.border {
    border: 2px solid #ffbf00;
}

.hero-body {
    padding: 5rem 1.5rem;
    background-color: #fff;
}

.title,
.subtitle {
    transition: all 0.3s ease;
}

.title:hover,
.menu a:hover {
    transform: scale(1.03);
    text-shadow: 0 2px 8px rgba(156, 146, 172, 0.3);
}

.menu a {
    background-color: transparent;
    display: inline;
    transition: all 0.3s ease;
}

.tag-hover-animate {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
}

.tag-hover-animate:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 4px 12px rgba(156, 146, 172, 0.5);
    background-color: #ffbf00 !important;
    color: white !important;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(farthest-side, #ffa516 94%, #0000) top/8px 8px no-repeat,
        conic-gradient(#0000 30%, #ffa516);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: l13 1s infinite linear;
}

@keyframes l13 {
    100% {
        transform: rotate(1turn)
    }
}

.white-background {
    background-color: #fff;
}

.right {
    position: absolute;
    right: 0;
    background-color: #ffffff;
    margin: 7px;
    border: 2px solid #ffbf00;
}

.center {
    margin: 0 auto;
}

.gif-image,
.pdf-link {
    display: block
}

midi-player {
    display: block;
    width: inherit;
    margin: 4px;
    margin-bottom: 0;
}

midi-player::part(control-panel) {
    background: #ff5;
    border: 2px solid #000;
    border-radius: 10px 10px 0 0;
}

midi-player::part(play-button) {
    color: #353;
    border: 2px solid currentColor;
    background-color: #4d4;
    border-radius: 20px;
    transition: all 0.2s;
    content: 'hello';
}

midi-player::part(play-button):hover {
    color: #0a0;
    background-color: #5f5;
    border-radius: 10px;
}

midi-player::part(time) {
    font-family: monospace;
}

midi-visualizer .piano-roll-visualizer {
    background: #ffd;
    border: 2px solid black;
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin: 4px;
    margin-top: 0;
    overflow: auto;
}

midi-visualizer svg rect.note {
    opacity: 0.6;
    stroke-width: 2;
}

midi-visualizer svg rect.note[data-instrument="0"] {
    fill: #e22;
    stroke: #500;
}

midi-visualizer svg rect.note[data-instrument="2"] {
    fill: #2ee;
    stroke: #055;
}

midi-visualizer svg rect.note[data-is-drum="true"] {
    fill: #888;
    stroke: #888;
}

midi-visualizer svg rect.note.active {
    opacity: 0.9;
    stroke: #000;
}

a.gold-link {
    color: gold;
    text-shadow: 0 0 5px #FFD700, 0 0 10px #FFA500;
    text-decoration: none;
}

a.gold-link:hover {
    text-decoration: underline;
}