@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

.image-principal, .image-principal-consola {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.image-principal img, .image-principal-consola img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.info-image-content {
    position: absolute;
    bottom: 0;
    left: 50px;
    margin-bottom: 60px;
    width: 100%;
}

.info-image-content h1 {
    font-family: 'Oswald', Arial, Helvetica, sans-serif;
    color: white;
    font-size: 35px;
    background-color: red;
    padding: 0px 20px;
    width: max-content;
    transform: skew(-20deg);
    margin-bottom: 5px;
    text-shadow: 3px 1px 0 black, 3px 3px 0 black, 3px 3px 0 black, 3px 3px 0 black;
}

.info-image-content h1.playstation-color {
    background-color: #1d4c8e;
}

.info-image-content h1.xbox-color {
    background-color: #28aa26;
}

.info-image-content p {
    color: white;
    font-family: 'Oswald';
    letter-spacing: 1px;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 3px 1px 0 black, 3px 3px 0 black, 3px 3px 0 black, 3px 3px 0 black;
    text-align: left;
}

main>section {
    display: grid;
    grid-template-columns: 75% 25%;
    justify-content: center;
}

main section .container-videojuegos {
    width: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    transition: .3s ease all;
    background-color: white;
}

.dark-mode .container-videojuegos {
    background: #181a2a;
    color: white;
}

.dark-mode .add-comment p, .dark-mode .add-comment p a {
    color: white;
}




.list-country-link ul li:nth-child(1), .list-country-link-playstation ul li:nth-child(1), .list-country-link-xbox ul li:nth-child(1) {
    border-bottom: 1px solid white;

}

.list-country-link ul li a, .list-country-link-playstation ul li a, .list-country-link-xbox ul li a {
    display: block;
    text-align: left;
    padding: 10px 20px;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: white;


}



.fa-playstation:before {
    content: "\f3df";
}

.new-container-ps5 {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 10px;
    background-image: linear-gradient(180deg, rgba(1, 115, 208, 0.541) 0%, rgba(0, 37, 110, 0.541) 100%), url("../img_assets/videojuegos_consolas/playstation/fondo-playstation.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 100%;

}

.new-container-ps5.open-info {
    height: unset;
}

.new-container-ps5 .ps5 {
    display: flex;
    justify-content: space-around;

    flex-wrap: wrap;
    padding: 20px;

}

.ps5-duelsense-info {
    width: 100%;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.ps5-duelsense-info img {
    position: absolute;
    top: 50px;
    right: -200px;
    transform: rotate(-25deg);
    display: block;
    width: 600px;
    z-index: 0;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.62));
}

.ps5-duelsense-info>p {
    position: absolute;
    z-index: 1;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #ffffff;
    top: 50%;
    left: 0%;
    transform: translateY(-50%);
    font-size: 18px;
    width: 400px;
    margin-left: 20px;
    font-weight: bold;

}


.ps5-duelsense-info>span {
    display: block;
    margin-top: 10px;
    margin-left: 20px;
    font-size: 30px;
    font-family: 'Anton', Arial, Helvetica, sans-serif;
    color: white;
    text-align: center;
    text-transform: uppercase;
}

.ps5-duelsense-info> .link-accesorio  {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-accesorio a{
    display: block;
    width: 140px;
    margin-bottom: 20px;
    background-color: #181a2a;
    border: 1px solid white;  
    padding: 10px;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    margin: 10px;
    text-align: center;
}

.link-accesorio a:hover {
    background-color: #090b1a;
}


/* X PS5 */

/* ------ */

.cards-console {
    width: 250px;
    text-align: center;
    margin: 10px;
    transition: all 0.5s;
    position: relative;
}

.cards-console>img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: .3s ease;
    margin: 0px auto;
}

.cards-console>img:hover {
    transform: scale(1.2);
}



.cards-console .info-console {
    display: flex;
    flex-direction: column;


}


.content-console, .content-console-info {
    margin: 20px 30px;
    position: relative;
}



.content-console p, .content-console-info p {
    font-size: 18px;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    text-align: center;
    line-height: 25px;
    margin-top: 10px;

}

.content-console-info p {
    color: white;
    padding: 10px;
}

.consolas {
    width: 100%;
    position: relative;
}

.consolas img {
    display: block;
    width: 200px;
    height: 100%;
    margin: 0px auto;
    padding-top: 10px;
    filter: invert(100%);

}

.consolas img.xbox-image {
    filter: unset;
}

.consolas>span {
    position: absolute;
    top: 0;
    display: block;
    text-align: center;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin: 10px auto;
    margin-left: 10px;
    font-size: 15px;
    color: white;
    padding: 5px;
    border: 1px solid white;
    background-color: #181a2a;

}

.consolas>span:hover {
    cursor: pointer;
    background-color: #090b1a;
}

.info-console h4 {
    font-size: 18px;
    margin: 10px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;




}

.info-console button {
    outline: none;
    border: none;
    display: block;
    margin: 10px auto;
    position: relative;
}

.info-console .button-link-consoles {
    position: relative;
    bottom: 0;
    width: 100%;

}

.button-link-consoles>button {
    display: flex;
    justify-content: center;
    color: white;
    padding: 10px 20px;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 15px;
    width: 80%;
    background-color: #181a2a;
    color: white;
    cursor: pointer;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 20px;
}

.button-link-consoles>button:hover {
    background-color: #090b1a;
}

.info-console button i {
    margin-left: 5px;
    font-size: 16px;
}

.list-country-link-playstation, .list-country-link-xbox, .list-country-link {
    position: absolute;
    top: 40px;
    -webkit-box-shadow: 7px 8px 15px 5px rgba(0, 0, 0, 0.24);
    box-shadow: 7px 8px 15px 5px rgba(0, 0, 0, 0.24);
    display: none;
    z-index: 3;
    width: 100%;
    margin: 10px 0;
    background-color: #181a2a;
    border: 1px solid white;
    border-radius: 20px;
}

.fa-amazon:before {
    content: "\f270";
}

/* --------- */

.fa-xbox:before {
    content: "\f412";
}

.new-container-xbox {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 10px;
    background-image: linear-gradient(180deg, rgba(19, 19, 19, 0.658) 0%, rgba(0, 0, 0, 0.781) 100%), url("../img_assets/videojuegos_consolas/xbox/xbox-fondo.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    max-height: 300px;
}

.new-container-xbox.open-info-xbox {
    max-height: 100%;
    transition: 5s ease;
}

/*  Xbox */

.xbox>.cards-console {
    width: 300px;
    margin: 0 auto;
}

.xbox>.cards-console img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: contain;
    transition: .3s ease;
    margin: 0px auto;
}



.especificacion-xbox {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.especificacion-xbox span {
    display: block;
    text-align: center;
    margin: 10px 20px;
    color: white;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 22px;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.774);

}


.services-box {
    width: 100%;
    height: 300px;
    position: relative;
    margin: 20px auto;
}

.services-box img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(50%);
}

.services-box .gamepass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.services-box .gamepass span {
    display: block;
    color: white;
    font-family: 'Anton', Arial, Helvetica, sans-serif;
    font-size: 50px;
    text-align: center;
    width: 350px;
    text-shadow: 0px 0px 6px #000000;
    line-height: 60px;
    letter-spacing: 2px;

}

.services-box .gamepass span:nth-child(1) {
    font-size: 40px;
}

.services-box .gamepass span:nth-child(3) {
    color: rgb(102, 255, 0);
}

.link-gamepass {
    width: 100%;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.link-gamepass a {
    display: block;
    width: 140px;
    margin-bottom: 20px;
    background-color: #181a2a;
    border: 1px solid white;  
    padding: 10px;
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    margin: 10px;
    text-align: center;
}

.link-gamepass a:hover {
    background-color: #090b1a;
}



/* X XBOX X */



.new-container-nintendo {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 10px;
    background-color: rgb(255, 0, 34);
    max-height: 300px;
    margin-bottom: 20px;
}


.new-container-nintendo.open-info-nintendo {
    max-height: 100%;
}

.new-container-nintendo .nintendo .cards-console {
    margin: 0 auto;
}

/*  Nintendo */

/*  animacion icono */
.switch-boton {
    display: flex;
    position: relative;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    opacity: 1;
    visibility: visible;

}

.switch-boton.ocultar-logo, .icon-nintendo>span.dissapear-texto-presione {
    visibility: hidden;
    opacity: 0;
}

.logo-switch {
    margin: auto;
    text-transform: uppercase;
    transition: .3s ease;
}



.logo-switch h1 {
    font-size: 40px;
    letter-spacing: 4px;
}

.logo-switch h1 span {
    display: block;
    font-size: 25px;
    letter-spacing: 6px;
}

.icon-switch {

    height: 90px;
    margin-bottom: 7px;
    text-align: center;

}

.logo-switch:hover {
    transform: scale(1.1);
    cursor: pointer;

}

.icon-part {
    position: relative;
    height: 100%;
    display: inline-block;
    margin: 0 0.5px;

}

.icon-part.left {
    width: 43.5px;
    border: 4px solid white;
    border-radius: 23px 0 0 23px;
}

.icon-part.right {
    width: 40px;
    background-color: #fff;
    border-radius: 0 23px 23px 0;

}

.icon-part::before {
    content: '';
    position: absolute;
    left: 50%;
    display: block;
    width: 20.5px;
    height: 20.5px;
    transform: translateX(-50%);
    border-radius: 50%;

}

.icon-part.left::before {
    top: 7.5px;
    background-color: white;
}

.icon-part.right::before {
    top: 48px;
    background-color: rgb(255, 0, 34);
}

.icon-part.right.animation-right {
    animation: logo-right 2s linear;
}

.icon-switch.animation {
    animation: logo-icon 2s linear;
}

@keyframes logo-right {
    0% {
        transform: translateY(-40%);
    }

    25% {
        transform: translateY(-50%);
    }

    30% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0%);
    }
}

@keyframes logo-icon {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(10%);
    }

    40% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}

/* x animacion icono x */


.joy-con-info {
    position: relative;
    width: 100%;
    height: 400px;
    background: rgb(238, 238, 238);
    background: linear-gradient(180deg, rgba(238, 238, 238, 1) 0%, rgba(171, 171, 171, 1) 100%);
}

.joy-con-info img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 650px;
    height: 100%;
}

.joy-con-info img:nth-child(1) {
    left: -400px;
}

.joy-con-info img:nth-child(2) {
    right: -400px;
}

.joy-con-info .info-joy {
    width: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-joy span {
    display: block;
    text-align: center;
    font-size: 40px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: rgb(59, 59, 59);
    margin-bottom: 5px;
}

.info-joy p {
    background-color: rgba(0, 0, 0, 0.568);
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;


}


.modo-de-juego {
    width: 100%;
    margin: 0 auto;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: white;
}


.modo-de-juego p {
    display: block;
    width: 200px;
    text-align: left;
    margin: 10px;
    font-size: 18px;
}

.modo-de-juego p>span {
    display: block;
    padding: 5px;
    background-color: #181a2a;
    width: 150px;
}

.frases-consolas, .frases-consolas-nintendo {
    width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

.frases-consolas span {
    display: block;
    text-align: center;
    font-family: 'Anton', Arial, Helvetica, sans-serif;
    font-size: 35px;
    color: white;
    text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.72);
}

.frases-consolas-nintendo span {
    display: block;
    text-align: center;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 25px;
    color: white;
  
}

.frases-consolas-nintendo span.frase-nintendo {
    font-size: 35px;
    letter-spacing: 5px;
}

span.frase-nintendo:nth-child(2) {
    font-size: 20px;
}

.frases-consolas span.xbox-frases {
    line-height: 36px;
}

.icon-playstation, .icon-xbox, .icon-nintendo {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-playstation>i, .icon-xbox>i {
    font-size: 140px;
    color: white;
    text-align: center;
    transition: all .3s ease;
    visibility: visible;
    opacity: 1;

}



.icon-playstation>i:hover, .icon-xbox>i:hover {
    transform: scale(1.2);
    cursor: pointer;
    filter: drop-shadow(5px 6px 4px rgba(0, 0, 0, 0.438));
}

.icon-xbox>i:hover {
    transform: scale(1.2);
    cursor: pointer;

}

.icon-playstation>i.dissapear-logo, .icon-playstation>span.dissapear-logo, .icon-xbox>span.dissapear-logo-xbox {
    transform: scale(2);
    visibility: hidden;
    opacity: 0;
}

.icon-xbox>i.zoom-logo {
    transform: scale(10);
    opacity: 0;
    visibility: hidden;
    transition: 1s ease;

}

.icon-playstation>span, .icon-xbox>span, .icon-nintendo>span {
    display: block;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    text-align: center;
    color: white;
    margin-bottom: 5px;
}

.cover-playstation, .cover-xbox, .cover-nintendo {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(1, 114, 208);
    background: linear-gradient(180deg, rgba(1, 114, 208, 1) 0%, rgba(0, 36, 110, 1) 100%);
    transition: .3s ease;
    visibility: visible;
    opacity: 1;
    z-index: 2;
}

.cover-xbox {
    background: black;
    transition: 1s ease;
}

.cover-nintendo {
    background: rgb(255, 0, 34);
}

.cover-playstation.dissapear-cover-playstation, .cover-xbox.dissapear-cover-xbox, .cover-nintendo.dissapear-cover-nintendo {
    visibility: hidden;
    opacity: 0;
}

.video-playstation, .video-xbox, .video-nintendo {
    width: 100%;
    height: 300px;
    position: relative;
}

.video-playstation video, .video-xbox video, .video-nintendo video {

    width: 100%;
    height: 100%;

    object-fit: cover;
    opacity: 0.8;

}

.video-playstation>span, .video-xbox>span, .video-nintendo>span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Anton', Arial, Helvetica, sans-serif;
    font-size: 50px;
    text-align: center;
    width: 350px;
    text-shadow: 2px 2px 2px #000000;
}

.video-nintendo>span {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    width: 400px;
}


.fa-angle-right:before {
    content: "\f105";
}

.fa-times:before {
    content: "\f00d";
}



@media only screen and (max-width: 900px) {
    main section {
        grid-template-columns: 72% 28%;
    }

}

@media only screen and (max-width: 768px) {
    .image-principal-consola {
        height: 350px;
        margin-top: 60px;
    }

    .info-image-content {
        left: 30px;
        margin-bottom: 30px;
    }

    .info-image-content h1 {
        font-size: 23px;
    }

    .info-image-content p {
        font-size: 23px;
    }

    main section {
        grid-template-columns: repeat(1, 1fr);
    } 

    .container-videojuegos {
        width: 100%;
        margin: 0 auto;
    }

}

@media only screen and (max-width:600px) {
   

    
    .ps5-duelsense-info>img {
        width: 300px;
        top: 60%;
        right: -100px;
    }

    .ps5-duelsense-info>p {
        width: unset;
        margin: 10px 10px;
    }

    .info-joy span{
        color: white;
    }
}

@media only screen and (max-width: 560px) {
    .list-country-link-playstation, .list-country-link-xbox, .list-country-link {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }

    .services-box .gamepass span {
        font-size: 40px;

    }

    .services-box .gamepass span:nth-child(1) {
        font-size: 30px;
    }

    .ps5-duelsense-info {
        height: 400px;

    }

    .ps5-duelsense-info>span {
        margin-left: 0;
        font-size: 25px;
        padding: 5px;
    }


}

@media only screen and (max-width:400px) {
    

    .joy-con-info img {
        display: none;
    }

    .joy-con-info .info-joy {
        width: 100%;
    }

    .info-joy p {
        padding: 10px;
    }

    .video-nintendo>span {
        font-size: 30px;
    }
}