/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap");

/*===== VARIABLES CSS =====*/

/*=== Colores ===*/
:root {
    --first-color: #12192c;
    --text-color: #8590ad;
}

/*=== Fuente y tipografia ===*/
:root {
    --body-font: "Roboto", sans-serif;
    --big-font-size: 2rem;
    --normal-font-size: 0.938rem;
    --smaller-font-size: 0.875rem;
}

@media screen and (min-width: 768px) {
    :root {
        --big-font-size: 2.5rem;
        --normal-font-size: 1rem;
    }
}

/*===== BASE =====*/
*,
::before,
::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    color: var(--first-color);
    overflow:auto;

}

.raise:hover,
.raise:focus {
    box-shadow: 0 0.5em 0.5em -0.4em rgba(rgb(51, 5, 5), 0);
    background-color: #008bd2;
    transform: translateY(-0.25em);
}

// Animating from the bottom

// And from the left

h1 {
    margin: 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*===== FORM =====*/
.l-form {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/*=== Shapes ===*/
.shape1,
.shape2,
.shape3,
.shape4 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.shape1 {
    top: -7rem;
    left: -3.5rem;
    background: linear-gradient(
        180deg,
        var(--first-color) 0%,
        rgba(196, 196, 196, 0) 100%
    );
}

.shape2 {
    bottom: -6rem;
    right: -5.5rem;
    background: linear-gradient(
        180deg,
        var(--first-color) 0%,
        rgba(196, 196, 196, 0) 100%
    );
    transform: rotate(180deg);
}

.shape3 {
    top: -7rem;
    right: -3.5rem;
    background: linear-gradient(
        180deg,
        var(--first-color) 0%,
        rgba(196, 196, 196, 0) 100%
    );
}

.shape4 {
    bottom: -6rem;
    left: -5.5rem;
    background: linear-gradient(
        180deg,
        var(--first-color) 0%,
        rgba(61, 56, 56, 0) 100%
    );
    transform: rotate(180deg);
}

/*=== Form ===*/
.form {
    height: 100vh;
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    overflow: auto;
}

.form__content {
    width: 290px;
}

.form__img {
    display: none;
}

.form__title {
    font-size: var(--big-font-size);
    font-weight: 500;
    margin-bottom: 2rem;
}

.form__desc {
    font-size: var(--big-font-size);
    font-weight: 300;
    font-size: 24px;
    margin-bottom: 2rem;
    display: block;
}

.form__div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin-bottom: 1.3rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--text-color);
}

/*=== Div focus ===*/
.form__div.focus {
    border-bottom: 1px solid var(--first-color);
}

.form__div-one {
    margin-bottom: 3rem;
}

.form__icon {
    font-size: 1.5rem;
    color: var(--text-color);
    transition: 0.3s;
}

/*=== Icon focus ===*/
.form__div.focus .form__icon {
    color: var(--first-color);
}

.form__label {
    display: block;
    position: absolute;
    left: 0.75rem;
    top: 0.25rem;
    font-size: var(--normal-font-size);
    color: var(--text-color);
    transition: 0.3s;
}

/*=== Label focus ===*/
.form__div.focus .form__label {
    top: -1.5rem;
    font-size: 0.875rem;
    color: var(--first-color);
}

.form__div-input {
    position: relative;
}

.form__input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.75rem;
    font-size: 1.2rem;
    color: var(--first-color);
    transition: 0.3s;
}

.form__forgot {
    display: block;
    text-align: right;
    margin-bottom: 2rem;
    font-size: var(--normal-font-size);
    color: var(--text-color);
    font-weight: 500;
    transition: 0.5;
}

.form__forgot:hover {
    color: var(--first-color);
    transition: 0.5s;
}




.form__buttonn {background-image: linear-gradient( 180deg, var(--first-color) 0%, rgba(196, 196, 196, 0) 100% )
}
.form__buttonn {
    background-color: var(--first-color);

    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem;
    font-size: var(--normal-font-size);
    margin-bottom: 3rem;
   margin: 10px;
   text-align: center;
   text-transform: uppercase;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   box-shadow: 0 0 10px #eee;
   border-radius: 10px;
 }

 .form__buttonn:hover {
   background-position: right center; /* change the direction of the change here */
   color: #fff;
   text-decoration: none;
 }

/*=== Form social===*/
.form__social {
    text-align: center;
}

.form__social-text {
    display: block;
    font-size: var(--normal-font-size);
    margin-bottom: 1rem;
}

.form__social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    margin-right: 1rem;
    padding: 0.5rem;
    background-color: var(--text-color);
    color: #fff;
    font-size: 1.25rem;
    border-radius: 50%;
}

.form__social-icon:hover {
    background-color: var(--first-color);
}

/*===== MEDIA QUERIS =====*/
@media screen and (min-width: 968px) {
    .shape1 {
        width: 400px;
        height: 400px;
        top: -11rem;
        left: -6.5rem;
    }

    .shape2 {
        width: 300px;
        height: 300px;
        right: -6.5rem;
    }

    .form {
        grid-template-columns: 1.5fr 1fr;
        padding: 0 2rem;
    }

    .form__content {
        width: 320px;
    }

    .form__img {
        display: block;
        width: 700px;
        justify-self: center;
    }
}
