*, html, body {
    padding: 0; 
    margin: 0;
    font-family: 'Inter', sans-serif;
    touch-action: none;
}
 
html {
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(to bottom, #d8d8dc 50%, #F5F6F8 50%);
}

/* HEADER */

header {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 90px;
    width: 100%;
    padding: 20px 0 30px 0;
    box-sizing: border-box;
    background-color: #F5F6F8;
}

header>h1 {
    font-size: 18px;
    font-weight: 600;
}

header>i {
    position: absolute;
    left: 0;
    font-size: 20px;
    padding: 20px;
}

header>i>a {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    -webkit-touch-callout: none;
}

/* CANVAS */

#canvasWrapper,
#canvas {
    width: 100%;
    height: 100%;
}

#canvasWrapper {
    position: relative;
    overflow: hidden;
    background-color: #d8d8dc;
    display: flex;
    align-items: center;
    justify-content: center;
}

#canvasWrapper>i {
    position: absolute;
    font-size: 30px;
    padding: 0.6px 0.2px 0.3px 0.6px ;
    color: rgb(119, 119, 119);
    animation: spin 0.4s infinite linear;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#canvas {
    opacity: 0;
    position: relative;
    pointer-events: none;
    transform: scale(1.05);
    z-index: 999;
    background-color: red;
    width: 100%;
    height: 100%;
}

#canvas > #overlay {
    position: absolute;
    top: calc(50% - 112px);
    right: calc(50% - 150px);
    bottom: calc(50% - 88px);
    left: calc(50% - 150px);
}

.top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 42px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.top-left:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 2px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.top-left:after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    border-top: 2px solid white;
    border-left: 2px solid white;
    top: 0;
    left: 0;
}

.top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 42px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.top-right:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 2px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.top-right:after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    border-top: 2px solid white;
    border-right: 2px solid white;
    top: 0;
    right: 0;
}

.bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 42px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.bottom-left:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 2px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.bottom-left:after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    border-bottom: 2px solid white;
    border-left: 2px solid white;
    bottom: 0;
    left: 0;
}

.bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2px;
    height: 42px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.bottom-right:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42px;
    height: 2px;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    -moz-box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
    box-shadow: 0px 0px 5px 2px rgba(0,64,227,0.5);
}

.bottom-right:after {
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    bottom: 0;
    right: 0;
}

/* FOOTER */

footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #F5F6F8;
}

input:focus {
    outline:none;
}

input {
    background-color: #F5F6F8;
    border-radius: 0;
    border: none;
    padding: 20px;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
}

footer>i {
    position: relative;
    font-size: 20px;
    padding: 20px;
}

footer>i>a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-touch-callout: none;
}

/* @media screen and (orientation: landscape) {
    body {
        display: none;
    }
} */

@media only screen and (max-width: 650px) {
    #canvas > #overlay {
        position: absolute;
        top: calc(50% - 100px);
        right: calc(50% - 100px);
        bottom: calc(50% - 100px);
        left: calc(50% - 100px);
    }
}