* {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  box-sizing: border-box;
  padding: 0;
	margin: 0;
}

body, html {
  height: 100%;
  overflow: hidden;
  font-family: "Helvetica Neue LT 45", Helvetica, Arial, sans-serif;
  line-height: 1;
  background-color: black;
}

#container {
  position: absolute;
}

.portrait #container {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* CANVAS AND VIDEO */
#backgroundVideoCanvas {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#backgroundVideo {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* OVERLAY */
#infoWindowOverlay {
  display: block;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

/* INFO WINDOWS */
.infoWindow {
  display: none;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f39500;
  padding: 65px;
  padding-bottom: 41px;
  width: auto;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.7);
  text-align: center;
  z-index: 4;
}

.infoWindowTitle {
  font-size: 35px;
  margin-bottom: 50px;
  text-align: left;
  line-height: 1.1;
  color: black;
}

.infoWindowButton {
  width: 100%;
  height: 60px;
  border: none;
  font-size: 24px;
  margin-bottom: 20px;
  text-decoration: underline;
  background-color: white;
  color: black;
  cursor: pointer;
}

.infoWindowResult {
  display: block;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s linear;
  font-size: 24px;
  font-weight: bold;
}

.non-clickable {
  pointer-events: none;
}

.infoWindowGif {
  display: none;
  margin: 0 auto;
  margin-top: 20px;
  width: 80px;
  height: auto;
}

/* Ranking Container */
#rankingContainer {
  position: absolute;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-image: url(../img/fondo.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 3;
}

#rankingHeader {
  display: flex;
  width: 75%;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.ranking-box {
  color: black;
  text-align: center;
}

.ranking-position {
  font-size: 70px;
  font-weight: bold;
  font-style: italic;
  color: #f39500;
}

.ranking-points {
  display: block;
  font-size: 80px;
  background-color: #f39500;
  padding: 75px 0px;
  margin-top: 12px;
}

#userInfo {
  display: flex;
  width: 75%;
  height: 45%;
  align-items: center;
}

#userName {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 100%;
  color: #f39500;
  font-size: 80px;
  font-weight: bold;
  color: black;
  background-color: #f39500;
  gap: 30px;
}

#userIcon {
  height: 80px;
  width: auto;
  margin-top: 10px;
}

#scoreInfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 60%;
  height: 100%;
  color: black;
  background-color: white;
  font-size: 37px;
  padding-left: 70px;
}

#scoreTitle {
  font-weight: bold;
  font-size: 55px;
  margin-bottom: 30px;
}

.score-bar {
  position: relative;
  width: 60%;
  height: 8px;
  margin-top: 20px;
  margin-bottom: 30px;
  background-color: black;
}

#scoreBarRight {
  width: 70%;
  height: 100%;
  background-color: #f39500;
}

#scoreBarWrong {
  width: 30%;
  height: 100%;
  background-color: #f39500;
}

#continueRanking {
  background-color: #f39500;
  color: black;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: 75px;
  padding-right: 75px;
  margin-top: 20px;
  font-size: 24px;
  border: none;
  text-decoration: underline;
  transition: .3s;
  cursor: pointer;
}

#continueRanking:hover {
  background-color: #db8700;
}

/* PRIVACY POLICY */
.privacyPolicy {
  display: block;
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  color: white;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.5);
  text-decoration: underline;
  cursor: pointer;
}

/* LANGUAGE SELECTOR */
#languageSelector {
  position: absolute;
  top: 45px;
  left: 90px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
}

#currentLang {
  display: flex;
  background: white;
  padding: 10px;
  font-weight: bold;
  align-items: center;
}

#activeLanguage {
  width: 50px;
  height: 32px;
  margin-right: 12px;
}

#dropdownArrow {
  width: 13px;
  height: 13px;
  margin-left: 12px;
}

#langDropdown {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  background: white;
  padding: 5px;
  border-radius: 5px;
  margin-top: 8px;
  max-height: 135px;
  overflow-y: scroll;
  transition: .3s;
  scrollbar-width: thin;
}

#langDropdown a {
  display: flex;
  padding: 5px;
  text-decoration: none;
  font-weight: bold;
  align-items: center;
  color: #000 !important;
}

#langDropdown a:hover {
  background: #e4e4e4;
}

#langDropdown img {
  width: 50px;
  height: 32px;
  margin-right: 12px;
}