html
{
    min-height: 100%;
}

body
{
    width: 100%;
    min-height: 100%;
    margin: 0px;
    padding: 0px 0px 150px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background: linear-gradient(135deg, hsl(0, 0%, 100%), hsl(294, 100%, 96%));
}

@media (orientation: landscape)
{
    .thread-container
    {
        width: calc(max(70%, 500px));
        max-width: 750px;
    }

    .thread
    {
        width: calc(100% - 100px);
        background-color: hsl(0, 0%, 100%);
        border-radius: 8px;
        padding: 20px 50px;
        margin: 8px 0px 8px 0px;
        box-shadow: hsl(0, 0%, 50%) 0px 2px 5px;
    }

    .thread-seperator
    {
        width: calc(100% - 100px);
        background-color: hsl(0, 0%, 100%);
        border-radius: 8px;
        padding: 15px 50px;
        margin: 27px 0px 8px 0px;
        box-shadow: hsl(0, 0%, 50%) 0px 2px 5px;
    }

    .navigate-button-container
    {
        width: 1cm;
        background-color: hsl(0, 0%, 100%);
        border-radius: 8px;
        padding: 10px;
        margin: 8px 0px 8px 0px;
        box-shadow: hsl(0, 0%, 75%) 0px 0px 5px;
        position: fixed;
        bottom: 0.5cm;
        left: calc(max(50vw - min(max(35%, 250px), 375px) - 1cm - 50px, 0.5cm));
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
}

@media (orientation: portrait)
{
    .thread-container
    {
        width: 100%;
    }

    .thread
    {
        width: calc(100% - 60px);
        background-color: hsl(0, 0%, 100%);
        padding: 25px 30px;
        margin: 5px 0px 5px 0px;
        box-shadow: hsl(0, 0%, 50%) 0px 2px 5px;
    }

    .thread-seperator
    {
        width: calc(100% - 60px);
        background-color: hsl(0, 0%, 100%);
        padding: 25px 30px;
        margin: 25px 0px 5px 0px;
        box-shadow: hsl(0, 0%, 50%) 0px 2px 5px;
    }

    .navigate-button-container
    {
        width: 1cm;
        background-color: hsl(0, 0%, 100%);
        border-radius: 8px;
        padding: 10px;
        margin: 8px 0px 8px 0px;
        box-shadow: hsl(0, 0%, 75%) 0px 0px 5px;
        position: fixed;
        bottom: 0.5cm;
        left: 0.5cm;
        display: flex;
        flex-direction: column;
        justify-content: start;
    }
}

.icon-button
{
    margin: 3px 0px 3px 0px;
}

.button-icon
{
    width: 100%;
    height: 100%;
}

.account-banner
{
    width: 100%;
    background-color: hsl(0, 100%, 50%);
    position: fixed;
    top: 0px;
    left: 0px;
}

.account-banner-container
{
    display: flex;
    justify-content: center;
}

.account-banner-text
{
    color: hsl(0, 0%, 100%);
    font-size: 0.45cm;
    font-weight: bold;
    margin: 10px 0px;
}

.post-input
{
    padding: 0.25cm 0.5cm;
    width: calc(100% - 1cm);
    height: 150px;
    resize: none;
    border-bottom: solid 1px hsl(0, 0%, 50%);
    background-color: hsl(0, 0%, 99%);
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    border-radius: 5px;
    margin: 0px;
    font-size: 0.45cm;
    transition: 0.1s;
}

.post-input:focus
{
    border-bottom: solid 2px hsl(295, 100%, 68%);
}

.reply-input
{
    padding: 0.25cm 0.5cm;
    width: calc(100% - 1cm);
    height: 75px;
    resize: none;
    border-bottom: solid 1px hsl(0, 0%, 50%);
    background-color: hsl(0, 0%, 99%);
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    border-radius: 5px;
    margin: 0px;
    font-size: 0.45cm;
    transition: 0.1s;
}

.reply-input:focus
{
    border-bottom: solid 2px hsl(295, 100%, 68%);
}

.submit-container
{
    display: flex;
    justify-content: end;
    align-items: center;
}

.submit-button
{
    width: calc(min(3cm, 50%));
    margin: 3px 0px 0px 0px;
    height: 1cm;
    border-radius: 5px;
    background-color: hsl(0, 0%, 98%);
    border-bottom: solid 2px hsl(295, 100%, 68%);
    border-top: none;
    border-left: none;
    border-right: none;
    color: hsl(0, 0%, 0%);
    font-size: 0.4cm;
    font-weight: bold;
    transition: 0.1s;
}

.submit-button:hover
{
    background-color: hsl(0, 0%, 96%);
}

.submit-button:active
{
    background-color: hsl(0, 0%, 93%);
}

.icon-button
{
    width: 1cm;
    height: 1cm;
    border-radius: 50%;
    background-color: hsl(0, 0%, 100%);
    border: none;
    transition: 0.1s;
}

.icon-button:hover
{
    background-color: hsl(0, 0%, 95%);
}

.thread-title
{
    font-weight: bold;
    font-size: 0.65cm;
    color: hsl(0, 0%, 0%);
    margin: 0px 0px 3px 0px;
    text-decoration: none;
}

.thread-username
{
    font-weight: bold;
    font-size: 0.45cm;
    color: hsl(0, 0%, 0%);
    margin: 0px 0px 3px 0px;
    text-decoration: none;
}

.thread-date
{
    font-weight: normal;
    font-size: 0.3cm;
    color: hsl(0, 0%, 30%);
    margin: 0px 0px 3px 0px;
    text-decoration: none;
}

.thread-text
{
    font-weight: normal;
    font-size: 0.45cm;
    color: hsl(0, 0%, 0%);
    margin: 0px;
    text-decoration: none;
    word-wrap: break-word;
}

.about-text
{
    font-weight: normal;
    font-size: 0.45cm;
    color: hsl(0, 0%, 0%);
    margin: 0px;
    text-decoration: none;
    white-space: pre-wrap;
    word-wrap: break-word;
}

hr
{
    border-bottom: solid 1px hsl(0, 0%, 50%);
    border-top: none;
    border-left: none;
    border-right: none;
}

.settings-input
{
    padding: 0.2cm 0.25cm;
    width: calc(100% - 0.5cm);
    border-bottom: solid 1px hsl(0, 0%, 50%);
    background-color: hsl(0, 0%, 99%);
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
    border-radius: 5px;
    margin: 5px 0px;
    font-size: 0.4cm;
    transition: 0.1s;
}

.settings-input:hover
{
    background-color: hsl(0, 0%, 97%);
}

.settings-input:active
{
    background-color: hsl(0, 0%, 93%);
}

.settings-input:focus
{
    border-bottom: solid 2px hsl(295, 100%, 68%);
}

.comment-a
{
    font-weight: normal;
    font-size: 0.4cm;
    color: hsl(0, 0%, 50%);
    margin: 0px 0px 0px 25px;
    text-decoration: none;
    transition: 0.1s;
}

.comment-a:hover
{
    color: hsl(295, 100%, 68%);
}