:root {
    --main-color: #DD2F6E;
    --color-dark: #1D2231;
    --color-clear: #f1f5f9;
    --text-grey: #8390A2;
}


.contenedor_login{
    background-color: #333;
      width: 500px;
      height: 500px;

      position: absolute;
      top: 45%;
      left: 50%;

      margin-top: -250px;   /* height/2 = 500px / 2 */
      margin-left: -250px;  /* width/2 = 500px / 2 */
}

.cont_logo{
    width: 100%;
    display: flex;
}

.cont_logo img{    
    margin: auto;
    width: 200px;
}



.contenedor-form {
    background: var(--main-color);
    max-width: 500px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 0;
    border-radius: 5px;
    color: #fff;
    position: relative;
    /*padding: 40px;*/
}

.contenedor-form .toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 150px;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    border-top: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    transition: all .5s ease;
}

.contenedor-form .toggle:hover {
    border-top: 2px solid #0075d9;
    border-bottom: 2px solid #0075d9;
}

.contenedor-form .toggle span {
    letter-spacing: 1px;
}

.contenedor-form h2 {
    margin: 20 0 28px 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}
.contenedor-form input[type="text"],
.contenedor-form input[type="password"],
.contenedor-form input[type="email"],
.contenedor-form select,
.contenedor-form input[type="number"] {
    outline: none;
    display: block;
    width: 100%;
    padding: 10px 15px;
    margin: 0 0 20px 0;
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    border-radius: 10px;
    border-bottom: 4px solid var(--main-color);
    box-sizing: border-box;
    font-family: Roboto;
    font-size: 14px;
    font-weight:normal;
    transition: all .5s ease;
}

.contenedor-form input[type="text"]:focus,
.contenedor-form input[type="password"]:focus,
.contenedor-form input[type="email"]:focus {
    border-bottom: 4px solid #3892ff;
}

.contenedor-form input[type="submit"] {
    background: #3892ff;
    color: #fff;
    width: 100%;
    border: none;
    padding: 10px 0;
    font-size: 16px;
    font-weight: normal;
    font-family: Roboto;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .5s ease;
    font-weight: 700;
    border-radius: 10px;
}

.contenedor-form input[type="submit"]:hover {
    background: rgba(0, 117, 217, 0.7);
}

.contenedor-form .reset-password {
    background: rgba(0, 117, 217, .7);
    width: 100%;
    padding: 15px 0;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.contenedor-form .reset-password a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.contenedor-form .formulario {
    display: none;
    padding: 40px;
}

.contenedor-form .formulario:nth-child(2) {
    display: block;
}



@media only screen and (max-width: 560px){
    .contenedor_login{
      width: auto;
      height: auto;

      position: inherit;
      top: 45%;
      left: 50%;
        

      margin-top: 80px;   /* height/2 = 500px / 2 */
      margin-left: 0;  /* width/2 = 500px / 2 */
        
        
    }
    
    .contenedor-form{
        border-radius: 0px;
    }
    .contenedor-form {
        width: auto;
    }
    
    

}


