body {
    color: var(--text-2);
    background: var(--bg);
    font-size: var(--textSize);
    overflow-x: hidden;
    width: 100vw; min-width: 100vw; max-width: 100vw;
    height: 100vh; min-height: 100vh; max-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: calc(19 * var(--1unit));
    padding-right: var(--4unit);
    overflow-y: scroll;
  }
  
  aside {
    position: fixed;
    left: auto;
    width: calc(var(--1unit) * 48);
    right: 0;
    z-index: 100;
    top: calc(var(--1unit) * 17.8);
    bottom: 0;
    padding: 0;
    background: var(--bg-header);
    border-left: var(--pixel) solid var(--accent2-t1);
    display: none;
    flex-direction: column;
  }
  
  aside.withaside{
    display: flex;
  }
  
  nav  {
    position: fixed;
    bottom: auto;
    left: 0;
    right: 0;
    z-index: 100;
    top: 0;
    padding: 0;
    background: var(--bg-header);
    box-shadow: 0 0 var(--4unit) var(--text-2);
    backdrop-filter: blur(var(--2unit));
    -webkit-backdrop-filter: blur(var(--2unit));
    border-bottom: var(--3unit) solid var(--accent2);
    outline: var(--2unit) solid var(--accentother);
    flex-direction: column;
  }
  
  
  
  header {
    flex-direction: column; 
  }
  
  #gotop.withaside,
  header.withaside,
  main.withaside,
  footer.withaside,
  #top.fixa.withaside .top-main,
  #top.fixa.withaside > .close {
    margin-right: calc(var(--1unit) * 48);
  }

  main { 
    display: flex;
    margin: 0;
    justify-content: space-around;
    flex-direction: column;
  }
  
  footer {
    padding-top: var(--5unit);
    padding-bottom: var(--15unit);
    text-align: center;
    flex-direction: column;
  }
  
  @media (orientation:portrait) { 
    nav {
      box-shadow: 0 0 var(--2unit) var(--text-2-t);
    }

    body {
      padding-top: calc(11 * var(--1unit));
      padding-right: 0;
      overflow-y: auto;
    }

    aside {
      position: fixed;
      left: 0;
      width: auto;
      right: 0;
      top: calc(var(--1unit) * 11.3);
      bottom: 0;
      border-left: none !important;
   }

   #gotop.withaside,
   header.withaside,
   main.withaside,
   footer.withaside,
   #top.fixa.withaside .top-main
   {
     display: none;
   }
 
  }

  img[src*="/smiles/"] {
    height: var(--5unit);
    max-height: var(--5unit);
    min-height: var(--5unit);
    width: fit-content !important;
    max-width: fit-content !important;
  }
  
  #over {
    position: fixed;
    z-index: 999;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    background: #020310A0;
    backdrop-filter: blur(var(--2unit));
    -webkit-backdrop-filter: blur(var(--2unit));
    overflow: hidden;
  }
  
  #over-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    width: calc(min(100%, calc(var(--1unit) * 128)));
    max-height: 30%;
    margin: auto;
  }
  
  #over-title{
    flex: 2;
    font-weight: 500;
    text-align: center;
    padding: var(--4unit);
    padding-top: var(--15unit);
  }
  
  #over-buttons {
    flex: 1;
    font-weight: 500;
    padding: var(--4unit);
    padding-bottom: var(--15unit);
    display: flex;
  }
  
  #over-buttons a {
    flex: 1;
    margin: var(--4unit);
    height: fit-content;
  }  

  div#send_waiting,
  div.send_waiting{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    color: var(--text-2);
    text-align: center;
    justify-content: center;
    flex-direction: column;
    font-weight: 500;
    background: var(--bg-t);
    backdrop-filter: blur(var(--1unit));
    -webkit-backdrop-filter: blur(var(--1unit));
    z-index: 99;
  }
