@font-face {
    font-family: 'Cause';
    src: url("Cause-VariableFont_wght.woff2") format('woff2'), url('fonts/my-font.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
    color: white;
}

:root {
    font-family: "Cause", sans-serif;
    font-size: 14pt;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;

    background-color: hsl(0, 0%, 0%);
}
body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px;

    background-color: hsl(0, 0%, 20%);
}

@media (max-aspect-ratio: 1/1) {
    body {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
}

p {
    color: white;
    margin: 0;
}

a {
    color: lightcoral;
    text-decoration: none;
    display: inline-flex;
    align-items: center; 
    text-decoration: none;
}
a::after {
    content: "";
    width: 14pt; 
    height: 14pt;
    margin-left: 6px;
    
    background-image: url('external.svg');
    background-size: contain;
    background-repeat: no-repeat;
    
    flex-shrink: 0;
}

#previewer {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    background-color: hsl(0, 0%, 0%);
}
#video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 16px;

    border: hsl(0, 0%, 20%) solid 2px;
    border-radius: 8px;
}
#makimiyafuki {
    height: 50%;

    position: absolute;
    bottom: -25%;
    right: 0;
}

#details {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    gap: 2px;
}
#data, #credits {
    padding: 14pt;
    text-align: center;
    background-color: hsl(0, 0%, 10%);
}
#lyrics {
    padding: 16px;

    overflow: auto;

    background-color: hsl(0, 0%, 0%);
}
.lyric {
    width: fit-content;

    margin: 8px auto;
    border: hsl(0, 0%, 20%) solid 2px;
    border-radius: 8px;
    padding: 16px;

    display: flex;
    flex-direction: column;
    gap: 4px;

    color: hsl(0, 0%, 100%);
    background-color: hsl(0, 0%, 10%);
}
.speaker1 {
    color: hsl(180, 100%, 40%);
}
.speaker2 {
    color: hsl(210, 100%, 40%);
}