/* ===============
   General Styles
=============== */


h1, h2, h3 {
    margin: 0 0 20px;
}

p {
    line-height: 1.6;
    margin: 0 0 20px;
    color: #646c77;
}

/* ===============
   Blog Header
=============== */
.blog-header {
    text-align: center;
    background-color: #ffe6e6;
    padding: 40 20px;
    width: 80%;
    margin: 100px auto 100px;
}

.blog-header h1 {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    background-color: #ffe6e6;
    padding: 40px 20px;
}

.sub_title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
}

/* ===============
   Blog Content
=============== */
.blog-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: justify;
}

.blog-content section {
    margin-bottom: 40px;
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 600;
    border-bottom: 2px solid #f9c4d2;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.blog-content ul {
    list-style-type: disc;
    margin-left: 40px;
}

.blog-content ul li {
    margin-bottom: 30px;
}

/* ===============
   Call to Action
=============== */
.call-to-action {
    background-color: #f9c4d2;
    color: white;
    text-align: center;
    padding: 50px 20px;
    border-radius: 50px;
    margin: 50px 50px;
}

.call-to-action h2 {
    color: white;
}

.call-to-action p {
    margin-bottom: 0;
    color: #ffffff;
}

/* ===============
   Blog Footer
=============== */
.blog-footer {
    text-align: center;
    background-color: #f5f7fa;
    padding: 20px;
    font-size: 14px;
    color: #979797;
}

/* ===============
   Media Queries TABLET
=============== */


@media screen and (max-width: 768px) {
    
    body, main, header, footer {
        max-width: 768px;
}

.blog-content {
    padding: 50px;
}

h2 {
    text-align: left;
}
}
/* ===============
   Media queries Mobil
=============== */

@media screen and (max-width: 360px) {

    body, main, header, footer {
        max-width: 360px;}
    

    p {
        text-align: left;
    }

    .call-to-action {
        width: 300px;
        margin: 0 auto;
    }

    ul {
        margin-right: 50px;
        text-align: left;
    }

    h2 {
        text-align: left;
    }

    h1 {
        font-size: 40px;
        text-align: left;
    }

    .blog-header h1 {
        display: none;
       
    }

    .newsletter-section {
        display: none;
    }
}