/*!*************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js!./src/index.scss ***!
  \*************************************************************************************************************************************/
body .enlarged-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  z-index: 1000;
  transition: transform 2s ease-in-out, top 2s ease-in-out, left 2s ease-in-out;
}

.move-to-top-left {
  position: fixed;
  top: 40px;
  left: 40px;
  transform: scale(2);
  transition: transform 1s ease-in-out, top 1s ease-in-out, left 1s ease-in-out;
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.dissapear {
  opacity: 0;
}

.cloned {
  position: absolute;
}

.team-page {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  overflow-x: hidden;
}
.team-page .team-stats {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  height: 33.33%;
  width: 66.66%;
  padding: 15px;
  box-sizing: border-box;
}
.team-page .team-stats h2 {
  font-size: 4vw;
  line-height: 1.2;
  padding-top: 5%;
  padding-left: 45%;
}
.team-page .player-stats-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: absolute;
  bottom: 0;
  height: 66.66%;
  width: 100%;
  border: 1px solid black;
}
.team-page .player-stats {
  flex: 1;
  height: 100%;
  box-sizing: border-box;
  border-right: 1px solid black;
}
.team-page .player-stats:last-child {
  border-right: none;
}
.team-page .player-stats h2 {
  text-align: center;
}
.team-page .player-stats h4 {
  text-align: center;
}
.team-page .player-stats p {
  padding-left: 5%;
  font-size: large;
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.team-page .player-stats img {
  display: block;
  margin: 0 auto;
}
.team-page .player-stats .stat-warning {
  color: red;
  font-family: monospace;
}
.team-page .player-stats .player-image.fallback-image {
  height: 190px;
}

.title-selection {
  text-align: center;
  padding: 0px 0;
  margin: 10px 0px 0px 0px;
}

.team-selection {
  padding: 4px 0px 0px 0px;
  text-align: center;
}
.team-selection h2 {
  margin-bottom: 20px;
  margin-top: 5px;
}

.team-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  margin: 0 auto;
  position: relative;
}
.team-logos .team-logo, .team-logos .cloned-team-logo {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 14.6667%;
  margin: 10px 1%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  max-height: 100vh;
  transition: opacity 1s ease-out;
}
.team-logos .team-logo img, .team-logos .cloned-team-logo img {
  max-width: 100%;
  height: auto;
  max-height: 13.5vh;
}
.team-logos .team-logo:hover {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.3);
}
.team-logos .cloned-team-logo {
  position: fixed;
  top: 100vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

h1 {
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(243, 148, 5);
  font-size: xx-large;
}

h2 {
  font-family: monospace;
}

.team-selection h2 {
  font-family: monospace;
  color: rgb(243, 148, 5);
  transition: opacity 1s ease-out;
}

body {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.stats-legend {
  position: absolute;
  top: 10px;
  left: 25%;
  background-color: rgb(255, 151, 0);
  border: 1px solid black;
  padding: 10px;
  border-radius: 5px;
  width: 700px;
  z-index: 5;
  overflow-y: auto;
}
.stats-legend h3 {
  text-align: center;
  margin-bottom: 10px;
}
.stats-legend .stat-detail {
  margin-bottom: 15px;
}
.stats-legend .stat-detail ul {
  margin-top: 5px;
  margin-left: 20px;
  list-style-type: disc;
}
.stats-legend .stat-detail li {
  margin-bottom: 5px;
}

#resetButton {
  display: none;
  position: absolute;
  top: 27%;
  left: 2%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 1s ease;
  background: linear-gradient(0deg, rgb(255, 151, 0) 0%, rgb(251, 75, 2) 100%);
  line-height: 42px;
  padding: 0;
  border: none;
  width: 130px;
  height: 40px;
  font-family: "Lato", sans-serif;
  color: white;
  font-weight: 500;
  cursor: pointer;
}

#resetButton span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

#resetButton:before,
#resetButton:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: rgb(251, 75, 2);
  box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9), -4px -4px 5px 0px rgba(255, 255, 255, 0.9), 7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#resetButton:before {
  height: 0%;
  width: 2px;
}

#resetButton:after {
  width: 0%;
  height: 2px;
}

#resetButton:hover {
  color: rgb(251, 75, 2);
  background: transparent;
}

#resetButton:hover:before {
  height: 100%;
}

#resetButton:hover:after {
  width: 100%;
}

#resetButton span:before,
#resetButton span:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: rgb(251, 75, 2);
  box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9), -4px -4px 5px 0px rgba(255, 255, 255, 0.9), 7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#resetButton span:before {
  width: 2px;
  height: 0%;
}

#resetButton span:after {
  height: 2px;
  width: 0%;
}

#resetButton span:hover:before {
  height: 100%;
}

#resetButton span:hover:after {
  width: 100%;
}

.social-icons {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.social-icons a {
  margin-left: 10px;
  font-size: 24px;
  color: rgb(255, 151, 0);
  text-decoration: none;
  transition: color 0.3;
}

.social-icons a:hover {
  color: black;
}

#legend-toggle-button {
  position: absolute;
  top: 2%;
  left: 25%;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 6;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: linear-gradient(0deg, rgb(255, 151, 0) 0%, rgb(251, 75, 2) 100%);
  line-height: 42px;
  padding: 0;
  border: none;
  width: 130px;
  height: 40px;
  font-family: "Lato", sans-serif;
  color: white;
  font-weight: 500;
}

#legend-toggle-button span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

#legend-toggle-button:before,
#legend-toggle-button:after {
  position: absolute;
  content: "";
  right: 0;
  bottom: 0;
  background: rgb(251, 75, 2);
  box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9), -4px -4px 5px 0px rgba(255, 255, 255, 0.9), 7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#legend-toggle-button:before {
  height: 0%;
  width: 2px;
}

#legend-toggle-button:after {
  width: 0%;
  height: 2px;
}

#legend-toggle-button:hover {
  color: rgb(251, 75, 2);
  background: transparent;
}

#legend-toggle-button:hover:before {
  height: 100%;
}

#legend-toggle-button:hover:after {
  width: 100%;
}

#legend-toggle-button span:before,
#legend-toggle-button span:after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  background: rgb(251, 75, 2);
  box-shadow: -7px -7px 20px 0px rgba(255, 255, 255, 0.9), -4px -4px 5px 0px rgba(255, 255, 255, 0.9), 7px 7px 20px 0px rgba(0, 0, 0, 0.2), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#legend-toggle-button span:before {
  width: 2px;
  height: 0%;
}

#legend-toggle-button span:after {
  height: 2px;
  width: 0%;
}

#legend-toggle-button span:hover:before {
  height: 100%;
}

#legend-toggle-button span:hover:after {
  width: 100%;
}
