@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
}
/* Estilo de la imagen principal */
.game-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Galería de miniaturas */
.game-gallery {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.game-thumbnail {
    width: 50px;  /* puedes ajustar este valor según lo que quieras */
    height: 40px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

/* Efecto al pasar el ratón sobre las miniaturas */
.game-thumbnail:hover {
    transform: scale(1.1);
}

/* Estilo de la información del juego */
.game-info {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    margin-top: -50px;
    transition: bottom 0.5s ease;
}

.game-info h3 {
    margin: 0;
    font-size: 18px;
}

.price {
    font-size: 16px;
    font-weight: bold;
}


body {
    background-color: black;
}

/* Estilo del encabezado */
.header {
    background-color: #292727;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 85px;
    padding: 5px 10%;
}

.marca {
    border-radius: 14em;
}

.header .logo {
    cursor: pointer;
    margin-right: auto;
}

.header .logo img {
    height: 70px;
    width: auto;
    transition: all 0.3s;
}

.header .logo img:hover {
    transform: scale(1.2);
}

.header .nav-links {
    list-style: none;
}

.header .nav-links li {
    display: inline-block;
    padding: 0 20px;
}

.header .nav-links li:hover {
    transform: scale(1.1);
}

.header .nav-links a {
    font-size: 700;
    color: #eceff1;
    text-decoration: none;
}

.header .nav-links li a:hover {
    color: #ffbc0e;
}

/* Estilo del botón de inicio de sesión */
.header .btn button {
    margin-left: 20px;
    font-weight: 700;
    color: #6e0d0d;
    padding: 9px 25px;
    background: #eceff1;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.header .btn button:hover {
    background-color: #e2f1f8;
    color: #ffbc0e;
    transform: scale(1.1);
}

/* Estilos para el menú de compra de juegos */
.game-menu {
    display: flex;
    justify-content: center;
    padding: 40px;
    gap: 30px;
}

.game-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.game-main-img {
    width: 400px;
    height: 225px;
    object-fit: cover;
    border-radius: 10px;
}

.game-gallery {
    display: flex;
    gap: 10px;
}

.game-thumbnail {
    width: 100px;
    height: 56px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game-thumbnail:hover {
    transform: scale(1.1);
}

.game-info {
    color: white;
    max-width: 500px;
}

.game-info h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.game-description {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 15px;
}

.game-price {
    font-size: 24px;
    font-weight: bold;
    color: #ffbc0e;
    margin-bottom: 20px;
}

.game-actions {
    display: flex;
    gap: 20px;
}

.btn-buy, .btn-add-cart {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: #ffbc0e;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-buy:hover, .btn-add-cart:hover {
    background-color: #ff8c00;
}

.btn-buy:focus, .btn-add-cart:focus {
    outline: none;
}

/* Estilo de la imagen principal */
.game-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Galería de miniaturas */
.game-gallery {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.game-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

/* Efecto al pasar el ratón sobre las miniaturas */
.game-thumbnail:hover {
    transform: scale(1.1);
}

/* Estilo del contenedor de la información del juego */
.game-info {
    margin-top: 20px;
    color: white;
}

.game-info h2 {
    margin: 0;
    font-size: 24px;
}

.game-description {
    font-size: 16px;
    color: #ccc;
    margin: 10px 0;
}

.game-price {
    font-size: 18px;
    font-weight: bold;
    color: #ffbc0e;
}

.game-actions button {
    background-color: #ffbc0e;
    border: none;
    color: white;
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.game-actions button:hover {
    background-color: #e4a900;
}

