/** {
  position: absolute;
}*/

body {
  font-family: Anton, Impact;
  overflow: hidden;
  width: 100vw; height: 100vh;
  padding: 0px; margin: 0px;
}

.main-bottombar {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 10vh;
}

.main-sidebar {
  position: absolute;
  top: 0; left: 0;
  width: 55vh; height: 90vh;
}

.main-sidebar-inner {
  position: absolute;
  top: 0; left: -15vh;
  width: 100%; height: 101%;
  background-color: orange;
  -webkit-transform: skew(-15deg);
  -ms-transform: skew(-15deg);
  transform: skew(-15deg);
}

.main-logo {
  position: absolute;
  top: 0; left: 1em;
  height: 30vh;
}

.button {
  transition: all 0.1s ease-out;
  
  position: absolute;
  
  background-color: rgba(255,210,0,1);
  color: #fff;
  
  font-size: 4.25vh;
  
  display: block;
  
  -webkit-transform: skew(-15deg);
  -ms-transform: skew(-15deg);
  transform: skew(-15deg);
  
  height: 9vh;
  margin-left: 0.7em;
  padding-left: 1.2em;

  display: flex;
  align-items: center;
}

.button-selected {
  background-color: rgba(255,235,0,1) !important;
  padding-right: 1em;
}

#button-main-1 {
  width: 76%;
  top: 30vh;
  left: -1.2em;
}

#button-main-2 {
  width: 68%;
  top: 45vh;
  left: -1.2em;
}

#button-main-3 {
  width: 61%;
  top: 60vh;
  left: -1.2em;
}

#button-main-4 {
  width: 54%;
  top: 75vh;
  left: -1.2em;
}

.button-selected div {opacity: 1 !important;}

.button div {
  position: absolute;
  
  z-index: -1;
  
  display: inline;
  top: 0; left: 0; width: 100%; height: 100%;
  
  background-color: rgba(255,210,0,0);
  
  animation-name: pulse;
  animation-duration: 0.4s;
  /*animation-delay: 0.8s;*/
  animation-iteration-count: infinite;

  opacity: 0
}

@keyframes pulse {
  0% {
    top: 0; left: 0;
    background-color: rgba(255,235,0,1);
    width: 100%; height: 100%;
  }
  100% {
    top: -20%; left: -4%;
    background-color: rgba(255,235,0,0);
    width: 110%; height: 140%;
  }
}




.main-account {
  position: absolute;
  top: 0; right: -10em;
  width: 20em;
  font-size: 3vh;
  color: #000;
  
  background-color: orange;
}

.main-account-container {
  position: absolute;
  top: 0; right: 0;
  width: 20%; height: 20%;
}

.main-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("https://raw.githubusercontent.com/supertuxkart/stk-code/master/data/skins/peach/background.jpg");
  background-image: url("./Supertuxkart-0.9.1-screenshot-3.jpg");
  background-size: cover;
  background-position: center center
}

.main-bottombar {
  display: table;
  background-color: orange;
}

.bottombar-news {
  display: table-cell;
  vertical-align: middle;
  padding: 0 0 0 1em;
  font-size: 3.5vh;
  width: calc(100vw - 40vh - 2em);
}

.bottombar-buttons {
  display: inline-block; float: right; clear: none;
  position: absolute;
  right: 0; bottom: 0;
  height: 100%;
  background-color: rgba(255,255,0,1);

  overflow: visible;
}

.bottombar-buttons div::before {
  position: absolute;
  left:-0.5em;right:-0.5em;top:0;bottom:0;
  
  -webkit-transform: skew(-15deg);
  -ms-transform: skew(-15deg);
  transform: skew(-15deg);
  
  background-color: yellow;
  
  z-index: 1;
  content: "";
}

.bottombar-buttons img {
  height: 8vh;
  padding: 1vh;
  float: right;
  
  position: relative;
  z-index: 2;
}
/*
.bottombar-buttons img:nth-last-child(1) {
  right: 0vw;
}

.bottombar-buttons img:nth-last-child(2) {
  right: 0vw;
}

.bottombar-buttons img:nth-last-child(3) {
  right: 0vw;
}

.bottombar-buttons img:nth-last-child(4) {
  right: 0vw;
}
*/
