@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container{
    display: flex;
    justify-content:right;
    align-items: center;
}
body {
    font-family: "Roboto", sans-serif;
    background-image: url(colegio.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;

    display: flex;
    min-height: 100vh;


}


.form {

    background-color: #fff;

    transition: box-shadow 0.4s ease;
    margin: 3rem 0 0 200;
    border-radius: 1rem;
    cursor: pointer;

    max-width: 420px;
    max-height: 450px;
    padding: 1em 2em;
  
}

.form:hover{
        box-shadow: 0 0.1rem 0.4rem rgba(0, 0, 0, 3);
    
    
}

.form__img{
width: 200px;

}

.form__title {
    font-size: 2rem;
    margin-bottom: .5em;
}

.form__paragraph {
    font-weight: 300;

}

.form__link {
    font-weight: 400;
    color: #000;
}

.form__container {
    margin-top: 1em;
    display: grid;
    gap: 2.5em;
}


.form__group {
    position: relative;
    --color: #5757577e;

}

.form__input {
    width: 100%;
    background: none;
    color: #1e0efa;
    font-size: 1rem;
    padding: .6em .3em;
    border: none;
    /*no me gusto*/
    border-bottom: 1px solid var(--color);
    font-family: "Roboto", sans-serif;
}


.form__input:not(:placeholder-shown) {
    color: #4D4646;
}

.form__input:focus+.form__label,
.form__input:not(:placeholder-shown)+.form__label {
    transform: translateY(-25px) scale(.9);
    transform-origin: left top;
    color: #3866f2;
}


.form__label {
    color: var(--color);
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 5px;
    transform: translateY(10px);
    transition: transform .5s, color, -3s;
}

.form__submit {
    background: #3866f2;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    padding: .8em 0;
    border: none;
    border-radius: .5em;

}

.form__line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #3866f2;
    transform: scale(0);
    transform: left bottom;
    transition: transform .4s;

}

.form__input:focus~.form__line,
.form__input:not(:placeholder-shown)~.form__line {
    transform: scale(1);
}

@MEDIA (max-width:425px) {
    .form__title {
        font-size: 1.8remS;
    }
}