body {
    font-family: 'Alegreya Sans', sans-serif;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    height: 100%;

}

div {
    display: block;
}

.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 50vh;
    opacity: 0.97;
}

.main {
    text-align: center;
    background-image: linear-gradient(to right top, #444, #444);
    width: 90%;
    max-width: 40em;
    justify-content: center;
    align-items: center;
    border-radius: 1em;
    border-color: #d01a16;
    border-style: solid;
    border-width: 0.1em;
    box-shadow: 0 0 1em #d01a16;
    box-sizing: border-box;
    animation: myAnim 0.7s ease 0s 1 normal forwards;

}

@keyframes myAnim {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.mainimg {
    width: 200px;
    position: relative;
    margin-top: 15px;
}

.step0-txt {
    font-weight: 600;
    font-size: 1.6em;
    width: 80%;
    margin: 1em auto;
    color: white;

}

.user-box {
    overflow: auto;
    position: relative;
}

.user-icon {
    margin-top: 0.19em;
    position: absolute;
    width: 2.5em;
    z-index: 2;
    margin-left: 1.4em;
}

.user-input {
    position: relative;
    background: white;
    opacity: 0.5;
    outline: none;
    box-shadow: none;
    width: 50%;
    height: 50px;
    padding: 0 1em 0 2.5em;
    font-size: 1.75em;
    border-radius: 0.6em;
    border-width: 2px;
    border-color: #d01a16;
    border-style: solid;
    font-weight: bold;
    box-sizing: border-box;
    max-width: 40em;
    vertical-align: middle;
}

.shakeanim {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        margin-left: 0;
    }

    20%,
    80% {
        margin-left: -0.5em;
    }

    40%,
    60% {
        margin-left: 0.5em;
    }
}

input,
textarea {
    color: black;
}

::placeholder {
    color: black;
    opacity: 40%;
}

.btn0 {
    background: #d01a16;

    width: 30%;
    padding: 10px 0 10px 0;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em;
    border-radius: 5px;

    font-weight: 900;
    font-size: 1.5em;
    box-sizing: border-box;
    font-family: 'Archivo', sans-serif;


    transition-property: box-shadow;
    transition: 0.5s;

    border: none;
    color: #fff;
    letter-spacing: 4px;
}

.btn0:hover {
    background: #d01a16;
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0 0 5px #d01a16,
        0 0 10px #d01a16,
        0 0 15px #d01a16,
        0 0 20px #d01a16;
    letter-spacing: 4px;
}

.btn1 {
    background: #d01a16;

    width: 34%;
    padding: 0.5em 0 0.5em 0;
    margin: 1.5em auto;
    border-radius: 0.5em;
    font-weight: 600;
    font-size: 1.5em;
    box-sizing: border-box;
    font-family: 'Archivo', sans-serif;
    animation: zoom-in-zoom-out 2s ease infinite;

    transition-property: box-shadow;
    transition: 0.5s;

    border: none;
    color: #fff;
    letter-spacing: 4px;
}

.btn1:hover {
    background: #d01a16;
    transform: scale(1.1);
    cursor: pointer;
    box-shadow: 0 0 5px #d01a16,
        0 0 10px #d01a16,
        0 0 15px #d01a16,
        0 0 20px #d01a16;
    letter-spacing: 4px;
}


@keyframes zoom-in-zoom-out {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.1, 1.1);
    }

    100% {
        transform: scale(1, 1);
    }
}

.devices {
    display: flex;
    justify-content: center;
    margin-top: 1em;
    box-sizing: border-box;
    cursor: pointer;
    float: none;
    margin-bottom: 2em;
}

.platform {
    background: #d01a16;
    width: 8em;
    height: 5.5em;
    border-radius: 1em;
    padding-top: 1em;
    margin: 1em;
    box-shadow: 0 0 0.6em black;
}

.platform:hover {
    background: #e31d19;
    transform: scale(1.1);
    box-shadow: 0 0 0.5em #cacaca;

}

.search0 {
    margin: 0 auto;
    text-align: center;
    height: 10em;
    font-weight: 600;
}

.search1 {
    margin: 0 auto;
    text-align: center;
    height: 22em;
    margin-top: 2em;
    animation: myAnim 0.7s ease 0s 1 normal forwards;
}

.laststep {
    margin: 0 auto;
    text-align: center;
    height: auto;
    margin-top: 2em;
    margin-bottom: 1.2em;
    font-family: 'Archivo', sans-serif;
}

.searching {
    width: 40%;
    background: #8a8a8a;
    color: #d1d1d1;
    margin: 0 auto;
    border-radius: 10px;
    padding: 10px 0 10px 0;
    font-size: 2em;
    box-shadow: 0 0 2px black;
    animation: zoom-in-zoom-out 1s ease infinite;
}

.searchingname {
    margin: 0 1em;
}

#dots:after {
    content: '.';
    animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        color: rgba(0, 0, 0, 0);
        text-shadow:
            .25em 0 0 rgba(0, 0, 0, 0),
            .5em 0 0 rgba(0, 0, 0, 0);
    }

    40% {
        color: black;
        text-shadow:
            .25em 0 0 rgba(0, 0, 0, 0),
            .5em 0 0 rgba(0, 0, 0, 0);
    }

    60% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 rgba(0, 0, 0, 0);
    }

    80%,
    100% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 black;
    }
}


.checkmark-icon {
    width: 1em;
    float: right;
    margin-left: -5em;
    margin-top: -1.2em;
}

.devices-pic {
    width: 3em;
    margin-top: 0.7em;
}

.devices-pic.ios {
    margin-top: 0.5em;
}

.secondimg {
    float: right;
    width: 15em;
    margin-top: 6.5em;
    margin-right: 5em;
}

.Resource-Div {
    margin: 1em 0 2em 0;
    cursor: pointer;
}

.Resource-Div2 {
    margin: 1em 0 2em 0;
    cursor: pointer;
}

.Resource-pic {
    width: 4em;
}

.Resource-text {
    font-size: 1.8em;
    font-weight: 800;
    margin-left: 0.5em;
    COLOR: #FFF;
}

.Resource {
    background-image: radial-gradient(#d01a16, #d01a16);
    box-shadow: 0 0 0.6em #000;
    border-radius: 1em;
    margin: 1em auto;
    display: flex;
    box-sizing: border-box;
    position: relative;
    width: 90%;
    max-width: 40em;
    height: 5em;
    align-items: center;
    justify-content: center;

}

@keyframes myAnim1 {
    0% {

        transform: scale(1);
    }

    100% {

        transform: scale(1.05);
    }
}

.Resource:hover {
    background: #e31d19;
    transform: scale(1.02);
    box-shadow: 0 0 0.5em #2b2b2b;
    cursor: pointer;
}

.Selected {
    background: #e31d19;
    box-shadow: 0 0 0.5em white;
    color: #FFFFFF;
    border-radius: 1em;
    margin: 0.5em auto;
    display: flex;
    box-sizing: border-box;
    position: relative;
    width: 90%;
    max-width: 40em;
    height: 5em;
    align-items: center;
    justify-content: center;
    animation: myAnim1 1s ease 0s 1 normal forwards;
}

.progress-bg {
    margin-top: 0.5em;
    width: 26em;
    height: 1em;
    background-color: whitesmoke;
    border-radius: 0.5em;
    display: inline-block;
}

.progress-bar {
    margin-top: 0;
    margin-left: -0.1em;
    width: 0;
    height: 1em;
    background: grey;
    border-radius: 0.5em;
}

.progressbar25 {
    animation: progress1 1s linear;
    animation-fill-mode: forwards;
}

@keyframes progress1 {
    0% {
        width: 0;
    }

    100% {
        width: 25%;
    }
}

.progressbar40 {
    animation: progress2 2s linear;
    animation-fill-mode: forwards;
}

@keyframes progress2 {
    0% {
        width: 25%;
    }

    100% {
        width: 40%;
    }
}

.progressbar75 {
    animation: progress3 1s linear;
    animation-fill-mode: forwards;
}

@keyframes progress3 {
    0% {
        width: 40%;
    }

    100% {
        width: 75%;
    }
}

.progressbar95 {
    animation: progress4 1s linear;
    animation-fill-mode: forwards;
}

@keyframes progress4 {
    0% {
        width: 75%;
    }

    100% {
        width: 95%;
    }
}

.settings-rotate {
    animation: ranimation 2s linear infinite;
    width: 150px;
}

@keyframes ranimation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loader {
    animation: ranimation 2s linear infinite;
    display: none;
}

.laststep-rotate {
    animation: myAnim2 2s ease 0s infinite normal forwards;
    width: 5em;
    margin-top: -5em;

}

@keyframes myAnim2 {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.LastStepTxt {
    font-size: 1.5em;
    font-weight: 700;
    width: 90%;
    margin: 1em auto;
    text-shadow: 2px 2px #181818;
    color: white;
}


/*              Mobile                 */

@media only screen and (max-width: 768px) {

    .main {
        margin-top: 1em;
    }

    .platform {
        width: 6em;
        height: 4em;
    }

    .johnwickgif {
        margin-left: 7em;
        position: absolute;
        box-sizing: border-box;
    }

    .devices {
        margin: 1em auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* position: absolute; */
    }

    .devices-pic {
        width: 2.6em;
        margin: 0 auto;
    }

    .devices-pic.ios {
        margin-top: 0.1em;
    }

    .devices-pic.android {
        margin-top: 0.1em;
    }

    .devices-pic.windows {
        margin-top: 0.2em;
    }

    .platform {
        margin: 0.8em;
    }

    .secondimg {
        width: 20em;
        margin-top: -1em;
        box-sizing: border-box;
    }

    .Resource-Div {
        box-sizing: border-box;
    }

    .Resource {
        width: 90%;
    }

    .Selected {
        width: 90%;
    }

    .Resource-text {
        font-size: 1.5em;
        font-weight: 800;
    }

    .Resource-pic {
        width: 3em;
        float: left;
    }

    .laststep {
        height: 100%;
    }

    .step0-txt {
        font-size: 1.5em;
    }

    .progress-bg {
        width: 90%;
    }

    .settings-rotate {
        margin-bottom: 1em;
    }

    .user-input {
        width: 90%;
    }

    .btn0 {
        width: 40%;
    }

    .btn1 {
        width: 44%;
    }
}


@media only screen and (max-width: 319px) {
    .Resource {
        width: 90%;
    }

    .Resource-text {
        font-size: 1.2em;
        font-weight: 800;
        margin-top: 0 auto;
    }

    .Resource-pic {
        display: none;
    }

    .user-input {
        font-size: 22px;
        margin: 0 auto;
    }

    .user-icon {
        margin: 0.7em 0.8em;
    }
}

@media only screen and (max-width: 395px) {
    .Resource-text {
        font-size: 1.2em;
        font-weight: 800;
        margin: 1.4em 1em;
    }

    .user-input {
        font-size: 22px;
    }

    .user-icon {
        margin: 0.6em 0.6em;
    }
}

@media only screen and (max-width: 440px) {
    .secondimg {
        display: none;
    }

    .devices {
        margin: 1em auto;
    }

    .Resource-text {
        font-size: 1.4em;
        font-weight: 800;
        margin: 1em 1em;
    }

    .Resource-pic {
        margin-right: 0;
    }

    .btn0 {
        width: 50%;
    }

    .btn1 {
        width: 54%;
    }
}

.logo-img {
    max-width: 240px;
    margin-top: 20px;

}



h1 {
    text-align: center;
    text-transform: uppercase;
    color: #F1FAEE;
    font-size: 4rem;
}

@media screen and (max-width: 600px) {
    h1 {
        text-align: center;
        text-transform: uppercase;
        color: #F1FAEE;
        font-size: 2.125rem;
    }

}

#canvas {
    background-color: #2c343f;
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
}

.arrow {
    width: 30px;
    transform: rotate(50deg);
    position: absolute;
    margin-top: 20px;
    margin-left: -135px;
    z-index: 3;
}