
:root{
    --fontcolor: #062127;
    --bordercolor: #5389CC;
    --maincolor:#DDF6FF;
    --secondarycolor:#D1EEFF;
    --postcolor:#EDFAFF;
    --bgbottom:#f0f8ff;
    --bgtop:#e6f1ff;
    --highlights:#ebebeb;
    --shadow:#C7C7C7;
}

@font-face {
    font-family: "main-font";
    src: url("/assets/fonts/code.ttf");
}

html{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 0;
}

body{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt;
    color: var(--fontcolor);
    image-rendering: pixelated;
    background: linear-gradient(0deg, var(--bgbottom) 0%, var(--bgtop) 100%);
    overflow-x:hidden;
}

a:hover, a:link, a:visited, a:active, a{
    color: var(--fontcolor);
}

.post a{
    text-decoration: none;
    
}

.main-frame{
    display: flex;
    flex-direction: column;
    flex: 1;
    max-height: 90%;
    min-height: 0;
    width: 100%;
    max-width:1000px;
    border: 1px var(--bordercolor) solid;
    background-color: var(--maincolor);
    -webkit-box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights);
    box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights);
}

.top-bar-items{
    display: flex;
    margin: 0;
    width:100%;
}

.top-bar{
    display: flex;
    margin: 0;
    background-color: var(--secondarycolor);
    padding: 0.25rem;
    border-bottom: 1px var(--bordercolor) solid;
    -webkit-box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights); 
    box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights), 0px 2px 0px 0px var(--highlights);
}
.top-bar p , .top-bar-items p{
    margin: 0;
    padding-left: 1rem;
}

.body-frame {
    flex: 1;
    min-height: 0;
    display: flex;
}


.row{
    display:flex;
    gap:1rem;
    width:95%;
    flex-direction:row;
    margin-top:1rem;
}

.row .post{
    margin:0 !important;
}

.main-bar {
    flex: 5;
    display: flex;
    overflow-y:hidden;
    min-height: 0;
    flex-direction: column;
    align-items: center;
}

.post-wrapper {
    display: flex;
    flex-direction: column;
    width: 95%;
    flex: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    overflow-y: auto;
    border: 1px var(--bordercolor) solid;
    background-color: var(--secondarycolor);
    scrollbar-color: var(--post-color) var(--bordercolor);
    scrollbar-width:thin;
    -webkit-box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights); 
    box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights);
}

.replies .post-options {
    padding:0 !important;
}

.logout{
    margin-left:auto !important;
    padding-right:1rem;
}

.user-image {
    
    display:flex;
    align-items:center;
    width:100px;
    
    img {
        width:100px;
        height:100px;
        flex:1;
        object-fit:cover;
        border: 1px var(--bordercolor) solid;
        -webkit-box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights); 
        box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights);
    }
}

.replies{
    flex:1;
}

.replies p {
    margin:0;
}

.reply-post{
    margin-top:0.5rem !important;
}

#reply{
    width: 100%;
  padding: 0;
  border: none;
}

.reply{
    display:flex;
    border-bottom: 1px var(--bordercolor) solid;
    padding-top:0.5rem;
    padding-bottom:0.5rem;
}

.reply:last-child{
    border-bottom: none;
}

.reply a{
    margin-left:0.5rem;
    margin-right:0.5rem
}

.reply-delete{
    margin-left:auto !important;
}
.pr{
    margin-bottom:0.5rem !important;
    width:100%;
    border-bottom: 1px var(--bordercolor) solid;
}
.post{
    background-color: var(--postcolor);
    margin-top: 1rem;
    width: 95%;
    display:flex;
    flex-direction:column;
    border: 1px var(--bordercolor) solid;
    -webkit-box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights); 
    box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights);
    .post-image{
        max-width: 450px;
        object-fit:cover;
        overflow:hidden;
        max-height:350px;
        object-position: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: .5rem;
    }
    .body-text{
        padding: 0.5rem;
        margin: 0;
    }
}

.post:last-child{
    margin-bottom: 1rem;
}

.post:only-child{
    flex:1;
}

 .notif{
flex:0 !important;
}

.info{
    flex:1;
}

.user-image a {
    height:100px;
}

.button-rack{
    margin-left:auto;
    display:flex;
}

.info-bar{
    border-bottom: 1px var(--bordercolor) solid;
    display:flex;
}

.user-link{
    text-decoration:underline !important;
}

.post-name{
    margin-right:1rem !important;
}

.user-details {
    background-color: var(--postcolor);
    display:flex;
    margin-top: 1rem;
    width: 95%;
    
    border: 1px var(--bordercolor) solid;
    -webkit-box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights); 
    box-shadow: inset -2px -2px 0px 0px var(--shadow), inset 2px 2px 0px 0px var(--highlights);
    p {
        
        margin: 0.5rem;
    }
}

.post-details {
    display: flex;
    border-bottom: 1px var(--bordercolor) dotted;
    padding: 0.5rem;
    -webkit-box-shadow: inset 2px 2px 0px 0px var(--highlights); 
    box-shadow: inset 2px 2px 0px 0px var(--highlights);
    p{
        margin: 0;
    }
    .date{
        margin-left: auto;
    }
}

.post-login {
    border-bottom: 1px var(--bordercolor) dotted;
    padding: 0.5rem;
    -webkit-box-shadow: inset 2px 2px 0px 0px var(--highlights); 
    box-shadow: inset 2px 2px 0px 0px var(--highlights);
    p{
        margin: 0;
    }
    .date{
        margin-left: auto;
    }
}

.post-options {
  display: flex;
  padding: 0.5rem;
    p{
        margin: 0;
        padding-right: 1rem;
    }
    .link{
        margin-left: auto;
        padding: 0;
    }
}

.header-image{
    margin-bottom:0 !important;
    width:100% !important;
}

.post-top-bar{
    border-bottom: 1px var(--bordercolor) solid;
}

.header-options{
    
}

.profile-list-button{
	text-decoration: underline !important;
	padding-right: 1rem;
	padding-right: 1rem;
}
.profile-list-buttons{
    margin-bottom:0.5rem;
}

.spoiled{
color: black;
background-color:black;}

.post-second-wrapper{
    display:flex;
    flex-direction:column;
}

textarea{
    width:75%;
    resize: none;
    scrollbar-color: var(--postcolor) var(--bordercolor);
    scrollbar-width:thin;
}

input, textarea {
    border: 1px var(--bordercolor) solid;
}

textarea:focus, input:focus{
    outline: 1px var(--bordercolor) solid;
}
.top-bar-sep-mobile{
        display:none;
    }
.top-bar-button-mobile{
    display:none;
}

.reply-count{
    margin-left:auto !important;
    padding-right:0 !important;
}

#page-2{
    display:none;
    flex-direction:column;
}

#page-3{
    display:none;
    flex-direction:column;
}

footer{
    display:flex;
    height:auto;
    a{
        
        margin:0;
        margin-right:0.5rem;
    }
    a:last-child{
        margin-right:0;
    }
    
}

.announcement{
    text-align:center;
    p{
    margin:0;
    font-weight:900;
    }
}

.holiday{
    position:absolute;
    bottom:0;
    right:0;
}

.body-text p {
    margin:0;
}

blockquote{
    margin:0;
    margin-left:1rem;
}

@media only screen and (max-width: 600px) {
    
    .post-image{
        max-width: 100% !important;
    }
    .row{
        flex-direction:column;
    }
    .row .post{
        margin:auto;
        width:100%;
    }
    .main-frame{
        max-height: 100%;
        width: 100%;
    }
    .top-bar {
        display:block;
    }
    .top-bar-sep{
        display:none;
    }
    .top-bar-sep-mobile{
        display:block;
    }
    .top-bar-items {
        display:none;
    }
    .top-bar-button-mobile{
        display:block;
    }
    .user-image{
        height:100px;
    }
}