:root{
    --principal:aliceblue;
    --secundario:darkslateblue;
    --unidadBase:1rem;
}
*{
    margin: 0 auto;
    padding: 0 auto;
}
body{
    background-image: url(../img/stars-2000-ezgif.com-animated-gif-maker.gif);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* padding-bottom: calc(4*var(--unidadBase)); */
}
header{
    /* position: fixed; */
    top: 0;
    /* display: flex; */
    display: block;
    /* flex-direction: column; */
    width: 100%;
    height: 20vh !important;
    
    /* max-height: calc(25*var(--unidadBase)); */
}
main{
    /* display: flex; */
    /* position: fixed; */
    /* top: calc(15*var(--unidadBase)); */
    display: block;
    max-height: 71vh;
    /* max-height: calc(71*var(--unidadBase)); */
    width: 100%;
}
h1{
    color: azure;
    text-align: center;
    font-weight: bold;
    /* margin-bottom: calc(2*var(--unidadBase)); */
    font-size: 6vh;
}
h1 span{
    font-size: 3vh;
}
footer{
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 4vh;
    /* max-height: calc(4*(--unidadBase)); */
    width: 100%;
    background-color: aliceblue;
}

#mainNav{
    justify-content: space-evenly;
    /* position: absolute;
    top: 19vh; */
}
#mainNav nav ul{
    font-size: 3.5vh;
    font-weight: bolder;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    color: aliceblue;
    text-decoration: none;
    justify-content: space-evenly;
    border-bottom: 0.125rem aliceblue solid;
    text-align: center;
    user-select: none;
    margin-bottom: 0!important;
}
#mainNav nav ul li:hover{
    background-color: aliceblue;
    color: darkslateblue;
    cursor: pointer;
}

#generalSobreMi{
    display: flex;
    position: static;
    width: 100vw;
    height: 71vh;
    opacity: 0;
    /* margin-top: calc(0.5*var(--unidadBase)); */
    /* overflow-y: scroll; */
    /* transition:opacity 2s ease-in-out; */
}
#explicacionSobreMi{
/* flex: 1; */
background-color: aliceblue;
color: darkslateblue;
width: 70vw;
overflow-y: scroll;
z-index: 2;
}

#explicacionSobreMi h2{
    text-align: left;
    font-weight: bold;
    margin-bottom: 1vh;
    font-size: 6vh;
}
#explicacionSobreMi #parraSobreMi{
    font-size: 1.22rem;
    /* width: 30vw;
    text-align: left; */
}
#explicacionSobreMi p a{
    text-decoration: none;
    color: darkslateblue;
    font-weight: bold;
}
#explicacionSobreMi p a:hover{
    text-decoration: none;
    color: aliceblue;
    background-color: darkslateblue;
    font-weight: bold;
}
#explicacionSobreMi #parraSobreMi span{
    font-weight: bold;
}
#explicacionSobreMi #parraSobreMi span:hover{
    background-color: var(--secundario);
    color: var(--principal);
    cursor: pointer;

}
#spanTrolleado{
    display: none;
}
#fotoSobreMi{
/* flex:2; */
background-image: url(../img/FdH5.jpg);
background-size: contain;
background-color: aliceblue;
background-repeat: no-repeat;
background-position: right;
height: 100%;
width: 30vw;
}
#fotoSobreMi img{
height: 100%;
}
#appsGames{
    height: 71vh;
    width: 100vw;
    display: none;
    /* grid-template-rows: repeat(3,1fr); */
    /* grid-template-columns: repeat(3,1fr); */
    background-color: var(--principal);
    opacity: 0;
    transition: opacity 2s;
    overflow-y: hidden;
    overflow-x: scroll;
}
#appsGames h2{
    /* grid-row: 1; */
    /* grid-column: 2; */
    align-content: center;
    float: center;
    padding-top: 1vh;
    color: var(--secundario);
    font-size: 8vh;
    text-align: center;
}
.game{
    /* position: relative; */
    /* display: grid; */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#propietarios{
    grid-row: 1;
    grid-column: 1;
}
#propietarios a{
    text-decoration: none;
    color: var(--secundario);
    display: grid;
    width: 250px;
    height: 250px;
    background-image: url(../img/Propietarios250.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position:top(calc (top-2vh));
}
#tRex{
    grid-row: 1;
    grid-column: 3;
}
#tRex a{
    text-decoration: none;
    color: var(--secundario);
    display: grid;
    width: 250px;
    height: 250px;
    background-image: url(../img/dino250scrShot.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
}
#snake{
    grid-row: 2;
    grid-column: 1;
    text-align: center;
}
#snake a{
    text-decoration: none;
    color: var(--secundario);
    display: grid;
    width: 250px;
    height: 250px;
    background-image: url(../img/snake250scrShot.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
}
#spaceInv{
    grid-row: 2;
    grid-column: 3;
    margin-bottom: 1vh;
}
#spaceInv a{
    text-decoration: none;
    color: var(--secundario);
    display: grid;
    width: 250px;
    height: 250px;
    background-image: url(../img/spInv250scrShot.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
}
.clientes{
    display: none;
    background-color: var(--principal);
    color: var(--secundario);
    padding-top: 2vh;
    /* border: 2rem solid var(--secundario); */
    height: 71vh;
    width: 100vw;
}
.clientes h2{
    text-align: center;
}
#headerClientes{
    overflow-y: scroll;
}
#listaClientes{
    display: flex;
    flex-direction: row;
    padding-top: 5vh;
}
.cliente {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.cliente input{
    align-items: center;
}
.cliente img{
    opacity: 0.5;
    transition: opacity 1s;
}
#explicacionUou, #explicacionNadir{
    width: 50vh;
    display: none;
    transition: text 2s;
}
#explicacionUou, #explicacionNadir a{
    width: 50vh;
    flex-direction: column;
}
#explicacionNadir, #explicacionUou a{
    width: 50vh;
    flex-direction: column;
}
.opiniones{
    display: none;
    grid-template-rows: 2;
    grid-template-columns: 2;
    width: 100vw;
    height: 71vh;
    background-color: var(--principal);
    color: var(--secundario);
}
.opinion{
    margin-top: 2vw;
    /* margin-right: 5vw; */
    width: 50vw;
    height: 35.5vh;
    text-align: left;
}
.opinion .apertura{
    justify-content: left;
}
.opinion .cierre{
margin-left: 45vw;
}
#opinionUno, #opinionDos{
    grid-row: 2;
}
#opinionUno{
    grid-column: 1;
}
#opinionDos{
    grid-column: 2;
}
#opinionTres{
    grid-row: 1;
    grid-column: 1;
}
#opinionCuatro{
    grid-row: 1;
    grid-column: 2;
}

h6{
    background-color: aliceblue;
    color: darkslateblue;
    text-align: center;
}
h6 a{
    text-decoration: none;
    font-weight: bold;
    color: darkslateblue;
}
#menuButton{
    display: none;
}
 #contacto{
    display: none;
    width: 100vw;
    height: 71vh;
    background-color: var(--principal);
    color: var(--secundario);
}
#contacto h2{
    display: block;
    text-align: center;
}
/* 
#formContacto{
grid-template-columns: repeat(2,1fr);
grid-template-rows: repeat(4,1fr);
}
#formContacto .nombreUser{
    grid-row: 1;
    grid-column: 1;
}
#formContacto .telUser{
    grid-row: 2;
    grid-column: 1;
}
#formContacto .prefijoUser{
    grid-row: 3;
    grid-column: 1;
}
#formContacto .mailUser{
    grid-row: 4;
    grid-column: 1;
}
#formContacto .mensajeUser{
    grid-row: 1;
    grid-column: 2;
}
#formContacto .contactoUser{
    grid-row: 2;
    grid-column: 2;
} */
.form-grid {
    background-color: var(--principal);
    color: var(--secundario);
}
.form-grid label{
    color: var(--secundario);
    z-index: 2;
}
.form-grid input{
    margin-top: 1.5rem;
}
#formContacto {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 10px; /* Ajusta según sea necesario */
}

#formContacto .nombreUser {
    grid-row: 1;
    grid-column: 1;
}

#formContacto .telUser {
    grid-row: 2;
    grid-column: 1 / 2;
}

#formContacto .asuntoUser {
    grid-row: 3;
    grid-column: 1 / 2;
}

#formContacto .mailUser {
    grid-row: 4;
    grid-column: 1 / 2;
}

#formContacto .mensajeUser {
    grid-row: 1 / 3; /* Cambiado a ocupar dos filas */
    grid-column: 2 / 3;
}

#formContacto #formaContacto{
    grid-row: 4;
    grid-column: 2;
}
#formContacto submit{
    grid-column: 1;
}
#formContacto reset{
    grid-column: 2;
}


@media (min-width:310px ) and (max-width:767px) {

    #menuButton{
        background-color: blueviolet;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100px;
        height: 100px;
    }

    h1 span{
        display: none;
    }
    h1{
        font-size: 3rem;
    }
    #mainNav{
        display: none;

    }
    #mainNav nav ul{
        flex-direction: column;
        border-bottom: 0;
        margin-top: 15%;
    }

    #mainNav nav ul li{
        margin-top: 8vh !important;
    }

    .col-2{
        margin: 0!important;
        width: 100% !important;
    }
    #generalSobreMi{
        position: fixed;
        left: 0;
        top: 10vh;
        display: none;
        flex-direction: column;
        width: 100%;
        height: 70vh;
    }
    #explicacionSobreMi{
        flex:1;
        width: 100%;
        height: 50vh;
        z-index: 2;
        margin-top: 1rem;
    }
    #fotoSobreMi{
        flex:2;
        background-position: bottom;
        position: fixed;
        bottom: 2vh;
        left: 0;
        width: 100%;
        height: 50vh;
        z-index: 1;
    }
    #fotoSobreMi img{
        image-resolution: 200px x 200px;
    }
}
