.cabecera {
/*    background: white;*/
    color: black;
    padding: 10px 10px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    box-sizing: border-box;
}



.formulario {
    margin-top: 60px;
    width: 75%;
    background: #f1f1f1;
    height: 400px;
    padding: 80px 40px;
    border-radius: 10px;
    position: relative;
    left: 50%;
    top: 220px;
    transform: translate(-50%, -50%);
    box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.2);
}

.formulario h1 {
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    font-weight: 600;
}

.box-input {
    border-bottom: 2px solid #adadad;
    position: relative;
    margin: 30px 0;
}

.box-input input {
    font-size: 16px;
    color: #333;
    border: none;
    width: 100%;
    outline: none;
    background: none;
    padding: 0 5px;
    height: 40px;
}

.box-input span::before {
    content: attr(data-placeholder);
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    z-index: -1;
    transition: .5s;
}

.box-input span::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0%;
    width: 0%;
    height: 2px;
    background: linear-gradient(120deg, #3498db, #8e44ad);
    transition: 0.5s;
}

.focus+span::before {
    top: -5px;
}

.focus+span::after {
    width: 100%;
}

.boton {
    display: block;
    width: 100%;
    height: 50px;
    background-color: #48bb78;
    border: solid 2px #48bb78;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.1);
}

.boton:hover {
    background-color: #2F855A;
    border: solid 2px #2F855A;
    transition: .5s;
}


@media only screen and (max-width:767px) {


    .cabecera {
/*        background: white;*/
        color: black;
        padding: 10px 10px;
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        box-sizing: border-box;
    }


    .formulario {
        width: 330px;
        background: #f1f1f1;
        height: 510px;
        padding: 15px 15px;
        border-radius: 10px;
        position: relative;
        left: 50%;
        top: 140px;
        transform: translate(-50%, -50%);
        box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.2);
        font-size: 1rem;
    }

    .formulario h1 {
        text-align: center;
        margin-bottom: 60px;
        color: #333;
        font-weight: 600;
        font-size: 1.7rem;

    }

    .box-input {
        border-bottom: 2px solid #adadad;
        position: relative;
        margin: 30px 0;
    }

    .box-input input {
        font-size: 1.5rem;
        color: #333;
        border: none;
        width: 100%;
        outline: none;
        background: none;
        padding: 0 5px;
        height: 40px;
    }

    .box-input span::before {
        content: attr(data-placeholder);
        position: absolute;
        top: 50%;
        left: 5px;
        color: #adadad;
        transform: translateY(-50%);
        z-index: -1;
        transition: .5s;
    }

    .box-input span::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0%;
        width: 0%;
        height: 2px;
        background: linear-gradient(120deg, #3498db, #8e44ad);
        transition: .5s;
    }

    .focus+span::before {
        top: -5px;
    }

    .focus+span::after {
        width: 100%;
    }

    .boton {
        display: block;
        width: 100%;
        height: 50px;
        background-color: #48bb78;
        border: solid 2px #48bb78;
        color: #fff;
        border-radius: 5px;
        font-weight: 600;
        font-size: 1.5rem;
        box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.1);
    }

    .boton:hover {
        background-color: #2F855A;
        border: solid 2px #2F855A;
        transition: .5s;
    }








}