@import url(https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic);


/** GENERALES */
:root{
     --color-principal: #6610F2;
     --color-secundario: #0C91E5;
     --color-alternativo: #FF6537;
     --gris-default: #6C757D;
}

*{
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Roboto';
}

html{
     scroll-behavior: smooth;
}
html, body {
    width: 100%;
    overflow-x: hidden; /* Oculta cualquier desbordamiento lateral */
}


a{
     text-decoration: none;
}


.btn{
     width: 200px;
     height: 40px;
     border: none;
     border-radius: 5px;
     background: var(--color-secundario);
     color: #FFF;
     font-size: 14px;
     font-weight: 600;
     text-transform: uppercase;
     display: flex;
     justify-content: center;
     align-items: center;
     cursor: pointer;
     transition: all .5s;
}

.btn:hover{
     background: #0874B8;
}

.btn-top{
     position: fixed;
     bottom: 20px;
     right: 20px;
     width: 50px;
     height: 50px;
     background: var(--color-alternativo);
     opacity: 0.7;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 20px;
     color: #FFF;
     z-index: 1;
     transition: all .5s;
}

.btn-top:hover{
     opacity: 1;
}


.badge{
     background: var(--color-principal);
     color: #FFF;
     font-size: 11px;
     font-weight: 600;
     text-transform: uppercase;
     border-radius: 20px;
     padding: 5px 15px;
     cursor: default;
     transition: all .5s;
}






/** MENU SOCIALES  */
.nav-sociales{
     width: 100%;
     height: 35px;
     display: flex;
     justify-content: center;
     align-items: center;
     background: var(--color-principal);
}

.nav-sociales a{
     color: #FFF;
     opacity: 0.5;
     font-size: 14px;
     margin: 0 30px;
     transition: all .5s;
}


.nav-sociales a:hover{
     opacity: 1;
}



/** MENU PRINCIPAL  */
.nav-principal{
     width: 100%;
     height: 50px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 30px;
}

.nav-principal img{
     width: 250px;
     cursor: pointer;
}

/* contenedor general de la barra de busqueda */
.nav-principal .input-search{
     width: 40%;
     position: relative;
}


/* barra de busqueda */
.nav-principal .input-search input{
     width: 100%;
     height: 35px;
     border-radius: 50px;
     border: 1px solid #c4c4c4;
     color: var(--gris-default);
     outline: none;
     padding: 0 50px 0 30px;
}

/*estilo al contenido de barra de busqueda */
.nav-principal .input-search input::placeholder{
     letter-spacing: 1px;
     color: #ccc;
}

/* estilos aicono de la lupa - busqueda */
.nav-principal .input-search i{
     position: absolute;
     top: 0;
     right: 0;
     width: 50px;
     height: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     color:var(--color-alternativo);
}


.nav-principal .enlaces a{
     font-size: 14px;
     padding: 10px 15px;
     margin: 0 10px;
     text-transform: uppercase;
     font-weight: 600;
     letter-spacing: 1px;
     color: var(--gris-default);
     border-radius: 50px;
     transition: all .3s;
}

/* efectos a los enlaces */
.nav-principal .enlaces a:hover{
     color: #FFF;
}

/*efecto al primer enlace */
.nav-principal .enlaces a:nth-child(1):hover{
     background: var(--color-alternativo);
}

/*efecto al segundo enlace */
.nav-principal .enlaces a:nth-child(2):hover{
     background: var(--color-principal);
}

/*efecto al tercer enlace */
.nav-principal .enlaces a:nth-child(3):hover{
     background: var(--color-secundario);
}




/** HEADER */
header {
    width: 100%;
    height: calc(100vh - 95px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 50px;
}

header .imagen-header {
    width: 60%;
    height: 100%;
    background: url(img/game1.png);
    background-size: cover;
    background-position: center;
    clip-path: circle(90% at 92% 50%);
    z-index: 2;
    transition: all .5s;
}

header .content-header {
    width: 50%;
}

/* Aplica margen a todos los elementos dentro de content-header */
header .content-header * {
    margin: 10px 0;
}

header .content-header h3 {
    font-size: 65px;
    font-weight: 300;
}

header .content-header p {
    font-size: 19px;
}

/* ---------- RESPONSIVO ---------- */

/* TABLET (pantallas <= 1024px) */
@media (max-width: 1024px) {
    header {
        padding-left: 30px;
        height: auto;
    }

    header .imagen-header {
        width: 50%;
        clip-path: circle(100% at 90% 50%);
    }

    header .content-header {
        width: 50%;
    }

    header .content-header h3 {
        font-size: 45px;
    }

    header .content-header p {
        font-size: 17px;
    }
}

/* CELULAR (pantallas <= 768px) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding-left: 0;
        text-align: center;
        height: auto;
    }

    header .imagen-header {
        width: 100%;
        height: 250px;
        clip-path: none; /* quita la forma circular para móviles */
    }

    header .content-header {
        width: 90%;
        padding: 20px;
    }

    header .content-header h3 {
        font-size: 32px;
    }

    header .content-header p {
        font-size: 15px;
    }
}












/** DESTACADOS  */
.destacados {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.destacados::before {
    content: 'Destacados';
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 12em;
    color: rgba(0, 0, 0, 0.07);
}

.game {
    position: relative;
    width: 45%;
    height: 350px;
    margin: 40px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all .5s;
}

.game img {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%);
    height: 380px;
    z-index: 1;
    transition: all .5s;
}

.game:hover img {
    left: 75%;
    height: 400px;
}

.game .content {
    position: relative;
    width: 50%;
    left: 20%;
    padding: 20px 20px 20px 40px;
    color: #FFF;
    opacity: 0;
    transition: all .5s;
}

.game:hover .content {
    left: 0;
    opacity: 1;
}

.game .content h2 {
    text-transform: uppercase;
    font-size: 2.2em;
    line-height: 1em;
}

.game .content a {
    position: relative;
    color: #000;
    background: #FFF;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    font-weight: 700;
}

/* ---------- RESPONSIVO ---------- */

/* TABLET (≤1024px) */
@media (max-width: 1024px) {
    .destacados::before {
        font-size: 8em;
    }

    .game {
        width: 80%;
        height: 300px;
    }

    .game img {
        height: 300px;
    }

    .game .content h2 {
        font-size: 1.8em;
    }
}

/* CELULAR (≤768px) */
@media (max-width: 768px) {
    .destacados {
        flex-direction: column;
    }

    .destacados::before {
        font-size: 4em;
        top: 10px;
    }

    .game {
        width: 100%;
        height: 250px;
        margin: 20px 0;
        flex-direction: column;
        text-align: center;
    }

    .game img {
        position: relative;
        left: 0;
        transform: none;
        height: 200px;
        margin: 0 auto;
    }

    .game:hover img {
        left: 0;
        height: 220px;
    }

    .game .content {
        width: 90%;
        left: 0;
        opacity: 1; /* en móvil mostramos siempre el contenido */
        padding: 10px;
    }

    .game .content h2 {
        font-size: 1.5em;
    }

    .game .content a {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}











/** ARTICULOS */

/* Titulo de articulo */
/* ---------- RESPONSIVO ---------- */

/* TABLET (≤1024px) */
@media (max-width: 1024px) {
    .title::before {
        font-size: 8em;
        top: -60px;
    }

    .title h1 {
        font-size: 55px;
    }

    .articulos {
        padding: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .container-articulos {
        margin: 0 50px 0 0;
    }

    .card {
        flex-direction: column;
        height: auto;
        margin: 60px 0;
        text-align: center;
    }

    .card .imgBox {
        width: 100%;
        height: 250px;
    }

    .card .content {
        padding-left: 0;
        padding-top: 20px;
    }

    .card .content h3 {
        font-size: 30px;
    }

    .card .content p {
        font-size: 16px;
    }
}

/* CELULAR (≤768px) */
@media (max-width: 768px) {
    .title {
        margin: 40px 0 10px 0;
    }

    .title::before {
        font-size: 4em;
        top: -30px;
    }

    .title h1 {
        font-size: 35px;
        text-align: center;
    }

    .title .badget-container {
        flex-direction: column;
        margin: 5px 0;
    }

    .articulos {
        flex-direction: column;
        padding: 20px;
        align-items: center;
    }

    .container-articulos {
        margin: 0;
        width: 100%;
    }

    .card {
        width: 100%;
        margin: 40px 0;
    }

    .card:first-child {
        margin: 0 0 40px 0;
    }

    .card .imgBox {
        height: 200px;
    }

    .card .content h3 {
        font-size: 24px;
    }

    .card .content p {
        font-size: 14px;
    }
}











/* Menu lateral */
/* ---------- RESPONSIVO ---------- */

/* TABLET (≤1024px) */
@media (max-width: 1024px) {
    aside {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 30px;
        box-shadow: none;
    }

    aside nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    aside nav a {
        margin: 10px 15px;
        font-size: 14px;
    }

    .gallery {
        flex-wrap: wrap;
    }

    .gallery .column {
        flex: 48%;
        margin-bottom: 10px;
    }

    .gallery .column .imgContainer {
        height: 250px;
    }
}

/* CELULAR (≤768px) */
@media (max-width: 768px) {
    aside nav {
        flex-direction: column;
        align-items: center;
    }

    aside nav a {
        margin: 8px 0;
        font-size: 13px;
    }

    .gallery {
        flex-direction: column;
        padding: 0;
    }

    .gallery .column {
        flex: 100%;
        width: 100%;
    }

    .gallery .column .imgContainer {
        height: 200px;
    }
}










/*   FOOTER COPY  */
footer{
     width: 100%;
     height: 40px;
     display: flex;
     justify-content: center;
     align-items: center;
     background: #581ABD;
}

footer p{
     font-size: 14px;
     font-style: italic;
     color: #FFF;
     opacity: 0.5;
}