/* Redefining css variables from picocss */
:root {
    --nav-element-spacing-horizontal: 1rem;
    --block-spacing-vertical: calc(var(--spacing) * 2.1);
}

html,
body {
    height: 100%;
    margin: 0;
    1
}

#app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

main {
    flex: 1;
    padding-bottom: var(--block-spacing-vertical);
}

nav {
    border-bottom: 2px solid var(--primary-focus);
    background-color: var(--code-background-color);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    padding-right: calc(var(--spacing) * 3);
    padding-left: calc(var(--spacing) * 3);
}

#brand {
    font-size: 1.2rem;
    font-weight: bold;
}

#app>footer {
    border-top: 2px solid var(--primary-focus);
    background-color: var(--code-background-color);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.1);
    padding: var(--spacing);
}

#app>footer p {
    text-align: center;
    margin: 0;
}

article {
    margin: var(--block-spacing-vertical) 0 0 0;
}

article>header {
    font-weight: bold;
    font-size: 1.5rem;
}

#bmc-button {
    width: 217px;
    height: 60px;
}

#bmc-button:hover {
    filter: brightness(0.9);
}

/* ChatGPT suggests this trick for responsive videos */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    margin-bottom: var(--typography-spacing-vertical);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

a {
    white-space: nowrap;
}

#player-controls {
    display: flex;
    /* This will push the left-side and right-side apart */
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#how-to-record {
    margin-left: 0.5rem;
    text-decoration: none;
}