@keyframes shadow-pulse {
  0% {
    box-shadow: 0 0 5rem rgba(244, 67, 54, 0.5); }
  50% {
    box-shadow: 0 0 8rem #f44336; }
  100% {
    box-shadow: 0 0 5rem rgba(244, 67, 54, 0.5); } }

@keyframes circle-pulse {
  0% {
    transform: scale(0);
    opacity: 1; }
  100% {
    transform: scale(3);
    opacity: 0; } }

@keyframes move-up {
  0% {
    transform: translateY(5rem);
    opacity: 0; }
  100% {
    transform: translateY(0rem);
    opacity: 1; } }

.anim-move-up {
  animation: move-up 0.3s cubic-bezier(0.65, 0.05, 0.36, 1) forwards; }

@keyframes move-down {
  0% {
    transform: translateY(0rem);
    opacity: 1; }
  100% {
    transform: translateY(20rem);
    opacity: 0; } }

.anim-move-down {
  animation: move-down 0.3s cubic-bezier(0.65, 0.05, 0.36, 1) backwards; }

@keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

.fade-in {
  animation: fade-in 0.5s cubic-bezier(0.65, 0.05, 0.36, 1) forwards; }

@keyframes fade-out {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }

.fade-out {
  animation: fade-out 0.5s cubic-bezier(0.65, 0.05, 0.36, 1) backwards; }

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  font-size: 62.5%;
  font-family: "Rubik", sans-serif;
  overflow-x: hidden; }

body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.6rem;
  background-color: #3D5AFE;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff; }

.app-container {
  min-height: 896px;
  min-width: 414px;
  max-width: 414px;
  border: 1px solid #4e4e4e;
  border-radius: 2.5rem;
  overflow: hidden;
  background-color: #121212; }

.inner-container {
  position: relative;
  min-height: 896px;
  width: 100%;
  overflow: inherit; }

.u-uppercase {
  text-transform: uppercase; }

.u-text-center {
  text-align: center; }

.u-description-heading {
  text-align: center;
  max-width: 55rem;
  text-align: center; }

.u-margin-bottom-small {
  margin-bottom: 2rem; }

.u-margin-bottom-medium {
  margin-bottom: 4rem; }

.u-margin-bottom-big {
  margin-bottom: 8rem; }

.u-margin-top-small {
  margin-top: 2rem; }

.u-margin-top-medium {
  margin-top: 4rem; }

.u-margin-top-big {
  margin-top: 8rem; }

.u-margin-right-small {
  margin-right: 1.5rem; }

.u-margin-left-small {
  margin-left: 1.5rem; }

.u-both-sides-p {
  padding: 0 2rem; }

.u-display-none {
  display: none; }

.u-display-block {
  display: block; }

.u-bg-red {
  background-color: #F44336 !important;
  transition: all .2s ease; }

.u-bg-blue {
  background-color: #3D5AFE !important;
  transition: all .2s ease; }

.u-bg-violet {
  background-color: #651FFF !important;
  transition: all .2s ease; }

.u-bg-green {
  background-color: #00C853 !important;
  transition: all .2s ease; }

.u-bg-orange {
  background-color: #FF9100 !important;
  transition: all .2s ease; }

.hide {
  display: none; }

.navbar {
  z-index: 2000;
  position: absolute;
  background-color: #1D1D1D;
  height: 120px;
  width: 100%;
  bottom: 0%;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
  padding: 2rem; }
  .navbar__controls-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; }
  .navbar__controls {
    display: flex; }

.btn {
  background-color: #2A2A2A;
  cursor: pointer;
  border: none;
  padding: 2rem;
  min-width: 6rem;
  min-height: 5.8rem;
  color: #fff;
  transition: background .4s ease;
  font-size: 1.6rem;
  font-weight: 600;
  border: 2px solid transparent;
  display: flex;
  justify-content: center;
  align-items: center; }
  .btn:hover {
    background-color: #fff;
    color: #292929; }
  .btn--extended {
    padding: 2rem 1rem;
    min-width: 16rem; }
  .btn--round {
    border-radius: 5rem; }
  .btn--bordered {
    border: 0.2rem solid #414141;
    transition: border .8s ease; }
  .btn--recorder:hover {
    background-color: #F44336;
    color: #fff;
    border-color: #F44336; }
  .btn--small {
    padding: 1.2rem;
    min-width: 1rem;
    min-height: 1rem; }
  .btn i {
    font-size: 1.6rem; }
  .btn i.fas.fa-home {
    margin-right: 1rem; }

.dashboard {
  border-bottom-left-radius: 3rem;
  border-bottom-right-radius: 3rem; }
  .dashboard__head {
    padding-top: 4rem;
    padding-bottom: 2rem; }
    .dashboard__head__top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-height: 6rem; }
      .dashboard__head__top-bar .user-account {
        width: 5rem;
        height: 5rem; }
        .dashboard__head__top-bar .user-account img {
          width: 100%;
          border-radius: 50%;
          border: 0.2rem solid #414141; }
      .dashboard__head__top-bar .time {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #2A2A2A;
        padding: 1.5rem 2rem;
        border-radius: 3rem; }
        .dashboard__head__top-bar .time i {
          margin-right: 1rem; }
    .dashboard__head__title {
      font-size: 3rem;
      font-weight: 500; }

.scenes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }
  .scenes .scene {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(42, 42, 42, 0.5);
    width: 7.2rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
    border-radius: 5rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.3s cubic-bezier(0.87, 0, 0.13, 1); }
    .scenes .scene:hover {
      background-color: #ffffff2a;
      transform: translateY(-1rem); }
    .scenes .scene__name {
      font-weight: 500; }
    .scenes .scene__icon {
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #2A2A2A;
      padding: 2rem;
      border-radius: 6rem;
      margin-bottom: 2rem;
      height: 5.7rem;
      width: 5.7rem;
      transition: all .2s ease; }
    .scenes .scene.movie.active {
      background-color: #00C853; }
      .scenes .scene.movie.active .scene__icon {
        background-color: #1D1D1D !important; }
        .scenes .scene.movie.active .scene__icon i {
          color: #fff; }
    .scenes .scene.music.active {
      background-color: #F44336; }
      .scenes .scene.music.active .scene__icon {
        background-color: #1D1D1D !important; }
        .scenes .scene.music.active .scene__icon i {
          color: #fff; }
    .scenes .scene.night.active {
      background-color: #651FFF; }
      .scenes .scene.night.active .scene__icon {
        background-color: #1D1D1D !important; }
        .scenes .scene.night.active .scene__icon i {
          color: #fff; }
    .scenes .scene.run.active {
      background-color: #3D5AFE; }
      .scenes .scene.run.active .scene__icon {
        background-color: #1D1D1D !important; }
        .scenes .scene.run.active .scene__icon i {
          color: #fff; }
    .scenes .scene.sleep.active {
      background-color: #FF9100; }
      .scenes .scene.sleep.active .scene__icon {
        background-color: #1D1D1D !important; }
        .scenes .scene.sleep.active .scene__icon i {
          color: #fff; }

.controls__heading {
  display: flex;
  justify-content: space-between;
  align-items: center; }
  .controls__heading .title {
    font-size: 2.2rem;
    font-weight: 500; }
    .controls__heading .title span {
      font-size: 1.7rem;
      color: #999999; }

.controls .edit {
  border: 0.2rem solid #414141;
  padding: .6rem 1.8rem;
  border-radius: 2rem;
  cursor: pointer; }
  .controls .edit:hover {
    background-color: #fff;
    color: #585858; }

.devices-wrapper {
  display: flex;
  justify-content: space-between; }
  .devices-wrapper .device__col {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 49%;
    height: 100%; }
    .devices-wrapper .device__col .device {
      display: flex;
      justify-content: end;
      align-items: center;
      width: 100%;
      min-height: 8.5rem;
      max-height: 17rem;
      background-color: rgba(42, 42, 42, 0.4);
      padding: 1.2rem;
      border-radius: .8rem;
      cursor: pointer;
      transition: all .2s ease-in; }
      .devices-wrapper .device__col .device:hover {
        background-color: rgba(42, 42, 42, 0.8); }
      .devices-wrapper .device__col .device__icon {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #2A2A2A;
        padding: 2.5rem;
        border-radius: 5rem;
        max-width: 4rem;
        max-height: 4rem;
        font-size: 2rem; }
      .devices-wrapper .device__col .device__info {
        margin-left: 1.5rem; }
        .devices-wrapper .device__col .device__info .name {
          font-size: 1.8rem;
          font-weight: 500;
          margin-bottom: .9rem; }
        .devices-wrapper .device__col .device__info .status {
          font-size: 1.2rem;
          color: #ccc; }
    .devices-wrapper .device__col .device--extended {
      min-height: 18rem;
      align-items: flex-start;
      flex-direction: column; }
      .devices-wrapper .device__col .device--extended .wrapper {
        display: flex; }
    .devices-wrapper .device__col .device:nth-of-type(odd) {
      margin-bottom: 1rem; }
    .devices-wrapper .device__col .device:nth-of-type(even) {
      margin-bottom: 1rem; }

.modal-container {
  z-index: 900; }
  .modal-container .modal {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 2000;
    transition: all .2s ease; }
    .modal-container .modal .icon-container {
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
      background-color: #1D1D1D;
      width: 30rem;
      height: 30rem;
      border-radius: 1.2rem; }
      .modal-container .modal .icon-container i {
        position: relative;
        background-color: #F44336;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 2.5rem;
        height: 9rem;
        width: 9rem;
        padding: 3rem;
        border-radius: 50%;
        animation: shadow-pulse 1.5s ease-in-out infinite backwards; }
        .modal-container .modal .icon-container i::after {
          border-radius: 50%;
          position: absolute;
          content: '';
          width: 120%;
          height: 120%;
          border: 0.2rem solid #F44336;
          animation: circle-pulse 1.6s ease-in-out infinite backwards; }
  .modal-container .modal-overlay {
    height: 100vh;
    width: 100%;
    position: absolute;
    background-color: #030303bd;
    filter: blur(10px); }

.contextual-menu {
  position: absolute;
  top: 11%;
  background-color: #fff;
  border-radius: .8rem;
  z-index: 1; }
  .contextual-menu__container {
    list-style: none;
    color: #282828; }
    .contextual-menu__container .item {
      padding: 2.5rem 3rem;
      cursor: pointer;
      font-size: 1.8rem; }
      .contextual-menu__container .item i {
        margin-right: 1rem; }
      .contextual-menu__container .item:hover {
        background-color: #2222220c; }

.dashboard {
  background-color: #1D1D1D; }
