@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --foreground: black;
    --background: white;
}

body {
    background-color: var(--background);

    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

a {
    color: var(--foreground);
    text-decoration: none;
}

button {
    display: block;
    cursor: pointer;

    background-color: transparent;
    border: 0;

    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;

    margin: 0;
    padding: 0;
}

p {
    line-height: 1.5;
    margin: 10px 0;
}

.split {
    font-kerning: none;
}

li {
    list-style: none;
    position: relative;
}

li::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: var(--foreground);
    top: 12px;
    bottom: 0;
    left: -15px;
    transform: translateY(var(--translateY));
}

.split>.line {
    overflow: hidden;
}

header {
    padding: 10px 20px;
    text-align: justify;
}

nav {
    display: flex;
    justify-content: space-between;
}

nav>div {
    display: flex;
    gap: 20px;
}

nav a {
    position: relative;

    text-decoration: none;
    color: var(--foreground);
}

nav a::before {
    position: absolute;
    bottom: 0;

    content: "";
    background-color: var(--foreground);
    width: 100%;
    height: 1px;

    transform: scaleX(0);
}

nav a.active::before {
    transform: scaleX(1);
}

#app {
    overflow-x: hidden;
}

#keyboard-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); 
    align-items: start; 
    gap: 10px;

    padding: 20px;
}

.keyboard-image img,
.gallery>div>img,
.gallery>div>video,
.play-button {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.keyboard-image {
    position: relative;
}

.overlay {
    position: absolute;

    background-color: var(--background);

    width: 120%;
    height: 110%;
    bottom: -5px;
    left: 50%;
    margin: 0 auto;

    transform-origin: 0% 100%;
    transform: scaleY(0);
    translate: -50%
}

.gallery-box {
    width: 100%;
    grid-column: 1 / -1;
}

.gallery {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); 
    align-items: start; 
    gap: 10px;
}

.gallery>div {
    position: relative;
}

video {
    display: block;
}

.play-button {
    opacity: 0;

    position: absolute;
    
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.4);
}

.keyboard-details {
    grid-column: 1 / -1;
    padding-top: 10px;
    padding-bottom: 20px;
}

.keyboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 2;
}


.divider {
    background-color: black;
    width: 100%;
    height: 1px;
}

.button-container {
    overflow: hidden;
}

.keyboard-details>p {
    max-width: 500px;
    margin-bottom: 0;
}

ul {
    margin: 0 0 10px 0;
    padding: 0;
    padding-left: 20px;
}