html {
    font-family: 'Open Sans', sans-serif;
    background-color: #fff0fd;
    background-image: url("../img/bg.svg");
    background-attachment: fixed;
    background-size: cover;
}

html,
body {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

body {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* Header */

#header {
    padding: 1rem;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    user-select: none;
    width: 90%;
    align-items: center;
}

#header>.links {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
    vertical-align: middle;
}

#header>.logo>img {
    margin-top: auto;
    margin-bottom: auto;
    height: 3rem;
    width: 3rem;
    margin-right: 1rem;
}

.logo {
    display: flex;
    flex-direction: row;
}

#header>.logo>h1 {
    letter-spacing: -2px;
    margin: 0;
    font-size: 36px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: auto;
}

#header>h2 {
    margin: 0;
    font-weight: 400;
    font-size: 20px;
    color: #474747;
}

#footer {
    text-align: center;
    font-weight: 500;
    color: #3d3434;
    font-size: 14px;
    /* background: #d1bec8b2; */
    /* box-shadow: 0 12px 18px 2px rgba(34,0,51,.01), 0 6px 22px 4px rgba(7,48,114,.01), 0 6px 10px 4px rgba(14,13,26,.01); */
}

#footer>.copyright {
    font-size: 10px;
    margin-top: 2px;
    margin-bottom: 1rem;
}

#footer>p {
    margin-bottom: 0;
}

#footer>p>a {
    /* text-decoration: none; */
    font-weight: 500;
    color: #000000;
}

#footer>p>a :hover {
    opacity: 0.5;
}

/* App */
#app {
    background-color: #fff;
    box-shadow: 0 12px 18px 2px rgba(34, 0, 51, .04), 0 6px 22px 4px rgba(7, 48, 114, .12), 0 6px 10px -4px rgba(14, 13, 26, .12);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    padding: 2rem;
    border-radius: 1rem;
    min-height: 500px;
    max-width: 800px;
    display: flex;
}

#app>.loading {
    margin-top: auto;
    margin-bottom: auto;
}

/* Step */
.step {
    display: flex;
    flex-direction: column;
    height: 100%;
    ;
    margin-left: auto;
    margin-right: auto;
}

.condensed {
    max-width: 30rem;
    margin: auto;
    height: unset;
}

.step>.title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
}

.step>img {
    opacity: 0.2;
    transform: rotate(30deg);
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.condensed>.title {
    margin-top: 0;
}

.step>.subtitle {
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.step>.subsubtitle {
    font-size: 0.8em;
    font-style: italic;
    margin-top: 2rem;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.step>p>a {
    color: #0060df;
    font-weight: 800;
    padding-left: 4px;
}

.step>p>a:hover {
    opacity: 0.7;
}

.session-identifier {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 3rem;
    margin-bottom: 0;
    opacity: 0.5;
}

.session-identifier .help>p,
.session-identifier .text>p {
    margin-top: 4px;
    margin-bottom: 0;
}

.session-identifier>.text,
.session-identifier>.help {
    font-size: 10px;
    font-weight: 600;
    /* font-style: italic; */
    text-align: center;
}

.session-identifier>.text {
    font-weight: 500;
    font-family: 'Source Code Pro', monospace;
}


.session-identifier>.help {
    /* text-transform: uppercase; */
    font-size: 8px;
    margin-top: 8px;
    font-weight: normal;
    /* font-style: italic; */
}

#session-code>img,
#session-code>canvas {
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.session-identifier>.text ::before {}

/* download */
.download {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.download>.file {
    display: flex;
    flex-direction: column;
}

.download>.file>.file-box>.file-icon {
    height: 34px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 20px;
}

.download>.file>.file-box {
    display: flex;
    flex-direction: row;
    border: 1px solid #00000014;
    border-radius: 4px;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    min-width: 300px;
}

.download>.file>.file-box>.file-details>p {
    margin: 0;
}

.download>.file>.file-box>.file-details>.file-name {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1px;
}

.download>.file>.file-box>.file-details>.file-size {
    font-size: 14px;
    font-weight: 300;
}

.download>.save-button {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.download>.save-button :hover {
    background-color: #024aa8;
}

.download>.save-button>a {
    /* margin: 0; */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    min-width: 300px;
    padding: 0;
    font-size: 17px;
    padding: 12px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: #0060df;
    color: #fff;
    border-radius: 8px;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* send */
.split {
    display: flex;
    flex-direction: row-reverse;
    height: 100%;
    ;
}

.split>.step>p {
    text-align: left;
    margin-left: 2rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.split>.step>.subtitle {
    letter-spacing: 1px;
}

span.file-name {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-weight: 300;
}

.file-selector {
    min-width: 300px;
    border-style: dashed;
    border-width: 2px;
    border-radius: 0.25rem;
    border-color: rgba(21, 20, 26, .2);
    display: flex;
    flex-direction: column;
}

.file-selector>img {
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}


.file-selector>p {
    letter-spacing: 1px;
    text-align: center;
    margin-top: 4px;
}

.file-selector>.label-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0;
}

#selfile {
    display: none;
}

.select-form {
    margin-bottom: auto;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.select-button {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 12px;
    background-color: #0060df;
    color: #fff;
    border-radius: 8px;
    letter-spacing: 1px;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
}

.select-button:hover {
    background-color: #024aa8;
}

/* copy link */
#drop-link {
    padding-top: .25rem;
    padding-bottom: .25rem;
    padding-left: .5rem;
    padding-right: .5rem;
    height: 3rem;
    border: 1px solid #dae1e7;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    border-radius: .5rem;
    margin-top: 2rem;
}

.copy-button {
    margin-bottom: auto;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    background-color: #0060df;
    color: #fff;
    border-radius: 8px;
    letter-spacing: 1px;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    outline: none;
    padding: 1rem 1.5rem;
}

.copy-button:hover {
    background-color: #024aa8;
}

.reload-button {
    margin-bottom: auto;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    background-color: #0060df;
    color: #fff;
    border-radius: 8px;
    letter-spacing: 1px;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    outline: none;
    padding: 1rem 1.5rem;
}

.reload-button:hover {
    background-color: #024aa8;
}

/* error */
.error {
    background-color: rgb(197, 10, 41);
}

.error>.title {
    color: #fff;
}

.error>.subtitle {
    font-size: 1.5rem;
    color: #fff;
}

/* install */

.install {
    display: flex;
    margin-left: auto;
    margin-right: 0;
}

.install>a {
    display: flex;
    /* width: 150px; */

    padding: 0.5em;
    border-radius: 0.5em;
    background-color: #000;
    border: 1px solid rgb(216, 216, 216);
    margin-left: auto;

    margin: 1em;

    font-size: 18px;
    font-weight: 500;

    box-shadow: 0 12px 18px 2px rgba(34, 0, 51, .04), 0 6px 22px 4px rgba(7, 48, 114, .12), 0 6px 10px -4px rgba(14, 13, 26, .12);

    cursor: pointer;
}

.install :hover {
    opacity: 0.75;
}

.install>a {
    text-decoration: none;
}

.install>a>img {
    width: 28px;
    height: 28px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 0.5em;
    margin-right: 0;

    filter: invert(70%);
}

.install>a>span {
    margin: auto;
    margin-left: 0.5em;
    color: #fff;
    font-weight: 600;
    margin-right: 0.5em;
}

.install>a>span::before {
    content: 'Install on';
    font-size: 10px;
    font-weight: normal;
    opacity: 0.6;
    text-transform: uppercase;
    position: relative;
    display: block;
    /* height: 100%; */
}

.web>span::before {
    content: 'Run on' !important;
}

.ios>span::before {
    content: 'Install on' !important;
}

/* phone */
@media screen and (max-width: 768px) {

    html,
    body {
        height: unset;
    }

    #header {
        margin: auto;
        flex-direction: column;
    }

    .install {
        margin-bottom: 2em;
        transform: scale(0.75);
    }

    .install,
    .logo {
        /* display: flex; */
        /* flex-direction: column; */
        margin-left: auto;
        margin-right: auto;
    }

    #footer {
        margin-top: auto;
    }

    #app {
        max-width: unset;
        min-height: unset;
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 8px;
        background-color: transparent;
        box-shadow: none;
    }

    .split {
        flex-direction: column-reverse;
    }

    .step {
        height: unset;
    }

    .step>img {
        width: 40%;
    }

    .file-selector {
        min-width: unset;
        height: unset;
        padding: 2rem;
        margin-bottom: 4rem;
    }

    .split>.step>.title,
    .split>.step>.subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-height: 700px) {

    html,
    body {
        height: unset;
    }

    #app {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}