@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
    font-family: Poppins;
    margin: 0px;
    padding: 0px;
    background: #f1f1f1;
    background-image: url("/img/bg-faded.png");
    background-size: cover;
    text-align: center;
}

#logo {
    width: 200px;
    position: fixed;
    top: 20px;
    left: 30px;
}

h1 {
    margin: 15px 0px 0px 0px;
    font-size: 32px;
}

.fa-hourglass-clock {
    color: #5773ab;
    font-size: 60px;
}

.fa-circle-exclamation {
    color: #e67440;
    font-size: 60px;
}

.fa-check-circle {
    font-size: 65px;
    color: green;
}

.button {
    font-size: 20px;
    font-weight: 500;
    border-radius: 30px;
    color: white;
    padding: 13px 25px;
    display: inline-block;
    text-decoration: none;
    margin-top: 15px;
    background: #6e35ff;
    cursor: pointer;
    box-shadow: 0px 10px 30px #6E35FF91;
}

#loading {
    display: block !important;
}

#safari_instructions {

    margin: 0px auto;
    background: white;
    box-sizing: border-box;
    overflow: hidden;
    padding-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0px 9px 20px rgba(86, 19, 107, 0.1);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    opacity: 0;
    margin-top: 30px;
    transition: margin-top 500ms, opacity 500ms;
    display: none;
}

#safari_instructions video {
    margin-bottom: 25px;
}

#loading,
#instructions,
#complete {
    margin: 0px auto;
    background: white;
    box-sizing: border-box;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0px 9px 20px rgba(86, 19, 107, 0.1);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    margin-top: 30px;
    opacity: 0;
    transition: margin-top 500ms, opacity 500ms;
    display: none;
}

#loading.shown,
#instructions.shown,
#complete.shown,
#safari_instructions.shown{
    margin-top: 0px;
    opacity: 1;
}

#loading #progressbar {
    background: #F5F7FA;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

#loading #progressbar .bar {
    height: 15px;
    background: #3773bd;
    width: 0%;
    transition: width 4s;
}

#loading #progressbar .bar.shown {
    width: 100%;
}

.install_step {
    display: none;
}

.install_step.firefox {
    position: absolute;
    width: 320px;
    background: white;
    box-shadow: 0px 9px 20px rgba(86, 19, 107, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    padding: 15px 20px;
    margin-bottom: 0px;
    transition: top 500ms, opacity 400ms;
    right: 50px;
    top: 200px;
    opacity: 0;
}

.install_step.firefox:after {
    bottom: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-bottom-color: #ffffff;
    border-width: 20px;
    margin-left: -20px;
}

.install_step.firefox.shown {
    top: 200px;
    opacity: 1;
}

.install_step.chrome {
    position: absolute;
    transform: translate(-50%);
    width: 320px;
    background: white;
    bottom: 490px;
    box-shadow: 0px 9px 20px rgba(86, 19, 107, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    padding: 15px 20px;
    margin-bottom: 0px;
    opacity: 0;
    transition: margin-bottom 500ms, opacity 400ms;
    left: calc(50% + 400px);
}

.install_step.chrome.shown {
    margin-bottom: 20px;
    opacity: 1;
}

.install_step.chrome:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #ffffff;
    border-width: 20px;
    margin-left: -20px;
}

.install_step > .title {
    font-weight: 700;
    font-size: 18px;
}

.install_step > .subtitle {
    font-size: 14px;
}


.install_step.edge {
    position: absolute;
    transform: translate(-50%);
    width: 320px;
    background: white;
    bottom: 490px;
    box-shadow: 0px 9px 20px rgba(86, 19, 107, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    padding: 15px 20px;
    margin-bottom: 0px;
    opacity: 0;
    transition: margin-bottom 500ms, opacity 400ms;
    left: calc(50% + 400px);
}

.install_step.edge.shown {
    margin-bottom: 20px;
    opacity: 1;
}

.install_step.edge:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-top-color: #ffffff;
    border-width: 20px;
    margin-left: -20px;
}