body {
    margin: 0px;
    padding: 0px;
    background-color: var(--black);
    font-family: "Fira Code", monospace;
    font-size: var(--content);
    color: var(--white);
}

button {
    all: unset;
}

header, nav {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-size: var(--section);
}

main {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: var(--app-width);
    margin-bottom: 40px;
}

header {
    border-bottom: 3px solid var(--white);
}

section {
    text-align: center;
}

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

a:hover, button:hover {
    text-decoration: underline;
    cursor: pointer;
}

nav a {
    color: var(--red);
}

video {
    width: 100%;
    max-width: 720px;
}

span {
    display: inline-block;
}

.video {
    display: flex;
    justify-content: center;
    margin: 0px 20px;
}

.past-replay {
    display: block;
    text-align: center;
    margin: 0px;
    color: var(--purple);
}

.past-replay.selected {
    color: var(--red);
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.actions > * {
    text-align: center;
    width: min-content;
}

form.options {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0px 20px;
    margin-bottom: 20px;
}

.option {
    padding: 5px 10px;
    border: 4px solid var(--yellow);
    border-radius: 10px;
    font-size: var(--sub-title);
    color: var(--yellow);
}

.option.selected {
    border-color: var(--blue);
    color: var(--blue);
}

.capture-time span {
    width: 3ch;
}

.camera-resolution span {
    width: 12ch;
}

#github {
    color: var(--green);
    font-size: var(--content);
}

#app-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--title);
    text-decoration: none;
}

#settings {
    color: var(--blue);
    font-size: var(--section);
}

#capture {
    color: var(--red);
    border: 5px solid var(--red);
    font-size: var(--intense);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

#delete-replay {
    display: inline;
}

#current-page {
    color: var(--blue);
}
