.team-screen {
  width: 100%;
  height: 100%;
  display: none;
}
.team-screen .team-content {
  text-align: center;
  width: 80%;
  justify-content: center;
  margin: auto;
  top: 239px;
  left: 0;
  right: 0;
  max-width: 400px;
}
.team-screen .team-content .teamselection {
  height: 50%;
  width: 100%;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
}
.team-screen .background-overlay {
  opacity: 0.8;
  width: 100%;
  height: 100%;
  background-color: #000;
  position: absolute;
  z-index: 1;
}
.team-screen .background-image {
  width: 100%;
  height: 100%;
  background-position: left;
  background-size: cover;
  background-image: url('images/background.jpg');
  background-color: #000;
  opacity: 0;
}
.team-screen .background-image.active {
  animation: fadein 0.5s linear forwards;
}
.team-screen .background-image.outfocus {
  filter: blur(3px);
}
.sorting-hat {
  text-align: center;
  width: 203px;
  margin: auto;
  margin-top: -31px;
  position: relative;
  z-index: 1;
  left: 0;
  right: 0;
}
.team-info {
  z-index: 20 !important;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  padding-top: 0 !important;
}
.team-info.content {
  padding: 0 !important;
}
.team-info .page-title {
  z-index: 10;
  top: -34px;
  position: absolute !important;
  left: 0;
  right: 0;
}
.team-info .txtwrapper {
  width: 90% !important;
}
.team-info .txtcontent {
  padding-top: 30px !important;
  font-size: 15px;
  text-align: justify !important;
}
.team-info .stonebtn {
  width: 182px;
  z-index: 11;
  position: relative;
  margin: auto;
  padding-bottom: 8px;
}
.team-select-glow {
  animation: glowing 5000ms 10;
}
@keyframes glowing {
  0% {
    filter: drop-shadow(0 0px 0rem #ffa800);
  }
  50% {
    filter: drop-shadow(0 0px 0.3rem #ffa800);
  }
  100% {
    filter: drop-shadow(0 0px 0rem #ffa800);
  }
}
.sorting-hat-text {
  color: white;
  font-size: 14px;
  justify-content: center;
  text-align: justify;
  position: relative;
  margin-top: -26px;
  padding: 0 10px;
}
