/*!
Theme Name: default-theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: default-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

default-theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
*/



/*Спортивные события*/
.events-block {
  display: flex;
  gap: 10px;
  margin: 25px 0;
  justify-content: center;
}

@media screen and (max-width: 980px) {
  .events-block {
    flex-direction: column;
  }
}

@media screen and (max-width: 460px) {
  .feature-game-name {
    font-size: 12px!important;
  }
  .vs-players {
  font-size: 18px!important;
  }
}

.event-item {
  display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 180px;
    position: relative;
    width: 100%;
  justify-content: center;
  align-items: center;
  background-color: #2E2E38;
	border-radius: 10px;
	box-shadow: 0 0 20px #111;
}

.event-match {
  display: flex;
    height: 58px;
    position: relative;
    width: 80%;
}

.featured-game {
  align-items: center;
    display: -moz-box;
    display: flex;
    width: 100%;
}

.featured-game img {
  max-width: 70px;
    max-height: 70px;
    width: auto;
    height: auto;
  -webkit-filter: drop-shadow(1px 1px 2px #00000080);
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, .5));
    position: absolute;
    z-index: 1;
}
.first-player img {
  left: -30px;
}

.second-player img {
  right: -30px;
}

.feature-game-widget {
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: 100%;
  width: 100%;
}

.widget-left {
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
    background-color: rgb(172, 10, 213);
  -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, -moz-calc(100% - 18px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  margin-right: -10px;
    padding-left: 40px;
  justify-content: flex-start;
  text-align: left;
}

.widget-right {
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.05));
  background-color: rgb(127, 6, 157);
  -webkit-clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
    justify-content: flex-end;
    margin-left: -10px;
    padding-right: 40px;
  justify-content: flex-end;
  text-align: right;
}

.vs-players {
  align-items: center;
    color: #fff;
    display: -moz-box;
    display: flex;
    font-size: 24px;
    height: 56px;
    justify-content: center;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.feature-game-name {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
}

.event-date{
  margin-top: 20px;
  text-align: center;
  color: #ccc;
}


/****************************Слоты**************/
.games-list {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    -moz-column-gap: 16px;
    column-gap: 16px;
    max-width: 1200px;
    margin: 0 auto 24px;
  justify-content: center;
}

.game-container {
    width: 180px;
    height: 240px;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.game-container-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.game-container-image img {
    position: absolute;
    height: 100%;
    width: 100%;
    inset: 0px;
    color: transparent;
    vertical-align: middle;
}

.game-container-image img {
transition: all .3s ease-in-out;
    position: static !important;
}

.game-container:hover .game-container-image img {
transform: scale(1.2);
}

.game-container:hover .game-hover {
    opacity: 1;
}

.game-container .game-hover {
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity .25s ease-in-out;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    height: 100%;
    background-color: rgba(0, 10, 18, .64);
    padding: 1rem;
    z-index: 1;
}

.game-container .game-hover .game-hover-title {
    font-size: .875rem;
    line-height: 170%;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.game-container .game-hover-button {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.game-container:after {
    content: "";
    background: linear-gradient(0deg, #000a12, rgba(0, 10, 18, 0));
    width: 100%;
    height: 20%;
    position: absolute;
    bottom: 0;
}


/******************************Winners********************/
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-270px * 7));
  }
}
.slider {
  background: #2E2E38;
  box-shadow: 0 20px 10px -5px rgba(0, 0, 0, 0.125);
  height: 100px;
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.slider::before, .slider::after {
  background: linear-gradient(to right, black 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 120px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(270px * 14);
}
.slider .slide {
  height: 100px;
  width: 270px;
}


.winner-item {
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: .5rem 1rem .5rem .5rem;
  border-right: 2px dashed #031318;
  justify-content: space-between
}

.winner-image {
  height: 85px;
}

.winner-image img {
   height: 100%;
    width: 100%;
}

.winner-name {
    display: flex;
    flex-direction: column;
}

.winner-nickname {
    font-size: .75rem;
    line-height: 140%;
    color: #fff;
    flex: 1 1;
}

.winner-date {
    color: #b6bdcc;
    font-size: .75rem;
    font-weight: 400;
    line-height: 140%;
    margin: 0;
    padding: 0;
}

.winner-count {
    font-size: 0.975rem;
    line-height: 170%;
    color: #fff;
}