/* css file for
Radlens2 




AUTHOR: ERWIN JOHN T. CARPIO
*/



div {
    transition-delay: 0ms;
    transition-duration: 600ms;
    transition-property: all;
    transition-timing-function: ease-in-out;
}

body {
    padding: 0px;
    margin: 0px;
}

sup {
    font-size: 0.55rem;
}

/* HEADER BAR */

.header {
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-content: center;
    align-items: stretch;
    z-index: 10;
    top: 0px;
    left: 0px;
    height: 3.5rem;
    width: 100vw;
    background: rgb(48, 63, 159, 1);
    color: white;
}

.header--hide {
    transform: translate(0, -100%);
}

.headerLeft {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    flex: 6 0 10%;
    padding: 0 0 0 1rem;
    text-align: center;
}

.headerLeft>p {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.headerRight {
    flex: 4 0 10%;
    padding: 0 1.5rem 0 0;
    width: 50%;
    text-align: right;
}

.headerRight_options>i {
    font-size: 1.25rem;
    margin: 1rem 0 0 0;
}

.share__btns {
    position: absolute;
    z-index: 5;
    top: 3rem;
    right: 0.5rem;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    width: 8rem;
    height: 5rem;
    background-color: white;
    border-radius: 5px 5px 5px 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-around;
    align-items: flex-start;
    overflow: hidden;
}

.share__btns--hidden {
    width: 0px;
    height: 0px;
}

.dimmer {
    position: fixed;
    z-index: 10;
    background-color: rgb(0, 0, 0);
    opacity: 0.8;
    width: 100vw;
    height: 100vh;
    transition: 700ms linear 0s opacity;
}

.dimmer--hide {
    z-index: -10;
    opacity: 0.1;
}

.menu {
    position: fixed;
    z-index: 10;
    width: 20rem;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    overflow-y: auto;
}

.menu--hide {
    transform: translate(-100%, 0);
}

.menu_exit>i {
    font-size: 2rem;
}

.menu>div {
    width: 100%;
    padding: 0rem 0rem 0rem 2rem;
}

#menu_exit {
    text-align: center;
    margin: 1rem 0 0 0;
    padding: 0 0 0 0;
}

.menu>ul {
    width: 100%;
    padding: 0rem 2rem 0rem 2rem;
    margin: 0rem 0rem 0rem 0rem;
}

.menu>ul>li {
    list-style-type: none;
    margin: 0rem 0 0rem 0;
    padding: 0rem 0 0rem 0;
}

.menu>ul>li>p {
    text-align: justify;
}

.socialIcons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    margin: 1rem 0 2rem 0;
}

.socialIcons>a {
    margin: 0 0.5rem 0 0;
}

.socialIcons>a>i {
    font-size: 2rem;
    color: black;
}

.splash {
    position: fixed;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: left;
    align-items: left;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 1) url('../../img/lense.jpeg') center no-repeat;
    background-size: cover;
}

.splash p {
    text-align: justify;
}

.splash__out {
    transform: translateY(-100vh);
    background: rgba(0, 0, 0, 0);
}

.fps {
    font-size: 12px;
    position: fixed;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 10rem;
    background: grey;
    color: white;
    top: 6rem;
    left: 2rem;
}

.errors {
    font-size: 12px;
    position: fixed;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 10rem;
    background: grey;
    color: white;
    bottom: 6rem;
    left: 2rem;
}

.errors--hide {
    display: none;
}

.fps--hide {
    display: none;
}

.welcome {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    padding: 2rem;
    height: auto;
    background: rgba(0, 0, 0, 0.5);
}

.welcome>p,
.welcome>h1 {
    color: white;
    width: 50vw;
}

.welcome>h1 {
    margin: 2rem 0 0rem 0;
    font-size: 2.5rem;
}

.welcome>.subtitle {
    margin: 0rem 0 0rem 0;
    color: white;
}


/* WEBCAM SCANNER AI */
#container {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: 0px auto;
    width: 100vw;
    height: 100vh;
    border: 1px #333 solid;
    padding: 0px;
    margin: 0px;
    background: rgba(0, 0, 0, 0.8);
}

#videoElement {
    background-color: rgba(0, 0, 0, 1);
}

.prediction {
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    box-sizing: border-box;
    height: 4rem;
    width: 100%;
    padding: 0rem 0rem 0rem 0rem;
    margin: 0rem;
    border: black solid 2px;
    bottom: 0px;
    left: 0rem;
    background: black;
}

.fracture {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    color: white;
    background: rgb(117, 117, 117, 1);
    overflow: auto;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
}

.fracture>p {
    display: block;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0 0 0 1rem;
    text-align: center;
    font-size: 2rem;
}

/* === 4.FAB (floating action button) and themeButtons === */

.gfab {
    position: fixed;
    text-align: center;
    display: flex;
    flex-direction: center;
    justify-content: center;
    align-content: center;
    align-items: center;
    bottom: 4rem;
    right: 2rem;
    border-radius: 90px;
    height: 4rem;
    width: 4rem;
    -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
    background-color: rgba(55, 55, 55, 0.5);
    -webkit-transition: 300ms ease-in-out 0s;
    transition: 300ms ease-in-out 0s;
    opacity: 1;
    border-style: none;
    background: rgb(255, 64, 129);
    color: white;
}

#gfab__icon {
    margin: 1rem;
}

.gfab:focus {
    outline-style: none;
}

.gfab-active,
.gfab:hover,
.gfab:active {
    background-color: rgba(0, 0, 0, 0.5);
    outline-style: none;
    -webkit-transform: translate(0px, -4px) scale(1.1);
    transform: translate(0px, -4px) scale(1.1);
}

.fa-arrow-circle-right {
    position: absolute;
    -webkit-transition: 300ms ease-in-out 0s;
    transition: 300ms ease-in-out 0s;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}