@import './tournaments-main.css';
@import './tournaments-group.css';
@import './tournaments-rules.css';
@import './tournaments-playoff.css';
@import './tournaments-games.css';
@import './tournaments-results.css';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  color: #ffffff;
}

span {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

a {
    font-weight: inherit;
    font-size: inherit;
  text-decoration: none;
  color: inherit;
}

li {
  list-style: none;
}

.noborder {
  border: none;
}

.tournaments-btn{
    padding: 10px 16px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    border-radius: 7px;
    border:none;
    transition: all .2s;
}

.tournaments-btn:hover {
    cursor: pointer;
}

.tournaments-btn-orange{
    color: #10152b;
    background: linear-gradient(247.82deg, #fcd43f 11.29%, #ff9b3a 90.42%) right;
    background-size: 100% 100%;
}

.tournaments-btn-orange:hover{
    background-size: 250% 100%;
}

.tournaments-btn-grey{
    background: #253153;
}

.tournaments-btn-grey:hover {
    color: #a9b5d0;
}

@media screen and (max-width: 1100px) {
    .tournaments-btn {
        font-size: 11px;
    }
}

.text-gradient {
  background: linear-gradient(270deg, #fcd43f 0%, #ff9b3a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tournaments {
  background: #10152b;
  min-height: 100vh;
  padding-bottom: 200px;
  overflow: hidden;
}

.title {
  font-size: 40px;
  line-height: 40px;
  margin-right: 60px;
  margin-bottom: 20px;
}

.tournaments-container {
  padding-left: 120px;
  padding-right: 120px;
}

@media screen and (max-width: 1440px) {
  .tournaments-container{
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media screen and (max-width: 1300px) {
  .tournaments-container{
    padding-left: 20px;
    padding-right: 20px;
  }
}

.info {
  display: grid;
  grid-template-columns: repeat(5, auto) 1fr;
  border-bottom: 1px solid #253153;
}

.info-back {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  margin: 22px auto 22px 0;
  text-transform: uppercase;
  font-size: 13px;
  color: #a9b5d0;
}

.info-back::before {
  content: '';
  display: block;
  width: 11px;
  height: 12px;
  margin-right: 4px;
  background: url(./sprite.svg#back);
}

.info-back:hover {
    cursor: pointer;
}

.info-picture{
    position: relative;
    width: 80px;
    height: 80px;
    grid-column: 1/2;
    grid-row: 2/4;
    overflow: hidden;
    border-radius: 14px;
}

.info-image {
    position: absolute;
    right: 0;
}

.info-game {
  grid-column: 2/6;
  grid-row: 2/3;
}

.info-prize {
  grid-column: 2/4;
  grid-row: 3/4;
  display: flex;
  align-items: center;
}

.info-prize::before {
  content: '';
  display: block;
  width: 15px;
  height: 24px;
  margin-right: 4px;
  background: url(./sprite.svg#crystal);
}

.info-gamers {
  grid-column: 4/6;
  grid-row: 3/4;
  display: flex;
  align-items: center;
}

.info-gamers::before {
  content: '';
  display: block;
  width: 18px;
  height: 14px;
  margin-right: 4px;
  background: url(./sprite.svg#table-gamers);
}

.info-card {
  grid-row: 2/4;
  grid-column: 6/7;
  display: grid;
  align-items: center;
  grid-template: repeat(2, 1fr)/repeat(3, auto);
  margin-left: auto;
  padding: 16px 24px 16px;
  background: #161f39;
  border-radius: 15px;
  line-height: 120%;
}

.info-img {
  border-radius: 50%;
  grid-row: 1/3;
  margin-right: 10px;
}

.info-name {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.info-group {
  height: 100%;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
    line-height: 22px;
  color: #a9b5d0;
}

.info-logout {
    grid-column: 1/3;
    grid-row: 1/3;
    font-size: 14px;
    color: #a9b5d0;
}

.info-nextgame {
  grid-column: 3/4;
  grid-row: 1/3;
  text-align: right;
  border-left: 1px solid #253153;
  padding-left: 18px;
  margin-left: 34px;
}

.info-nextgame-span {
    display: block;
    font-size: 14px;
    line-height: 22px;
    color: #a9b5d0;
}

.info-nav {
  position: relative;
  margin-right: 50px;
  padding-bottom: 22px;
  margin-top: 42px;
  color: #a9b5d0;
}

.info-nav:hover {
  color: #ffffff;
    cursor: pointer;
}

.info-nav-active {
  color: #ffffff;
}

.info-nav-active::after {
  position: absolute;
  bottom: -2px;
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(247.82deg, #fcd43f 11.29%, #ff9b3a 90.42%);
  border-radius: 2px;
}

@media screen and (max-width: 1199px) {
  .info {
    grid-template-columns: repeat(5, auto);
  }

  .info-card {
    grid-row: 4/5;
    grid-column: 1/-1;
    margin-top: 20px;
    margin-right: auto;
    background: transparent;
  }

  .info-nav {
    margin-right: auto;
  }
}
