:root{
    --mainColor: hsl(0, 36%, 70%);
    --errorColor: hsl(0, 93%, 68%);
    --parragrafColor: hsl(0, 6%, 24%);
}

body{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    background-image: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(0, 100%, 98%));
    margin: 0;
}

/**Typography*/
h1{
    font-size: 50px;
    letter-spacing: 15px;
    text-transform: uppercase; 
    font-weight: 300;
    color: var(--mainColor);
    margin-bottom: 20px;
}
span{
    font-weight: 600;
    color: var(--parragrafColor);
}
p{
    color: var(--mainColor);
    line-height: 1.5;
    font-weight: 400;
    font-size: 20px;  
}


/** Layout Components */

.info{
    width: 90%;
    padding: 10px;
    margin: 10px;
    text-align: center;
}
.imgLogo{
    margin: 50px;
}

/** Form Elements */
.forms {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

input{
    border: 1px solid var(--mainColor);
    border-radius: 50px;
    padding: 20px;
    width: 200px;
    background-color: transparent;
}
button{
    background-image: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%));
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    position: absolute;
    right: 10%;
    top: 0;
}
button:hover{
    background-image: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 80%, 86%));
    box-shadow: 2px 5px 10px var(--mainColor);
    cursor: pointer; 
}

/** Error States */
.iconError{
    position: relative;
    right: 40%;
    top:  7px;

}
.textError{
    color: var(--errorColor);
    font-size: 14px;
}

.noactive{
    visibility: hidden;
}
.active{
    visibility: visible;
}
.inputError{
    border: 1px solid var(--errorColor);
}
/** Images */
.img {
    height: 100vh;
    object-fit: cover;
    display: none;
}
.img1{
    width: 100%;
    display: block;
}

@media (min-width:765px) {

    h1{
        font-size: 100px;
    }
    .imgLogo{
        position: absolute;
        margin: 50px 0 0 250px;
    }
    main{
       display: flex;
       align-items: center;
       width: 100%;
       justify-content: space-between;
    }
    
    .info{
        width: 500px;
        padding: 100px;
        margin-left: 150px;
        text-align: left;
    }

    input{
        padding: 20px 200px 20px 20px;
    }
    button{
        position: relative;
        right: 92px;
        top: -29px;
    }

    .iconError{
        left: 280px;
        top: -43px;
    }
    .textError{
        position: relative;
        margin: 10px 0 0 20px;
        top: -33px;
    }
    
    .img {
        display: block;
    }
    .img1{
        display: none;
    }
    
}