

#post-body {
    width: 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
}

#post-content {
    width: 50vw;
    margin-left: 4vw;
    margin-top: 2%;
}

#post-content h1 {
    font-size: 30px;
    margin-left: 10%;
}

#post-content p {
    line-height: 25px;
    word-spacing: 1.5px;
    font-size: 17px;
    
}

#post-content li {
    line-height: 25px;
    font-size: 17px;
}

#post-profile {
    width: 19vw;
    margin-left: 2vw;
    height: fit-content;
}

#post-recommendations {
    margin-top: 8%;
    width: 18vw;
    margin-left: 5vw;
}

.post-recommendations-header {
    display: flex;
    border-bottom: solid 4px rgb(230, 237, 96);
    padding-bottom: 3%;
    margin-bottom: 10%;
}

.post-recommendations-header h4 {
    margin: 0;
    font-size: 1.8vw;
}

#post-recommendations img {
    width: 100%;
}

#post-recommendations h3 {
    margin-top: 2%;
    font-size: 15px;
}

#post-content img {
    width: 80%;
    margin-left: 10%;
}

#post-content h5 {
    margin-left: 10%;
    margin-bottom: 1%;
    margin-top: 0%;
    font-weight: normal;
    font-size: 1.3vw;
}

#mobile-profile {
    display: none;
}

#table-of-contents {
    top: 3vw;
    max-width: 18vw;
    height: 90%;
    overflow: scroll;
    padding-right: 0.5%;
    margin-right: 1vw;
}

#table-of-contents h1 {
    font-size: 25px;
}

#table-of-contents h2 {
    font-size: 18px;
    font-weight: normal;

}

#table-of-contents h3 {
    font-size: 15px;
    font-weight: normal;
    padding-left: 10%;

}

#profile-container-name {
    margin-left: 5%;
    width: 95%;
}

#mobile-table-of-contents {
    display: none;
}

#topbutton {
    z-index: 9999;
    position: fixed;
    top: 80vh;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    background-color: rgb(126, 0, 176);
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 45px;
    margin-left: 5%;
}

#topbutton p {
    margin-top: 35%;
    font-weight: 250;
}

@media only screen and (max-width: 767px) {
    html, body {
        margin: 0%;
        padding: 0%;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
    #post-body {
        width: 100%;
        min-width: 100%;
    }
    #post-content {
        width: 95%;
        margin: 0;
    }
    #post-content h1 {
        font-size: 30px;
        width: 95%;
        margin: 0;
    }
    #post-content img {
        width: 100%;
        margin: 0;
    }
    #post-content h2 {
        font-size: 26px;
        margin-left: 0%;
    }
    #post-content h3 {
        margin-bottom: 2%;
        margin-top: 5%;
        font-size: 22px;
        margin-left: 0%;
    }
    #post-content h5 {
        font-size: 15px;
        margin-left: 0%;
    }
    #post-content ul {
        padding-left: 4%;
        display: none;
    }
    #post-content li {
        font-size: 4.5vw;
    }
    #post-content p {
        font-size: 16px;
        margin-left: 0%;
    }
    #mobile-profile {
        display:inherit;
    }
    #post-body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #post-profile {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-left: 0%;
    }
    #post-profile .profile-container img {
        width: 25vw;
        height: 25vw;
        min-width: 25vw;
        min-height: 25vw;
        margin-left: 0%;
        margin-right: 0%;
        margin-top: 0%;
    }
    .profile-container {
        padding: 0;
        max-width: 95%;
        margin-left: 2.5%;
        margin-bottom: 0%;
        display: flex;
        flex-direction: row;
        margin-top: 5%;
    }
    #profile-container-availability {
        display: none;
    }
    #profile-container-subjects {
        display: none;
    }
    .profile-container-text {
        margin-left: 5%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 10px;
        column-gap: 10px;
        align-content: flex-start;
    }

    .profile-container-text p {
        margin: 0%;
        width: 100%;
        font-size: 3.5vw;
    }
    #profile-container-name {
        width: 100%;
        font-size: 5vw;
        margin: 0%;
        font-weight: normal;
        height: 5vw;
    }
    #profile-container-headline {
        margin: 0%;
        padding: 0%;
        width: 100%;
        font-size: 3.5vw;
        text-align:left;
    }
    .profile-container-info {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        margin: 0%;
    }
    .profile-container-info p {
        width: 15%;
    }
    .profile-container-info ul {
        margin: 0;
        padding: 0;
        list-style-position: inside;
        width: 80%;
    }    
    .profile-container-info li {
        display: inline-block;
        margin-left: 3%;
    }
    .profile-container-info li p {
        width: auto;
    }   
    #table-of-contents {
        width: 100%;
        max-width: none;
        position: initial !important;
        display: none ;
    } 
    #mobile-table-of-contents {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 5%;
    }
    #mobile-table-of-contents h1 {
        font-size: 25px;
        margin-top: 5%;
        margin-left: 0%;
        margin-bottom: 5%;
        padding-bottom: 1%;
        border-bottom: solid 4px rgb(230, 237, 96);
    }
    #mobile-table-of-contents h2 {
        font-size: 5vw;
        font-size: 20px;
        margin-left: 2.5%;
        margin-bottom: 2%;
        margin-top: 2%;
    }
    #post-recommendations {
        width: 90%;
        margin-left: 0%;
        margin-right: 0%;
    }
    #post-recommendations h3 {
        font-size: 20px;
    }
    .post-recommendations-header {
        width: 95%;
        margin-bottom: 4%;
        padding-bottom: 1%;
    }

    .post-recommendations-header h4 {
        font-size: 25px;
        margin-bottom: 0%;
        padding: 0%;
    }
    #topbutton {
        display: flex;
    }
}