html {
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
}
body {
    background-color: #f8efe0;
}
.header {
    text-align: center;
}
pre {
    font-family: inherit;
    font-size: inherit;
    display: inline-block;
    margin: initial;
    white-space: break-spaces;
}
.header svg {
    height: 140px;
    width: auto;
    margin-top: 0px;
    margin-bottom: 30px;
}

@media (max-width: 800px) {
    body.admin .header svg {
        margin-bottom: 15px;
        height: 100px;
    }
}

.top_header {
    text-align: right;
    padding: 15px;
}

.top_header svg {
    height: 30px;
    width: auto;
}

.thoughts {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
    margin-top: 30px;
    position: relative;

}

.thought {
    background-color: #f5f5f5;
    padding: 30px 60px;
    font-size: 20px;
    color: black;
    margin-bottom: 30px;
    border-radius: 3px;
    position: relative;
    line-height: 35px;
}

.make_public,
.hide_thought {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #3c3c3c;
    color: black;
    padding: 8px 30px;
    font-size: 21px;
    line-height: 21px;
    cursor: pointer;
}

.make_public:hover,
.hide_thought:hover {
    background-color: black;
    color: black;
}

.delete_thought {
    position: absolute;
    bottom: 0;
    right: 80px;
    background-color: #3c3c3c;
    color: black;
    padding: 8px 30px;
    font-size: 21px;
    line-height: 21px;
    cursor: pointer;
}

.delete_thought:hover {
    background-color: black;
    color: black;
}

.thought a {
    color: #e48c8c;
}

.thought_time {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 16px;
    line-height: 16px;
}
.inner_thought {
    max-width: calc(100% - 250px);
}

@media (max-width: 800px) {
    .inner_thought {
        max-width: calc(100% - 60px);
    }
}

.links {
    margin-top: 60px;
    text-align: center;
    color: rgba(209, 46, 46, 0.33);
    margin-bottom: 60px;
}

.links a {
    color: #d12e2e;
    font-weight: bold;
    letter-spacing: 0.2px;
}

.painful_thought {
    background-color: #d12e2e;
}

.painful_thought img {
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.painful_thought a {
    color: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 800px) {
    .links {
        border-top: 3px solid rgba(255, 255, 255, 0.03);
        padding-top: 30px;
    }
    .links a {
        width: 100%;
        display: inline-block;
        margin-bottom: 15px;
        font-size: 16px;
    }
    .links span {
        display: none;
    }

    .header svg {
        height: 200px;
    }

    .top_header {
        text-align: center;
    }

    .thoughts {
        padding: 0 15px;
    }

    .thought {
        font-size: 16px;
        padding: 30px !important;
        line-height: 23px;
        position: relative;
    }

    .inner_thought {
        width: 100%;
        padding-top: 10px;
    }
}

 .painful_logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    display: none;
    height: 50px;
}

.painful_logo svg {
    height: 50px;
    width: 50px;
}

.painful_logo svg path {
    fill: white;
}

.painful_thought .painful_logo {
    display: block;
}

.painful_thought .painful_logo {
    left: 15px;
    right: auto;
}

.painful_thought .thought_time {
    color: rgba(255, 255, 255, 0.78);
}

.thought img {
    max-width: 70%;
    height: auto;
    margin-top: 30px;
    border: 15px solid #313131;
    cursor: pointer;
    max-height: 600px;
    width: auto;
    background-color: #313131;
}

.thought_image {
    text-align: center;
}

.thought_image_lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    z-index: 900;
    display: none;
}

.show_lightbox {
    display: block;
}

.thought_image_lightbox img {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.order_display {
    text-align: center;
    position: absolute;
    top: 13px;
    left: calc(100% + 30px);
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.7;
}

.order_display svg {
    margin-top: 5px;
}

.order_display svg path {
    fill: white;
}

@media (max-width: 1400px) {
    .order_display {
        left: initial;
        right: 30px;
        top: initial;
        bottom: calc(100% + 30px);
    }
}

.add_thought {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    color: black;
    text-align: center;
}

.add_thought input[type="text"],
.add_thought textarea {
    width: 100%;
    padding: 0 30px;
    height: 60px;
    font-size: 18px;
    outline: none;
    box-sizing: border-box;
    border: none;
    background-color: #f5f5f5;
    color: black;
    border: 4px solid #dcdcdc;
}

textarea {
    font-family: 'Ubuntu';
    padding-top: 15px !important;
    max-width: 100%;
    resize: vertical;
    min-height: 100px;
}

.add_thought input {
    margin-bottom: 15px;
}

.add_thought input[type="submit"] {
    background-color: #b4f1ff;
    color: #404040;
    font-size: 18px;
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    border-radius: 100px;
    outline: none;
    font-weight: bold;
}

.add_thought input[type="submit"]:hover {
    background-color: red;
}

.view_counter {
    text-align: center;
    color: black;
    padding-bottom: 60px;
}

body {
    position: relative;
}

.super_relaxed {
    text-align: center;
    position: absolute;
    bottom: 15px;
    right: 30px;
}

.super_relaxed img {
    height: 70px;
}

@media (max-width: 1200px) {
    .super_relaxed {
        position: initial;
        padding-bottom: 60px;
    }
}