@font-face {
    font-family: 'texto';
    src: url('Swiss721/swisse.ttf');
    font-weight: normal;
    font-style: normal;
}
/*Formularios*/
.forms{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 2rem 3rem;
    z-index: 3;
    background: #cfcfcf;
    font-family: "texto", sans-serif;
}
.decorador{
    width: 100%;
    height: 100vh;
    background-image: url(imagenes/consiergefondo.jpg);
    position: absolute;
    left: 0;
    top: 0;
}
.formus{
    position: absolute;
    width: 30%;
    border-radius: 10px;
    height: 500px;
    left: 35%;
    top: calc(50% - 250px);
    background: white;
}
.logot{
    position: absolute;
    left: 5%;
    bottom: 5%;
}
.logot img{
    width: 100%;
}
/*Aquí van los formularios*/
.formularios{
    position: absolute;
    width: 50%;
    left: 25%;
    height: 100%;
    top: 0;
    overflow: hidden;
}
form{
    position: relative;
    left: 25%;
    width: 50%;
    height: 85%;
    margin-top: 5%;
    border-radius: 5px;
    transition: all 1s;
}
form p{
    color: #212529;
}
#ins{
    background: rgba(0, 0, 0, 0);
    border: none;
    border-bottom: solid 1px grey;
    border-radius: 0;
    color: grey;
    font-weight: 400;
}
.ini{
    background: rgba(0, 0, 0, 0);
    border: none;
    border-bottom: solid 1px grey;
    border-radius: 0;
}
#colorgris{
    color: grey;
    font-weight: 500;
}
#register{
    background: rgba(255, 255, 255, 0);
}
#login{
    background: white;
}

/*Inicio del diseño adptado a dispositivos con resolución menor a 765 px*/
@media only screen and (max-width: 765px){
    
/*Toda la parte del header*/
    .encabezado{
        position: fixed;
        width: 100%;
        height: 60px;
    }
    .logo{
        position: absolute;
        left: 5%;
        top: 5%;
        height: 90%;
        cursor: pointer;
    }
    .menu{
        position: fixed;
        width: 0%;
        height: calc(100% - 60px);
        left: 0;
        top: 60px;
        list-style: none;
        padding: 0;
        background: #212529;
        transition: all 0.5s;
        overflow: hidden;
    }
    .menu li{
        float: initial;
        padding: 0 2px;
        margin-right: 0;
        margin-top: 30px;
        font-size: 20px;
        font-weight: 500;
        color: white;
        border-bottom: solid 2px white;
        cursor: pointer;
        text-align: center;
        width: 80%;
        margin-left: 10%;
    }
    
    .login{
        position: absolute;
        right: 40%;
        top: 10%;
        height: 90%;
        list-style: none;
        padding: 0;
    }
    .log{
        height: 100%;
        margin: 0;
    }
    .log:hover > .dlog{
        height: 80px;
        background: white;
    }
    .login li ul{
        list-style: none;
        background: transparent;
        border-radius: 5px;
        text-align: center;
        width: 180px;
        padding: 0;
        position: absolute;
        top: 100%;
        height: 0;
        overflow: hidden;
        left: calc(50% - 90px);
        transition: all 0.5s;

    }
    .login li ul li{
        width: 100%;
        padding: 4px 0;
        text-align: center;
        margin: 6px 0 6px 0;
        cursor: pointer;
    }

    .login li ul li:hover{
        background: #5e6164;
        color: white;
    }
    .navbar{
        display: block;
        position: absolute;
        right: 5%;
        height: 50px;
        overflow: hidden;
        top: 5%;
    }
    .navbar p{
        width: 100%;
        transition: all 0.5s;
        margin-top: -5px;
    }
    .navbar a{
        width: 100%;
    }
    .nomo{
        font-size: 12px;
    }
    

    /*Cuerpo del sitio web*/

    /*Fondo*/
    .principal{
        background-image: url(imagenes/idea2.jpg);
        background-size: cover;
        background-attachment: fixed;
        background-position: center;
        position: absolute;
        left: 0;
        top: 0;
        height: 100vh;
        min-height: 667px;
        width: 100%;
        z-index: -1;
    }

    /*Mensaje de bienvenida*/
    .mensaje{
        position: absolute;
        width: 80%;
        left: 10%;
        top: 150px;
        z-index: -1;
    }
    .mensaje h1{
        color: white;
        line-height: 40px;
    }
    .mensaje h2{
        line-height: 30px;
    }
    
    .ganan{
        position: absolute;
        width: auto;
        right: 5%;
        bottom: 3%;
        cursor: pointer;
        z-index: -1;
    }
    .ganado {
        border: none;
        font: normal 28px/normal "Warnes", Helvetica, sans-serif;
        color: rgba(255,255,255,1);
        text-shadow: 0 0 15px #ff00de;
    
    }

   
    /*Página dos*/
    .page2{
        position: absolute;
        top: 100%;
        height: 100vh;
        width: 100%;
        z-index: -1;
        min-height: 667px;
    }
    .imag{
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        background-image: url(imagenes/idea1.png);
        background-size: cover;
        background-position: center;
        z-index: -1;
    }
    .title{
        position: absolute;
        top: 20%;
        left: 5%;
        width: 90%;
    }
    .title h5{
        font-size: 20px;
    }
    .title ul{
        list-style: none;
        padding: 0;
        width: 250px;
        color: white;
        margin-top: 20px;
    }
    .title ul li{
        margin-top: 1px;
    }
    .producto{
        position: absolute;
        width: 90%;
        height: 180px;
        border-radius: 5px;
        left: 5%;
        top: 55%;
        border: solid 2px gray;
        border-radius: 5px;
        padding-top: 20px;
    }
    .producto h1{
        text-shadow: 1px 0.5px rgba(0, 0, 0, 0.521);
        color: #212529;
    
    }
    .pa1{
        position: absolute;
        left: 2%;
        top: 5%;
        width: 45%;
    }
    .pa2{
        position: absolute;
        left: 50%;
        top: 25px;
        width: 45%;
    }
    /* Página tres*/
    .page3{
        position: absolute;
        top: 200%;
        height: 180vh;
        width: 100%;
        background-image: url(imagenes/fon.png);
        background-size: cover;
        z-index: -1;
        background-color: #212529;
        min-height: 1067px;
    }


    .infor{
        position: relative;
        top: 80px;
        left: 10%;
        width: 80%;
    }
    .infor2{
        position: relative;
        top: 70px;
        left: 10%;
        width: 80%;
    }
    .infor h5, .infor2 h5{
        color: #ff00de;
        margin-top: 10px;
    }
    .infor p, .infor2 p{
        color: white;
    }

    /*Footer*/
    footer{
        position: absolute;
        width: 100%;
        height: 110%;
        
        background: #212529;
        top: calc(200% + 180vh);
        left: 0;
    }
    footer ul{
        list-style: none;
        width: 90%;
        margin-left: 5%;
        margin-top: 12%;
    }
    footer ul li{
        text-align: center;
        width: 70%;
        margin-left: 15%;
        float: initial;
    }
    .redesso{
        margin-left: 35%;
        width: 50%;
        
    }


    /*Formularios*/
    .formus{
        position: absolute;
        width: 80%;
        border-radius: 10px;
        height: 500px;
        left: 10%;
        top: calc(50% - 250px);
        background: white;
    }
    .formularios{
        position: absolute;
        width: 80%;
        left: 10%;
        height: 100%;
        min-height: 550px; 
        top: 0;
        overflow: hidden;
    }
    form{
        position: relative;
        left: 0%;
        width: 100%;
        height: 84%;
        margin-top: 13%;
        border-radius: 5px;
        transition: all 1s;
    }
}