@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

:root {
    --blue: hsl(223, 87%, 63%);
    --pale-blue: hsl(223, 100%, 88%);
    --light-red: hsl(354, 100%, 66%);
    --gray: hsl(0, 0%, 59%);
    --very-dark-blue: hsl(209, 33%, 12%);
    --font-family: "Libre Franklin", sans-serif;
    /*300 600 700*/
}

/*mobile*/

body {
    padding: 2rem;
    font-family: var(--font-family);
    text-align: center;

}

.logo {
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    width: 100%;
    height: 2.5rem;
    background-image: url(images/logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px;
}

main {
    display: flex;
    flex-direction: column;
}

h2 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--gray);
    margin-bottom: 1rem;
}

span {
    color: var(--very-dark-blue);
    font-weight: 700;
}

p {
    font-size: .7rem;
    margin-bottom: 2.5rem;
}

.form {
    display: flex;
    flex-direction: column;
}

textarea {
    padding-top: 10px;
    width: 100%;
    padding-left: 15px;
    border: 1px solid var(--pale-blue);
    border-radius: 25px;
    font-family: inherit;
    color: var(--pale-blue);
    font-size: .75rem;
    margin-bottom: 1rem;
}

button {
    font-family: inherit;
    background-color: var(--blue);
    border: none;
    padding: .75rem;
    border-radius: 25px;
    color: white;
}

.hero {
    background-image: url(images/illustration-dashboard.png);
    padding: 10rem;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 4rem;
}

footer {
    font-size: 10px;
    color: var(--gray);
}

.socials {
    display: flex;
    width: 100%;
    color: var(--blue);
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-right: 6rem;
    padding-left: 6rem;
    font-size: .75rem;

}

i {
    width: 25px;
    height: 25px;
    border: 1px solid var(--pale-blue);
    padding-top: 7px;
    border-radius: 100%;
}

.fa-instagram {
    font-weight: bold;
}

footer p {
    font-size: .5rem;
    margin-bottom: 5px;
}


@media(min-width: 575px) {

   
    .logo {
        background-size: 60px;
    }

    main {
        text-align: center;

    }

    h2 {
        font-size: 2rem;
        font-weight: 300;
    }

    p {
        font-size: .80rem;
    }

    .form {
        flex-direction: row;
        gap: 10px;
        justify-content: center;
        padding: 0 2rem;

    }

    textarea {
        width: 65%;

    }

    button {
        width: 30%;
        height: 2.7rem;

    }
    .hero {
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 3rem;
    }

    footer{
        align-content: flex-end;
    }

    .socials {
        font-size: .5rem;
        justify-content: center;
        gap: 10px;
        margin-top: 3rem;

    }

    i {
        width: 20px;
        height: 20px;
        padding-top: 5px;
        border-radius: 100%;
    }

    footer p {
        font-size: .6rem;
    }

}

@media (min-width:800px) {
    .form{
        width: 35rem;
        margin: auto;
    }
    
}