body {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

/*===============Main Body================*/
#forBuyers {
    display: flex;
    margin-top: 5%;
    margin-left: 25%;
    margin-right: 25%;
    padding: 0;
}

#blog-section {
    display: flex;
}

#blog-post-flex-header {
    display: flex;
    border-bottom: 1px solid var(--primary-color);
}

#red-underline {
    display: flex;
    border-bottom: var(--primary-color) 2px solid;
}

#blog-post-flex-header h1 {
    font-size: 24px;
    font-weight:50;
    padding-bottom: 0;
    margin-bottom: 0;
    white-space: nowrap;
}

#blog-post-flex-header p {
    font-size: 16px;
    padding-left: 7px;
    padding-top: 35px;
    padding-bottom: 0;
    margin-bottom: 5px;
    white-space: nowrap;
}

#blog-post-flex-body {
    display: flex;
    border-bottom: 1px rgba(128, 128, 128, 0.242) solid;
}

#calculator {
    border: solid 2px var(--primary-color);
    padding:15px;
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
    margin: 5px;
}

#blog-post ul {
    list-style: none;
    font-size: 24px;
}

#blog-post a {
    text-decoration: none;
    color: var(--primary-color);
}

#blog-post li::before {
    content:'';
    display: inline-block;
    background-image: url('../images/questionmark.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width:2em;
    height: 2em;
    margin: 0 0.5em -.6em -1em;
}

#blog-post li:hover::before {
    content:'';
    display: inline-block;
    background-image: url('../images/questionmarkactive.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width:2em;
    height: 2em;
    margin: 0 0.5em -.6em -1em;
}

#lepage-sidebar {
    padding: 15px;
    padding-top: 35px;
    display: flex;
    flex-direction: column;
}

ul {
    list-style-position: outside;
    margin:25px;
    padding: 0;
    list-style: '➤';
}

li::marker {
    color:var(--primary-color)
}

#first-choice {
    background-color: var(--primary-color);
    color: white;
    width: 250px;
    height: 40px;
    text-align: center;
    padding: 25px;
    margin-top: 19px;
    font-size: 12px;
}

#first-choice strong {
    font-size: 14px;
}

/* ==Tablets (landscape)== */
@media (min-width: 800px) and (max-width: 1366px) and (orientation : landscape) {
/*===============Main Body================*/
#forBuyers {
    display: flex;
    margin-top: 8%;
    margin-left: 5%;
    margin-right: 5%;
    padding: 0;
}
} 

/* ==Tablets (Portrait)== */
@media (min-width: 800px) and (max-width: 1024px) and (orientation : portrait){
    html, body {
        overflow-x: hidden;
    }

    #blog-post-flex-header p {
        font-size: 16px;
        padding-left: 7px;
        padding-top: 33px;
        padding-bottom: 0;
        margin-bottom: 0;
        white-space: wrap;
    }

    #blog-post-flex-header h1 {
        white-space: nowrap;
    }

    #blog-post-flex-header p{
        white-space: nowrap;
    }

    #forBuyers {
        display: flex;
        flex-direction: column;
        margin-top: 25%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    #blog-post-flex-body {
        display: flex;
        flex-direction: column;
        border-bottom: 1px rgba(128, 128, 128, 0.242) solid;
        margin-inline: 3%;
    }

    #blog-post-body {
        margin-inline: 3%;
    }

    #lepage-sidebar {
        padding: 15px;
        padding-top: 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 800px) {

    html, body {
        overflow-x: hidden;
    }

    #blog-post-flex-header p {
        font-size: 16px;
        padding-left: 7px;
        padding-top: 33px;
        padding-bottom: 0;
        margin-bottom: 0;
        white-space: wrap;
    }

    #blog-post-flex-header h1 {
        white-space: wrap;
    }

    #forBuyers {
        display: flex;
        flex-direction: column;
        margin-top: 25%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    #blog-post-flex-body {
        display: flex;
        flex-direction: column;
        border-bottom: 1px rgba(128, 128, 128, 0.242) solid;
        margin-inline: 3%;
    }

    #blog-post-body {
        margin-inline: 3%;
    }

    #lepage-sidebar {
        padding: 15px;
        padding-top: 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
