/*********************************/
:root{
  --color-0:#000000;
  --color-1:#1f2E45;
  --color-2:#0e6cc4;
  --color-3:#ECEBF0;
  --color-4:#F9F9F9;
  --color-5:#FFFFFF;
  --color-info: #00b4ff;
  --color-warning:orangered;
  --color-danger:red;
  --color-attention:orange;
  --color-warning:red;
  --bg-0:
  radial-gradient( 100% 100% at 0% 70%,#2a2b35 0%, transparent 40%),radial-gradient( 100% 100% at 100% 0%,#292a34,transparent 40%),#18181a;
  --bg-1:#eee;
  --bg-2:#0e6cc4;
  --bg-3:#1f2E45;
  --font-primary:
  'Comfortaa',sans-serif;
  --nav-bg:
  url(../img/svg/wave-header.svg);
}
*{
  margin:0 auto;
  padding: 0;
  /* border: 1px solid red; */
}

body{
  /* background: var(--bg-1); */
  font-family: var(--font-primary);
  max-width: 768px;
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  max-width: 450px;
}
nav{
  height: 5em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  z-index: 1000;
  position: absolute;
  width: 100%;
  top: 0;
  background: var(--nav-bg);
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 768px;
  background-position: bottom;
}
section{
  overflow: hidden;
  position: absolute;
  margin: 0 auto;
  width: 100%;
  transition: transform .2s linear;
  height: 100vh;
  background-color: var(--bg-1);
}
footer{
  height: 4em;
  background: transparent;
  margin: 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 0;
}

h1,h2,h3,h4,h5,h6,p,span {
    user-select: none;
}

.content {
  padding: 7em 0 4em 0;
  display: flex;
  align-items: start;
  flex-wrap: wrap;
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  height: 100%;
}

.modal{

}
.alert{

}
.primary{
  background: var(--bg-1);
  color:var(--color-1);
}
.secondary{
  background: var(--bg-3);
  color: var(--color-3);
}
.alter{
  background: var(--bg-3);
  color: var(--color-3);
}
.danger{
  background: var(--bg-danger);
  color: var(--color-danger);
}
.info{
  background: var(--bg-info);
  color: var(--color-info);
}
.warning{
  background: var(--bg-warning);
  color: var(--color-warning);
}
.attention{
  background: var(--bg-attention);
  color: var(--color-attention);
}
/******* ELEMENTOS DE ESTADOS ********/

.led{

}
.led.on{

}
.led.off{

}

.selected{

}

.hide{
  display: none;
}
.left{
  left: 0;
}
.right{
  right:0;
}
.top{
  top:0;
}
.bottom{
  bottom:0;
}
.dev-status {
    position: absolute;
    top: 3px;
    right: 1em;
    text-align: right;
    color: white;
    font-size: 1em;
    display: flex;
    align-items: center;
}
.dev-status .icon {
    height: 1em;
    width: 1em;
    margin-left: .5em;
    margin-right:.5em;
    margin-top:0em;
}
.user-avatar {
    width: 2em;
    height: 2em;
    position: absolute;
    top: 1em;
    border-radius: 50%;
    background-color: var(--bg-3);
    right: .3em;
    box-shadow: 0 0 0 3px var(--color-5);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    color: var(--color-3);
    white-space: nowrap;
    z-index: 10;
}
.control-logout .user-avatar {
    position: relative;
    font-size: 4em;
    margin: 0 auto .25em auto;
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.secondary p {
    color: darkgray;
    font-weight: 100;
}
article {
    font-family: sans-serif;
    padding: 1em;
}

article p {
    margin-top: 1em !important;
    font-size: .8em;
    font-weight: 100;
    text-align: center;
}
.user-emailVerified {
    width: 2em;
    height: 2em;
    position: absolute;
    transform: translate(0, -3em);
    background-color: green;
    border-radius: 50%;
    left: calc(50% + 2em);
    z-index: 10;
}
.input-badge .badge {
    width: 4em;
    height: 4em;
    position: absolute;
    background-color: transparent;
    right: -.5em;
    border-radius: 1em;
    background-size: 50%;
    z-index: 10;
    /* top: -.75em; */
}

.input-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em auto;
    padding: 0;
    width: 80%;
    position: relative;
}

.input-badge input {
    margin: 0;
}

.badge.wrong {filter: invert(37%) sepia(75%) saturate(7298%) hue-rotate(351deg) brightness(89%) contrast(131%);}

.badge.ok {
    filter: green;
    filter: invert(49%) sepia(28%) saturate(2384%) hue-rotate(84deg) brightness(120%) contrast(125%);
}
.user-email {
    font-family: 'Arial',sans-serif;
    margin: .5em auto;
}
.button:hover, .button-flat:hover {
    filter: hue-rotate(320deg);
}
.button,.button-flat {
    cursor:pointer;
}
.button-flat span.icon {
    margin-right: 1em;
    /* position: relative; */
    height: 2em;
}
.button-flat p {
    color: white;
}
a {
    color: dimgray;
}
