.team1 {
  color: #cc4848 !important;
}
.team2 {
  color: #5d91ac !important;
}
.team3 {
  color: #c7a759 !important;
}
.team4 {
  color: #467b5a !important;
}
.team1overlay {
  filter: invert(65%) sepia(82%) saturate(563%) hue-rotate(317deg) brightness(84%) contrast(89%) drop-shadow(0 0 0.3rem black);
}
.team2overlay {
  filter: invert(51%) sepia(51%) saturate(328%) hue-rotate(156deg) brightness(96%) contrast(86%) drop-shadow(0 0 0.3rem black);
}
.team3overlay {
  filter: invert(48%) sepia(58%) saturate(355%) hue-rotate(5deg) brightness(95%) contrast(85%) drop-shadow(0 0 0.3rem black);
}
.team4overlay {
  filter: invert(40%) sepia(56%) saturate(273%) hue-rotate(90deg) brightness(95%) contrast(95%) drop-shadow(0 0 0.3rem black);
}
.teampic1 {
  background-image: url("/includes/teams/images/team1.png");
}
.teampic2 {
  background-image: url("/includes/teams/images/team2.png");
}
.teampic3 {
  background-image: url("/includes/teams/images/team3.png");
}
.teampic4 {
  background-image: url("/includes/teams/images/team4.png");
}
#home-section {
  height: calc(100% - 64px);
}
.home-screen {
  display: none;
}
.home-screen .wrapper .content {
  padding-top: 75px;
  overflow-y: scroll;
}
.fireworks {
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
}
.gameover-panel {
  margin-bottom: 10px;
}
.gameover-panel .gameover-title {
  font-size: 27px;
  margin: 6px;
}
.teamcrest {
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  z-index: 12;
  top: calc(50% - 75px);
  opacity: 0;
  filter: drop-shadow(0 3px 0.3rem black);
  background-size: contain;
  width: 150px;
  height: 150px;
  margin: auto;
  left: calc(50% - 75px);
  transition: all 0.5s ease;
}
.teamcrest.team1 {
  background-image: url(/includes/teams/images/team1.png);
}
.teamcrest.team2 {
  background-image: url(/includes/teams/images/team2.png);
}
.teamcrest.team3 {
  background-image: url(/includes/teams/images/team3.png);
}
.teamcrest.team4 {
  background-image: url(/includes/teams/images/team4.png);
}
.teamcrest.top {
  top: 1px;
  width: 85px;
  height: 85px;
  left: calc(50% - 42.5px);
}
.teamcrest.hidden {
  opacity: 0 !important;
}
.teamcrest.teams {
  top: 116px;
  left: 8px;
  width: 100px;
  height: 100px;
}
.teamcrest.leaderboard {
  top: 9px;
  width: 40px;
  height: 40px;
  left: calc(50% - 22.5px);
}
.profile-panel {
  min-height: 145px;
  max-width: 600px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.profile-panel .gargoyle {
  margin: auto;
  left: 0;
  right: 0;
  bottom: -27px;
  background-position: center;
  position: absolute;
  z-index: 10;
  background-size: contain;
  width: 70px;
  height: 64px;
  background-repeat: no-repeat;
  background-image: url("../ui/images/gargoyle.png");
  filter: drop-shadow(0 5px 0.3rem black);
}
.profile-panel .gargoyle.step1 {
  background-image: url("../ui/images/gargoyle_1.png");
}
.profile-panel .gargoyle.step2 {
  background-image: url("../ui/images/gargoyle_2.png");
}
.profile-panel .gargoyle.step3 {
  filter: drop-shadow(0 0px 0.3rem #ffa800);
}
.profile-panel .team {
  position: absolute;
  z-index: 10;
  background-size: contain;
  width: 50px;
  height: 50px;
  right: 17px;
  top: 16px;
  filter: drop-shadow(0 2px 0.1rem black);
}
.profile-panel .team.team1 {
  background-image: url("images/team1_snitch_bkg.png");
}
.profile-panel .team.team2 {
  background-image: url("images/team2_snitch_bkg.png");
}
.profile-panel .team.team3 {
  background-image: url("images/team3_snitch_bkg.png");
}
.profile-panel .team.team4 {
  background-image: url("images/team4_snitch_bkg.png");
}
.profile-panel .team .personal-team-score {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.9);
}
.profile-panel .txtcontent {
  margin-left: 130px;
  margin-top: -12px;
  width: auto;
  text-align: left;
}
.profile-panel .txtcontent .rank-container,
.profile-panel .txtcontent .score-container,
.profile-panel .txtcontent .secret-score-container {
  display: flex;
  font-weight: bold;
  font-size: 20px;
  margin: 16px 0;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
}
.profile-panel .txtcontent .rank-container.secret-active,
.profile-panel .txtcontent .score-container.secret-active,
.profile-panel .txtcontent .secret-score-container.secret-active {
  margin: 6px 0;
}
.profile-panel .txtcontent .score-title,
.profile-panel .txtcontent .rank-title,
.profile-panel .txtcontent .secret-score-title {
  color: #e4a620;
}
.countdown-panel {
  max-width: 600px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.countdown-panel .txtcontent {
  margin: auto;
}
.countdown-panel .txtcontent .countdown-title {
  font-weight: 700;
  font-size: 22px;
  margin: 0;
  text-shadow: 0px 1px 4px #000000;
}
.countdown-panel .txtcontent .timer-container {
  display: flex;
  justify-content: space-around;
}
.countdown-panel .txtcontent .timer-container .time-container {
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.3);
}
.countdown-panel .txtcontent .timer-container .time-container div:first-of-type {
  font-size: 25px;
}
.countdown-panel .txtcontent .timer-container .time-container .count-title {
  color: #e4a620;
}
.question-panel {
  max-width: 600px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}
.question-panel .txtcontent {
  margin: auto;
}
.question-panel .txtcontent .question-title {
  font-weight: 100;
  font-size: 25px;
  margin: 0;
  margin-bottom: 10px;
  filter: drop-shadow(0 5px 0.3rem black);
}
.question-panel .txtcontent .question-progress {
  margin-top: 11px;
  font-size: 14px;
}
.profile-pic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 10;
  background-size: contain;
  top: -4px;
  left: -12px;
  width: 150px;
  height: 150px;
  background-image: url("images/profile_images_bkg.png");
  filter: drop-shadow(0 5px 0.8rem black);
}
.profile-pic-container .camerapic {
  width: 30%;
}
.profile-pic-container .profilepic {
  width: 80%;
}
.home-background-container {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  opacity: 0;
}
.home-background-container .home-background-cover {
  width: 100%;
  height: 100%;
  background-color: black;
  position: absolute;
  z-index: 1;
  opacity: 0.6;
}
.home-background-container .home-background {
  width: 100%;
  height: 100%;
  background-size: cover;
}
.home-video {
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  object-fit: cover;
  position: absolute;
}
.home-video-intro {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.howto {
  margin: 0;
}
.howto .stonebtn {
  width: 200px;
  margin: auto;
}
.hint {
  border-top: 1px dashed rgba(255, 255, 255, 0.5);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
  padding: 10px 0;
  margin: 10px 0;
}
#hint-btn {
  width: 200px;
  margin: auto;
  margin-top: 12px;
}
.close-alertpanel {
  position: absolute;
  bottom: -33px;
  z-index: 12;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 9px;
  background-image: url("../navigation/images/nav_btn_bkg.png");
  filter: drop-shadow(0 5px 0.3rem black);
}
