@media only screen and (max-width: 400px) {
  :root {
    --alto-lateral: 700px;
    --ancho-lateral: 100%;
    --offset-lateral: -99.5%;
  }
}
@media only screen and (min-width: 401px) and (max-width: 700px) {
  :root {
    --ancho-lateral: 60%;
    --offset-lateral: -59.5%;
  }
}
@media only screen and (min-width: 701px) and (max-width: 1200px) {
  :root {
    --ancho-lateral: 45%;
    --offset-lateral: -44.5%;
  }
}
@media only screen and (min-width: 1201px) {
  :root {
    --ancho-lateral: 35%;
    --offset-lateral: -34.5%;
  }
}

aside {
 /* position: absolute;*/
  position: fixed;
  float: right; /* Position them relative to the browser window */
  right: var(--offset-lateral); /* Position them outside of the screen */
  top: 0%; 
  transition: 1s; /* Add transition on hover */
  padding: 15px; /* 15px padding */
  width: var(--ancho-lateral);
  height: var(--alto-lateral);
  overflow-y: auto;
  overflow-x: hidden;
  /*text-decoration: none;  Remove underline */
  background-color: rgba(0,0,0,0.3);
  border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
/*  animation-iteration-count: 1*/
}

aside:hover {
  right: 0%;/* On mouse-over, make the elements appear as they should */
  background-color: rgba(0,0,0,1);
}

.publicidad_aside{
  width: 90%;
  height: 270px; 
}
.contenedorLateral{
  height: 670px;
  margin-bottom: 180px;
  overflow-y: auto;
}
.chatDiscord{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* width */
::-webkit-scrollbar {
    width: 13px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgba(50,155,50,0.7);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(189, 155, 3, 0.9);
  }
@keyframes example {
    from {background-color: red;}
    to {background-color: yellow;}
  }

  @keyframes slide {
    0% {
        left: 0;
        top: 0;
    }
    50% {
       right: 244px;
        top: 100px;
    }
    100% {
        right: 488px;
        top: 0px;
    }
}