body {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

/*===============Main Body================*/
#buyer-faqs {
    display: flex;
    margin-top: 7%;
    margin-left: 20%;
    margin-right: 20%;
    padding: 0;
}

#FAQ-section {
    width:75%
}

#FAQ-header #grey-underline{
    border-bottom: rgba(128, 128, 128, 0.409) 1px solid;
    width: 100%;
    padding: 0%;
    margin: 0%;
}

#FAQ-header h1 {
    border-bottom: var(--primary-color) 2px solid;
    width: 60%;
    padding: 0%;
    margin: 0%;
    font-size: 24px;
}

#FAQ-header {
    margin-bottom: 5px;
}

#FAQ {
    border: 1px lightgray solid;
    background-color: lightgray;
    min-width: 100%;
    margin: 1px
}

#FAQ label {
    display: block;
    font-size: 20px;
    background-color: lightgray;
    position: relative;
    text-indent: 2%;
}

#FAQ label::before {
    content: '';
    position: absolute;
    top:7.5%;
    transform: translateY(-7.5%);
    left:-2px;
    width:2%;
    height:100%;
    background-image: url("../images/chevron-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

#FAQ input {
    display: none;
}

#FAQ input:checked ~ #faq-body {
    display: block;
}

#FAQ input:checked ~ label::before {
    transform: translateY(-7.5%) rotate(90deg);
}

#faq-body {
    display: none;
    font-size: 16px;
    background-color: white;
    padding:5px;
    padding-inline: 30px;
    transition: height .3s, opacity 0.5s, content-visibility .3s;
}

#FAQ-sidebar {
    display: flex;
    flex-direction: column;
    width:25%;
    text-align: center;
}

#callbox {
    color: white;
    text-align: center;
    background-color: var(--primary-color);
    width: 75%;
    height: 200px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-inline: 10px;
    margin-inline: 15px;
}

/* ==Tablets (landscape)== */
@media (min-width: 800px) and (max-width: 1366px) and (orientation : landscape) { 
    /*===============Main Body================*/
    #buyer-faqs {
        display: flex;
        margin-top: 10%;
        margin-left: 10%;
        margin-right: 10%;
        padding: 0;
    }
}

/* ==Tablets (Portrait)== */
@media (min-width: 800px) and (max-width: 1366px) and (orientation : portrait) {
    html, body {
        overflow-x: hidden;
    }
    
    #FAQ-header h1 {
        border-bottom: var(--primary-color) 2px solid;
        width: 100%;
        padding: 0%;
        margin: 0%;
        font-size: 20px;
    }

    #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;
    }

    #buyer-faqs {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 25%;
        margin-inline: 5%;
        padding: 0;
    }

    #FAQ-section {
        width:90%;
    }

    #FAQ-sidebar {
        display: flex;
        flex-direction: column;
        width:90%;
        text-align: center;
        align-items: center;
    }

    #FAQ label::before {
        content: '';
        top:7.5%;
        left:0;
        width:0;
        height:0;
        background-image: none;
        background-size: contain;
        background-repeat: no-repeat;
    }

    #FAQ label {
        display: block;
        font-size: 20px;
        background-color: lightgray;
        position: relative;
        text-indent: 0;
    }

    #blog-post-flex-body {
        display: flex;
        flex-direction: column;
        border-bottom: 1px rgba(128, 128, 128, 0.242) solid;
    }

    #callbox h1 {
        color: white;
    }
}

@media (max-width: 800px) {

    html, body {
        overflow-x: hidden;
    }
    
    #FAQ-header h1 {
        border-bottom: var(--primary-color) 2px solid;
        width: 100%;
        padding: 0%;
        margin: 0%;
        font-size: 20px;
    }

    #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;
    }

    #buyer-faqs {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 25%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    #FAQ-section {
        width:100%;
    }

    #FAQ-sidebar {
        display: flex;
        flex-direction: column;
        width:100%;
        text-align: center;
        align-items: center;
    }

    #FAQ label::before {
        content: '';
        top:7.5%;
        left:0;
        width:0;
        height:0;
        background-image: none;
        background-size: contain;
        background-repeat: no-repeat;
    }

    #FAQ label {
        display: block;
        font-size: 20px;
        background-color: lightgray;
        position: relative;
        text-indent: 0;
    }

    #blog-post-flex-body {
        display: flex;
        flex-direction: column;
        border-bottom: 1px rgba(128, 128, 128, 0.242) solid;
    }

    #callbox h1 {
        color: white;
    }
}