/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

    --spacing: 3vmin;
    --spacing-small: 1vmin;
    --spacing-big: 5vmin;
    --border-radius: 1vmin;
    --color-primary: #009d89;
    --color-primary-hover: #007466;
    --color-bkg: #252525;
    --color-bkg-dark: #1e1e1e;
}

body {
    line-height: 1.3;
    background-color: var(--color-bkg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/**
 * Utils
 */

button {
    background-color: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
    display: inline;
}

.button {
    background-color: var(--color-primary);
    border: none;
    color: #fff;
    padding: 0.8em 1em;
    border-radius: calc(0.7 * var(--border-radius));
    transition: background-color 200ms ease-in-out;
}

.button:hover {
    background-color: var(--color-primary-hover);
}

.list {
    padding-left: 1.5rem;
}

.list li + li {
    margin-top: 0.5em;
}

.icon {
    width: 1em;
}

.link {
    color: var(--color-primary);
    text-decoration: underline;
}

.link:hover {
    color: var(--color-primary-hover);
}


/**
 * Connect Area
 */

.connect-area {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

.connect-area:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #252525;
    opacity: 0.6;
}

.connect-area__popup {
    position: relative;
    background-color: #fff;
    padding: var(--spacing);
    border-radius: var(--border-radius);
    max-width: 400px;
    width: calc(100% - 2 * var(--spacing));
}

.connect-area__desc {
    margin: var(--spacing) 0;
}

.connect-area__button {
    display: block;
    font-size: 1.3rem;
    margin: var(--spacing-big) auto 0 auto;
}

.connect-area__button-skip {
    display: block;
    margin: var(--spacing-small) auto 0 auto;
}

.connect-area__title {
    display: flex;
    align-items: center;
}

.connect-area__icon {
    margin-right: 0.25em;
}

/**
 * Control Area
 */

.main-content {

}

.main-content__status {
    font-size: 3rem;
}

/**
 * Components
 */


