body{ margin: 0; } #container { height: 300px; position: relative; background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url(images/basketball-court.jpg); margin-bottom: 0px; display: flex; justify-content: center; align-items: center; flex-direction: column; position: relative; background-size: cover; background-repeat: no-repeat; background-position-y: center; background-position-x: center; } .divider { width: 100%; /* Ancho al 100% del contenedor */ height: 2px; /* Altura de la línea */ background-color: #d6d6d6; /* Color de la línea */ position: absolute; /* Posiciona la línea */ bottom: 50%; /* Alinea la línea debajo de los círculos */ } /* Media Query para orientación horizontal */ @media screen and (orientation: landscape) { .divider { width: 2px; /* Cambia el ancho a 2px para hacerla horizontal */ height: 100%; /* Mantén la altura al 100% */ bottom: auto; /* Elimina el posicionamiento bottom */ left: 50%; /* Alinea la línea en el centro horizontal */ transform: translateX(-50%); /* Centra horizontalmente */ } } .draggable { position: absolute; cursor: pointer; user-select: none; } .dragging { background-color: #209795 !important; /* Cambia el color del círculo mientras se arrastra */ } .ball.dragging { background-color: #d07e13 !important; /* Cambia el color del círculo mientras se arrastra */ } .square { width: 35px; height: 35px; background-color: #4949ae; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-weight: bold; border: #000 solid 4px; z-index: 2; filter: drop-shadow(1px 1px 10px #000000b4); } .circle { width: 30px; height: 30px; border-radius: 50%; } .ball { background: url(images/ball.png); background-size: contain; background-repeat: no-repeat; background-position-y: top; background-position-x: center; width: 45px; height: 45px; } .green-circle { background-color: #963d3d; } .number { color: white; font-size: 18px; } #drawingCanvas { position: absolute; top: 0; left: 0; pointer-events: none; } #recordingIndicator { display: none; width: 10px; height: 10px; border-radius: 50%; background-color: red; margin-left: 5px; } #undoMovement { display: none; } .hidden{ display: none; } .header{ height: 150px; width: 100%; } .img-tap-frase{ position: absolute; top: 21%; width: 120px; filter: drop-shadow(1px 1px 5px #000000); } .img-tap-site{ position: absolute; top: 47%; width: 120px; filter: drop-shadow(1px 1px 5px #000000); } .img-promesas{ position: absolute; bottom: 10%; right: 30px; width: 100px; filter: drop-shadow(1px 1px 5px #ffffff85); } .img-tap{ position: absolute; bottom: 8%; left: 10px; width: 150px; filter: drop-shadow(1px 1px 5px #ffffff85); } @media (min-width: 600px) { .square{ width: 90px; height: 90px; font-size: 40px; } .circle{ width: 100px; height: 100px; } #container > img{ transform: scale(3); } .img-tap{ left: 10%; } .img-promesas{ right: 12%; } } @media (min-width: 1025px) { #container{ display: none; } }