:root {
  --primary: #a4bae5;
  --secondary: #D2DDF2;
  --accent: #EBF1FD;
  --background: #f7f9ff;
}

a {
    text-decoration:none;
    color:unset;
}

form {
    display: flex;
    flex-direction: column;
    width:100%;
}


@font-face {
    font-family: 'font';
    src: url('font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'font', Arial, sans-serif;
    font-size: 25px;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--background);
}

.button {
    padding: 0px 10px;
    cursor: pointer;
    background: linear-gradient(0deg, #a2a2a2, #ffffff);
    font-size: 14px;
    font-weight: bold;
}

.emoji-in-text {
    width: 20px;
    height: 20px;
    vertical-align: middle;
        display: inline;
}
        
.header {
    background: white;
    width: calc(100% - 20px);
    margin: 10px;
    padding: 0px 10px;
    display: flex;
    justify-content: space-between;
    background: var(--primary);
}

.header-user-icon {
    width: 25px;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-user a{
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
}

.header-logo {
    font-weight: bold;
    color:black;
    text-decoration:none;
}

.thoughts {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap:5px;
}

.thought-content {
    background: var(--accent);
    padding: 0px 5px;
    font-size: 20px;
}

.thought-title {
    background: var(--secondary);
    font-weight: bold;
    padding: 0px 5px;
    display: flex;
    flex-direction: column;
    font-size: 24px;
}

.thought {
    width: calc(100% - 20px);
}

.comments{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comment-user-icon {
    /*padding: 5px;*/
    background: var(--secondary);
    justify-content: flex-start;
    flex-direction: column;
}

.comment-user-icon img {
    width: 100px;
}

.comment-user {
    display: flex;
    gap: 5px;
    align-items: center;
    background: var(--secondary);
}

.comment {
    width: calc(100% - 20px);
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    background: var(--accent);
}

.comment-content {
    background:var(--accent);
    width:100%;
}

span.comment-date {
    font-size: 14px;
    font-weight: normal;
}

span.thought-date {
    font-size: 14px;
    font-weight: normal;
        margin-top: -10px;
}
   
.comment-text {
    padding: 5px;
    font-size:16px;
}

.comment-user-name {
    font-weight: bold;
    font-size:20px;
    padding-left:5px;
}  

.commentbutton {
    display: block;
    margin-left: 3px;
    width: fit-content;
    padding: 3px 10px;
    margin-bottom: 3px;
    color:black;
}

textarea.comment-text {
    width: calc(100% - 10px);
    height: fit-content;
    border: none;
    resize: none;
    margin: 5px;
    padding: 5px;
    background: var(--background);
}

.alert {
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(0deg, #0000003d, #fafe0000), #ef8181;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content !important;
    z-index:10;
}


/*PIXEL CORNERS PIXEL CORNERS PIXEL CORNERS PIXEL CORNERS PIXEL CORNERS PIXEL CORNERS PIXEL CORNERS PIXEL CORNERS PIXEL CORNERS*/
 
.pixel-corners,
.pixel-corners--wrapper {
  clip-path: polygon(0px calc(100% - 6px),
    2px calc(100% - 6px),
    2px calc(100% - 4px),
    4px calc(100% - 2px),
    6px calc(100% - 2px),
    6px 100%,
    calc(100% - 6px) 100%,
    calc(100% - 6px) calc(100% - 2px),
    calc(100% - 4px) calc(100% - 2px),
    calc(100% - 2px) calc(100% - 4px),
    calc(100% - 2px) calc(100% - 6px),
    100% calc(100% - 6px),
    100% 6px,
    calc(100% - 2px) 6px,
    calc(100% - 2px) 4px,
    calc(100% - 4px) 2px,
    calc(100% - 6px) 2px,
    calc(100% - 6px) 0px,
    6px 0px,
    6px 2px,
    4px 2px,
    2px 4px,
    2px 6px,
    0px 6px);
  position: relative;
}
.pixel-corners {
  border: 2px solid transparent;
}
.pixel-corners--wrapper {
  width: fit-content;
  height: fit-content;
}
.pixel-corners--wrapper .pixel-corners {
  display: block;
  clip-path: polygon(2px 6px,
    4px 6px,
    4px 4px,
    6px 4px,
    6px 2px,
    calc(100% - 6px) 2px,
    calc(100% - 6px) 4px,
    calc(100% - 4px) 4px,
    calc(100% - 4px) 6px,
    calc(100% - 2px) 6px,
    calc(100% - 2px) calc(100% - 6px),
    calc(100% - 4px) calc(100% - 6px),
    calc(100% - 4px) calc(100% - 4px),
    calc(100% - 6px) calc(100% - 4px),
    calc(100% - 6px) calc(100% - 2px),
    6px calc(100% - 2px),
    6px calc(100% - 4px),
    4px calc(100% - 4px),
    4px calc(100% - 6px),
    2px calc(100% - 6px));
}
.pixel-corners::after,
.pixel-corners--wrapper::after {
  content: "";
  position: absolute;
  clip-path: polygon(0px calc(100% - 6px),
    2px calc(100% - 6px),
    2px calc(100% - 4px),
    4px calc(100% - 2px),
    6px calc(100% - 2px),
    6px 100%,
    calc(100% - 6px) 100%,
    calc(100% - 6px) calc(100% - 2px),
    calc(100% - 4px) calc(100% - 2px),
    calc(100% - 2px) calc(100% - 4px),
    calc(100% - 2px) calc(100% - 6px),
    100% calc(100% - 6px),
    100% 6px,
    calc(100% - 2px) 6px,
    calc(100% - 2px) 4px,
    calc(100% - 4px) 2px,
    calc(100% - 6px) 2px,
    calc(100% - 6px) 0px,
    6px 0px,
    6px 2px,
    4px 2px,
    2px 4px,
    2px 6px,
    0px 6px,
    0px 50%,
    2px 50%,
    2px 6px,
    4px 6px,
    4px 4px,
    6px 4px,
    6px 2px,
    calc(100% - 6px) 2px,
    calc(100% - 6px) 4px,
    calc(100% - 4px) 4px,
    calc(100% - 4px) 6px,
    calc(100% - 2px) 6px,
    calc(100% - 2px) calc(100% - 6px),
    calc(100% - 4px) calc(100% - 6px),
    calc(100% - 4px) calc(100% - 4px),
    calc(100% - 6px) calc(100% - 4px),
    calc(100% - 6px) calc(100% - 2px),
    6px calc(100% - 2px),
    6px calc(100% - 4px),
    4px calc(100% - 4px),
    4px calc(100% - 6px),
    2px calc(100% - 6px),
    2px 50%,
    0px 50%);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000000;
  display: block;
  pointer-events: none;
}

.pixel-corners::after {
  margin: -2px;
}
