#banner {
  height: 100vh;
  text-align: center;
  background-color: rgba(25, 25, 25, 0);
  color: white;
  padding: 0px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
}

#canvas-img img {
  height: 300px;
  width: auto;
}

.nuoli {
  margin-top: 30%;
  height: auto;
  width: auto;
}
.nuoli img {
  height: 50px;
  width: 50px;
}

.bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
.hide-desktop {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  font-size: 60px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  font-family: "Faster One", "Roboto Condensed", sans-serif;
  height: auto;
}
.hide-desktop p {
  margin: 5px;
}

.sumennus {
  width: 100%;
  height: 300px;
  background: linear-gradient(0deg, rgb(17, 18, 23) 10%, rgba(238, 238, 238, 0) 100%);
  bottom: 0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
  text-align: center;
  border-radius: 20px;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (min-width: 768px) {
  #banner {
    height: 75vh;
    text-align: center;
    background-color: rgba(25, 25, 25, 0);
    color: white;
    padding: 0px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .sumennus {
    display: none;
  }
  .hide-desktop {
    display: none;
  }
  .nuoli {
    margin-top: 50px;
  }
  #canvas-img img {
    width: auto;
    height: 50vh;
  }
}
#section1 {
  display: nope;
}

#mobile-nav-btn {
  color: #b3b3b3;
  margin: 10px;
  position: fixed;
  right: 0;
  z-index: 1;
}

.sidenav {
  background-color: rgba(17, 18, 23, 0.8);
  height: 0px;
  width: 100%;
  opacity: 1;
  overflow-x: hidden;
  overflow-y: hidden;
  text-align: center;
  position: fixed;
  right: 0;
  top: 0;
  transition: 0.1s;
  z-index: 1;
}
.sidenav a {
  color: #b3b3b3;
  display: block;
  font-size: 25px;
  padding: 10px;
  text-decoration: none;
  transition: 0.1s;
}

.mobile-nav-wrapper {
  padding-top: 80px;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/*MOBILE NAV MOBILE NAV MOBILE NAV MOBILE NAV MOBILE NAV*/
#nav-wrapper {
  display: none;
}

#nav-image {
  width: 130px;
  height: 130px;
  margin-top: 10px;
}

@media only screen and (min-width: 768px) {
  #section1 {
    height: 100px;
    text-align: center;
    background-color: white;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  #mobile-nav-btn {
    display: none;
  }
  #nav-wrapper {
    font-size: 22px;
    width: 100%;
    height: 70px;
    margin: 0px;
    padding-top: 30px;
    padding-left: 30px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #181818;
  }
  #nav-content {
    width: 100%;
    height: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  #nav-image {
    width: 130px;
    height: 130px;
    margin-top: 10px;
  }
  .nav {
    display: block;
    float: right;
  }
  .nav a {
    text-decoration: none;
    color: #181818;
    padding-left: 40px;
    padding-right: 40px;
  }
  .nav :hover {
    font-style: italic;
  }
  .fixed {
    top: 0;
    z-index: 999;
    position: fixed;
    background-color: #fff;
    padding-top: 10px;
    padding-bottom: 0px;
    margin-bottom: 0px;
  }
}
#section2 {
  margin-top: -250px;
  height: auto;
  text-align: center;
  background: linear-gradient(0deg, rgb(17, 18, 23) 65%, rgba(17, 18, 23, 0) 100%);
  padding-top: 210px;
  padding-bottom: 150px;
  /*-webkit-clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 90%);
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 90%);*/
}
#section2 h1 {
  color: white;
  font-size: 250%;
}

#stream-wrap {
  width: 100%;
  height: auto;
}

iframe {
  height: 185px;
  width: 329px;
  max-height: 700px;
}

.ongoing {
  width: 60%;
  margin: auto;
}

#ongoing-info {
  height: inherit;
  background-size: cover;
  background-position: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

@media only screen and (min-width: 768px) {
  #section2 {
    height: auto;
    text-align: center;
    background: none;
    background-color: white;
    padding-top: 60px;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 90%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 90%);
    margin-top: 0px;
  }
  #section2 h1 {
    color: black;
    font-size: 250%;
  }
  #stream-header {
    padding-top: 50px;
  }
  #stream-wrap {
    display: block;
  }
  iframe {
    height: 480px;
    width: 1080px;
  }
}
@media only screen and (min-width: 1824px) {
  #twitch-embed iframe {
    height: 720px;
    width: 1280px;
  }
}
#section3 {
  padding-top: 200px;
  height: auto;
  text-align: center;
  background-color: #111217;
  padding-bottom: 20px;
  text-align: center;
  margin-top: -200px;
  /*-webkit-clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 100%);*/
}
#section3 h2 {
  font-size: 250%;
  color: white;
  margin: 10px;
}

.mobile-roster {
  display: flex;
}

#substitute-wrap {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

#roster-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

#academy-wrap {
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

#caster-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.roster-item {
  display: flex;
  height: 290px;
  width: 190px;
  flex-direction: column;
  margin: 10px;
  align-items: center;
  justify-content: center;
}

.roster-image {
  background-color: transparent;
  height: 100%;
  width: 100%;
}
.roster-image img {
  height: 100%;
  width: 100%;
}

.roster-text {
  font-size: 19px;
  color: white;
}
.roster-text p {
  margin: 5px;
}
.roster-text a:link {
  color: darkgray;
}
.roster-text b {
  font-size: 150%;
}

.caster-roster-wrapper {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
}

#section3 .show-more-text {
  margin: 0px;
  font-size: 150%;
  color: white;
}
#section3 .show-more-text :hover {
  cursor: pointer;
}

#section3 .arrow {
  border: solid white;
  border-width: 0 5px 5px 0;
  display: inline-block;
  padding: 5px;
}

.flip {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

.flip.flipped {
  transform: rotateY(-180deg);
}

.flipable {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
  text-align: center;
  font-weight: bold;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip .front {
  background: black;
}

.flip .back {
  transform: rotateY(180deg);
  background: black;
}

@media only screen and (min-width: 768px) {
  #section3 {
    padding-top: 30px;
    min-height: auto;
    text-align: center;
    background-color: rgba(25, 25, 25, 0);
    padding-bottom: 200px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 150px;
    -webkit-clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 100%);
  }
  #section3 h2 {
    font-size: 250%;
    padding-top: 100px;
    color: white;
  }
  .caster-roster-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
  }
  .mobile-roster {
    display: none;
  }
  .desktop-roster {
    display: flex;
  }
  #roster-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 100px;
  }
  #academy-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 100px;
  }
  #caster-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
  }
  .roster-item {
    display: flex;
    height: 290px;
    width: 190px;
    flex-direction: column;
    box-shadow: 0 4px 8px 0 rgba(228, 228, 228, 0.2), 0 6px 20px 0 rgba(183, 183, 183, 0.2);
    background-color: black;
    margin: 2vw;
  }
  #roster {
    padding: 20px;
  }
  .roster-image {
    margin: 0px;
    height: 100%;
    width: 100%;
    padding: 0px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
    background: rgb(252, 255, 244); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgb(252, 255, 244) 0%, rgb(223, 229, 215) 40%, rgb(179, 190, 173) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgb(252, 255, 244) 0%, rgb(223, 229, 215) 40%, rgb(179, 190, 173) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgb(252, 255, 244) 0%, rgb(223, 229, 215) 40%, rgb(179, 190, 173) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#fcfff4", endColorstr="#b3bead",GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
  }
  .roster-image img {
    border-radius: 0;
    height: 100%;
    width: 100%;
  }
  .roster-text {
    font-size: 100%;
    color: white;
  }
  .roster-text b {
    font-size: 150%;
  }
  #substitute-wrap {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 50px;
  }
}
@media only screen and (min-width: 1824px) {
  #substitute-container {
    margin-right: 250px;
  }
  #standings-content {
    padding: 50px;
  }
}
#section4 {
  height: auto;
  text-align: center;
  background: linear-gradient(180deg, rgb(17, 18, 23) 1%, rgba(17, 18, 23, 0.6446953782) 8%, rgba(17, 18, 23, 0) 16%);
  padding-bottom: 10px;
  text-align: center;
  margin-top: -1px;
  padding-top: 200px;
  color: white;
}
#section4 h1 {
  font-size: 250%;
  padding-top: 50px;
}

/*.sumennus-section4{
  width: 100%;
  height: 100px;
  //background: rgb(17,18,23);
  //background: linear-gradient(180deg, rgba(17,18,23,1) 21%, rgba(17,18,23,0) 100%);
  //position: absolute;
  //top: 0;

}*/
.matches-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  text-align: center;
  font-size: 13px;
}

.color-codes {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
}

.square {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  margin-left: 20px;
  margin-right: 2px;
}

#upcoming {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 100%;
  top: 0;
}

#results {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 100%;
  top: 0;
}

.match-list {
  list-style-type: none;
  outline: none;
  text-align: center;
  padding-left: 0;
}
.match-list button {
  all: unset;
  font-size: 15px;
  width: 90%;
  height: 2em;
  background-color: #EAE9E9;
  padding: 10px;
  margin: 5px;
  outline: none;
  box-shadow: 0 4px 8px 0 rgba(60, 60, 60, 0.2), 0 6px 20px 0 rgba(60, 60, 60, 0.19);
}
.show-more-container {
  width: auto;
  height: 75px;
  text-align: center;
  justify-content: center;
}
.show-more-container :hover {
  cursor: pointer;
}

#section4.show-more-text {
  margin: 0px;
  font-size: 150%;
  color: black;
}
#section4.show-more-text :hover {
  cursor: pointer;
}

#section4.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.match-item {
  align-content: center;
  height: 2em;
}

.match-info {
  color: white;
  font-size: 16px;
  display: none;
  width: 90%;
  padding: 10px 10px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-position: center;
  background-size: cover;
  position: relative;
}

.match-info a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.upcoming {
  color: black;
}

@media only screen and (min-width: 768px) {
  #section4 {
    height: auto;
    padding-top: 150px;
    text-align: center;
    background: none;
    background-color: white;
    padding-bottom: 50px;
    text-align: center;
    margin-top: -200px;
    display: flex;
    flex-direction: column;
    -webkit-clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    color: black;
  }
  #section4 h1 {
    font-size: 250%;
  }
  #standings-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
  }
  .league {
    margin: 0px 50px 0px;
  }
  #standings-header {
    padding-top: 100px;
  }
  .matches-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    font-size: 16px;
  }
  #upcoming {
    display: inline-block;
    width: 40%;
    height: 100%;
    top: 0;
  }
  #results {
    display: inline-block;
    width: 40%;
    height: 100%;
    top: 0;
  }
  .match-list {
    list-style-type: none;
    outline: none;
  }
  .match-list button {
    all: unset;
    width: 90%;
    height: 2em;
    background-color: #EAE9E9;
    padding: 10px;
    margin: 15px;
    margin-left: auto;
    margin-right: auto;
    outline: none;
    box-shadow: 0 4px 8px 0 rgba(60, 60, 60, 0.2), 0 6px 20px 0 rgba(60, 60, 60, 0.19);
  }
  @supports (-ms-ime-align: auto) {
    .match-list button {
      width: 90%;
      height: 55px;
    }
    .match-info {
      width: 90%;
      padding: 10px 0px;
    }
    .match-info a {
      position: absolute;
    }
  }
  .spacer {
    flex-grow: 1;
  }
  li {
    cursor: pointer;
  }
  .match-item {
    align-content: center;
    height: 2em;
  }
  .match-info {
    display: none;
    max-width: 100%;
  }
  .match-info a {
    position: absolute;
  }
  .show-more-text {
    cursor: pointer;
  }
  .arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
  }
}
#footer {
  height: auto;
  text-align: center;
  background-color: #111217;
  font-size: 100%;
  padding: 10px;
}
#footer a {
  text-decoration: none;
  color: white;
}
#footer p {
  margin: 0px;
  color: white;
  padding: 15px;
  height: 20px;
}

#footer-wrap {
  text-align: center;
  height: auto;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#footer-wrap ul {
  padding-left: 0px;
}
#footer-wrap li {
  list-style: none;
  margin: 10px 30px;
  font-size: 50px;
  padding: 15px 15px;
  color: #fff;
}

@media only screen and (min-width: 769px) {
  #footer {
    bottom: 0;
    background-color: #181818;
  }
  #footer-wrap {
    text-align: center;
    padding: 10px;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    margin: 20px;
    margin-bottom: 0px;
  }
  #footer-wrap p {
    margin: 0px;
    padding: 16px;
    height: 20px;
  }
  #footer-wrap ul {
    display: flex;
    flex-direction: row;
  }
  #footer-wrap li {
    font-size: 100px;
  }
  #footer-wrap a[href="https://www.twitch.tv/tpjcommunity"] :hover {
    color: #9147FF;
  }
  #footer-wrap a[href="https://twitter.com/tpjcommunity"] :hover {
    color: #23A1F2;
  }
  #footer-wrap a[href="https://www.instagram.com/tpjcommunity/"] :hover {
    background: -webkit-linear-gradient(90deg, #fdf497 0%, #fdf497 2%, #fd5949 30%, #d6249f 60%, #285AEB 98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  #footer-wrap a[href="mailto:gaming.tpj@gmail.com"] :hover {
    color: #DADADA;
  }
}
html {
  font-family: "Roboto Condensed", sans-serif;
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: url(de_train_sumea.jpg) no-repeat center center fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

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

a:hover,
a:active,
a:focus {
  outline: 0;
}

#wrapper {
  min-height: 100vh;
  display: block;
}

#spinner-wrapper {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.fade-in, .fade-up, .flip-down, .flip-right, .bounce {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.8s, transform 0.8s !important;
}

.fade-in, .fade-in.visible {
  transform: none;
}

.fade-in.visible,
.fade-up.visible,
.flip-down.visible,
.flip-right.visible,
.bounce.visible {
  opacity: 1 !important;
  pointer-events: auto;
  transform: none;
}

.fade-up {
  transform: translateY(30px);
}

.fade-up.visible {
  transform: translateY(0);
}

.flip-down {
  transform: rotateX(-30deg);
}

.flip-down.visible {
  transform: rotateX(0deg);
}

.flip-right {
  transform: rotateY(-30deg);
}

.flip-right.visible {
  transform: rotateY(0deg);
}

.bounce.visible {
  animation: bounce 1.2s;
}

@keyframes bounce {
  0%, 20%, 60%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  80% {
    transform: translateY(-10px);
  }
}
.match-info {
  display: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.match-info.visible {
  display: block;
  opacity: 1;
}

.hiddenclass {
  display: none !important;
}

.show-more-container {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.arrow {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
}

@media only screen and (min-width: 768px) {
  html {
    font-family: "Roboto Condensed", sans-serif;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
  }
  #wrapper {
    min-height: 100vh;
    overflow-x: hidden;
  }
  #spinner {
    height: 300px;
    width: 300px;
    margin-top: -30px;
    margin-left: -30px;
    animation: spin 0.7s linear infinite;
  }
}

/*# sourceMappingURL=styles.css.map */