﻿@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC&display=swap');

html {
  font-size: 16px;
}

body {
  background-size: cover;
  background-color: rgb(25, 30, 36);
  background-attachment: fixed;
  overflow-x: hidden;
  font-family: 'Alegreya Sans SC', sans-serif;
}

a, a:visited {
  color: white;
}

a:hover {
  text-decoration: underline;
}

/****************/
/* HEADER       */
#header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 3em;
  background-color: rgb(35, 42, 51);
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.3);
  font-family: 'Alegreya Sans SC', sans-serif;
  display: table-row;
  z-index: 900;
}

div.header-logo {
  background-color: rgb(255, 50, 50);
  border: 1px solid rgb(255, 0, 0);
  height: 2.5em;
  padding: 0.25em 0.75em 0.25em 0.5em;
  position: absolute;
  left: 0;
  top: 0;
}
div.header-logo-img {
  display: table-cell;
}
div.header-logo-img > img {
  width: 2.5em;
  height: 2.5em;
}
div.header-logo-text {
  font-size: 1.5em;
  vertical-align: middle;
  display: table-cell;
  padding-left: 1em;
}

div.header-nav {
  display: block;
  text-align: center;
  height: 3em;
}
div.header-nav-button {
  height: 3em;
  background-color: transparent;
  border: 1px solid transparent;
  min-width: 3em;
  padding: 0.125rem 2rem;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
div.header-nav-button:hover {
  background-color: rgb(46, 55, 66);
  border: 1px solid rgb(40, 49, 59);
}

div.header-nav a, div.header-logo > a {
  color: white;
  text-decoration: none !important;
}
  div.header-nav a:hover, div.header-logo > a:hover {
    text-decoration: none !important;
  }


/****************/
/* CONTENT      */
#content {
  background-color: rgba(70, 84, 102, 0.95);
  max-width: calc( 80em - 2em );
  margin: 10em auto 0 auto;
  color: white;
  font-size: 1em;
  padding: 1em;
  text-align: center;
  min-height: 30em;
}

div#tft-header {
  width: 100%;
  height: 22em;
  background: url('pictures/champions/splash/Urgot_3.jpg') 0 -2em no-repeat;
  border: 1px solid black;
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.9) inset;
}

/****************/
/* FOOTER       */
#footer {
  background-color: rgba(53, 63, 77, 0.95);
  max-width: calc( 80em - 2em );
  margin: 0 auto 1em auto;
  text-align: center;
  color: white;
  vertical-align: middle;
  padding: 1em;
}

/****************/
/* POPUPS       */
#popup-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.2);
}

#popup-fg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25em;
  height: 16em;
  transform: translate(-50%, -50%);
  background-color: rgb(250, 250, 250);
  border: 1px solid rgb(170, 170, 170);
}

/****************/
/* LOADING      */
@keyframes loading {
  0% {
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -ms-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

div.loading-spinner-image {
  animation: loading 5s linear 0s infinite;
  position: fixed;
  width: 6.25em;
  height: 6.25em;
  left: calc( 50% - 3.125em );
  top: calc( 50% - 3.125em );
  background-image: url("pictures/loading.png");
  background-position: center center;
  background-size: 100px 6.25em;
  z-index: 991;
}

div.loading-spinner {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 990;
}

/*-------------------------------------------------------------------------------------------------------------------------------*/
/*              Slider                                                                                                           */
/*-------------------------------------------------------------------------------------------------------------------------------*/
#slider {
  background-color: rgb(32, 32, 32);
  border: 1px solid rgb(64, 64, 64);
  padding: 0;
  margin: 0 auto;
  position: static;
}

.slider-img {
  position: absolute;
  top: 13.5em;
  border: 0 !important;
  display: block;
}

.slider-text {
  position: absolute;
  top: calc(13.5em + 31.25em - 4.625em);
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.6);
  color: rgb(255, 255, 255);
  padding: 1em 0;
  text-align: center;
  width: 72.5em;
}

.slider-sel-box {
  background-color: transparent;
  height: 1em;
  position: absolute;
  top: calc(13.5em + 31.25em);
}

.slider-selector {
  background-color: white;
  border: 1px solid white;
  box-shadow: 0 0 0.25em white;
  border-radius: 2em;
  width: 0.5em;
  height: 0.25em;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

  .slider-selector:hover {
    background-color: rgb(0, 204, 255);
    border: 1px solid rgb(0, 204, 255);
    box-shadow: 0 0 0.25em rgb(0, 204, 255);
  }

.slider-selector-active {
  background-color: red;
  border: 1px solid red;
  box-shadow: 0 0 0.25em red;
}