*{
    padding: 0;
    margin: 0;
}
h1{
    font-family: "Patrick Hand", cursive;
    font-weight: 400;
    font-style: normal;
    list-style: none;
    text-decoration: none;
    color: rgba(255,255,255,1);
    text-align: center;
}
body{
    position: relative;
    background-color: #075985;
    background-position: top;
    /*overflow: hidden;*/
}
#marco{
    position: absolute;
    width: 1060px;
    height: 560px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0px 5px 10px black;
    background: #172025;
    top: -30px;
    left: 50%;
    margin-left: -530px;

}
#contenedor{
    position: relative;
    margin: 5vh auto;
    width: 1000px;
    height: 500px;
    background: rgba(255,255,255,1);
}
#contenedor #ingreso{
    position: absolute;
    width: 1000px;
    height: 500px;
    top: 0px;
    left: 0px;
    background:url(../img/ingreso.jpg);
}
#contenedor #ingreso #ingresogeneral{
    position: absolute;
    width: 300px;
    top: 300px;
    left: 0px;
    margin-left: 350px;
    cursor: pointer;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    justify-content: center;
}
#contenedor #ingreso #ingresogeneral img{
    width: 80px;
    height: 80px;
    float: left;
}
#contenedor #ingreso #ingresogeneral button{
    width:150px;
    height: 50px;
    margin-left: 1px;
    display: grid;
    align-items: center;
    font-family: "Patrick Hand",cursive;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    padding: 5px;
    cursor: pointer;
    background: rgba(223,223,223,1);
    border: none;
    border-radius: 12px;
    box-shadow: 2px 3px 15px rgb(59, 59, 59);
}
#contenedor #ingreso #ingresogeneral button:hover{
    background: rgb(174, 172, 172);
    color:rgba(255,255,255,1);
    font-size: 20px;
    box-shadow: 2px 3px 15px rgb(34, 34, 34);
}
#contenedor #carga{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 500px;
    background: rgba(0,0,0,1);
    text-align: center;
    font-size: 40px;
    color: rgba(255,255,255,1);
    opacity: 1;
    transition:opacity 1s ease;
    font-family: "Patrick Hand", cursive;
}
#contnedor #carga #preload{
    padding-top: 17%;
}
#footer{
    position: relative;
    padding: 8px;
    /*font-family: sans-serif;*/
    font-size:9px !important;
    top: 562px;
}
#footer a{
    color: white;
}
#vertical{
    display: none;
}
@media all and (orientation:portrait){
    #contenedor, #marco{
        display: none;
    }
    #vertical{
        display:block;
        position: fixed;
        width: 100%;
        height: 100vh;
        z-index: 1;
        background: url(../img/vertical.jpg);
        background-size: cover;
        background-position: center ;
    }
}