@import url("https://fonts.googleapis.com/css?family=Underdog");
@import url("https://fonts.googleapis.com/css?family=Shojumaru");
@import url("https://fonts.googleapis.com/css?family=Snowburst+One");
/*********************************************/
body {
  background: repeating-linear-gradient(Gray, DarkGray 5px, BlueViolet 5px);
  font-family: "Underdog", helvetica;
  font-size: 18px;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: black;
}

.wrapper {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto 50px;
  grid-gap: 15px;
  grid-template-areas: ". . h h h h h h h h . ." ". . m m m m m m m m . ." ". . c c c c c c c c . ." ". . f f f f f f f f . .";
}

.header {
  grid-area: h;
  text-align: center;
  color: black;
  font-family: "Shojumaru", helvetica;
  font-size: 45px;
  text-shadow: 0px 6px 8px blueviolet, 0 -6px 8px yellow , -6px 0 5px plum;
  padding: 15px;
  letter-spacing: 4px;
  word-spacing: 5px;
}

.menu {
  grid-area: m;
  text-align: center;
  font-family: "Shojumaru", helvetica;
  font-size: 30px;
  padding: 10px;
  border-radius: 2px;
}

.search {
  outline: none !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.8);
  margin: 10px;
  padding: 10px;
  background-color: rgba(255, 153, 204, 0.5);
  -webkit-box-shadow: 0px 0px 10px 1px blueviolet;
  box-shadow: 0px 0px 10px 1px blueviolet;
}

.search:hover {
  -webkit-box-shadow: 0px 0px 10px 8px blueviolet, 0px 0px 10px 1px black inset;
  box-shadow: 0px 0px 10px 8px blueviolet, 0px 0px 10px 1px black inset;
}

.search #sr-ico {
  font-size: 2em;
  color: #000;
  padding: 0px;
  margin: 0px;
}

.search #sr {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid rgba(0, 0, 0, 0.8);
  font-size: 22px;
  font-family: "Underdog", helvetica;
  color: black;
  margin: 0 25px;
  padding: 0;
  outline: none !important;
}

a {
  cursor: pointer;
  text-decoration: none !important;
  outline: none !important;
  color: black;
}

a:hover, a:active, a:visited {
  text-decoration: none !important;
  outline: none !important;
}

.streamers {
  grid-area: c;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 2px solid white;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 10px 1px blueviolet;
  box-shadow: 0px 0px 10px 1px blueviolet;
  padding: 5px;
}

footer {
  grid-area: f;
}

.selector {
  display: inline;
  text-shadow: 0px 5px 4px white , 0 -0.5px 2px yellow;
  padding: 10px;
  cursor: pointer;
}

.selector:hover {
  text-shadow: 0 -5px 4px white;
}

.streams {
  border-radius: 10px;
  border: 1px solid black;
  padding: 10px;
  margin: 10px;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
  color: black;
  -webkit-box-shadow: 0px 0px 10px 1px blueviolet;
  box-shadow: 0px 0px 10px 1px blueviolet;
  background-color: rgba(255, 255, 255, 0.5);
}

.streams:hover {
  -webkit-box-shadow: 0px 0px 10px 8px blueviolet, 0px 0px 10px 1px black inset;
  box-shadow: 0px 0px 10px 8px blueviolet, 0px 0px 10px 1px black inset;
}

.streams .logo {
  border-radius: 10px;
  border: 1px solid white;
  max-width: 80px;
  max-height: 80px;
  margin: 0;
  -webkit-box-shadow: 0px 0px 10px 2px black;
  box-shadow: 0px 0px 10px 2px black;
}

.streams #ch-name {
  font-family: "Shojumaru", helvetica;
  font-size: 20px;
  justify-self: start;
  border-radius: 10px;
  text-shadow: -1px 5px 4px white;
}

.streams #des {
  font-size: 17px;
  font-family: "Underdog", helvetica;
  color: black;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: start;
}

.streams .curr-stat-green {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: green;
  justify-self: end;
  -webkit-box-shadow: 0px 0px 5px 0 black;
  box-shadow: 0px 0px 5px 0 black;
  border: 1px solid black;
}

.streams .curr-stat-red {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: red;
  justify-self: end;
  -webkit-box-shadow: 0px 0px 3px 0 black;
  box-shadow: 0px 0px 3px 0 black;
  border: 1px solid black;
}

.streams-inner {
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  grid-template-columns: 1fr 3fr 1fr;
  grid-template-rows: auto;
}

#all, #on, #off {
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

#all:hover {
  border-bottom: 3px solid white;
}

#on:hover {
  border-bottom: 3px solid green;
}

#off:hover {
  border-bottom: 3px solid red;
}

#on1 {
  color: green;
  font-size: 16px;
  outline: none;
}

footer {
  font-family: "Snowburst One", helvetica;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  color: black;
  opacity: 0.6;
  word-spacing: 2px;
  letter-spacing: 1px;
}

.loader {
  position: absolute;
  top: 0;
  width: 100%;
  height: 7px;
  background-color: navy;
}

.loader .ld {
  position: absolute;
  height: 100%;
  width: 0;
  left: 50%;
}

.loader .ld:nth-child(1) {
  background-color: cyan;
  -webkit-animation: load 3s ease-in-out  infinite;
          animation: load 3s ease-in-out  infinite;
}

.loader .ld:nth-child(2) {
  background-color: pink;
  -webkit-animation: load 3s ease-in-out 0.2s infinite;
          animation: load 3s ease-in-out 0.2s infinite;
}

.loader .ld:nth-child(3) {
  background-color: maroon;
  -webkit-animation: load 3s ease-in-out 0.4s infinite;
          animation: load 3s ease-in-out 0.4s infinite;
}

.loader .ld:nth-child(4) {
  background-color: yellow;
  -webkit-animation: load 3s ease-in-out 0.6s infinite;
          animation: load 3s ease-in-out 0.6s infinite;
}

@-webkit-keyframes load {
  0% {
    left: 50%;
    width: 0;
  }
  40% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 0;
    width: 100%;
  }
}

@keyframes load {
  0% {
    left: 50%;
    width: 0;
  }
  40% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 0;
    width: 100%;
  }
}
