/* NUEVOS */
.colorNuevo1 {
  background-color: #8C7785;
}
.colorNuevo2 {
  background-color: #3C2040;
}
.colorNuevo3 {
  background-color: #1E0126;
}
.colorNuevo4 {
  background-color: #350D40;
}
.colorNuevo5 {
  background-color: #F2E7DC;
}

.bg-5 { background-color: #1E01260D; }  /* 5% */
.bg-10 { background-color: #1E01261A; } /* 10% */
.bg-15 { background-color: #1E012626; } /* 15% */
.bg-20 { background-color: #1E012633; } /* 20% */
.bg-25 { background-color: #1E012640; } /* 25% */
.bg-30 { background-color: #1E01264D; } /* 30% */
.bg-35 { background-color: #1E012659; } /* 35% */
.bg-40 { background-color: #1E012666; } /* 40% */
.bg-45 { background-color: #1E012673; } /* 45% */
.bg-50 { background-color: #1E012680; } /* 50% */
.bg-55 { background-color: #1E01268C; } /* 55% */
.bg-60 { background-color: #1E012699; } /* 60% */
.bg-65 { background-color: #1E0126A6; } /* 65% */
.bg-70 { background-color: #1E0126B3; } /* 70% */
.bg-75 { background-color: #1E0126BF; } /* 75% */
.bg-80 { background-color: #1E0126CC; } /* 80% */
.bg-85 { background-color: #1E0126D9; } /* 85% */
.bg-90 { background-color: #1E0126E6; } /* 90% */
.bg-95 { background-color: #1E0126F2; } /* 95% */
.bg-100 { background-color: #1E0126FF; } /* 100% */

#toggleConfirmPassword:hover {
  background-color: #1E012680;
}
#togglePassword:hover {
  background-color: #1E012680;
}
.result {
  flex: 1 1 auto;
}

.w-40 {
  width:40%;
}
.w-60 {
  width:60%;
}
.w-80 {
  width:80%;
}
.w-90 {
  width:90%;
}
.vh-5 {
  height:5vh;
}
.vh-10 {
  height:10vh;
}
.vh-15 {
  height:15vh;
}
.vh-55 {
  height:55vh;
}
.vh-60 {
  height:60vh;
}
.vh-85 {
  height:85vh;
}
.vh-90 {
  height:90vh;
}
.vh-95 {
  height:95vh;
}
.vh-100 {
  height:100vh;
}

.infoDescriptor {
  color: #F2E7DC;
}

.svgColor {
  fill:#989795;
  max-width: 2em;
  min-width: 2em;
  max-height: 2em;
  min-height: 2em;
}

.svgColor:hover {
  fill: whitesmoke;
}

.acceptButton {
  color: #F2E7DC;
  background-color: #350D40;
  border-color: #350D40;
  border-style: solid;
  border-width: 0.1em;
  border-radius: 1em;
  font-size: 2em;
  padding: 1em 2em;
  width: auto;
  transition: all 0.3s ease;
}

.acceptButton-lg {
  color: #F2E7DC;
  background-color: #350D40;
  border-color: #350D40;
  border-style: solid;
  border-width: 0.1em;
  border-radius: 0.6em;
  font-size: 1.5em;
}

.acceptButton-lg:disabled {
  color: #F2E7DC;
  background-color: #1E012680;
  border-color: transparent;
  border-style: solid;
  border-width: 0.1em;
  border-radius: 0.6em;
  font-size: 1.5em;
}

.acceptButton:disabled {
  color: #F2E7DC;
  background-color: #1E012680;
  border-color: transparent;
  cursor: not-allowed;
}

.cancelButton {
  color:  #350D40;
  background-color:#F2E7DC;
  border-color: #350D40;
  border-style: solid;
  border-width: 0.1em;
  border-radius: 1em;
  font-size: 2em;
  padding: 1em 2em 1em 2em;
}
.slideButton {
  position: relative;
  overflow: hidden;  
  color: #1E0126;
  border-radius: 1em;
}

.slideButton::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #350D40;
  transition: left 0.4s ease;
  z-index: 0;

}

.slideButton:hover::before {
  left: 0;
}

.slideButton:hover {
  color: #F2E7DC;
}

.slideButton h5 {
  position: relative;
  z-index: 1;
}

.rightRounded {
  border-radius: 0 10em 10em 0;
}
#selectionBg {
  max-width:  15em;
  max-height: 15em;
  height:     15em;
  width:      15em;
}
.svgProfile {
  max-width:  5em;
  max-height: 5em;
  height:     5em;
  width:      5em;
}
.svgButtons {
  max-width:  5em;
  max-height: 5em;
  height:     5em;
  width:      5em;
}
.svgIcons {
  height:10em;
  width:10em;
}
.cursorPointer {
  cursor:pointer;
}

.profileIcon {
  background-size: cover;
}
/* .editIcon:hover {
  opacity: 0.6;
  background-color: white;
  cursor:pointer;
} */
.editIcon {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20%;
  opacity: 0;
  
  position:absolute;
}
.purpleCard {
  background-color: #8C7785;
  border-color:#1E0126;
  border-width: 3px;
  border-style: solid; 
}


.friend-btn {
  all: unset;
  cursor: pointer;
  border-radius: 50%;
}

.friend-btn > img {
  max-width:  2em;
  max-height: 2em;
  height:     2em;
  width:      2em;
}

/* ----------ELEMENTOS GENERALES---------- */
body {
  background-color: #F2E7DC;  
}
body,html {
  overflow-x: hidden;
  padding:0;
  margin:0;
}

select {
  text-align:center;
  height: 3em; 
  border-radius: 12px;
  width: 75%;
}

header {
  height: 10vh;
  position: sticky;
  z-index: 1050;
}
.dropdown-menu {
  position: absolute;
  z-index: 2000;
}
a[href] {
  text-decoration: none;
}

a, div {
  text-decoration: none;
}


ul li{
  list-style: none;
}

.statsSvg {
  max-width: 2em;
  max-height: 2em;
}

.linkList::before {
  content: "•"; 
  color: #989795;
  position: relative;
  right:1.1em;
}
footer {
  background-color: #302e2b;
}
footer a{
  text-decoration: none;
  color: #989795;
}

/* ----------CLASES---------- */

body::-webkit-scrollbar {
  display: none;
}

.scrollable {
  overflow-y:scroll;
  overflow-y:auto;
  overflow-x: hidden;
}

.scrollableIcons {
  overflow-x: scroll;
  overflow-x: auto;
  overflow-y: hidden;
}

.scrollable::-webkit-scrollbar {
  width: 8px; 
  margin-right: 2em;
  
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: #555;
  border-radius: 4px; 
}

.scrollable::-webkit-scrollbar-thumb:hover {
  background-color: #444;
}

.shadow-25 {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.alignJustify {
  text-align: justify;
}

.fit-content{
  width:fit-content;
}

.loginImage {
  object-fit: contain;
}


/* -------------ID------------- */
 
.contenedor {
  height: 50%;
} 

.piano {
  display: flex;
  position: relative;
}

.tecla-blanca.pressed {
  box-shadow: 0px 0px 0px ;
  background-color: rgb(235, 235, 235);
  transform: translateY(2px);
  height: 153.6px
}
.tecla-blanca {
  background-color: white;
  height: 144px;
  width: 48px;
  z-index: 0;
  border: 1.5px solid black;
  border-radius: 0 0 8px 8px;
  box-shadow: 0px 7.2px 0px rgb(20,52,90);
  padding-top: 96px
}
.tecla-guia.pressed {
  box-shadow: 0px 0px 0px ;
  background-color: rgb(235, 235, 235);
  transform: translateY(7.2px);
}
.tecla-guia {
  background-color: white;
  height: 48px;
  width: 48px;
  z-index: 0;
  border: 1.5px solid black;
  border-radius:8px;
  box-shadow: 0px 7.2px 0px black
}

.tecla-negra {
  z-index: 1;
  background-color: black;
  height: 96px;
  width: 24px;
  position: absolute;
  border-radius: 0 0 5px 5px;
}

.REb4 {
  left: 36px;
}

.MIb4 {
  left: 84px;
}

.SOLb4 {
  left: 180px;
}

.LAb4 {
  left: 228px;
}

.SIb4 {
  left: 276px;
}
.svgGame {
  max-width: 1.5em;
  max-height: 1.5em;

}
input[type="text"],
input[type="password"] {
    border: 0;
}

#successMessage{
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

.strokeText{
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}
.acceptButton-sm {
  color: #F2E7DC;
  background-color: #350D40;
  border: #350D40 solid;
  border-radius: 1em;
  padding: 0.5em 1em 0.5em 1em;
}
.cancelButton-sm {
  color:  #350D40;
  background-color:#F2E7DC;
  border: solid #350D40;
  border-radius: 1em;
  padding: 0.5em 1em 0.5em 1em;
}

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.pop-animation {
  animation: pop 0.1s ease-out;
}

@keyframes floatUp {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-30px); opacity: 0; }
}
.point-animation {
  position: absolute;
  font-size: 20px;
  font-weight: bold;
  animation: floatUp 0.3s ease-out;
  pointer-events: none;
}

#myCanvas {
  transform: scale(1.4);  
  display: inline-block;
}

.pcHidden {
  display: none;
} 

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.01); }
  100% { transform: scale(1); }
}

.pulse-animation {
  animation: pulse 100ms ease-in-out;
  box-shadow: rgba(149, 157, 165, 0.4) 0px 8px 24px;
}

.box {
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  visibility: hidden;
  background-color: white;
  transition: width 0.5s ease-out;
}
.box.show {
  width: 35em;
  height: 30em;
  min-height: 30em;
  visibility: visible;
}

#divResultados > div {
  opacity:0;
}

.experienceBar {
  transition: width 2s ease-in-out; 
}

.musicIcons {
  max-width: 2em;
  max-height: 2em;
  cursor: pointer;
}

.myInvalidFeedback {
  color: #dc3545;
  font-size: 14px;
  margin-top: 4px;
}

.gameSelectors {
  background-color: #3C2040;
  border-style: solid;
  color: white;
  border-radius: 0.8em;
  font-size:2em;
  width:100%;
}

.gameSelectors:hover   {
  border:solid red;  
}
.gameSelectorsSelected {
  border: solid red;
}

.error404Img {
  max-width: 25em;
  max-height: 25em;
}

.error500Img {
  max-width: 40em;
  max-height: 30em;
}

.indexTitle {
  font-size: 14em;
  color: #1E0126;
}

.indexProgressBar {
  border-radius: 0 2em 2em 0;
  width:85%;
  height:3em
}

.filterInvert {
  filter: invert(100%);
}

.roundedCard {
  border-radius: 2em;
}

.levelDifficulty {
  height:1.5em;
  border-radius: 0 0 0.6em 0.6em;
}

.linkLogo {
  font-size: 1.5em;color: #1E0126;
  text-decoration: none;
}

.userImg {
  max-width: 2em;
}

.friendCodeImg {
  max-width: 3.5em;
  cursor:pointer;
}

#moreInformationDiv {
  margin-left:10em;
  margin-right: 10em;
}

#error500body{
  background-color: #ffa919;
}

#tutorialContent {
  border:0; 
  background-color: #F2E7DC;
}

#footerList {
  font-size: 0.9em;
}

.userIcon {
  max-height: 10em;
  height: 8em;
}

.friendIcon {
  max-width:  3em;
  max-height: 3em;
  height:     3em;
  width:      3em;
}

.actionFriendIcon, .actionUnfriendIcon, .actionDeleteIcon, .actionCancelIcon {
  max-width:  2em;
  max-height: 2em;
  height:     2em;
  width:      2em;
}

#levelText {
  font-size: 1.2em;
}

#profileProgress {
  height:1.8em;
}

#pointsSpan{
  position: absolute;
}

#scoreAdded {
  position: absolute;
  opacity: 0;
}

.crownImg {
  max-width: 5em;
  max-height: 5em;
  margin-bottom: 2em;
}

.secondPlaces {
  transform: scale(0.9);
  position: relative;
  z-index: -1;
}

.pastelRed {
  background-color: #FF9999;
}
.pastelBlue {
  background-color: #99CCFF;
}
.pastelGreen {
  background-color: #99FF99;
}

input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 100%;
  height: 3em;
  border-radius: 1em;
  background-color: transparent;
  cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: 2px solid #350D40;
  border-radius: 1em;
}

.hover-effect {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hover-effect:hover {
  transform: translateY(-2px);
  border-color: #350D40;
  box-shadow: 0 4px 15px rgba(53, 13, 64, 0.1);
}

.music-player {
  border-top: 1px solid rgba(53, 13, 64, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  width: 100%;
  z-index: 10;
}

.musicControl {
  height: 5px;
  border-radius: 5px;
  background: #350D40;
  appearance: none;
  outline: none;
}

.musicControl::-webkit-slider-thumb {
  appearance: none;
  width: 15px;
  height: 15px;
  background: #350D40;
  border-radius: 50%;
  cursor: pointer;
}

#myFriendCode {
    background-color: #350D40;
    color: black;
    border: none;
    border-radius: 0.5em 0 0 0.5em;
}

#myFriendCode {
    border: 2px solid #350D40;
    border-left: none;
    border-radius: 0 0.5em 0.5em 0;
    background-color: #F2E7DC;
}

#myFriendCode:focus {
    box-shadow: none;
    border-color: #350D40;
}

.game-option {
    transition: all 0.3s ease;
}

.game-option:hover .gameSelectors {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(53, 13, 64, 0.1);
}

.gameSelectors {
    background-color: #3C2040;
    border: 2px solid transparent;
    color: white;
    border-radius: 0.8em 0.8em 0 0;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.levelDifficulty {
    color: #350D40;
    height: auto;
    padding: 0.5em;
    border-radius: 0 0 0.6em 0.6em;
}

#divFeedback {
  margin-top:48px;
  padding-top:24px;
}

#startBtn {
  padding: 0.5em 2em 1em 2em;
} 
#bothContainer{
  padding-top: 24px;
}
#container {
  margin-bottom: 48px;
}
.profileSvg {
  max-width: 3.5em;
  max-height: 3.5em;
  min-width: 3.5em;
  min-height: 3.5em;
}


.levelDifficultyText {
  font-size: 1.3em;
}

.profileCircle {
  margin-top:0.5em;
  margin-bottom:0.5em;
  padding: 1em;
}

#profileRight {
  height:90vh;
  margin-left: -40px;
}

@media (max-width: 1399.98px) {  
  /* Pantallas muy grandes */
  
}
@media (max-width: 1199.98px) { 
  /* Escritorio grande */
  
}

@media (max-width: 991.98px) {
  /* Portatiles */
  .container-fluid {
    padding: 1rem !important;
    }
    
    .game-preview {
        height: 400px;
    }
    
    .game-description {
        height: 100px;
    }
    
    .acceptButton {
        font-size: 1.5em;
        padding: 0.75em 1.5em;
    }
    
    .gameSelectors {
        font-size: 1.2em;
        padding: 0.75em;
    }
}

@media (max-width: 767.98px) {
  /* Tablets */
  
}
@media (max-width: 575.98px) {
  /* Moviles (landscapes y superior) */
 
}

.game-preview {
  height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}


.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

#seeMore {
  transition: transform 0.3s ease;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1em;
}

.text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 2em 1em 1em 1em;
  color: white;
  border-radius: 0 0 1em 1em;
}

.text-overlay .scrollable {
  max-height: 150px;
  overflow-y: auto;
}

.text-overlay .scrollable::-webkit-scrollbar {
  width: 8px;
}

.text-overlay .scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.text-overlay .scrollable::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.loginDiv {
  max-width: 30em;
}
#vhDiv {
  height: 90vh;
}
.registerDiv{
  margin-top:1.5rem;
  margin-bottom:1.5rem;
}

#register {
  width:50%;
}

#canvasParent {
  justify-content: flex-end;
}

.puntuation {
  margin-left: 35%;
}
#profileDiv {
  padding-right: 24px;
  padding-left: 24px;
}

.myh3 {
  font-size: 1.8em;
  font-weight:600;
}

.dateSpan {
  font-size: 2em;
}

.hourSpan {
  font-size: 1.5em;
}
.nameSpan {
  font-size: 2.2em;
}


@media (max-width: 576px) {

  .nameSpan {
    font-size: 1em;
  }

  .dateSpan {
    font-size: 0.85em;
  }

  .hourSpan {
    font-size: 0.75em;
  }

  .notesDescriptor {
    font-size: 0.75em;
  }
  .myh3 {
    font-size: 0.9em;
    font-weight:600;
  }

  #friendsBtn, #sentRequestBtn, #recivedRequestBtn {
    font-size:1.2em;
  }
  .phoneImage {
    max-height: 20em;
  }

  .levelDifficulty {
    height:2em;
    border-radius: 0 0 0.6em 0.6em;
  }

  .levelDifficultyText {
    font-size: 1em;
    margin-bottom: 0.3em;
  }
  
  .game-preview {
    height: 250px;
  }

  .game-description {
    height: 80px;
  }
  
  .acceptButton {
    font-size: 1.2em;
    padding: 0.5em 1em;
  }

  #searchFriend {
    font-size: 0.9em;
    padding-right: 0.1em;
    padding-left: 0.1em;
  }
  #mainDiv {
    max-width: none !important;
    width: 90%;
  }
  #profileDiv {
    padding: 0;
  }

  .vh-90 {
    height: 94dvh;
  }
  
  .registerDiv{
    margin-top:0.5rem;
    margin-bottom:0.5rem;
  }
  #register {
    width:92%;
  }
  header {
    height: 6vh;
  }

  .indexTitle {
    font-size: 4.5em;
  }

  .cancelButton , .acceptButton {
    font-size: 1em;
    padding: 1em 2em 1em 2em;
    width:15em;
  }
 
  .d-flex.justify-content-center.mt-5 {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .d-flex.justify-content-center.mt-5 .me-lg-5 {
    margin-right: 0 !important;
  }

  .headerLinks {
    font-size: 1em;
  }

  .slideButton {
    border-radius: 0;
  }

  #footerList {
      flex-direction: column;
      align-items: center;
      padding: 0;
      margin: 0;
  }

  #footerList li {
      margin: 0.5rem 0 !important;
  }

  #footerList .linkList::before {
      display: none;
  }
  
  .d-flex.justify-content-center.mt-5 {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .d-flex.justify-content-center.mt-5 .me-lg-5 {
    margin-right: 0 !important;
  }

  .headerLinks {
    font-size: 1em;
  }

  .slideButton {
    border-radius: 0;
  }

  footer .d-flex.justify-content-center:last-child {
    width: 100%;
    justify-content: center;
  }

  footer .d-flex.justify-content-center:last-child ul {
    margin-top: 1em;
    padding: 0;
  }

  .phoneHidden {
    display: none;
  } 
  .pcHidden {
    display: block;
  } 

  .contenedor {
    bottom: 0;
    left: 0;
    width: 40em;
    padding-bottom: 0.1em;
  }
  .piano {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 0.1em;
    margin-bottom: 6px;
  }

  .tecla-blanca {
    width: 14.28%;
  }

  .tecla-negra {
    width: 8.14%;
  }

  .REb4 {
    left: 10.4%;
  }
  
  .MIb4 {
    left: 24.7%;
  }
  
  .SOLb4 {
    left: 53.1%;
  }
  
  .LAb4 {
    left: 67.5%;
  }
  
  .SIb4 {
    left: 81.6%;
  }
  #canvasParent {
    justify-content: center;
  }
  .puntuation {
    margin: auto;
  }

  .box.show {
    width: 92%;
  }
  
  .tecla-blanca.pressed {
    box-shadow: 0px 0px 0px ;
    background-color: rgb(235, 235, 235);
    height: 144px;
  }

  #divFeedback {
    margin-top:0;
    padding-top: 0;
  }

  #streak {
    margin-bottom: 0;
  }
  
  #startBtn {
    padding: 0.5em;
  } 

  .pulse-animation {
    animation: none;
    box-shadow:none;
  }

  #bothContainer{
    padding-top: 0;
  }
  #container {
    margin-bottom: 0;
  }

  .userIcon {
    max-height: 3em;
    height: 3em;
  }

  .profileSvg {
    max-width:  3.5em;
    max-height: 3.5em;
    min-width:  3.5em;
    min-height: 3.5em;
  }
  .profileCircle {
    margin-top:0.5em;
    margin-bottom:0.5em;
    padding: 0.2em;
  }
  #profileRight {
    margin-left: 0;
  }
  .crownImg {
    max-width: 2em;
    max-height: 2em;
    margin-bottom: 0.5em  ;
  }
  .friendCodeImg {
    max-width: 2em;
  } 
  .h1Profile {
    font-size: 1em;
  }
  .h2Profile {
    font-size: 0.9em;
  }
  .h3Profile {
    font-size: 0.8em;
  }
  .h4Profile {
    font-size: 0.7em;
  }
  .fixedHeight {
    min-height: 18em;
    max-height: 18em;
  }
}