:root {
    --blue-500: hsl(223, 87%, 63%);
    --blue-200: hsl(223, 100%, 88%);
    --red-400: hsl(354, 100%, 66%);
    --gray-400: hsl(0, 0%, 59%);
    --blue-950: hsl(209, 33%, 12%);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    min-height: 100vh;
    font-family: 'Libre Franklin', sans-serif;
}

header {
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 5rem;
}

.ping-logo {
    margin-bottom: 3rem;
}

h1 {
    font-size: 4rem;
    font-weight: 300;
    color: var(--gray-400);
    line-height: 3.75rem;
}

.dark-text {
    color: var(--blue-950);
    font-weight: 700;
}

.subscribe-text {
    font-size: 1.25rem;
    font-weight: 300;
    margin-top: 2rem;
}

.email-input {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.5rem;
    margin-left: 2rem;
}

input {
    width: 26.3rem;
    height: 3.5rem;
    border: 1px solid var(--blue-200);
    border-radius: 1.75rem;
    box-shadow: 0 0 7px 3px rgba(0, 0, 0, 0.00);
    text-align: left;
    text-indent: 2rem;
    font-size: 1rem;
    font-family: 'Libre Franklin', sans-serif;
}

input::placeholder {
    color: var(--blue-200);
    font-size: 1rem;
    font-weight: 300;
    text-align: inherit;
}

input:focus {
    outline: 1px solid var(--blue-200);
}

button {
    width: 12.5rem;
    height: 3.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 1.75rem;
    border: none;
    color: #FFF;
    background-color: var(--blue-500);
    box-shadow: 0 5px 10px 2px rgba(76, 123, 243, 0.23);
    margin-left: 2rem;
    position: relative;
    transition: all .2s ease-in;
    cursor: pointer;
}

button:hover {
    opacity: 0.5;
}

.error {
    border: 2px solid var(--red-400);
    outline: none;
}

.error-msg {
    color: var(--red-400);
    font-size: 0.75rem;
    margin-top: 1rem;
    margin-left: 2rem;
    font-weight: 400;
    display: none;
    position: absolute;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem;
}

.hero-dashboard {
    width: 40.4rem;
    height: 24.4rem;
}

.socials-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.icon {
    width: 2rem;
    height: 2rem;
    margin-left: 1rem;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in;
    cursor: pointer;
}

.icon:hover {
    background-color: var(--blue-200);
    border-radius: 50%;
}

.copyright-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

@media screen and (max-width: 690px) {
    h1 {
        font-size: 1.75rem;
        margin-bottom: -1rem;
    }

    .email-input {
        display: grid;
    }

    input {
        width: 17.5rem;
        margin-bottom: 3rem;
        margin-left: -0.3rem;
    }

    input::placeholder {
        font-size: 0.75rem;
        font-weight: 300;
    }

    button {
        width: 17.5rem;
        margin-left: -0.5rem;
        font-size: 0.75rem;
        font-weight: 600;
     }

     .hero-dashboard {
        width: 17.7rem;
        height: 11.2rem;
     }

     .error-msg {
        margin-top: -2rem;
        text-align: center;
     }

     .copyright-container {
        font-size: 0.625rem;
        font-weight: 300;
        margin-left: 1rem;
     }
}
