/* Code By Webdevtrick ( https://webdevtrick.com ) */
@import url("https://fonts.googleapis.com/css?family=Lato:400,300");
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #222;
  overflow :auto;    
}

.tabs {
  --links-height: 80px;
  --links-background: linear-gradient(135deg, #e5eaf1 0%, #b9c5d8 100%);
  --links-overlay: linear-gradient(135deg, #FF512F 0%,#EB3349 48%,#F45C43 100%);
  --Sllink-background: linear-gradient(90deg,transparent 70%,rgba(255, 255, 255, 0.2) 100%);
  width: 100%;
  max-width: 800px;
  min-width: 300px;
  font-family: Lato, sans-serif;
}
.tabs .tabLinks {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--links-height);
  background: var(--links-background);
  list-style-type: none;
}


.image-container {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  height: auto;
  max-width: 750px;
}

@media screen and (max-width: 750px) {
  .tabs .tabLinks {
    height: calc(var(--links-height) / 2);
  }
  
  .image-container {
    width: 100%;
  }
}

.tabs .tabLinks li {
  flex: 1;
}
.tabs .tabLinks li .singleLink {
  all: unset;
  position: relative;
  height: var(--links-height);
  width: 100%;
  background: var(--Sllink-background);
  cursor: pointer;
  overflow: hidden;
  transition: 0.3s;
}
@media screen and (max-width: 750px) {
  .tabs .tabLinks li .singleLink {
    height: calc(var(--links-height) / 2);
    font-size: 12px;
  }
}
.tabs .tabLinks li .singleLink::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: var(--links-overlay);
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transform-origin: top;
          transform-origin: top;
  transition: 0.3s ease-in-out;
}
.tabs .tabLinks li .singleLink .linkText {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.6;
  transition: 0.5s;
}
.tabs .tabLinks li .singleLink .linkText::before {
  position: absolute;
  content: attr(data-text);
  top: 160%;
  z-index: -1;
  font-size: 40px;
  font-weight: 600;
  color: white;
  opacity: 0.1;
  transition: 1.2s ease-out;
}
/*@media screen and (max-width: 750px) {
  .tabs .tabLinks li .singleLink .linkText::before {
    display: none;
  }
}*/



.tabs .tabLinks li .singleLink:hover::before {
  -webkit-transform: scaleY(1);
          transform: scaleY(1);
}
.tabs .tabLinks li .singleLink:hover .linkText {
  color: white;
  opacity: 1;
}
.tabs .tabLinks li .singleLink:hover .linkText::before {
  -webkit-transform: translateY(-300%);
          transform: translateY(-300%);
}
.tabs .tabLinks li .singleLink.active {
  -webkit-transform: scaleY(1.4);
          transform: scaleY(1.4);
  background: white;
}
.tabs .tabLinks li .singleLink.active::before {
  -webkit-transform: scaleY(0.05);
          transform: scaleY(0.05);
}
.tabs .tabLinks li .singleLink.active .linkText {
  -webkit-transform: scaleY(0.714);
          transform: scaleY(0.714);
}
.tabs .tabLinks li .singleLink.active .linkText, .tabs .tabLinks li .singleLink.active:hover .linkText {
  background: var(--links-overlay);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  opacity: 1;
}


@media screen and (max-width: 700px) {
  .tabs .tabLinks {
    height: calc(var(--links-height) / 2);
  }

  .tabs .tabLinks li .singleLink {
    height: calc(var(--links-height) / 2);
    font-size: 12px;
  }
}

.tabs .TabContents {
  position: relative;
  margin-top: 0;
  padding: 0;
  list-style-type: none;
  transition: 1s;
}

.tabs .TabContents .tabContent {
  position: static;
  margin-top: 0;
  list-style-type: none;
  transition: 1s;
  background: white;
    background-position: top;
}

#tabContent1 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(chess_1.jpg) center/cover;
}


#tabContent2 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(chess_2.jpg) center/cover;
}

#tabContent3 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(chess_3.jpg) center/cover;
}

#tabContent4 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), url(chess_4.jpg) center/cover;
}


.tabs .TabContents::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  background: var(--links-overlay);
}

 .tabs .TabContents .tabContent .insideContent{
  position: relative;
  margin-top: 0;
  padding: 40px 60px;
  list-style-type: none;
  transition: 1s;
} 

.tabs .TabContents .tabContent .insideContent {
  display: none;
  min-height: 200px;
  font-weight: 300;
  line-height: 1.8;
  opacity: 0;
  -webkit-transform: translateY(30%);
          transform: translateY(30%);
  -webkit-animation: fadeIn 0.6s forwards;
          animation: fadeIn 0.6s forwards;
    color: white;
}
.tabs .TabContents .tabContent .insideContent.active {
  display: block;
}


#myForm {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 5px;
  font-size: 16px;
}

.form-group select {
  height: 30px;
}

.form-group button {
  float: right;
}


@-webkit-keyframes fadeIn {
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.table-container {
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
}

.players-table {
  border-collapse: collapse;
  width: 100%;
}

.players-schedule th,
.players-schedule td {
  border: 1px solid orange;
  padding: 8px;
  background-color: transparent;
  color: orange;
}

.players-table th,
.players-table td {
  border: 1px solid orange;
  padding: 8px;
  background-color: transparent;
  color: orange;
}

@media screen and (max-width: 750px) {
  .players-table th,
  .players-table td {
    padding: 4px;
    font-size: 10px;
  }

  .players-schedule th,
  .players-schedule td {
    padding: 4px;
    font-size: 10px;
  }
}
