:root{
    --Titleblue: hsl(243, 87%, 12%);
    --subBlue: hsl(238, 22%, 44%);
    --btnBlue: hsl(224, 93%, 58%);
    --greenPrincipal: hsl(170, 45%, 43%);
    --blancoPrincipal: hsl(240, 75%, 98%);
    --grisLigero: hsl(0, 0%, 75%);
}

body{
    margin: 0;
}

.dFlex{
    display: flex;
    justify-content: space-between;

}
/**Text*/
h1, h2, h3 p, button, a{
    font-family: "Raleway", sans-serif;

}
h1{
    font-size: clamp(30px, 40px, 50px);
    font-weight: 700;
    color: var(--Titleblue);
}
h2{
    font-size: 50px;
    font-weight: 700;
    color: var(--blancoPrincipal);
    margin: 0px 20px 0px 0px;
}
h3{
    margin: 0;
    color: var(--Titleblue);
    font-size: 20px;
}
p{
    font-size: 25px;
    font-weight: 400;
    color: var(--Titleblue);
}

  


/**header*/
.imgFondo{
    display: block; /* elimina espacio de imagen inline */
    width: 100%;
}
/**Navegacion*/
.navegacion{
    margin: 30px;
}
.navegacion a{
    color: var(--subBlue);
    font-size: 10px;
    margin: 0px 20px;
    text-decoration: none;
}
.margen{
    margin: 0 50px;
}
.img1{
    width: 80%;
    height: auto;
}
.imgLogo{
    width: 50%;
}
.header1{
    flex-direction: column-reverse;
    width: 90%;
    margin: 0 auto;
}
.header2{
    flex-direction: column;

}

/**Forms*/
input{
    width: 400px;
    height: 45px;
    border-radius: 5px;
    border: var(--Titleblue) 1px solid;
}
button{
    width: 400px;
    padding: 15px 70px;
    border-radius: 5px;
    border: none;
    background-color: var(--btnBlue);
    color: var(--blancoPrincipal);
    font-size: 15px;
    font-weight: 700;
    margin: 30px;
    cursor: pointer;
}
button:hover{
    opacity: 0.7;
}


/**Main*/
main{
    background-color: #f8f8fe;
}
#seccion1 a{
    color: var(--greenPrincipal);
    text-decoration: underline;
    cursor: pointer;
}
.link1:hover{
    opacity: 0.7;
}
.fondoMain{
    padding-top: 50px;
    padding-bottom: 50px;
    flex-direction: column-reverse;
}


/**Card*/
.card{
    font-family: "Open Sans", sans-serif;
    width: 90%;
    background-color: white;
    padding: 30px;
    margin: 20px 0px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1)
}
.card img{
    width: 30px;
}
.card p{
    font-size: 15px;
    margin: 0;
}
.review{
    display: flex;
    align-items: center;
}
.review img{
    width: 50px;
    border-radius: 50%;
    margin: 20px 10px;
}




/**Get started for free*/
.fondoMain2{
    background-color: var(--subBlue);
    padding: 100px 0px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.getFree, .Forms2{
    width: 90%;
    margin: auto;
}
.getFree p{
    color: var(--blancoPrincipal);
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
}

.Forms2 {
    display: flex;
    flex-direction: column;
    margin: auto;
}

.Forms2 button {
    margin: 30px 0px;
}




/**Footer*/
footer{
    background-color: var(--Titleblue);
    padding: 50px 0px;
}

footer p,a{
    color: var(--blancoPrincipal);
    font-size: 20px;
}

.dFlex1{
    display: flex;
    align-items: center;
}
.footerflex{
    flex-direction: column;
}

.infoLinks{
    align-items: flex-start;
    flex-direction: column;
    justify-self:first baseline;
}
.infoLinks a{
    margin: 10px 0px;
    text-decoration-line: none;
}

.infoLinks a:hover{
    color: var(--subBlue);
}
.links{
    align-items: normal;
}

.logos{
    margin: 10px;
    align-self: center;
}

.logos img{

    margin: 0px 20px;
    border: black 1px solid;
    padding: 10px;
    border-radius: 30px;
    filter: invert(1);
}
.logos a:hover{
    filter: invert(41%) sepia(100%) saturate(500%) hue-rotate(180deg);
}

.img2 {
    filter: brightness(0) invert(1);
    margin: 30px 0px;
  }

.infoContact{
    align-self:first baseline;
}
.contact{
    flex-direction: column;
}
.contact img{
    margin-right: 10px;
}
.contact p{
    margin: 10px 0px;
}

/**Error*/
.inputerror{
    border-color: red;
}
.noError{
    visibility: hidden;
}



.emailError{
    font-size: 14px;
    font-family: "Raleway", sans-serif;
    position: absolute;
    margin: 5px 0px;
}
.emailError1{
    color: red;
}
.emailError2{
    color: white;
    font-size: 14px;
    font-family: "Raleway", sans-serif;
    position: absolute;
    margin: 5px 0px;
}



@media (min-width: 765px) {
    .dFlex{
        align-items: center;
    }
    /**Navegacion*/
    .navegacion a{
        font-size: 16px;
        margin: 0px 30px;
    }

    .img1{
        width: 900px;
        height: auto;
    }
    .imgLogo{
        width: 100%;
    }
    .header1{
        flex-direction: row;
        width: 90%;
        margin: 0 auto;
    }
    .header2{
        flex-direction: row;
    }
    
    /**Forms*/
    input{
        width: 500px;
        height: 45px;
        border-radius: 5px;
        border: var(--Titleblue) 1px solid;
    }
    button{
        width: 300px;
        margin: 0px 20px;
    }
    /**Card*/
    .card{
        width: 400px;
    }
    .fondoMain{
        flex-direction: row;
    }

    /**Get started for free*/
    .fondoMain2{
        flex-direction: row;
    }
    .getFree, .Forms2{
        width: 100%;
        margin: 0px 50px;
    }
    .getFree p{
        width: 600px;
    } 
    .Forms2 {
        width: 100%;
        max-width: 600px;  /* Control the maximum width */
        margin: 0px auto;    /* Center the form horizontally */
        padding: 20px 0px;
    }
    /**Footer*/
    .infoLinks{
        flex-direction: row; 
    }
    .links{
        margin: 0px 50px;
    }
    
    .logos{
        margin: 10px;
        align-self: first baseline;
    }
    .contact{
        flex-direction: row;
    }

}
