@font-face {
    font-family: "Protest Guerrilla";
    src: url("fonts/Protest_Guerrilla/ProtestGuerrilla-Regular.ttf") format('truetype');
}

@font-face {
    font-family: "Rubik Pixels";
    src: url("fonts/Rubik_Pixels/RubikPixels-Regular.ttf") format('truetype');
}

@font-face {
    font-family: "Prompt";
    src: url("fonts/Prompt/Prompt-Regular.ttf");
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Prompt";
}

body{
    background-color: black;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

main{
    width: 100%;
    padding: 20px;
    margin: auto;
    margin-top: 100px;
}

.bloque_general{
    width: 100%;
    max-width: 800px;
    margin: auto;
    position: relative;
}

.bloque_fondo{
    width: 100%;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(10px);
    background-color: #6A0DAD;
    border-radius: 10px 2.5px 10px 2.5px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.7);
}

.bloque_fondo div{
    margin: 100px 40px;
    color: white;
    width: 50%;
    transition: all 500ms;
}

.bloque_fondo div h3{
    font-weight: 400;
    font-size: 26px;
    text-shadow: 2px 2px 4px #000000;
    font-family: "Rubik Pixels";
}

.bloque_fondo div p{
    font-weight: 300;
    font-size: 16px;
    margin-top: 30px;
}

.bloque_fondo button{
    padding: 10px 40px;
    border: 2px solid #fff;
    font-size: 14px;
    margin-top: 30px;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    color: white;
    outline: none;
    transition: all 300ms;
}

.bloque_fondo button:hover{
    background: #fff;
    color: #6A0DAD;
}

/*Formularios*/
.bloque_login_signin{
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 380px;
    position: relative;
    top: -185px;
    left: 10px;
    transition: left 500ms cubic-bezier(0.175, 0.885, 0.320, 1.275); /*Transición aplicable en el movimiento generado por el archivo js*/
}

.bloque_login_signin form{
    width: 100%;
    padding: 80px 20px;
    background: #ffff;
    position: absolute;
    border-radius: 20px;
}

.bloque_login_signin form h2{
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: #6A0DAD;
    text-shadow: 2px 2px 6px #FFC0CB;
    font-family: "Protest Guerrilla";
}

.bloque_login_signin form input{
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    border: 3px solid transparent;
    background: #f2f2f2f2;
    font-size: 16px;
    outline: none;
    transition: 0.5s ease all;
}

.bloque_login_signin form input:focus {
    border: 3px solid #0075FF;
    box-shadow: 3px 0px 30px rgba(163,163,163, 0.4);
}

.bloque_login_signin form button{
    padding: 10px 40px;
    margin-top: 40px;
    border: none;
    font-size: 14px;
    background: #6A0DAD;
    font-weight: 600;
    color: white;
    cursor: pointer;
    outline: none;
}

.formulario_login{
    opacity: 1;
    display: block;
}

.formulario_signin{
    display: none;
}


/*Redimención de pantalla*/
@media screen and (max-width: 850px){

    main{
        margin-top: 50px;
    }

    .bloque_fondo{
        max-width: 350px;
        height: 300px;
        flex-direction: column;
        margin: auto;
    }

    .bloque_fondo div{
        margin: 0px;
        position: absolute;
    }

    /*Formularios*/

    .bloque_login_signin{
        top: -10px;
        left: -5px;
        margin: auto;
    }

    .bloque_login_signin form{
        position: relative;
    }
}