.trin-trin
{
    animation-name: trin;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes trin {

    from {
        transform:rotate3d(0, 0, 1, 0deg);
    }
    20%, 32%, 44%, 56%, 68% {
        transform: rotate3d(0, 0, 1, 0deg);
    }
    23%, 35%, 47%, 59%, 71% {
        transform: rotate3d(0,0,1,15deg);
    }
    26%, 38%, 50%, 62%, 74% {
        transform: rotate3d(0,0,1,0deg);
    }
    29%, 41%, 53%, 65%, 77% {
        transform: rotate3d(0,0,1,-15deg);
    }
    80% {
        transform:rotate3d(0, 0, 1, 0deg);
    }

}

#backtop{
    width: 50px;
    height: 50px;
    background-color: #333333;
    color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 40px;
    right: 20px;
    cursor: pointer;
    z-index:50;
    border:1px solid white;
}

#backtop i{
    margin-top:20px;
}

.border-card{
    border-radius:10px;
    cursor: pointer;
    position: relative;
    
}
.content-card{
    opacity: 0;
    transition: all 0.6s ease-in-out;

}
.content-tittle-card{
    color: white !important;
    z-index: 5;
}
.border-card::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(26, 30, 27, .9);
    position: absolute;
    left:-100%;
    top: 0;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
    opacity: 0.8;
}
.border-card:hover:before{
    left:0;

} 

.border-card:hover .content-card{
    opacity: 1;

  
} 

  main {
    width: 95%;
    height: 43rem;
    -webkit-box-shadow: 0px 5px 15px 8px #1a1e25;
    box-shadow: 0px 2px 15px 2px #1a1e25; 
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.5rem;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  #main{
    position: absolute;
    
    background-color: #1a1e25;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    
  }
  #header {
    width: 100%;
   
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 2rem;
  }
  #header h5{
    color: white !important;
  }
  #leaderboard {
    width: 100%;
    position: relative;
  }
  
  /* .table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: white !important;
    cursor: default;
  } */
  
  .tr {
    transition: all 0.2s ease-in-out;
    border-radius: 0.2rem;
  }
  
  .tr:not(:first-child):hover {
    background-color: #fff;
    transform: scale(1.1);
    -webkit-box-shadow: 0px 5px 15px 8px #1a1e25;
    box-shadow: 0px 5px 15px 8px #1a1e25;
  }
  
  .tr:nth-child(odd) {
    background-color: #f9f9f9;
  }
  
  .tr:nth-child(1) {
    color: #fff;
  }
  
  .td {
    height: 5rem;
    font-family: "Rubik", sans-serif;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    position: relative;
  }
  
  .number {
    /* padding: 0px !important; */
    width: 4rem;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: left;
  }
  
  .name {
    width: 15rem;
    text-align: left;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
  }
  .name a{
    color:white !important;
  }
  
  .points {
    font-weight: bold;
    font-size: 1.3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .points:first-child {
    width: 10rem;
  }
  
  .gold-medal {
    height: 2.5rem;
    width: 2.5rem;
    /* margin-left: 1.5rem;
    margin-right: 1.5rem; */
  }
  .silver-medal{
    height: 2rem;
    width: 2rem;
  }
  
  .ribbon {
    width: 29rem;
    height: 5.5rem;
    top: -0.5rem;
    background-color: #ca4a41;
    position: absolute;
    left: -1rem;
    -webkit-box-shadow: 0px 15px 11px -6px #7a7a7d;
    box-shadow: 0px 15px 11px -6px #7a7a7d;
  }
  
  .ribbon::before {
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    bottom: -0.8rem;
    left: 0.35rem;
    transform: rotate(45deg);
    background-color: #5c5be5;
    position: absolute;
    z-index: -1;
  }
  
  .ribbon::after {
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    bottom: -0.8rem;
    right: 0.35rem;
    transform: rotate(45deg);
    background-color: #5c5be5;
    position: absolute;
    z-index: -1;
  }
  .table .td{
    border-top: none !important;
    border: none !important;
  }

  #tournament-table th{
    color: black !important;
  }

.news-page {
  width: auto;
  height: auto;
  display: block;
  min-height: auto;
  border-radius: 0;
  box-shadow: none;
  background: #f5f6f8;
  color: #17191f;
}

.news-hero {
  padding: 150px 0 54px;
  background: linear-gradient(135deg, rgba(16, 18, 24, .96), rgba(34, 38, 46, .9)), url('../template/images/hero_bg_1.jpg') center/cover;
}

.news-hero.compact {
  padding-bottom: 42px;
}

.news-kicker {
  color: #f2b705;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.news-hero-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.news-hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 12px;
  font-weight: 800;
}

.news-hero p {
  color: rgba(255, 255, 255, .78);
  max-width: 680px;
  margin: 0;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, .9fr);
  gap: 28px;
  margin-top: -32px;
  position: relative;
  z-index: 2;
}

.news-feature,
.news-side,
.news-empty,
.news-card {
  background: #fff;
  border: 1px solid rgba(23, 25, 31, .08);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(23, 25, 31, .08);
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, .95fr);
  overflow: hidden;
}

.news-feature-image,
.news-card-image {
  display: block;
  overflow: hidden;
  background: #e9ecef;
}

.news-feature-image img,
.news-card-image img,
.news-side-item img,
.home-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-feature-image {
  min-height: 390px;
}

.news-feature-body {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #737985;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.news-feature h2,
.news-card h3,
.news-side h3,
.news-section-head h2,
.news-categories h2 {
  color: #17191f;
  font-weight: 800;
}

.news-feature h2 {
  font-size: 34px;
  line-height: 1.18;
  margin-bottom: 16px;
}

.news-feature a,
.news-card a,
.news-side a {
  color: inherit;
  text-decoration: none;
}

.news-feature p,
.news-card p,
.news-empty p {
  color: #5f6673;
  line-height: 1.7;
}

.news-link {
  color: #c8332b !important;
  font-weight: 800;
  margin-top: 8px;
}

.news-side {
  padding: 24px;
  align-self: start;
}

.news-side h3 {
  font-size: 18px;
  margin-bottom: 18px;
}

.news-side-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(23, 25, 31, .08);
}

.news-side-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.news-side-item img {
  height: 78px;
  border-radius: 6px;
}

.news-side-item span {
  color: #8a909b;
  font-size: 12px;
}

.news-side-item h4 {
  font-size: 15px;
  line-height: 1.35;
  margin: 5px 0 0;
  font-weight: 800;
}

.news-grid-section,
.news-categories {
  padding: 44px 15px;
}

.news-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.news-section-head h2,
.news-categories h2 {
  font-size: 26px;
  margin: 0;
}

.news-section-head p {
  color: #777e8a;
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  overflow: hidden;
  box-shadow: none;
}

.news-card-image {
  height: 190px;
}

.news-card-body {
  padding: 20px;
}

.news-card h3 {
  font-size: 20px;
  line-height: 1.3;
}

.news-card p {
  margin-bottom: 0;
}

.news-category-list,
.news-side-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-category-list a,
.news-side-categories a {
  color: #1f232b;
  background: #fff;
  border: 1px solid rgba(23, 25, 31, .1);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  text-decoration: none;
}

.news-empty {
  padding: 42px;
}

.home-news-section {
  background: #f5f6f8;
  padding: 64px 0;
}

.home-news-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.home-news-head h2 {
  color: #17191f;
  font-size: 32px;
  font-weight: 800;
  margin: 0;
}

.home-news-head p {
  color: #6d7480;
  margin: 6px 0 0;
}

.home-news-head a,
.home-news-card .read-more {
  color: #c8332b;
  font-weight: 800;
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.home-news-card {
  background: #fff;
  border: 1px solid rgba(23, 25, 31, .08);
  border-radius: 8px;
  overflow: hidden;
}

.home-news-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.home-news-card figure {
  height: 165px;
  margin: 0;
}

.home-news-card:first-child figure {
  height: 310px;
}

.home-news-card-body {
  padding: 18px;
}

.home-news-card h3 {
  color: #17191f;
  font-size: 18px;
  line-height: 1.32;
  font-weight: 800;
  margin: 8px 0;
}

.home-news-card:first-child h3 {
  font-size: 26px;
}

.home-news-card p {
  color: #626a76;
  line-height: 1.6;
}

.home-news-card a {
  color: inherit;
  text-decoration: none;
}

.blog-editor-body {
  max-height: 72vh;
  overflow-y: auto;
  background: #f7f8fb;
}

.blog-editor-note {
  background: #fff8e6;
  border: 1px solid #ffe2a3;
  border-radius: 8px;
  color: #7a5500;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.error-message {
  display: block;
  color: #d33;
  font-size: 13px;
  margin-top: 6px;
}

@media (max-width: 991.98px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-navbar .site-logo img {
    max-width: 160px;
    height: auto;
  }

  .site-navbar .site-navigation {
    min-height: 58px;
  }

  .site-mobile-menu {
    width: min(86vw, 320px);
  }

  .site-section,
  .home-news-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .table-responsive,
  .dataTables_wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table.dataTable,
  .table {
    min-width: 680px;
  }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter,
  .dataTables_wrapper .dataTables_info,
  .dataTables_wrapper .dataTables_paginate {
    display: block;
    width: 100%;
    text-align: left;
  }

  .dataTables_wrapper .dataTables_filter input,
  .dataTables_wrapper select {
    width: 100%;
    margin: 6px 0 12px;
  }

  .news-hero {
    padding-top: 128px;
  }

  .news-hero-head,
  .home-news-head,
  .news-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-layout,
  .news-feature {
    grid-template-columns: 1fr;
  }

  .news-feature-image {
    min-height: 280px;
  }

  .news-grid,
  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-news-card:first-child {
    grid-column: span 2;
  }

  .site-footer {
    padding-top: 44px;
    padding-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-navbar .site-logo img {
    max-width: 132px;
  }

  #social_media {
    display: none;
  }

  .site-navbar .py-3 .col-6,
  .site-navbar .py-3 .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center !important;
  }

  .btn,
  button,
  input,
  select {
    max-width: 100%;
  }

  .news-hero h1 {
    font-size: 34px;
  }

  .news-feature-body {
    padding: 24px;
  }

  .news-feature h2 {
    font-size: 26px;
  }

  .news-grid,
  .home-news-grid {
    grid-template-columns: 1fr;
  }

  .home-news-card:first-child {
    grid-column: span 1;
  }

  .news-side-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .home-news-card figure,
  .home-news-card:first-child figure {
    height: 220px;
  }

  .site-footer .row > [class*="col-"] {
    margin-bottom: 20px;
  }
}
 
