/*Remove margins and padding from HTML and Body elements*/
html,
body {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

body {
    font-family: 'Public Sans', sans-serif;
    font-size: 18px;
    color: hsl(233, 26%, 24%);
    overflow-x: hidden;
}
section {
    width: 100%;
}
/*HEADER STYLES */
header {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    display: flex;
    align-items: center;
    z-index: 10;
}
header * {
    display: inline;
}
header li {
    margin: 10px;
    display: inline;
}

header .logo {
    margin: 40px 50px 40px 5vw;
}

header button {
    margin-left: 13vw;
}
.invite_button {
    background: linear-gradient(
        90deg,
        rgba(49, 211, 92, 1) 10%,
        rgba(43, 183, 218, 1) 82%
    );
    border: none;
    border-radius: 50px;
    color: white;
    padding: 0.8rem;
    width: 150px;
    font-size: 0.8rem;
}
.invite_button:hover {
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.1s;
}
.lead {
    color: hsl(233, 8%, 62%);
    line-height: 1.6rem;
}
ul {
    list-style-type: none;
}
a {
    text-decoration: none;
}
.hamburger,
.close {
    display: none;
}

/*HERO STYLES */
.hero {
    background: hsl(0, 0%, 98%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.hero_text {
    margin-left: 6vw;
}
.hero_image {
    width: 60vw;
    height: auto;
}
.headline {
    font-weight: normal;
}
.hero_header {
    font-size: 2.8rem;
}
.hero button {
    margin-top: 2vw;
    font-size: 1rem;
    padding: 1rem;
}
.mockups {
    z-index: 1;
    right: -15px;
    top: 200px;
    position: absolute;
    width: 40vw;
    height: auto;
}

/*ABOUT STYLES */

.about {
    background: hsl(220, 16%, 96%);

    margin-top: 0;
}
.about h3 {
    font-size: 1.5rem;
    margin-left: 6vw;
    padding-top: 20vh;
    margin-top: 0;
}

.about_text {
    margin-left: 6vw;
}

.features {
    margin-left: 6vw;
    display: flex;
    padding-top: 5vh;
    justify-content: center;
}
.feature_item {
    margin-right: 3vw;
    padding-bottom: 10vh;
    width: 270px;
}
.about h5 {
    font-size: 1rem;
}

/*BLOG STYLES */
.blog_wrapper {
    margin-top: 0;
    background: hsl(0, 0%, 98%);
}
.blog {
    margin-top: 0;
    margin-left: 6vw;
}
.blog h3 {
    font-size: 1.5rem;
    margin-top: 0;
    padding-top: 10vh;
}
.articles {
    display: flex;
    padding-top: 8vh;
    justify-content: center;
}
.small {
    font-size: 0.7rem;
}
.card {
    width: 270px;
    border-radius: 5px;
    border: transparent;
    margin-right: 3vw;
    padding-bottom: 10vh;
}
.card_text {
    background: white;
    padding: 1.7rem;
    margin-top: 0;
}
.card_title {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0;
}
.card_img {
    width: 100%;
    height: 180px;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
    padding: 0;
}

/*FOOTER STYLES */
footer {
    background: hsl(233, 26%, 24%);
}
.footer_items {
    display: flex;
    color: white;
    justify-content: space-around;
    align-items: center;
    margin-left: 6vw;
    padding-top: 40px;
}
.footer_logo {
    margin-bottom: 5vh;
}
.footer_links a {
    line-height: 1rem;
    color: white;
}
.footer_links li {
    margin: 10px 0;
}
.attribution,
.copyright {
    font-size: 0.7rem;
}

.attribution a {
    color: white;
}

/*MEDIUM SCREEN STYLES*/

@media only screen and (max-width: 1000px) {
    .articles {
        flex-wrap: wrap;
    }

    .features {
        flex-wrap: wrap;
    }
    .mockups {
        width: 50vw;
        height: auto;
        top: 20vh;
        right: 2vw;
    }
    header button {
        margin-left: 5px;
        width: 60px;
    }
    nav {
        font-size: 13px;
    }
}

/*SMALL SCREEN STYLES*/

@media only screen and (max-width: 700px) {
    .hero {
        flex-direction: column-reverse;
        justify-content: space-around;
    }
    .hero_text {
        margin-top: -200px;
    }
    .mockups {
        width: 50vw;
        height: auto;
        top: 5px;
        right: 20vw;
    }
    .hero_image {
        width: 60vw;
    }
    nav {
        display: none;
    }

    .footer_items {
        flex-direction: column;
        justify-items: center;
        align-content: center;
        text-align: center;
        margin-left: 0;
    }
    .footer_links li {
        margin-left: -30px;
    }
    .show,
    .hamburger {
        display: block;
        position: absolute;
        top: 30px;
        right: 20px;
        cursor: pointer;
        color: hsl(233, 8%, 62%);
        font-size: 24px;
    }
    .hide {
        display: none;
    }
    .active {
        display: block;
        background: white;
        padding: 30px;
    }
    header {
        flex-direction: column;
    }
}
