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

:root {
    --color-blue: hsl(223, 87%, 63%);
    --color-pale-blue: hsl(223, 100%, 88%);
    --color-light-red: hsl(354, 100%, 66%);
    --color-gray: hsl(0, 0%, 59%);
    --color-very-dark-blue: hsl(209, 33%, 12%);
    --font-weight-light: 300;
    --font-weight-medium: 600;
    --font-weight-bold: 700;
}

body {
    font-family: 'Libre Franklin',
        sans-serif;
}

.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 350px;
    max-height: 750px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 70px auto;
}

.logo {
    max-width: 70px;
    margin-bottom: 50px;
}

.title {
    font-size: 1.5rem;
    color: var(--color-gray);
    font-weight: var(--font-weight-light);
    margin-bottom: 15px;
    letter-spacing: 1.5px;
}

.soon {
    color: var(--color-very-dark-blue);
    font-weight: var(--font-weight-bold);
}

.subscribe {
    font-size: 0.85rem;
    color: var(--color-very-dark-blue);
    font-weight: var(--font-weight-light);
    margin-bottom: 20px;
}

#email {
    width: 340px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--color-pale-blue);
}

.btn {
    width: 340px;
    padding: 10px;
    border-radius: 20px;
    color: hsl(0, 0%, 100%);
    border: 1px solid var(--color-blue);
    background-color: var(--color-blue);
    font-weight: var(--font-weight-bold);
    font-size: 0.75rem;
    cursor: pointer;
    display: block;
    margin-top: 20px;
    -webkit-box-shadow: 0px 10px 39px -4px rgba(79, 126, 243, 0.44);
    box-shadow: 0px 10px 39px -4px rgba(79, 126, 243, 0.44);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s
}

.btn:hover {
    opacity: 50%;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--color-light-red);
    margin-top: 10px;
    margin-bottom: 10px;
    font-style: italic;
}

.dashboard {
    margin: 50px 50px;
}

.social-icons {
    color: var(--color-blue);
    margin-top: 90px;
    margin-bottom: 30px;
}

.fa-facebook {
    margin-right: 10px;
    border: 1px solid hsl(223, 100%, 88%);
    border-radius: 100px;
    padding: 0.5em 0.6em;
}

.fa-facebook:hover {
    cursor: pointer;
    color: white;
    background-color: var(--color-blue);
}

.fa-twitter {
    margin-right: 10px;
    border: 1px solid hsl(223, 100%, 88%);
    border-radius: 100px;
    padding: 0.5em 0.6em;
}

.fa-twitter:hover {
    cursor: pointer;
    color: white;
    background-color: var(--color-blue);
}

.fa-instagram {
    border: 1px solid hsl(223, 100%, 88%);
    border-radius: 100px;
    padding: 0.5em 0.6em;
}

.fa-instagram:hover {
    cursor: pointer;
    color: white;
    background-color: var(--color-blue);
}

.cp-rt {
    font-size: 0.75rem;
    color: var(--color-gray);
    font-weight: var(--font-weight-light);
}

.attribution {
    font-size: 0.9rem;
}

@media (min-width:768px) {
    .container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        max-width: 700px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin: 100px auto;
    }

    .logo {
        margin-top: 50px;
    }

    .title {
        font-size: 2rem;
    }

    #form {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        position: relative;
    }

    #email {
        width: 320px;
    }

    .btn {
        display: inline-block;
        width: 150px;
        -webkit-box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        font-weight: var(--font-weight-light);
        padding: 14px;
        margin-bottom: 15px;
        margin-left: 10px;
    }

    .dashboard {
        width: 500px;
    }

    .social-icons {
        margin-top: 40px;
    }

    .error-msg {
        display: none;
        font-size: 0.6rem;
        font-style: italic;
        text-align: center;
        margin-bottom: 1rem;
        position: absolute;
        bottom: -20%;
        left: 3%;
    }
}