:root{
    --primary-color: #482560;
    --secondary-color: #8430bb;
    --terciary-color:#deb0fc;
    --cuarto-color:#7928ae;
    --accent-color: #ef007e;
    --blanco: #ffff;
    --gris-0: #F9F9F9;
    --gris-1: #d8d7d7;
    --gris-2: #474646;
    --gris-3: #636262;
    --black: #000000;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-display: swap;
}

body {
    margin: 1rem;
    padding: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/fondo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(28%); /* Ajusta el valor para cambiar la oscuridad */
    z-index: -1;
}

.bold{
    font-weight: 900;
}

.light{
    font-weight: 400;
}

.secondary-color-GM{
    color: var(--secondary-color);
}

.background-secondary-color-GM{
    background-color: var(--secondary-color);
    color: var(--blanco);
}

.terciary-color-GM{
    color: var(--terciary-color);
}

.background-terciary-color-GM{
    background-color: var(--terciary-color);
    color: var(--blanco);
}

.button-custome-GM{
    background-color: var(--secondary-color);
    color: var(--blanco);
}

.button-custome-GM:hover{
    background-color: var(--cuarto-color);
    color: var(--blanco);
}

.input-GM{
    width: 13rem;
    min-width: 10rem;
}

.input-GM:focus { 
    outline: none; /* Eliminamos el borde predeterminado al hacer clic */
    box-shadow: 0 0 10px var(--terciary-color); /* Cambiamos el color de la sombra al hacer clic */
    border-color: var(--terciary-color);
}

/*Tabla*/

.buscador{
    width: 100%;
    margin: auto;
    margin-bottom: 1rem;
    display: flex;
    grid-gap: 0.5rem;
}

.tabla-contenedor-GM{
    width: 95%;
    margin: auto;
}

.barra-botones{
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: end;
    grid-gap: 0.5rem;
}

/*Fondo violeta*/

.info-actor-fondo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1; /* Asegura que el fondo esté detrás de otros elementos */
}

.info-actor{
    width: 90%;
    position: fixed;
    bottom: 20px; /* Por ejemplo, ajusta la posición según tus necesidades */
    left: 16px; /* Por ejemplo, ajusta la posición según tus necesidades */
    z-index: 1; /* Asegura que esté encima del fondo */
    display: flex;
    grid-gap: 1rem;
}

.info-foto{
    width: 30%;
    display: grid;
    grid-gap: 1rem;
}

.imagen-actor{
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center; 
}

.nombre-nacionalidad{
    width: 100%;
    margin: auto;
    display: grid;
}

.nombre-actor{
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    grid-gap: 0.5rem;
    font-size: 1.5rem;
}

.nacionalidad{
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    
}


.pelis-destacadas{
    width: 70%;
    justify-self: end;
    align-self: end;
}

