body {
    max-height: 800px;
    font-family: "Medodica";
    font-size: 18px;
    background-image: url(images/hubbg.png);
}

p {
    margin: 10px 15px;
}

h4 {
    font-family: "Silkscreen", sans-serif;
    font-weight: 500;
    margin: 8px 0;
    padding: 5px;
    background: linear-gradient(
        270deg,
        rgba(42, 123, 155, 0.7) 0%,
        rgba(124, 230, 203, 0.7) 54%,
        rgba(255, 246, 163, 0.7) 100%
    );
}

h5 {
    font-family: "Bitcount Prop Single Ink", system-ui;
    font-weight: 400;
    margin: 10px 0;
    padding: 5px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.5) 70%,
        rgba(255, 255, 255, 0) 100%
    );
}

.container {
    width: 800px;
    min-height: 530px;
    margin: 90px auto;
    display: grid;
    grid-gap: 10px;
    grid-template:
        "player player"
        "header header"
        "sidenav main"
        "footer footer"
        / 150px 1fr;
}

.player {
    grid-area: player;
    height: 30px;
    z-index: 100;
}

header {
    grid-area: header;
    height: 100px;
    border: 3px solid black;
    background-image: url(images/hubheader.png);
    background-size: contain;
}

aside,
main {
    min-height: 370px;
    background-color: white;
    border: 3px solid black;
}

aside {
    grid-area: sidenav;
    background: #2a7b9b;
    background: linear-gradient(
        0deg,
        rgba(42, 123, 155, 1) 0%,
        rgba(124, 230, 203, 1) 54%,
        rgba(255, 246, 163, 1) 100%
    );
}

ul {
    list-style-type: none;
    margin: 15px;
    padding: 0;
}

.buttons {
    margin: 10px;
    width: 90%;
    min-height: 140px;
    max-height: 170px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    overflow: auto;
}

main {
    grid-area: main;
    background-image: url();
    background-repeat: no-repeat;
    background-position: 90% 50%;
}

.links {
    width: 80%;
    margin: auto;
    padding: 15px;
    display: flex;
    flex-flow: wrap;
    gap: 15px;
}

.linkbox {
    position: relative;
    width: 150px;
    height: 100px;
    border: 1px solid black;
    overflow: hidden;
}

.link {
    padding: 0 5px;
    border-top: 1px solid black;
}

.image {
    display: block;
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.overlay {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: #2a7b9b;
    width: 100%;
    height: 80px;
    transition: 0.5s ease;
    overflow: auto;
}

.linkbox:hover .overlay {
    bottom: 20px;
    height: 80px;
}

.text {
    color: white;
    font-size: 15px;
    position: absolute;
    padding: 15px;
    text-align: center;
}

footer {
    grid-area: footer;
    max-height: 30px;
    padding: 5px;
    text-align: center;
    font-size: 80%;
    background-color: white;
    border: 3px solid black;
}

/* monsieur music player */

#musicplayer {
    font-family: "basiic";
    font-weight: bold;
    height: 30px;
    display: flex;
    background: linear-gradient(180deg, lightgray 0%, white 45%, gray 47%, white 100%);
    border: solid 2px white; /* border around player */
    outline: solid 2px black;
    box-shadow:
        inset 10px 0 6px -10px gray,
        inset -13px 0 6px -10px gray,
        inset 0 10px 6px -10px #ffffff,
        inset 0 -13px 6px -10px white;
}

.songtitle {
    display: block;
    padding: 2px; /* padding around song title */
    font-family: "basiic";
    margin-top: 4px;
    margin-right: 5px;
    font-size: 15px;
    color: black;
    letter-spacing: 1px;

    background: white; /* background of song title */
    border: gray inset 1px;
    border-radius: 6px;
    box-shadow:
        inset 13px 0 6px -10px rgb(66 66 66 / 20%),
        inset -13px 0 6px -10px rgb(66 66 66 / 56%),
        inset 0 13px 6px -10px #ffffff,
        inset 0 -13px 6px -10px rgb(66 66 66 / 38%);
}

.controls {
    font-size: 12px; /* size of controls */
    text-align: center;
    width: 100px;
    height: 20px;
    text-decoration: none;
    filter: drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(-2px 0 0 white)
        drop-shadow(0 -2px 0 white) drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black)
        drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black)
        drop-shadow(0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);
}

.controls td {
    padding-top: 5px; /* padding around controls */
}

.seeking {
    width: 70%;
    background: transparent; /* background color of seeking bar */
    display: flex;
    justify-content: space-evenly;
    padding: 7px; /* padding around seeking bar */
}

.current-time {
    padding-right: 5px;
    margin-right: 3px;
    filter: drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(-2px 0 0 white)
        drop-shadow(0 -2px 0 white) drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black)
        drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black)
        drop-shadow(0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);
}

.total-duration {
    padding-left: 5px;
    filter: drop-shadow(2px 0 0 white) drop-shadow(0 2px 0 white) drop-shadow(-2px 0 0 white)
        drop-shadow(0 -2px 0 white) drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black)
        drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black)
        drop-shadow(0.5px 0.5px 0 black) drop-shadow(0.5px 0.5px 0 black);
}

.ctrlimg {
    height: 16px;
    width: 16px;
}
.ctrlimg:hover {
    cursor: help;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px; /* thickness of seeking track */
    cursor: help;
    border-radius: 6px;
    background: black; /* color of seeking track */
    border: 1px white solid;
}

input[type="range"]::-webkit-slider-thumb {
    height: 30px; /* height of seeking square */
    width: 20px; /* width of seeking square */
    background-image: url("https://file.garden/Zztv0a9yEhr5pmEq/tumblr_40786d3985453eb5412348aad980ac51_3a9a1088_1280%20(1).gif"); /* image of  seeking square */
    background-size: 25px;
    -webkit-appearance: none;
    margin-top: -10px;
}

input[type="range"].volume_slider::-webkit-slider-runnable-track {
    background: white; /* color of volume seeking track */
    filter: drop-shadow(-0.5px 0.5px 0 black) drop-shadow(0 0.5px 0 black) drop-shadow(0 0.5px 0 black)
        drop-shadow(0 0.5px 0.5px black) drop-shadow(0 0.5px black) drop-shadow(0.5px 0.5px 0 black)
        drop-shadow(0.5px 0.5px 0 black); /* outline of volume seeking track */
}

input[type="range"].volume_slider::-webkit-slider-thumb {
    background-image: url(https://file.garden/Zztv0a9yEhr5pmEq/798d7d72_original.png); /* image of volume seeking square */
    background-size: 20px;
    height: 20px; /* height of volume seeking square */
    width: 20px;
    margin-top: -8px;
}

.slider_container {
    width: 15%; /* width of volume seeker */
    display: flex;
    justify-content: center;
    align-items: center;
}
