/** {
  position: absolute;
}*/

@import url('./inter-ui.css');

body {
  font-family: 'Inter UI', sans-serif;
  font-weight: 900;
  color: #000;
  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: 60vh; height: 90vh;
}

.main-sidebar-inner {
  position: absolute;
  top: 0; left: -15vh;
  width: 100%; height: 101%;
  -webkit-transform: skew(8deg);
  -ms-transform: skew(8deg);
  transform: skew(8deg);
  background-image: url("images/background.jpg");
  background-size: cover;
  filter: blur(0.5px);
  box-shadow: -5px 0 50px;
}

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

.button {
  transition: all 0.1s ease-out;
  
  position: absolute;
  
  color: #000;
  
  font-size: 3.25vh;
  
  display: block;
  
  height: 9vh;
  /*margin-left: 0.9em;*/
  /*padding-left: 1.2em;*/
}

.button.selected {
  transform: scale(1.1);
  filter: brightness(150%);
}

#button-main-1 {
  width: 75%;
  margin-left: 4vh;
  top: 30vh;
}

#button-main-2 {
  width: 75%;
  margin-left: 6vh;
  top: 45vh;
}

#button-main-3 {
  width: 75%;
  margin-left: 8vh;
  top: 60vh;
}

#button-main-4 {
  width: 75%;
  margin-left: 10vh;
  top: 75vh;
}

.button.selected div {opacity: 1; z-index: 1;}

.icon-button.selected {
  filter: brightness(150%);
  transform: scale(1.2);
}

.button.selected img {
  /*transform: scale(2);*/
}

.icon-button, .button-inner img {
  transition: all 0.1s ease-out;
}

.button-inner img {
  height: 75%;
}

.button-inner {
  position: absolute;
  
  z-index: 1;
  
  display: inline;
  top: 0; left: 0; width: 100%; height: 100%;
  
  background-image: url("images/button.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  align-items: center;
}

.button-inner p {
  margin-left: auto;
  margin-right: auto;
}

.button-pulse {
  position: absolute;
  
  z-index: 1;
  
  display: inline;
  top: 0; left: 0; width: 100%; height: 100%;
  
  background-image: url("images/pulse.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  
  animation-name: pulse;
  animation-duration: 0.4s;
  /*animation-delay: 0.8s;*/
  animation-iteration-count: infinite;

  opacity: 0
}

@keyframes pulse {
  0% {
    top: 0; left: 0;
    /*opacity: inherit;*/
    width: 100%; height: 100%;
    /*transform: scale(1.0);*/
  }
  100% {
    top: 0; left: -5%;
    opacity: 0;
    width: 110%; height: 100%;
    /*transform: scale(1.1);*/
  }
}




.main-account {
  position: absolute;
  top: 0; right: -10em;
  width: 20vw;
  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://supertuxkart.net/images/d/d3/Supertuxkart-0.9.1-screenshot-3.jpg");*/
  /*background-image: url("https://supertuxkart.net/images/b/b2/Stk093_Cornfield.jpg");*/
  background-image: url("https://raw.githubusercontent.com/supertuxkart/stk-code/3d74dfea341b238c1e9968a9128d68b4f07abb52/data/skins/modern/background.jpg");
  background-size: cover;
  background-position: center center;
  -webkit-filter: blur(5px); /* Safari 6.0 - 9.0 */
  filter: blur(3px);
}

.main-bottombar {
  display: table;
  background-color: orange;
  box-shadow: 0 10px 30px;
}

.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: #ff6c00;

  overflow: visible;
}

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

.bottombar-buttons img {
  height: 8vh;
  padding: 1vh;
  float: right;
  
  position: relative;
  z-index: 2;
}
