@import url('https://fonts.googleapis.com/css2?family=Rubik+Spray+Paint&family=Rubik+Vinyl&display=swap');
@font-face {
    font-family: 'TTM Records Regular';
    /*a name to be used later*/
    src: url('./src/tmm.ttf');
    /*URL to font*/
}


/*
Import Roboto font from Google Fonts
*/

body {
    /*must be the same name as in @font-face*/
    background-image: url('./src/le_background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    font-family: 'Rubik Spray Paint', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
}

button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}

header {
    position: sticky;
    top: 0;
    padding: 2%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
}

header img {
    width: 5%;
    object-fit: contain;
}

nav {
    position: relative;
}

nav button {
    align-items: center;
    width: 26px;
    height: 2px;
    position: relative;
    padding: 10px 0;
}

nav button::after,
nav button::before,
nav button #middle-bar {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all .2s ease-in-out;
    left: 0;
    top: 100%;
    transform-origin: center;
}

nav button::after {
    top: 0;
}

nav button #middle-bar {
    top: 50%;
}

.show button::after {
    transform: rotate(45deg);
    top: 50%;
}

.show button::before {
    transform: rotate(-45deg);
    top: 50%;
}

.show button #middle-bar {
    transform: scale(0);
}

ul {
    height: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
    position: absolute;
    background-color: black;
    right: 0;
    width: 900%;
    top: 150%;
}

li {
    list-style: none;
    padding: 2% 7%;
    margin: 2% 0;
    font-size: 1rem;
    position: relative;
}

li::after {
    content: '';
    position: absolute;
    width: 0;
    backdrop-filter: invert(100%);
    transition: all .2s ease-in-out;
    left: 0;
    top: 0;
    bottom: 0;
}

li:hover::after {
    width: 100%;
}

li a {
    color: white;
    text-decoration: none;
}

.show ul {
    height: 5rem;
}

album {
    display: grid;
    grid-template-columns: repeat(2, 50vw);
}

article {
    border-radius: 50%;
    background-color: black;
    position: relative;
    height: 44vw;
    width: 44vw;
    margin: 3vw;
}

article img {
    border-radius: 50%;
    position: absolute;
    margin: 5%;
    width: 90%;
}

article::after {
    content: '';
    position: absolute;
    width: 10%;
    height: 10%;
    border-radius: 50%;
    background-color: #CF9BE1;
    top: 50%;
    left: 50%;
    border: 5px solid black;
    transform: translate(-50%, -50%);
}

album table img {
    width: 2rem;
}

input[type="range"] {
    position: relative;
    -webkit-appearance: none;
    width: 48%;
    margin: 0;
    padding: 0;
    height: 19px;
    margin: 30px 2.5% 20px 2.5%;
    float: left;
    outline: none;
    background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: darkgray;
}

input[type="range"]::after {
    position: absolute;
    content: "";
    top: 8px;
    left: 0;
    width: var(--before-width);
    height: 3px;
    background-color: #000;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    position: relative;
    -webkit-appearance: none;
    box-sizing: content-box;
    border: 1px solid #000;
    height: 15px;
    width: 3px;
    cursor: pointer;
    margin: -7px 0 0 0;
    background-color: #000;
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: darkgray;
}

input[type="range"]::-moz-range-progress {
    background-color: #000;
}

input[type="range"]::-moz-focus-outer {
    border: 0;
}

input[type="range"]::-moz-range-thumb {
    box-sizing: content-box;
    border: 1px solid #000;
    background-color: #000;
    height: 15px;
    width: 3px;
    cursor: pointer;
}

input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.2);
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: darkgray;
    border: solid darkgray;
    color: darkgray;
}

input[type="range"]::-ms-fill-lower {
    background-color: #000;
}

input[type="range"]::-ms-fill-upper {
    background: darkgray;
}

input[type="range"]::-ms-thumb {
    box-sizing: content-box;
    border: 1px solid #000;
    height: 15px;
    width: 3px;
    cursor: pointer;
    background-color: #000;
}

input[type="range"]:active::-ms-thumb {
    transform: scale(1.2);
}