* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

.main-flex {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-height: 100vh;
  max-width: 100vw;
  background-image: url("./champions.png");
  background-size:     cover;
  background-position: top center;
  background-repeat:   no-repeat;
}

.main-flex .nav-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  min-height: 2rem;
  max-height: 50px;
  overflow: hidden;
  background-color: #333333;
  position: sticky;
  width: 100%;
  flex-wrap: wrap;
  -webkit-box-shadow: 0px 14px 5px -10px rgba(0,0,0,0.36);
  box-shadow: 0px 14px 5px -10px rgba(0,0,0,0.36);

  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 0;
}
.nav-flex img {
  max-width: 115px;
  object-fit: cover;
  padding: 0.5rem;
  padding-left: 1rem;
}
.nav-flex h1 {
  font-size: 1rem;
  color: white;
  padding: 0.5rem;
  padding-right: 1rem;
}

@keyframes change-color {
  0% {
    background-color: red;
  }
  50% {
    background-color: yellow;
  }
  100% {
    background-color: white;
  }
}

.main-flex .section {
  margin: 10px;
  padding: 10px;
  background-color: white;
  border: 2px solid deepskyblue;
}

.animation-h-shaking {
  animation: frames-h-shaking;
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-iteration-count: 2;
}

@keyframes frames-h-shaking {
  0% { transform: translateX(0) }
  25% { transform: translateX(5px) }
  50% { transform: translateX(-5px) }
  75% { transform: translateX(5px) }
  100% { transform: translateX(0) }
}
