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


/* - Pale Blue: hsl(223, 100%, 88%)
- Light Red: hsl(354, 100%, 66%)
- Gray: hsl(0, 0%, 59%)
- Very Dark Blue: hsl(209, 33%, 12%) */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 20px;
}

main {
    max-width: 650px;
    margin: 90px auto;
    margin-bottom: 0;
	padding: 20px;
	text-align: center;
}

.logo {
    margin-bottom: 60px;
}

h1 {
    margin-bottom: 30px;
    font-weight: 300;
    color: hsl(0, 0%, 59%);
}

span {
    font-weight: 600;
    color: hsl(209, 33%, 12%);
}

p {
    font-size: 16px;
    color: hsl(0, 0%, 59%);
    margin-bottom: 40px;
}

form {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 70px;
}

.controller {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0.7;
    margin-right: 20px;
}

input {
    display: inline-block;
    flex: 0.7;
    border: 1px solid hsl(0, 0%, 59%);
    border-radius: 50px;
    padding: 15px 25px;
    width: 100%;
    font-size: 16px;
    font-family: 'Libre Franklin', sans-serif;
    color: hsl(0, 0%, 59%);
    margin-bottom: 10px;
    outline: none;
}

input.error {
    border: 1px solid hsl(354, 100%, 66%);
}


form small {
    padding-left: 15px;
    font-size: 10px;
    font-style: italic;
    color: hsl(354, 100%, 66%);
    display: none;
}

button {
    display: inline-block; 
    font-family: 'Libre Franklin', sans-serif;
    text-align: center;
    flex: 0.3;
    padding: 15px 25px;
    background-color: #4C7BF3;
    border: 1px solid #4C7BF3;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0px 10px 20px  hsl(223, 100%, 88%);
    outline: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

button:hover {
    transform: scale(0.98);
    background-color: #7498f1;
}

.ilustration {
    width: 100%;
    margin-bottom: 70px;
}

.social-logos {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 30px;
}

li {
    border: 1px solid hsl(0, 0%, 59%);
    border-radius: 50%;
    margin-right: 15px;
    color: #4C7BF3;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
}

li:hover {
    color: #fff;
    background-color: #4C7BF3;
    border: 1px solid #4C7BF3;
}


li i {
    font-size: 15px;
}

footer small {
    text-align: center;
    font-size: 10px;
    color: hsl(0, 0%, 59%);
}

.attribution { 
    font-size: 10px; 
    text-align: center; 
}
.attribution a { 
    color: hsl(0, 0%, 59%);
}

@media only screen and (max-width: 470px) {
    body {
        font-size: 16px;
    }
    form {
        flex-direction: column;
        width: 100%;
    }

    .controller {
        flex: 1;
        width: 100%;
    }

    button {
        width: 100%;
    }

    form small {
        text-align: center;
        align-self: center; 
        margin-bottom: 25px;
    }

    .ilustration {
        margin-bottom: 90px;
    }
}