:root {
  /*--alt-color-font: rgb(255 255 255 / 35%);*/
  --font-weight-1: 400;
  --font-weight-2: 500;
  --font-weight-3: 700;
  --color-gray-1: #f5f5fa;
  --main-color-font: #212427;
  --secondary-color-font: #6d6a7f;
  --border: solid 2px var(--color-gray-1);
  --border-hover: solid 2px #eaeaea;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: var(--color-gray-1);
}

h1,
h2,
h3,
h4,
h5,
h6,
span {
  color: var(--main-color-font);
}

/**/

.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 25px 0;
  background-color: white;
}

.logo-area {
  text-align: center;
  padding-bottom: 15px;
}

.header .menu-area ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}

.header .menu-area ul li {
  padding: 0 25px;
}

.header .menu-area ul li a {
  text-decoration: none;
  color: black;
  font-weight: var(--font-weight-3);
  padding: 5px 15px;
  border-radius: 5px;
  transition: all 0.4s ease;
}

.header .menu-area ul li a:hover {
  background-color: var(--color-gray-1);
}

.main-logo-app {
  width: 50px;
}

.toggle-menu-mobile {
  display: none;
}

/**/

.area {
  background-color: white;
  margin: 50px 2% 0px 2%;
  border-radius: 5px;
  display: flex;
}

/**/

.area-left,
.area-right {
  padding-top: 55px;
  padding-bottom: 55px;
}

.area-left {
  width: 20%;
  background-color: #f8f8f8;
  padding-left: 15px;
  padding-right: 15px;
}

.area-left .title {
  color: var(--secondary-color-font);
  text-align: center;
  font-weight: var(--font-weight-2);
  font-size: 22px;
}

.notifications-area {
  position: sticky;
  top: 10%;
}

.area-left .notifications-area .single-notification {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 5px;
  margin-top: 50px;
  position: relative;
}

.badge-ntf {
  position: absolute;
  top: -0.9em;
  left: -0.9em;
  width: 30px;
}

.single-notification:hover .ntf-bell {
  -webkit-animation-name: animatebell;
  -webkit-animation-duration: 0.2s;
  -webkit-animation-iteration-count: 4;
  -webkit-animation-timing-function: linear;
}

@keyframes animatebell {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.single-notification:hover .ntf-badge {
  -webkit-animation-name: rotatebadge;
  -webkit-animation-duration: 0.6s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
}

@keyframes rotatebadge {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.blox-line-1 {
  display: flex;
  justify-content: space-between;
}

.title-ntf {
  color: var(--main-color-font);
  font-weight: var(--font-weight-2);
}

.dates-ntf span,
.text-ntf {
  color: var(--secondary-color-font);
}

.dates-ntf span {
  margin-top: 10px;
  font-size: 12px;
}

.text-ntf {
  padding-top: 10px;
  font-size: 15px;
}

/**/
.area-right {
  width: 80%;
  padding-left: 40px;
  padding-right: 40px;
}

.area-right-date {
  font-size: 13px;
  opacity: 0.5;
  margin-left: 10px;
}

/**/
.category-results-area {
  padding-top: 70px;
}

.category-single:not(:first-child) {
  padding-top: 150px;
}

.category-title {
  color: var(--secondary-color-font);
}

.single-results-area {
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 40px 40px;
  min-height: 150px;
}

.fixtures-area .single-results-area .single-result {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.single-result {
  padding: 5px 25px;
  border: solid 2px var(--color-gray-1);
  border-radius: 5px;
  transition: transform 0.35s ease-out, border-color 0.35s ease-out;
}

.single-results-area .single-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-result:hover {
  transform: translateY(-2px);
  border: solid 2px #eaeaea;
  transition: transform 0.35s ease-out;
}

.single-result-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.single-result-team .box-1 {
  display: flex;
  align-items: center;
}

.single-result-team-logo {
  width: 30px;
  height: 100%;
}
.single-result-team-name {
  margin-left: 20px;
}

.single-result-score {
  padding-left: 15%;
  border-left: solid 2px var(--color-gray-1);
}

/**/

.single-fixture {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 25px;
}

/**/
.intro {
  transition: all 2s;
}

.pre {
  opacity: 0;
}

/**/
.single-fixture .box-1 {
  display: flex;
  padding: 10px 0;
}

.fixture-match-info {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.fixture-match-info span {
  font-weight: var(--font-weight-2);
  color: var(--main-color-font);
}

/**/
.teams-area {
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 40px 40px;
}

.single-logo-team {
  width: 55px;
  height: 100%;
}

.single-name-team {
  padding: unset;
  border-left: unset;
}

/**/
/*SINGLE TEAM PAGE*/

/*Carousel players = "CP"*/

.splide__slide {
  padding: 10px;
}

.cp-main-area {
  margin-top: 50px;
  padding: 0 5%;
}

.cp-item-player {
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
}

.cp-image-player {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}

.cp-info-player {
  display: flex;
  flex-direction: column;
  padding: 15px;
  border-left: var(--border);
  border-right: var(--border);
  border-bottom: var(--border);
  transition: border-color 0.35s ease-out;
}

.cp-info-player:hover {
  border-left: var(--border-hover);
  border-right: var(--border-hover);
  border-bottom: var(--border-hover);
  transition: border-color 0.35s ease-out;
}

.cp-player-dorsal {
  font-weight: var(--font-weight-3);
  font-size: 28px;
}

.cp-player-birthday {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  column-gap: 8px;
}

.cp-player-birthday img {
  height: 100%;
}

/**/

.page-team-single-area {
  padding-top: 55px;
}

.page-team-name-next-game-area {
  padding-top: 100px;
  display: flex;
  gap: 20px 0;
  flex-direction: column;
}

.page-team-name-next-game-area .box-up,
.box-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-team-name-next-game-area .box-bottom {
  flex-direction: column;
  font-weight: var(--font-weight-3);
  color: var(--main-color-font);
  font-size: 12px;
}

.next-game-box-left,
.next-game-box-middle,
.next-game-box-right {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 15%;
}

.next-game-box-left {
  width: 45%;
}

.next-game-box-middle {
  width: 10%;
  font-weight: var(--font-weight-3);
  color: var(--main-color-font);
}

.next-game-box-right {
  width: 45%;
}

.page-team-name-next-game-area img {
  width: 60px;
  height: 100%;
}
/*Grid gallery area*/

.page-team-gallery-area {
  padding-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 40px;
}

.page-team-gallery-area img {
  overflow: hidden;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/*TABLE PAGE*/
/*Table area = "TB*/

.tb-single-item {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
}

/*.tb-single-item:not(:first-child) {
  border-bottom: var(--border);
  transition: background-color 0.2s ease-in-out, border-radius 0.2s ease-in-out;
}*/

.tb-single-item {
  border-bottom: var(--border);
  transition: background-color 0.2s ease-in-out, border-radius 0.2s ease-in-out;
}

/*.tb-single-item:not(:first-child):hover {
  background-color: #eaeaea59;
  border-radius: 5px;
  border-bottom: solid 2px transparent;
}*/

.tb-single-item:hover {
  background-color: #eaeaea59;
  border-radius: 5px;
  border-bottom: solid 2px transparent;
}

.tb-headers:hover {
  background-color: unset;
}

.tb-headers span {
  font-weight: var(--font-weight-3);
  color: var(--main-color-font);
}

.tb-box-left {
  width: 15%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.tb-position-number {
  font-weight: var(--font-weight-3);
  color: var(--main-color-font);
  font-size: 19px;
  width: 20%;
}

.tb-team-name {
  font-size: 19px;
  width: 80%;
  text-align: center;
}

.tb-box-right {
  display: flex;
  width: 85%;
  justify-content: flex-end;
  text-align: center;
}

.tb-box-right span {
  width: 7%;
}

.tb-box-right span:last-child {
  width: 10%;
  font-weight: var(--font-weight-3);
  color: var(--secondary-color-font);
}

/**/

.gl-box-left {
  width: 50%;
}

.gl-box-left span:first-child {
  width: 10%;
}

.gl-box-left span:nth-child(2) {
  width: 20%;
}

.gl-box-left span:last-child {
  width: 70%;
  text-align: center;
}

.gl-img-player img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.gl-box-right {
  width: 50%;
  justify-content: space-around;
}

.gl-box-right span {
  width: 20%;
}
/**/
/*BUTTON SLIDES*/

.menu-all-results {
  display: flex;
}

.date-button {
  padding: 10px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin: 0 5px;
  text-decoration: none;
  color: var(--secondary-color-font);
  font-size: 14px;
  width: 100%;
  text-align: center;
}

.splide-dates {
  padding: 0 4%;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.splide-dates:hover {
  opacity: 1;
}

.dates-buttons-area li {
  padding: 20px;
  display: flex;
}

.changer {
  opacity: 0;
  transition: 0.4s;
}

.shower {
  opacity: 1;
  transition: 0.4s;
}

/*.splide__arrow:disabled {
  opacity: 0;
}*/

.menu-mobile {
  background-color: white;
  height: 100vh;
  width: 60%;
  padding: 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  transform: translateX(-100%);
  transition: all 0.4s ease;
}

.menu-mobile .box-1 {
  font-weight: var(--font-weight-3);
  font-size: 40px;
}

.menu-mobile ul {
  list-style-type: none;
  margin-top: 100px;
}

.menu-mobile ul li {
  margin-top: 20px;
}

.menu-mobile a {
  text-decoration: none;
  color: var(--secondary-color-font);
  font-weight: var(--font-weight-2);
  font-size: 22px;
}

.menu-mobile.active {
  transform: translateX(0);
  box-shadow: 0 0.5em 1.5em -0.5em #9e9e9e;
}

@media only screen and (max-width: 1400px) {
  .teams-area {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 40px 40px;
  }
}

@media only screen and (max-width: 1200px) {
  .single-results-area,
  .teams-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px 40px;
    transition: 1s;
  }

  /**/

  .tb-box-left {
    width: 30%;
  }

  .tb-box-right {
    width: 70%;
  }

  /**/
  .gl-box-left,
  .gl-box-right {
    width: 50%;
  }

  /**/

  .page-team-gallery-area {
    grid-gap: 30px;
  }
}

@media only screen and (max-width: 900px) {
  .single-results-area,
  .teams-area {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px 40px;
  }

  .area-left {
    width: 30%;
  }

  .area-right {
    width: 70%;
    padding-left: 40px;
    padding-right: 40px;
  }

  /**/

  .tb-team-name,
  .tb-position-number {
    font-size: unset;
  }

  .tb-box-right span,
  .tb-box-right span:last-child {
    width: 17%;
  }

  .tb-box-right span:nth-child(5),
  .tb-box-right span:nth-child(6),
  .tb-box-right span:nth-child(7) {
    display: none;
  }

  /**/
  .gl-box-left,
  .gl-box-right {
    width: 50%;
  }

  /**/

  .page-team-name-next-game-area img {
    width: 40px;
  }

  .page-team-gallery-area {
    grid-template-columns: 1fr 1fr;
  }

  /**/

  .header {
    flex-direction: row;
    padding: 15px 30px;
    align-items: center;
  }
  .menu-area ul {
    display: none !important;
  }

  .logo-area {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    padding-bottom: unset;
  }

  .menu-area {
    width: 50%;
    display: flex;
    justify-content: flex-end;
  }

  .toggle-menu-mobile {
    display: block;
    width: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .area {
    flex-direction: column-reverse;
    margin: 50px 6% 0px 6%;
  }

  .area-left,
  .area-right {
    width: 100%;
  }

  /**/
  .gl-box-left,
  .gl-box-right {
    width: 50%;
  }

  /**/
  .next-game-box-left span,
  .next-game-box-right span {
    text-align: center;
  }

  .page-team-gallery-area {
    grid-template-columns: 1fr;
  }

  .splide-dates {
    padding: unset;
  }

  .dates-buttons-area li {
    padding: 20px 0;
  }

  .notifications-area {
    position: unset;
    top: unset;
  }
}

@media only screen and (max-width: 470px) {
  /**/

  .tb-box-left {
    width: 50%;
  }

  .tb-box-right {
    width: 50%;
  }

  .tb-box-right span,
  .tb-box-right span:last-child {
    width: 30%;
  }

  .tb-box-right span:nth-child(7) {
    display: unset;
  }

  .tb-box-right span:nth-child(2),
  .tb-box-right span:nth-child(3),
  .tb-box-right span:nth-child(4) {
    display: none;
  }

  /**/
  .gl-box-left,
  .gl-box-right {
    width: 50%;
    font-size: 13px;
  }

  .tb-box-right span:nth-child(2),
  .tb-box-right span:nth-child(3),
  .tb-box-right span:nth-child(4) {
    display: unset;
  }

  /**/
  .page-team-name-next-game-area img {
    width: 30px;
  }
}
