/* TODO */
*{
    margin: 0%;
    padding: 0%;
    }

/* Cuerpo */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #190482;
    position: relative;
    padding-bottom: 8em;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    }


/* Cabecera */
header {
    background-color: #7752FE;
    color: black;
    padding: 1.3em;
    max-height: 40px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    }

/* subcabecera */
.subheader {
    background-color: #4b0082;
    color: #fff;
    text-align: center;
    padding: 15px 0; 
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 2;
}

/* menu de la cabecera */
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f00; /* Cambia el color al pasar el ratón sobre la categoria */
}

.dropdown {
    position: relative;
    display: inline-block;
    padding-inline: 40px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #652394; /* Púrpura más oscuro para el submenú */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    padding: 25px; /* Más espacio dentro del submenú */
    border-radius: 10px; 
}

.dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #e0d1ff; /* Fondo morado más claro al pasar el ratón */
}

main{
    margin-bottom: 300px;
    margin-top: 50px;
}

section {
    width: 90%;
    margin: 50px auto;
    padding: 20px;
    background-color: #7752FE;
    border-radius: 8px;
    box-shadow: 0 0 40px;
    max-width: 70%;
    max-height: 70%;
    }
    section img{
        border-radius: 8px;
        max-width: 70%;
        height: auto;
        margin: 20px;
        padding: 5px;
        display: inline-block;
        margin: auto;
        }
        section:hover {
            transform: scale(1.05);
            transition: all 0.6s ease-in;
            border: 1px solid white;
        }
    section h1{
        text-align: center;
        margin-right: 30%;
    }

#section1 {
    width: 92%;
    max-height: 500px;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 0.9em;
    text-align: center;
    flex-grow: 1;
    }
#section1 img {
    padding-top: 10%;
    padding-bottom: 10%;

}
#section1 img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in;
    }
    
.fifa24:hover {
    background-color: #8d70f5;
    color: white;
    transition: .4s ease-in-out;
    border-radius: 5px;
    }

.spiderman2:hover {
    background-color: #8d70f5;
    color: white;
    transition: .4s ease-in-out;
    border-radius: 5px;
    }
    
.godofwar:hover {
    background-color: #8d70f5;
    color: white;
    transition: .4s ease-in-out;
    border-radius: 5px;
    }

.mortalkombat:hover {
    background-color: #8d70f5;
    color: white;
    transition: .4s ease-in-out;
    border-radius: 5px;
    }

.thelastofus:hover {
    background-color: #8d70f5;
    color: white;
    transition: .4s ease-in-out;
    border-radius: 5px;
    }

.modernwarfare:hover {
    background-color: #8d70f5;
    color: white;
    transition: .4s ease-in-out;
    border-radius: 5px;
    }

    .TomClancysTheDivision2:hover {
        background-color: #8d70f5;
        color: white;
        transition: .4s ease-in-out;
        border-radius: 5px;
        }
    
    .BattlefieldV:hover {
        background-color: #8d70f5;
        color: white;
        transition: .4s ease-in-out;
        border-radius: 5px;
        }
        
    .BlackOpsIII:hover {
        background-color: #8d70f5;
        color: white;
        transition: .4s ease-in-out;
        border-radius: 5px;
        }
    
    .RedDeadRedemption2:hover {
        background-color: #8d70f5;
        color: white;
        transition: .4s ease-in-out;
        border-radius: 5px;
        }
    
    .ForzaMotorsport7:hover {
        background-color: #8d70f5;
        color: white;
        transition: .4s ease-in-out;
        border-radius: 5px;
        }
    
    .AssassinsCreed:hover {
        background-color: #8d70f5;
        color: white;
        transition: .4s ease-in-out;
        border-radius: 5px;
        }

        .HogwartsLegacy:hover {
            background-color: #8d70f5;
            color: white;
            transition: .4s ease-in-out;
            border-radius: 5px;
            }
        
        .TheLastofUsPartI:hover {
            background-color: #8d70f5;
            color: white;
            transition: .4s ease-in-out;
            border-radius: 5px;
            }
            
        .GodofWar:hover {
            background-color: #8d70f5;
            color: white;
            transition: .4s ease-in-out;
            border-radius: 5px;
            }
        
        .Battlefield2042:hover {
            background-color: #8d70f5;
            color: white;
            transition: .4s ease-in-out;
            border-radius: 5px;
            }
        
        .DeadbyDaylight:hover {
            background-color: #8d70f5;
            color: white;
            transition: .4s ease-in-out;
            border-radius: 5px;
            }
        
        .Minecraft:hover {
            background-color: #8d70f5;
            color: white;
            transition: .4s ease-in-out;
            border-radius: 5px;
            }



/* Logo de la cabecera */
#logo {
    position: absolute;
    height: 55px;
    width: 55px;
    top: 10px;
    left: 30px;
}

/* Logo de compra de la cabecera */
#carritocompra{
    position: absolute;
    height: 35px;
    width: 35px;
    top: 20px;
    right: 110px;
}

/* Logo de compra de la cabecera */
#logousuario{
    position: absolute;
    height: 35px;
    width: 35px;
    top: 20px;
    right: 50px;
}

/* Titulo de la cabecera */
.button {
    margin: 0;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    cursor: pointer;
  }
  
  /* button styling */
  .button {
    --border-right: 6px;
    --text-stroke-color: #190482;
    --animation-color: #df17fc;
    --fs-size: 2em;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: var(--fs-size);
    font-family: "Arial";
    position: relative;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-stroke-color);
  }
  /* this is the text, when you hover on button */
  .hover-text {
    position: absolute;
    box-sizing: border-box;
    content: attr(data-text);
    color: var(--animation-color);
    width: 0%;
    inset: 0;
    border-right: var(--border-right) solid var(--animation-color);
    overflow: hidden;
    transition: 0.5s;
    -webkit-text-stroke: 1px var(--animation-color);
  }
  /* hover */
  .button:hover .hover-text {
    width: 100%;
    filter: drop-shadow(0 0 23px var(--animation-color))
  }

/*Aviso de cookie*/
.aviso-cookies {
	display: none;
	background: #fff;
	padding: 20px;
	width: calc(100% - 40px);
	max-width: 300px;
	line-height: 150%;
	border-radius: 10px;
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 100;
	padding-top: 60px;
	box-shadow: 0px 2px 20px 10px rgba(222,222,222,.25);
	text-align: center;
}

.aviso-cookies.activo {
	display: block;
}

.aviso-cookies .galleta {
	max-width: 100px;
	position: absolute;
	top: -50px;
	left: calc(50% - 50px);
}

.aviso-cookies .titulo,
.aviso-cookies .parrafo {
	margin-bottom: 15px;
}

.aviso-cookies .boton {
	width: 100%;
	background: #8d70f5;
	border: none;
	color: white;
	font-family: 'Roboto', sans-serif;
	text-align: center;
	padding: 15px 20px;
	font-weight: 700;
	cursor: pointer;
	transition: .3s ease all;
	border-radius: 5px;
	margin-bottom: 15px;
	font-size: 14px;
}

.aviso-cookies .boton:hover {
	background: #190482;
}

.aviso-cookies .enlace {
	color: #4DBFFF;
	text-decoration: none;
	font-size: 14px;
}

.aviso-cookies .enlace:hover {
	text-decoration: underline;
}

.fondo-aviso-cookies {
	display: none;
	background: rgba(0,0,0,.20);
	position: fixed;
	z-index: 99;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
}

.fondo-aviso-cookies.activo {
	display: block;
}

/* Estilo del footer */
footer {
    background-color: #7752FE;
    color: black;
    padding: 35px 0px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    }
  
.footer-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
  
.footer-section {
    flex: 1;
    max-width: 300px;
    margin: 0 20px;
    text-align: left;
    
    }
  
.footer-section h2 {
    color: black;
    border-bottom: 2px solid #190482;
    padding-bottom: 10px;
    margin-bottom: 20px;
    }
  
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    }
  
.footer-section li {
    margin-bottom: 10px;
    }
.footer-section p{
    color: black;
    text-decoration: none;
    margin-top: 10px;
    }

.payment-methods img {
    margin: 0 10px 15px;
    }
  
.footer-links {
    margin-top: 20px;
    }
  
    .footer-links a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    }

.footer-social {
    margin-top: 10px;
    }
  
.footer-social a {
    color: black;
    text-decoration: none;
    font-size: 20px;
    }