*{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#root{
    background-color: gray;
    display: flex;
    justify-content: space-between;
    padding: 8px;
    min-height: 100vh;
}

#root > div{
    background-color: white;
    padding: 8px;
    border-radius: 4px;
    width: 45%;
}

#renderContainer, #editorContainer{
    overflow-y: scroll;
}

#renderContainer *{
    margin: 8px;
}

input,textarea{
    padding: 8px;
    margin: 8px;
    width: 75%;
}

textarea{
    width: 75%;
    height: 20ch;
}

button{
    padding: 8px;
    margin: 8px;
}

.top_logo{
    height: 60px;
}


.container{
    position: relative;
}

.visible {
    visibility: visible;
}

.hidden {
    display: none;
    height: 0px;
}

.box {
    width: 24px;
    height: 24px;
    position: absolute;
    top: -12px;
    right: -12px;
}


.circle {
    width: 16px;
    height: 16px;
    display:inline-block;
    vertical-align:middle;
    border-radius: 100%;
    padding: 4px;
    background-color: #777777;

}





.title{
    display: block;
    word-wrap: break-word;
    color: rgba(34, 34, 34, 1);
    font-weight: 600;
    font-size: 32px;
    border: none;
}


.subtitle{
    display: block;
    word-wrap: break-word;
    color: rgba(119, 119, 119, 1);
    font-weight: 400;
    font-size: 24px;
    border: none;
}



.heading{
    display: block;
    word-wrap: break-word;
    color: rgba(34, 34, 34, 1);
    font-weight: 600;
    font-size: 24px;
    border: none;
}

.bodytext{

    display: block;
    word-wrap: break-word;
    color: rgba(68, 68, 68, 1);
    font-weight: 400;
    font-size: 20px;
    border: none;
    line-height: 160%;
}

.subtext{

    display: block;
    word-wrap: break-word;
    color: rgba(68, 68, 68, 1);
    font-weight: 400;
    font-size: 16px;
    border: none;
    line-height: 160%;
}





.text{
    display: block;
    word-wrap: break-word;
    color: rgba(68, 68, 68, 1);
    font-weight: 400;
    font-size: 16px;
    border: none;
}


.captiontext{
    display: block;
    word-wrap: break-word;
    color: rgba(119, 119, 119, 1);
    font-weight: 400;
    font-size: 12px;
    border: none;
}

.arrange-horizontally  {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.arrange-vertically  {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
}

.endAlign {
    justify-content: flex-end;
}

.page-flow {
    flex-grow: 1;
}


.loader {
  border: 8px solid #5FD2BD1A;
  border-radius: 50%;
  border-top: 8px solid #E44AA1;
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}


.loader-small {
  border: 8px solid #5FD2BD1A;
  border-radius: 50%;
  border-top: 8px solid #E44AA1;
  width: 40px;
  height: 40px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}




@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

h1{
    color: rgba(34, 34, 34, 1);
    font-weight: 600;
}

h2{
    color: rgba(119, 119, 119, 1);
    font-weight: 400;
}

h3{
    color: rgba(34, 34, 34, 1);
    font-weight: 600;
}

p{
    color: rgba(68, 68, 68, 1);
    font-weight: 400;
}

small{
    color: rgba(119, 119, 119, 1);
    font-weight: 400;
}

.center {
    margin: auto;
}

.upload-logo {
  height: 48px;
  width: 48px;
  background-color: #E44AA1;
  mask: url("../res/icons/cloud_upload.svg") no-repeat center;
  -webkit-mask: url("../res/icons/cloud_upload.svg") no-repeat center;
  margin: auto;
}

.image-loader{
    display: flex;
    border: 2px solid #3B7BD3;
    justify-content: center;
    border-radius: 16px;
    align-items: center;
    height: 100px;
    width: 100%;
    margin-top: 16px;
}

.compress-image {
    object-fit: cover;
}

.blog-image{
    object-fit: cover;
    width: 100%;
    margin-top: 16px;
    border-radius: 16px;

}

.relative-pos {
  position: relative;
}


.dropdown-content {
  position: absolute;
  transform: translateY(-120%);
  border-radius: 16px;
  background-color: #FFFFFFFF;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  overflow: hidden;
}

.dropdown-content div {
  color: black;
  padding: 12px 16px;
  background-color: #1D50E10;
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.dropdown-selected {
    background-color: #E44AA110;
    overflow: hidden;
}


.primarybutton {
    background: #3B7BD3;
    border-radius: 32px;
    padding-left: 20px;
    border: 2px;
    padding-right: 20px;
    color: white;
    box-shadow: rgba(0,0,0,0.3) 2px 4px 8px;
}

.primarybutton:active{
    box-shadow: rgba(0,0,0,0.3) 1px 2px 4px;
}

.primarybutton:hover {
    background: #3B7BD3EE;
}

.pbutton-text {
    margin-top: 2px;
    color: white;
}


.sbutton-text {
    margin-top: 2px;
    color: #3B7BD3;
}

.secondarybutton {
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid #3B7BD3;
    background: white;
    border-radius: 32px;
    box-shadow: rgba(0,0,0,0.2) 2px 4px 8px;
}

.secondarybutton:active{
    box-shadow: rgba(0,0,0,0.2) 1px 2px 4px;
}

.secondarybutton:hover {
    background: #EEEEEE;
}

.message-bar {
    position: fixed;
    bottom: 16px;
    right: 16px;
    padding: 8px;
    border-radius: 8px;
    border-radius: 8px;
    font-family: 'Sans-Serif';
    line-height: 12px;
    font-size: 14px;
    min-width: 200px;
    text-align: center;
    color: white;
}

.message {
    background-color: white;
    border: 1px solid #3B7BD3;
    color: #3B7BD3;
}

.error-message {
    background-color: white;
    border: 1px solid #FF9494;
    color: #FF9494;
}


.container {
    display: flex;           /* establish flex container */
    flex-direction: column;  /* make main axis vertical */
    justify-content: center; /* center items vertically, in this case */
    align-items: center;     /* center items horizontally, in this case */
    height: 100vh;
}


#PAGE CSS

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    color: #222;
}

.listing-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 16px 90px 16px;
}

.listing-header {
    text-align: center;
    margin-bottom: 20px;
}

.listing-header h1 {
    margin: 8px 0;
    font-size: 28px;
}

.listing-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.listing-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    align-items: center;
}

.listing-cover {
    width: 144px;
    height: 144px;
    border-radius: 12px;
    object-fit: cover;
    background: #eee;
    flex-shrink: 0;
}

.listing-cover-main {
    width: 240px;
    height: 240px;
    border-radius: 12px;
    object-fit: cover;
    background: #eee;
    flex-shrink: 0;
}



.listing-content {
    flex: 1;
    min-width: 0;
}

.listing-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.listing-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.listing-cta {
    font-size: 13px;
    color: #e67e22;
    font-weight: 600;
}

.listing-empty {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    color: #666;
}

.listing-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 12px 16px;
}

.listing-bottom-bar-inner {
    max-width: 720px;
    margin: 0 auto;
}

.listing-playstore-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(
        90deg,
        #F6C145 0%,
        #DE9F0C 50%,
        #CD9208 100%
    );
    color: white;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
}
