@font-face {
	font-family: 'Gilroy';
    src: url("../fonts/GilroyLight/GilroyLight.eot");
	src: local('☺'),   url("../fonts/GilroyLight/GilroyLight.woff") format("woff"),
    url("../fonts/GilroyLight/GilroyLight.ttf") format("truetype"),
    url("../fonts/GilroyLight/GilroyLight.eot?#iefix")format("embedded-opentype");
    font-weight: 300;
}
@font-face {
	font-family: 'Gilroy';
    src: url("../fonts/GilroyRegular/GilroyRegular.eot");
	src: local('☺'),   url("../fonts/GilroyRegular/GilroyRegular.woff") format("woff"),
    url("../fonts/GilroyRegular/GilroyRegular.ttf") format("truetype"),
    url("../fonts/GilroyRegular/GilroyRegular.eot?#iefix")format("embedded-opentype");
    font-weight: 400;
}
@font-face {
	font-family: 'Gilroy';
    src: url("../fonts/GilroyMedium/GilroyMedium.eot");
	src: local('☺'),   url("../fonts/GilroyMedium/GilroyMedium.woff") format("woff"),
    url("../fonts/GilroyMedium/GilroyMedium.ttf") format("truetype"),
    url("../fonts/GilroyMedium/GilroyMedium.eot?#iefix")format("embedded-opentype");
    font-weight: 500;
}
@font-face {
	font-family: 'Gilroy';
    src: url("../fonts/GilroyBold/GilroyBold.eot");
	src: local('☺'),   url("../fonts/GilroyBold/GilroyBold.woff") format("woff"),
    url("../fonts/GilroyBold/GilroyBold.ttf") format("truetype"),
    url("../fonts/GilroyBold/GilroyBold.eot?#iefix")format("embedded-opentype");
    font-weight: 700;
}
@font-face {
	font-family: 'Gilroy';
    src: url("../fonts/GilroyHeavy/GilroyHeavy.eot");
	src: local('☺'),   url("../fonts/GilroyHeavy/GilroyHeavy.woff") format("woff"),
    url("../fonts/GilroyHeavy/GilroyHeavy.ttf") format("truetype"),
    url("../fonts/GilroyHeavy/GilroyHeavy.eot?#iefix")format("embedded-opentype");
    font-weight: 900;
}


/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, p {
  margin: 0;
  padding: 0;
  border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
/* End of CSS Reset */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  height: 100%;
  width: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}
body {
  width: 100%;
  font-size: 16px;
  line-height: 1.3;
  font-family: 'Gilroy', sans-serif;
  font-weight: 400;
  color: #333;
  background-color: #15151b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: url('../images/bg.jpg') top center no-repeat;
  background-size: contain;
}
img {
  border: none;
}
input, select {
  outline: none;
  vertical-align: middle;
}
h1, h2, h3 {
    font-family: 'Gilroy';
    margin-bottom: 20px;
    line-height: 1;
    display: block;
    width: 100%;
    text-align: center;
    color: #777;
    font-weight: 300;
    text-transform: uppercase;
   -webkit-transition: all 200ms ease-in-out;
     -moz-transition: all 200ms ease-in-out;
      -ms-transition: all 200ms ease-in-out;
       -o-transition: all 200ms ease-in-out;
          transition: all 200ms ease-in-out;
}
h1 { color: #57a8cc; font-weight: 900 } 
h1 span { color: #333; font-weight: 300; }
h1, h2 { font-size: 32px; }
h3 { font-size: 28px; }
.clearfix::after {
    display: block;
    content: "";
    clear: both;
}
a {
  text-decoration: none;
  color: #333;
    -webkit-transition: all 200ms ease-in-out;
     -moz-transition: all 200ms ease-in-out;
      -ms-transition: all 200ms ease-in-out;
       -o-transition: all 200ms ease-in-out;
          transition: all 200ms ease-in-out;
}
a:hover {
    color: #57a8cc;
}
.container {
    width: 1000px;
    margin: 0 auto;
    position: relative;
}
/*==========PAGES STYLES==========*/
header {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 10;
}
header .logo {
    display: inline-block;
    padding-left: 30px;
    margin-right: 100px;
}
header .logo a:hover {
    filter: brightness(110%);
}
header nav {
    display: inline-block;
    vertical-align: top;
    margin-top: 15px;
}
header nav a {
    display: inline-block;
    font-size: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #57a8cc;
    line-height: 24px;
    margin-right: 30px;
    font-weight: 700;
}
header nav a:hover, header nav a.active {
    border-bottom: 2px solid transparent;
    color: #57a8cc;
}
header .langs {
    position: relative;
    float: right;
    margin-right: 30px;
    cursor: pointer;
    padding-bottom: 20px;
}
header .langs a:hover {
    filter: brightness(110%);
}
header .langs:after {
    content: '';
    display: block;
    position: absolute;
    background: url('../images/select.png') center center no-repeat;
    width: 17px;
    height: 50px;
    top: 0;
    right: -25px;
}
header .langs:hover:after {
    transform: rotate(180deg);
}
header .langs .more-langs {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 11;
}
header .langs:hover .more-langs, header .langs .more-langs:hover {
    display: block;
}
main {
    margin-top: 120px;
    font-size: 18px;
    margin-bottom: 50px;
}
section.rating {
    margin-top: 120px;
}
span.hp {
    font-weight: 900;
    font-size: 36px;
    text-transform: uppercase;
    color: #57a8cc;
    line-height: 1;
}
p.wp {
    color: #777;
    font-size: 24px;
    line-height: 1;
}
strong {
    font-weight: 700;
}
main p.wp {
     margin-bottom: 18px;
}   
main .container {
    background: rgba(87,168,204,0.1);
}
main .info {
    padding: 30px;
    display: inline-block;
    width: 40%;
    background: url('../images/sep.png') center right no-repeat;
}
main .stats {
    display: inline-block;
    padding: 30px;
    float: right;
    width: 60%;
    text-align: center;
}
main .stat {
    display: inline-block;
    width: 33.3333%;
    float: left;
}
main .stat .reload {
    margin-left: 5px;
}
main .stat .reload:hover img {
    transform: rotate(360deg);
    transition: all 300ms ease-in-out;
}
.ach {
    width: 100%;
    background: rgba(145,145,145,0.15);
    margin-bottom: 10px;
}
.ach .img {
    display: inline-block;
    padding: 30px 0;
    padding-left: 30px;
    width: 75px;
    vertical-align: top;
}
.ach .name {
    display: inline-block;
    padding: 30px 0;
    padding-right: 30px;
    width: calc(100% - 305px);
    background: url('../images/sep.png') center right no-repeat;
    color: #777;
    font-weight: 500;
}
.ach .name p {
    font-size: 24px;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}
.ach .points {
    display: inline-block;
    width: 200px;
    float: right;
    padding: 30px 0;
    padding-right: 30px;
    text-align: center;
}
.paginator {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}
.paginator a {
    font-size: 24px;
    margin: 0 25px;
    display: inline-block;
    border-bottom: 2px solid #57a8cc;
    line-height: 26px;
    font-weight: 700;
}
.paginator a:hover, .paginator a.active {
    border-bottom: 2px solid transparent;
    color: #57a8cc;
}
footer {
    width: 100%;
    margin-top: -50px;
    padding-top: 100px;
    text-align: center;
    color: #777;
    background: linear-gradient(to top, rgba(87,168,204,0.1), transparent);
}
footer .container {
    border-top: 2px solid rgba(87,168,204,0.2);
    padding: 30px 0;
}
section.rating .container {
    border-top: 2px solid rgba(87,168,204,0.2);
    padding-top: 30px;
}
section.rating h1 span strong {
    border-bottom: 2px dotted #57a8cc;
    cursor: pointer;
    position: relative;
    display: inline-block;
}
section.rating h1 span strong:hover {
    border-bottom: 2px dotted transparent;
}
section.rating h1 span strong .servers {
    display: none;
    position: absolute;
    top: 33px;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,0.8);
}
section.rating h1 span strong .servers a {
    margin-bottom: 10px;
    display: block;
    font-size: 24px;
}
section.rating h1 span strong:hover .servers {
    display: block;
}
section.rating h1 span strong:after {
    content: '';
    display: block;
    position: absolute;
    background: url('../images/select.png') center center no-repeat;
    width: 17px;
    height: 30px;
    top: 0;
    right: -25px;
}
section.rating h1 span strong:hover:after {
    transform: rotate(180deg);
}
section.rating .player {
    background: rgba(145,145,145,0.1);
    margin-bottom: 5px;
}
section.rating .player.first {
    background: rgba(87,168,204,0.2);
}
section.rating .player.second {
    background: rgba(116,156,174,0.2);
}
section.rating .player.third {
    background: rgba(139,147,151,0.2);
}
section.rating .player .place {
    width: 100px;
    display: inline-block;
    background: url('../images/sep.png') center right no-repeat;
    padding: 0 30px;
    font-weight: 700;
    color: #777;
    font-size: 24px;
    vertical-align: top;
    line-height: 60px;
}
section.rating .player.first .place, section.rating .player.second .place, section.rating .player.third .place, section.rating .player.first .nick, section.rating .player.first .clan, section.rating .player.second .nick, section.rating .player.second .clan, section.rating .player.third .nick, section.rating .player.third .clan {
    line-height: 75px;
    font-size: 24px;
}
section.rating .player.first .place, section.rating .player.second .place, section.rating .player.third .place {
    font-weight: 900;
}
section.rating .player.first .place {
    color: #57a8cc;
}
section.rating .player.second .place {
    color: #82abbe;
}
section.rating .player.third .place {
    color: #9eabb1;
}
section.rating .player .nick, section.rating .player .clan {
    display: inline-block;
    width: calc(50% - 160px);
    background: url('../images/sep.png') center right no-repeat;
    font-size: 22px;
    vertical-align: top;
    line-height: 60px;
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
section.rating .player .clan { 
    color: #777;
}
section.rating .player .nick {
    font-weight: 900;
    text-transform: uppercase;
}
section.rating .player .points {
    display: inline-block;
    width: 200px;
    text-align: center;
    float: right;
    height: 60px;
    color: #777;
}
section.rating .player.first .points, section.rating .player.second .points, section.rating .player.third .points {
    height: 75px;
    font-size: 18px;
}
section.rating .player .points p {
    font-size: 26px;
    font-weight: 700;
    line-height: 0.8;
    color: #57a8cc;
    margin-top: 12px;
}
section.rating .player.first .points p, section.rating .player.second .points p, section.rating .player.third .points p {
    font-size: 30px;
    margin-top: 18px;
    font-weight: 900;
}


@media (max-width: 979px) {
    .container {
        width: 90%;
    }
    header .logo {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
    header .langs {
        position: absolute;
        top: 0;
        right: 0;
    }
    header nav {
        width: 100%;
        text-align: center;
    }
    header nav a {
        margin: 0 15px;
        margin-bottom: 15px;
    }
    main, section.rating {
        margin-top: 180px;
    }
    main .info {
        display: block;
        width: 100%;
        background: none;
        border-bottom: 2px solid #fff;
        text-align: center;
    }
    main .stats {
        width: 100%;
        float: none;
        display: block;
    }
    .ach .name {
        width: calc(100% - 255px);
        background: none;
        border-right: 2px solid #fff;
    }
    .ach .points {
        width: 150px;
    }
    section.rating .player .nick, section.rating .player .clan {
        width: calc(50% - 100px);
    }
    section.rating .player .place {
        width: 80px;
    }
    section.rating .player .points {
        width: 100px;
    }
}
