html {
    background-color: #111;
    font-family: sans-serif;
}

body {
    margin: 0;
    overflow: hidden;
}

main {
    align-items: center;
    display: flex;
    justify-content: center;
}

.landscape main {
    height: 100vh;
}

.portrait main {
    width: 100vw;
}

.landscape canvas {
    width: 100vw !important;
    max-width: 100vw;
    height: auto !important;
}

.portrait canvas {
    height: 100vh !important;
    max-height: 100vh;
    width: auto !important;
}

.record {
    background: #cf4830;
    border: 1px solid #fff;
    border-radius: 100%;
    display: none;
    left: 10px;
    height: 40px;
    position: fixed;
    top: 10px;
    width: 40px;
}

.record.active {
    display: block;
}

.popup {
    align-items: center;
    color: white;
    display: none;
    position: fixed;
    justify-content: center;
    left: 0;
    height: 100vh;
    top: 0;
    width: 100vw;
}

.popup.show {
    display: flex;
}

h2 {
    letter-spacing: 1px;
    font-size: 32px;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

h3 {
    font-weight: normal;
    margin: 16px 0;
    text-align: center;
    max-width: 70%;
}

h3 span {
    border-bottom: 1px dashed white;
    cursor: help;
}

.popup-wrapper {
    align-items: center;
    background: rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
    height: 50vh;
    padding: 2rem;
    justify-content: center;
    width: 50vw; 
}

textarea {
    border: 1px solid white;
    background: none;
    color: white;
    height: 30%;
    padding: 8px 16px;
    width: 50%;
}

p {
    margin: 8px 0;
    max-width: 70%;
}

.divider {
    background: white;
    height: 1px;
    margin: 16px 0 8px;
    width: 25%;
}

button {
    background: none;
    border: 1px solid white;
    color: white;
    padding: 8px 16px;
    margin-top: 16px;
}