@font-face {
  font-family: 'Fancy'; 
  src: url('/static/font.ttf') format('ttf'),
       url('/static/font.woff') format('woff');
}

html {
    font-family: Roboto;
}

a {
    color: rgb(14, 20, 240);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
}

body {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
}

#swiper-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab {
    flex: 1; /* Distribute equal width among the tabs */
    padding: 10px 20px;
    background-color: #eee;
    cursor: pointer;
    text-align: center;
}

.tab.active {
  background-color: #ccc;
}

#swiper {
  height: 70vh;
  aspect-ratio: 2 / 3;
  perspective: 1000px;
  perspective-origin: center 50%;
  transform-style: preserve-3d;
  position: relative;
  margin-top: -10px;
}

#matches {
  height: 70vh;
  aspect-ratio: 2 / 3;
  perspective: 1000px;
  perspective-origin: center 50%;
  transform-style: preserve-3d;
  position: relative;
  margin-top: -10px;
  overflow: auto;
}

.card {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  transform: translateZ(calc(-30px * var(--i))) translateY(calc(-20px * var(--i))) rotate(calc(-4deg * var(--i)));
  filter: drop-shadow(2px 2px 20px rgba(0, 0, 0, 0.5));
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s;
  z-index:2;
  border: 5px solid rgb(250, 218, 173);
}

.container {
    overflow: auto;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.card cardname {
    position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, .5, 0.2), rgba(0, 0, .5, 0.7));
  font-family: Fancy;
  color: white;
  padding: 20px;
  text-transform: capitalize;
  font-weight: bold;
  font-size: 5vh;
    z-index:3;
}

.card intro {
  flex-grow: 1;
  background: linear-gradient(to bottom, rgba(0, 0, .5, .7), rgba(0, 0, .5, 0.2));
  font-family: Fancy;
  width: 100%;
  color: white;
  padding: 20px;
  font-weight: bold;
  font-size: 5vh;
  position: fixed;
  z-index:3;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f2f2f2;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
    font-size: 3vh;
    text-transform: capitalize;
}

.row span {
    font-weight: bold;
}

.tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background-color: #eee;
    cursor: pointer;
}
.tab.active {
    background-color: #ccc;
}

.tabcontent {
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
}

.tabcontent.active {
    display: block;
}

.base {
    top: 50%;
    position: absolute
    z-index: 1;
    text-align: center;
    font-weight: bold;
    font-size: 4vh;
    margin: 5vh;
    vertical-align: middle;
    line-height: normal;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.5);
}

.box {
    height: 50%;
    width: 66%;
    border: 2px solid rgb(250, 218, 173);
    margin: auto;
    display: block;
    position: relative;
    top: 20%;
    transform: translateY(-20%);
    flex-direction: column;
    text-align: left;
}

.box p {
    margin: 20px
}

.popupContainer {
  display: block;
  position: fixed;
  top: 70px; 
  right: 30px;
  /*  width: 300px; */
  width: 40vw;
  background-color: #fff;
  border: 2px solid rgb(250, 218, 173);
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 9999;
}

.popupContent {
  padding: 20px;
}
.footer {
    background-color: #333; /* Example background color for the footer */
    color: #fff; /* Example text color for the footer */
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

