*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Poppins', sans-serif;;
    overflow: none;
}

#contenedor_carga{
    background-color: #131313;
    height: 100%;
    width: 100%;
    position: fixed;
    -webkit-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    z-index: 10000;
}

#carga{
    border: 5px solid #1A1819;
    border-top-color: #8b0000;
    height: 100px;
    width: 100px;
    border-radius: 100%;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;

    -webkit-animation: girar 1.5s linear infinite;
    -o-animation: girar 1.5s linear infinite;
    animation: girar 1.5s linear infinite;
}

.handlogo{
        height: 60px;
        width: 60px;
        border-radius: 100%;

        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
}

@keyframes girar{
    from { transform: rotate(0deg);}
    to { transform: rotate(360deg);}
}


body{
    background: rgb(87,0,0);
    background: radial-gradient(circle, #131313 0%, rgb(0, 0, 0) 100%);
}

h1{
    font-weight: 900;
}

h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

/* NAVBAR */

.navbar{
    background-color: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(0.5rem);
    color: white;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 10vh;
    max-height: 10%;
    max-width: 100%;
    align-items: center;
    padding: 0 8rem;
    font-size: 14px;
    position: fixed;
    z-index: 1000;
    top: 0;
}


ul a{
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

nav a:hover span{
    color: #8b0000;
    transition: color 0.3s ease-in-out;
}

.button:hover{
    color:#8b0000;
    background-color: white;
    transition: color, background-color 0.5s ease-in-out;
}

.nav-items{
    list-style: none;
    height: 5vh;
    display: flex;
}

.logo{
    width: 250px;
    padding: 0;
}

.button{
    background-color: red;
    border-radius: 0.3rem;
}

 /* NAV MOBILE  */

.navmobile{
    display: none;
}

.pushbar{
    display: none;
}


/* INICIO - LANDING PAGE  */

.welcome{
    width: 100%;
    height: 100vh;
    background-image: url(images/fondo.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    vertical-align: top;
}

.welcome-left{
    padding-left: 6rem;
    width: 55%;
    height: 25%;
}

.bienvenido{
    font-size: 2rem;
    font-style: italic;
    text-shadow: none;
}


.bienvenido h1:hover{
    text-shadow: 0 0 1rem white;
    transition: text-shadow 2s ease-in-out;
}

    .remember{
        display: flex;
        align-items: center;
        padding: 1.5rem 0 0.5rem 0;
        font-style: italic;
    }

        .resaltador{
            height: 0.3rem;
            padding-right: 1rem;
        }

    .advice{
        font-size: 1rem;
        display: flex;
        width: 50vw;
        width:90%;
    }

    b{
    font-weight: 600;
    }

    .red{
    color: #FF2835;
    }

.left{
    width: 45%;
}

.right{
    max-height: 100vh;
}

.tengu, .jack{
        height: 100vh;
        max-width: 80vh;
        padding-top: 25%;
 }

/* SECCION JUEGOS */

.juegos{
    display: flex;
    width: 100%;
    height: 100vh;
    max-height: 100%;
    background-image: url(images/fondojuego1.jpg);
    background-repeat: no-repeat;
    background-position:center;
    background-size: 100% 100%;
    justify-content: center;
    align-items: center;
    padding-top: 10vh;
}

.game-info-container{
    display: flex;
    flex-direction: column;
    width: 50vw;
    max-width: 50%;
    height: 95vh;
    max-height: 95%;
    justify-content: center;
    align-items: center;
    overflow: none;
    padding: 0 10rem 2rem 0rem;
}

.logo-juego{
    width: 55%;
    padding-bottom: 1rem;
}

.buttons-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40vw;
    max-width: 50%;
    height: 95vh;
    max-height: 95%;
    overflow: none;
}

.info-juego{
    display: flex;
    width: 90%;
    height: 5vh;
    justify-content: right;
    align-items: center;
}

.info-juego p{
    padding-right: 0.5rem;
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 700;
}

.arrow-button{
    position: relative;
    z-index: 900;
    justify-content: right;
    background: url(images/arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 70%;
    padding: 1rem;
    cursor: pointer;
    width: 6vw;
    aspect-ratio: 1;
    border: none;
    left: 75%;
    right: 70%;
    top: 37%;
    overflow: none;
}

        /* ANIMACIONES JUEGOS  */

        .arrow-button:hover{
            background-size: 100% 80%;
            transition: background-size 2s;
        }

/* SECCION NOSOTROS */

.nosotros{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 3.5rem;
    max-width: 100%;
    max-height: 100vh;
    vertical-align: top;
    background: rgb(16, 14, 14);
    background: radial-gradient(circle, #131313 0%, rgb(0, 0, 0) 100%);
}

.aboutus{
    padding: 0 0.5rem 0 0;
    width: 2vw;
}

.right-jack{
    display: flex;
    justify-content: right;
}

.presentacionVideo{
    padding-top: 2rem;
}

     /* CONTACTO */

        /* POP UP ENVIADO */

.popupContainer{
    display: flex;
    height: 100vh;
    max-height: 100%;
    width: 100vw;
    max-width: 100%;
    background-color: rgba(0, 0, 0, 0.614);
    box-sizing: border-box;
    position: fixed;
    z-index: 9;
}

.popup h2{
    color: red;
}

.popup p {
    color: black;
}

.popup{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: content-box;
    background-color: rgb(249, 249, 249);
    border-radius: 5px;
    position: absolute;
    right: 28%;
    top: 33%;
    width: 40vw;
    height: 28vh;
    font-size: 18px;
    padding: 2rem;
    z-index: 999;
}

.popupButton{
text-decoration: none;
background-color: #8b0000;
border: 0;
border-radius: 5px;
box-shadow: none;
color: #ffffff;
padding: 0.5rem;
cursor: pointer;
width: 30vw;
max-width: 80%;
}

.contacto{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6rem;
    max-width: 100vw;
    max-height: 100vh;
    /* vertical-align: top; */
    background: rgb(87,0,0);
    background: radial-gradient(circle, #8b0000 0%, rgb(54, 0, 0) 100%);
}

.voig{
    box-sizing: content-box;
    padding-top: 12rem;
    width: 100vw;
    max-height: 100%;
    max-width: 100vw;
    overflow: none;
}

.titulos2{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35vw;
    height: 10vh;
    font-style: italic;
}

.titulos2 img{
    width: 2rem;
    padding-right: 0.5rem;
}

.formulario{
    box-sizing: content-box;
    padding: 3rem 0 3rem 0;
    text-align: center;
    color: #131313;
    width: 70vw;
    height: 60vh;
    max-width: 40%;
    max-height: 60%;
    align-items: center;
    right: 15%;
}

form input{
    border-radius: 0.3rem;
    width: 70vw;
    max-width: 90%;
    height: 2rem;
    padding: 1rem 0 1rem 0.5rem;
    background-color: #1A1819;
    color: white;
    margin: 0.5rem;
    border: none;
}

form input:focus, form input:active{
    background-color:white;
    color: #131313;
    transition: background-color, color, 0.5s;
    outline: none;
}

.mensaje{
border-radius: 0.3rem;
margin: 0.5rem;
padding: 0.5rem 0 1rem 0.5rem;
width: 70vw;
max-width: 90%;
border: none;
background: #1A1819;
height: 4rem;
font-size: 16px;
color: #ffffff;
box-sizing: border-box;
min-height: 150px;
resize: none;
}

textarea::-webkit-scrollbar {
    width: 1em;
}

textarea::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

textarea::-webkit-scrollbar-thumb {
  background-color:#FF2835;
  outline: 1px solid #1A1819;
}

form textarea:focus, form textarea:active{
    background-color:white;
    color: #131313;
    transition: background-color, color, 1s;
    outline: none;
}

.enviar{
    width: 10vh;
    padding: 0;
    background-color: white;
    color: red;
}

.enviar:hover{
    background-color:#1A1819;
    color: white;
    transition: 1s;
    cursor: pointer;
}


::placeholder{
    color: white
}

input:focus::placeholder, textarea:focus::placeholder{
    color: #8b0000;
    transition: 0.3s;
}

/* FOOTER STUFF */

footer{
    display: flex;
    justify-content:center;
    width: 80%;
    max-width: 80%;
    height: 20vh;
    max-height: 10%;
    margin: 0 auto;
    resize: none;
}

.footer-container{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer a:hover span {
    color: #8b0000;
    transition: color 0.3s ease-in-out;
}

.rights{
    padding: 0 1.5rem 0 1.5rem;
}

.redes {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.redes a{
    padding: 1rem;
}

.redes a i img {
    height: 30px;
}










/* JS FIRST TRY */

.server-state {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* background-color: green; */
    width: 14vw;
    height: 5vh;
}

.cube,
.cube input {
    background-color: #ffffff;
    width: 3vw;
    height: 4vh;
    border: none;
    color: black;
    text-align: center;
    border-radius: 0.2rem;
}

.cube_result {
    background-color: #ffffff;
    width: 6vw;
    height: 4vh;
    border: none;
    color: black;
    text-align: center;
    border-radius: 0.2rem;
}

.server-state button {
    width: 4vw;
    height: 4vh;
    background-color: #FF2835;
    border: 0;
    cursor: pointer;
    border-radius: 0.2rem;
}


/* DISCORD SECTION  */

.discordSection {
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    padding-top: 2rem;
    background-image: url(images/fondojuego2.jpg);
}

.video video {
    width: 40vw;
}


        /* ////////////////////// */
     /* //  M O B I L E V E R S I O N //  */
        /* ///////////////////////////  */


@media screen and (max-width: 800px){

    body{
        max-width: 100vw;
        max-height: 100vh;
    }

    h1{
        font-size: 2rem;
    }

    .bienvenido p{
        font-size: 2rem;
    }

    h2{
        font-size: 1.5rem;
    }

    h3{
        font-size: 1.3rem;
    }

    p{
        font-size: 1rem;
    }

             /* NAV MOBILE  */

    .navmobile {
    display: flex;
    width: 100vw;
    max-width: 100%;
    height: 8vh;
    max-height: 10%;
    justify-content: center;
    align-items: center;
    background-color: hsl(0 0% 100% / 0.1);
    backdrop-filter: blur(0.5rem);
    position: fixed;
    z-index: 1000;
    top: 0;
    }

    .navmobile a {
    position: absolute;
    z-index: 9999;
    top: 0.8vh;
    left: 1vw;
    overflow: none;
    max-width: 100%;
    padding: 0 0 0 2rem;
    }

    .mobile-nav-toggle {
    position: absolute;
    z-index: 9998;
    background: url(images/menu.svg);
    background-repeat: no-repeat;
    border: none;
    width: 2rem;
    aspect-ratio: 1;
    top: 2.5vh;
    left: 85vw;
    max-width: 100%;
    }

    .navbar{
        display: none;
    }

    .pushbar{
        display: hidden;
        background: none;
        height: 100vh;
        justify-content: space-around;
    }

    .links-container{
        width: 100vw;
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;

    }

    .pushbar a{
        width: 100vw;
        height: 20vh;
        text-align: center;
    }

    .pushbar a span{
        width: 100%;
    }

    .close-button{
        display: flex;
        background-color: #171717;
        transition: background-color 3s ease-in-out;
        justify-content: right;
        padding-right: 0.5rem;
        width: 100vw;
        height: 8vh;
    }

    .close-button a{
        height: auto;
        padding: 1.9rem 2rem 2.3rem 2.2rem;
    }

    .close-button button{
        aspect-ratio: 1;
        position: relative;
        z-index: 9999;
        border: none;
        background: none;
    }


    /* INICIO MOBILE */

    .welcome{
        padding-top: 5vh;
        flex-direction: column;
        justify-content: space-between;
        width: 100vw;
        max-width: 100%;
        height: 100vh;
        max-height: 100%;
        box-sizing: content-box;

    }

    .welcome-left {
    width: 100vw;
    height: 40vh;
    padding: 15vh 1vw 0 10vw;
    }

    .bienvenido {
    font-size: 2rem;
    font-style: italic;
    text-shadow: none;
    }


    .bienvenido h1:hover {
    text-shadow: 0 0 1rem white;
    transition: text-shadow 2s ease-in-out;
    }

    .remember {
    display: flex;
    align-items: center;
    padding: 1.5rem 0 0.5rem 0;
    font-style: italic;
    }

    .resaltador {
    height: 0.3rem;
    padding-right: 1rem;
    }

    .advice {
    font-size: 1rem;
    display: flex;
    width: 50vw;
    width: 90%;
    }

    b {
    font-weight: 600;
    }

    .red {
    color: #FF2835;
    }

    .left {
    width: 45%;
    }

    .right {
    max-height: 100vh;
    }

    .right img{
        src: "images/tengumobile.png";
    }

    .tengu {
    box-sizing: content-box;
    height: 80vw;
    padding: 0 0 0 5rem;
    max-height: 100%;
    max-width: 100%;
    }


    /* SECCION JUEGOS MOBILE  */

    .juegos{
        flex-direction: column;
        background-position: left;
        background-size: cover;
    }

    .game-info-container{
        width: 100vw;
        max-width: 100%;
        height: 95vh;
        max-height: 95%;
        padding: 0;
        margin: 0 auto;
    }

    .logo-juego{
        width: 65%;
    }

    .buttons-container{
        width: 100vw;
        max-width: 100%;
    }

    .arrow-button{
        width: 25vw;
        left: 40%;
        right: 70%;
        top: 20%;
    }

    .info-juego{
            width: 94%;
            height: 8vh;
    }

    .info-juego p{
            padding-right: 0.5rem;
    }


    /* ABOUT US MOBILE*/

    .nosotros{
        flex-direction: column;
        padding: 0;
        box-sizing: content-box;
        justify-content: space-around;
    }


    .aboutus{
        padding: 0 0.5rem 0.5rem 0;
        width: 2rem;
    }

    .right-jack{
        display: none;
    }

    .left{
        padding-top: 6vh;
        justify-content: space-around;
        height: 85%;
        width: 90%;
    }

    .presentacionVideo iframe{
        width: 90vw;
        height: 30vh;
    }

                /* CONTACTO MOBILE  */

    .voig {
        display: none;
    }

    .contacto{
        padding: 5%;
    }

    .formulario{
        padding: 0;
        width: 100vw;
        max-width: 100%;
        height: 80vh;
        max-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* DISCORD SECTION MOBILE  */

                .discordSection {
                    display: flex;
                    height: 100vh;
                    flex-direction: column;
                    justify-content: space-evenly;
                }

                .video video {
                    width: 90vw;
                }

                 /* FOOTER MOBILE  */

    footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    max-width: 100%;
    height: 40vh;
    max-height: 100%;
    }

    .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100vw;
    max-width: 100%;
    height: 35vh;
    max-height: 100%;
    }

    .footer-container ul{
    display: none;
        }

    footer a:hover span {
    color: #8b0000;
    transition: color 0.3s ease-in-out;
    }

    .rights {
    padding: 0 1.5rem 0 1.5rem;
    }

    .redes {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    }
    .redes a, .redes a i img{
    height: 30px;
    padding: 0 1rem 0 0;
    }

}

