body {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}

/*===============Main Body================*/
.mainBody {
    margin-top: 9%;
    margin-left: 20%;
    margin-right: 20%;
    padding: 0;
}

#lepage-section-header {
    display: flex;
}

#lepage-section-header-title h1{
    text-decoration: none;
    padding: 0%;
    margin:0;
    margin-top: 15px;
    font-size: 36px;
    font-weight: lighter;
    color: gray
}

#lepage-section-header-title p{
    text-decoration: none;
    padding: 0%;
    font-size: 20px;
    margin:0;
    padding-left: 10px;
    margin-top: 30px;
    font-weight: lighter;
    color: gray
}

#lepage-section-header-title #red-underline {
    display: flex;
    border-bottom: var(--primary-color) 2px solid;
}

#lepage-sidebar {
    padding: 15px;
    padding-top: 35px;
    display: flex;
    flex-direction: column;
}

#first-choice {
    background-color: var(--primary-color);
    color: white;
    width: 225px;
    height: 75px;
    text-align: center;
    padding: 25px;
    font-size: 12px;
}

#first-choice strong {
    font-size: 14px;
}

#lepage-section-header-post ul {
    list-style-position: outside;
    margin:25px;
    padding: 0;
    list-style: '➤';
}

#lepage-section-header-post li {
    margin:0;
    padding: 0;
}

#lepage-section-header-post li:first-child{
    font-size: 20px;
    list-style: none;
}

#lepage-section-header-post li:first-child::before {
    content:'';
    display: inline-block;
    background-image: url('../images/thumbsup.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width:2em;
    height: 2em;
    margin: 0 0.5em -.6em -1em;
}

#lepage-section-header-post li:hover:first-child::before {
    content:'';
    display: inline-block;
    background-image: url('../images/thumbsupactive.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width:2em;
    height: 2em;
    margin: 0 0.5em -.6em -1em;
}

#lepage-section-header-post li:nth-child(11){
    font-size: 20px;
    list-style: none;
}

#lepage-section-header-post li:nth-child(11)::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;
}

#lepage-section-header-post li:hover:nth-child(11)::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-section-header-post li:nth-child(2) {
    margin-top: 8px;
}

#lepage-section-header-post li:nth-child(12) {
    margin-top: 8px;
}

#lepage-section-header-post li:not(first-child) {
    margin-left: 6px;
    padding-left:10px;
}

#lepage-section-header-post li:not(first-child)::marker{
    color:var(--primary-color);
    margin-right: 5px;
}

#rlp-history {
    text-align: center;
    border: var(--primary-color) 1px solid;
    padding:15px;
}

#rlp-history a {
    text-decoration: none;
    color: var(--primary-color);
}

#rlp-history a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

#blog-section-flex {
    display: flex;
    margin-top: 5px;
    text-align: left;
    padding-bottom: 15px;
    border-bottom: solid 1px rgba(128, 128, 128, 0.3);
}

/* ==Tablets (landscape)== */
@media (min-width: 800px) and (max-width: 1366px) and (orientation : landscape) {  
    /*===============Main Body================*/
    .mainBody {
        margin-top: 9%;
        margin-left: 5%;
        margin-right: 5%;
        padding: 0;
    }
    
    #lepage-section-header {
        display: flex;
    }
    
    #lepage-section-header-title h1{
        text-decoration: none;
        padding: 0%;
        margin:0;
        margin-top: 15px;
        font-size: 36px;
        font-weight: lighter;
        color: gray
    }
    
    #lepage-section-header-title p{
        text-decoration: none;
        padding: 0%;
        font-size: 20px;
        margin:0;
        padding-left: 10px;
        margin-top: 30px;
        font-weight: lighter;
        color: gray
    }
    
    #lepage-section-header-title #red-underline {
        display: flex;
        border-bottom: var(--primary-color) 2px solid;
    }
    
    #lepage-sidebar {
        padding: 15px;
        padding-top: 35px;
        display: flex;
        flex-direction: column;
    }
    
    #first-choice {
        background-color: var(--primary-color);
        color: white;
        width: 225px;
        height: 75px;
        text-align: center;
        padding: 25px;
        font-size: 12px;
    }
    
    #first-choice strong {
        font-size: 14px;
    }
    
    #lepage-section-header-post ul {
        list-style-position: outside;
        margin:25px;
        padding: 0;
        list-style: '➤';
    }
    
    #lepage-section-header-post li {
        margin:0;
        padding: 0;
    }
    
    #lepage-section-header-post li:first-child{
        font-size: 20px;
        list-style: none;
    }
    
    #lepage-section-header-post li:first-child::before {
        content:'';
        display: inline-block;
        background-image: url('../images/thumbsup.svg');
        background-size: contain;
        background-repeat: no-repeat;
        width:2em;
        height: 2em;
        margin: 0 0.5em -.6em -1em;
    }
    
    #lepage-section-header-post li:hover:first-child::before {
        content:'';
        display: inline-block;
        background-image: url('../images/thumbsupactive.svg');
        background-size: contain;
        background-repeat: no-repeat;
        width:2em;
        height: 2em;
        margin: 0 0.5em -.6em -1em;
    }
    
    #lepage-section-header-post li:nth-child(11){
        font-size: 20px;
        list-style: none;
    }
    
    #lepage-section-header-post li:nth-child(11)::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;
    }
    
    #lepage-section-header-post li:hover:nth-child(11)::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-section-header-post li:nth-child(2) {
        margin-top: 8px;
    }
    
    #lepage-section-header-post li:nth-child(12) {
        margin-top: 8px;
    }
    
    #lepage-section-header-post li:not(first-child) {
        margin-left: 6px;
        padding-left:10px;
    }
    
    #lepage-section-header-post li:not(first-child)::marker{
        color:var(--primary-color);
        margin-right: 5px;
    }
    
    #rlp-history {
        text-align: center;
        border: var(--primary-color) 1px solid;
        padding:15px;
    }
    
    #rlp-history a {
        text-decoration: none;
        color: var(--primary-color);
    }
    
    #rlp-history a:hover {
        text-decoration: underline;
        color: var(--primary-color);
    }
    
    #blog-section-flex {
        display: flex;
        margin-top: 5px;
        text-align: left;
        padding-bottom: 15px;
        border-bottom: solid 1px rgba(128, 128, 128, 0.3);
    }

    #blog-section-flex img {
        width: fit-content;
    }
}

/* ==Tablets (Portrait)== */
@media (min-width: 800px) and (max-width: 1024px) and (orientation : portrait) {

    html, body {
        overflow-x: hidden;
    }

    .mainBody {
        width: 100%;
        margin-top: 25%;
        margin-inline: 0%;
        padding: 0;
    }

    #lepage-section-header {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #blog-section-flex {
        display: flex;
        margin-top: 5px;
        text-align: left;
        padding-bottom: 15px;
        border-bottom: solid 1px rgba(128, 128, 128, 0.3);
    }

    #lepage-section-header-post p {
        margin-inline: 3%;
    }

    #lepage-section-header-post li:first-child::before {
        content:'';
        display: none;
        background-image: none;
        background-size: contain;
        background-repeat: no-repeat;
        width:2em;
        height: 2em;
        margin: 0 0.5em -.6em -1em;
    }

    #lepage-section-header-post li:first-child {
        margin-top: 2%;
    }

    #lepage-section-header-post li:nth-child(11)::before {
        content:'';
        display: none;
        background-image: none;
        background-size: contain;
        background-repeat: no-repeat;
        width:2em;
        height: 2em;
        margin: 0 0.5em -.6em -1em;
    }

    #lepage-section-header-post li:nth-child(11) {
        margin-top: 4%;
    }

    #lepage-sidebar {
        padding: 15px;
        padding-top: 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


@media (max-width: 800px) {

    html, body {
        overflow-x: hidden;
    }

    .mainBody {
        width: 100%;
        margin-top: 25%;
        margin-inline: 0%;
        padding: 0;
    }

    #lepage-section-header {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #blog-section-flex {
        display: flex;
        flex-direction: column;
        margin-top: 5px;
        text-align: left;
        padding-bottom: 15px;
        border-bottom: solid 1px rgba(128, 128, 128, 0.3);
    }

    #lepage-section-header-post p {
        margin-inline: 3%;
    }

    #lepage-section-header-post li:first-child::before {
        content:'';
        display: none;
        background-image: none;
        background-size: contain;
        background-repeat: no-repeat;
        width:2em;
        height: 2em;
        margin: 0 0.5em -.6em -1em;
    }

    #lepage-section-header-post li:first-child {
        margin-top: 2%;
    }

    #lepage-section-header-post li:nth-child(11)::before {
        content:'';
        display: none;
        background-image: none;
        background-size: contain;
        background-repeat: no-repeat;
        width:2em;
        height: 2em;
        margin: 0 0.5em -.6em -1em;
    }

    #lepage-section-header-post li:nth-child(11) {
        margin-top: 4%;
    }

    #lepage-sidebar {
        padding: 15px;
        padding-top: 35px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
