* {
  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;
}

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

.button {
  background-color: deepskyblue;
  color: white;
  border: 2px solid #3a4f71;
  font-size: 1.2rem;

  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;

  margin-top: 0.5rem;
  min-width: 6rem;
  padding: 0.6rem;
  border-radius: 0.5rem;
}

.button::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
}

.button-glow {
  overflow: hidden;
}

.button-glow:after {
  left: -100%;
  clip-path: polygon(10% 0, 70% 0, 90% 100%, 30% 100%);
  background-color: rgba(255, 255, 255, 0.6);
  transition: all 300ms ease;
}

.button-glow:hover::after {
  left: 100%;
}
