*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-background: #f5f5f5;
    --degrade: linear-gradient(35deg, rgba(72, 54, 125, 1) 0%, rgba(215, 65, 31, 1) 100%);
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-md);
    color: var(--color-text);
    /* background-color: var(--color-background); */
    background-image: var(--degrade);
    background-repeat: no-repeat;
    background-attachment: fixed; /* Mantiene el fondo fijo al hacer scroll */
    -webkit-tap-highlight-color: transparent;

    /* Llama a la animación: nombre, duración, estilo y bucle infinito */
    animation: moverDegrade 10s ease infinite;
}

/* Define el movimiento cambiando la posición del fondo */
@keyframes moverDegrade {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

:focus-visible {
    outline: 3px solid var(--color-secondary);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.td-player, .sdl-player, .cdl-player, .screen-title {
    margin: 0;
    font-size: 1.6rem;
    color: #ffffff;
}