* {
  margin:0;
  padding:0;
  border:0;
  text-decoration:none;
}

.disabled{
  color: gray !important;
  border-color: gray !important;
  cursor: default;
}

html, body {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

body {
  display: flex !important;
  flex-direction: column !important;
  padding-top: 60px !important;
  background-color: #282828 !important;
  background-image: none !important;
}

html body #top-bar {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

html body #bottom-bar {
  background: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  margin-top: auto !important;
}

@font-face {
    font-family: 'krunchbold';
    src: url('krunch_bold-webfont.woff2') format('woff2'),
         url('krunch_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'krunchbold_italic';
    src: url('krunch_italic-webfont.woff2') format('woff2'),
         url('krunch_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

#container-home-octamotor{
  background:
    radial-gradient(black 15%, transparent 16%) 0 0,
    radial-gradient(black 15%, transparent 16%) 8px 8px,
    radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 0 1px,
    radial-gradient(rgba(255,255,255,.1) 15%, transparent 20%) 8px 9px;
  background-color:#282828;
  background-size:16px 16px;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  width:100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  box-sizing: border-box;
  overflow: hidden;
}

#container-menu-octamotor{
  display:flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 50%;
  box-sizing: border-box;
  padding: 10px 0 15px 0;
}

#container-image-octamotor{
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
}

@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.octamotor-menu{
  width: 80%;
  max-width: 500px;
  border: 3px solid;
  background-color: black;
  font-family: krunchbold;
  font-size: 1.85em;
  border-radius: 10px;
  padding: 12px 0 12px 115px;
  margin: 14px 10px 0px 40px;
  box-shadow: 0 0 3pt 2pt black;
  animation: appear 2s;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

.octamotor-menu:hover::before{
  animation: spin 0.8s infinite linear;
  animation-fill-mode: forwards;
}

.octamotor-menu::before{
  content: "";
  background-image: url("/images/tire_blank.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  position: absolute;
  left: 14px;
  top: calc(50% - 43px);
  margin: 0;
  box-shadow: 0 -1px 1px #fff, 0 1px 1px #000, inset 0 -1px 1px rgba(0,0,0,0.5), inset 0 -1px 1px rgba(0,0,0,0.8);
  animation: spin 2s ease 0.3s 1 normal;
  animation-fill-mode: forwards;
}

.orange::before{
  background-color: orange;
}

.orange{
  color:orange;
  border-color:orange;
}

.blue::before{
    background-color: deepskyblue;
}

.blue{
  color:deepskyblue;
  border-color:deepskyblue;
}

#logged-user{
  border-color:#A9A9A9 !important;
}

.white::before{
    background-color: white;
}

.white{
  color:white;
  border-color:white;
}

.yellow::before{
    background-color: yellow;
}

.yellow{
  color:yellow;
  border-color:yellow;
}

.red::before{
    background-color: red;
}

.red{
  color:red;
  border-color:red;
}

.purple::before{
    background-color: gray;
    animation: none !important;
}

.purple{
  color:purple;
  border-color:purple;
}

html body #logged-user {
  display: none !important;
}

#copyright-text::after{
  content: " and Zé D'Agostini";
}

#container-image-octamotor{
  margin-right: 40px;
  margin-top:10px;
  margin-bottom:10px;
  position:relative;
  height:90%;
}

.image-wrapper{
  height: 48%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

svg{
  fill:gray;
  filter: drop-shadow(10px 5px 4px black);
  display:block;
  margin: auto;
  height: 100%;
}

.blog-button:hover{
  filter: drop-shadow(20px 10px 4px black);
  cursor:pointer;
  position:relative;
}

.blog-button::before{
  content: "Blog da";
  font-family: 'krunchbold';
  position:absolute;
  top: 30px;
  left: 20%;
  font-size: 1.9em;
  color:#eee;
  z-index: 2;
}

.blog-button{
  display:inline-block;
  position: relative;
  margin-top: 20px;
}

.blog-button svg{
  fill:#eee;
  margin-top: 45px;
}

@media only screen and (max-width: 600px) {
  html, body {
    height: auto !important;
    max-height: none !important;
    overflow-y: auto !important;
  }

  #container-home-octamotor{
    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    width:auto;
    height: auto !important;
    overflow: visible !important;
  }

  .octamotor-menu{
    font-size:1.5em;
    padding-left:90px;
    margin-bottom:25px;
  }

  body{
    height: auto;
    width: auto;
  }

  svg{
    width: 211px !important;
  }

  .image-wrapper{
    max-width:100%;
    box-sizing:content-box;
  }

  .blog-button::before{
    content: "Blog da";
    font-family: 'krunchbold';
    position:relative;
    top:0px;
    left:20%;
    font-size:1.5em;
  }

  .blog-button{
    margin-top:60px;
    margin-bottom:60px;
  }
}
