:root{
    --footer_width: 50px;
    --footer_color: hsl(200,0%,20%);
    --hover_color: rgba(0,0,0,0.06);
}

@font-face{
    font-family: 'Montserrat';
    font-weight: 400;
    src: url('apis/Montserrat/Montserrat-Regular.ttf') format('truetype');
}

* {
    //font-family: 'Karla', sans-serif;
    font-family: Avenir, 'Montserrat', sans-serif;
	scrollbar-width: thin;
	scrollbar-color: transparent transparent !important;
}

*:hover{
	transition: scrollbar-color 200ms ease;
	scrollbar-color: rgba(0,0,0,0.2) transparent !important;
}

body{
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap:wrap;
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: auto;
}

@keyframes hidden_start{
	from{opacity:0;}
	to{opacity:0;}
}

@keyframes blend_in{
	from{opacity:0;}
	to{opacity:1;}
}

@keyframes fly_in_left{
	from{transform:translate(-100px,0)}
	to{transform:translate(0,0)}
}

@keyframes fly_in_right{
	from{transform:translate(100px,0)}
	to{transform:translate(0,0)}
}

@keyframes fly_in_bottom{
	from{transform:translate(0,100px)}
	to{transform:translate(0,0)}
}

@keyframes fly_in_bottom_small{
	from{transform:translate(0,30px)}
	to{transform:translate(0,0)}
}

@keyframes fly_in_top{
	from{transform:translate(0,-30px)}
	to{transform:translate(0,0)}
}

@keyframes fullscreen_start{
	from{height: calc(100svh - 40px)}
	to{height: calc(100svh - 40px)}
}

@keyframes shrink_vertical{
	from{height: calc(100svh - 40px)}
	to{height: 100px}
}

@keyframes fly_in_fly_out{
	0%{opacity:0;transform:translate(100px,0);}
	10%{opacity:1;transform:translate(0,0);}
	90%{opacity:1;transform:translate(0,0);}
	100%{opacity:0;transform:translate(-100px,0);}
}
@keyframes point_down{
	0%{opacity: 0}
	70%{opacity: 0; transform:translate(0,0);}
	85%{opacity: 1; transform:translate(0,-10px);}
	100%{opacity: 0; transform:translate(0,0);}
}

@keyframes vanished{
	from{display: none}
	to{display: none}
}

.top_bar{
	width: 100%;
	text-align: center;
	align-content:center;
	font-size:30px;
	font-style:italic;
	font-weight:normal;
	padding:20px 0;
	background:rgb(229,229,229);
	height: calc(140px - 40px);
	text-wrap: nowrap;
	position: absolute;
	z-index: 2;
	display:flex;
	flex-direction: column;
	justify-content: center;
}

.top_bar div{
	width:fit-content;
	margin: 5px auto;
	text-wrap: wrap;
}

.front_page_container{
	width:calc(100% - 40px);
	text-align: center;
	font-size:20px;
	margin:140px 20px 10px 20px;
	min-height:calc(100svh - 49px - 150px - 40px);
	align-content:center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.downward_pointer{
	width: 100%;
	height: 35px;
	margin-bottom: 5px;
	background: url('/static/icons/uangle.png');
	background-size: 50px;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0;
	margin-top: auto;
}

.sticky_header{
	background:var(--footer_color);
	padding:5px;
	width: calc(100% - 10px);
	font-size:16px;
	margin:0;
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:center;
	height: fit-content;
	position:sticky;
	top:0;
	z-index:10;
	box-shadow: 0 1.5px 3px rgba(0,0,0,0.3);
}

.bright_button{
	margin: 5px 10px; 
	padding:5px 10px; 
	background:rgba(229,229,229);
	border-radius:5px;
	width:100px;
	text-align:center;
	cursor:pointer;
}

.bright_button:hover{
    background: rgb(255,255,255);
}

.chapter{
	width:100%;
	margin:auto;
	font-size:30px;
	font-weight:bold;
	text-align:center;
	padding: 25px 0 20px 0;
	background: rgba(0,0,0,0.1);
}

.chapter div{
	//opacity: 0;
}

.image_text{
	width:400px;
	height:fit-content;
	padding:30px;
	font-size:30px;
	opacity: 0;
	text-align: center;
}

.advantage_point{
	width: 460px;
	max-width: 90%;
	font-size: 20px;
	padding: 10px;
	display: flex;
	align-items: center;
}

.advantage_point img{
	width: 80px;
	height: 80px;
	border-radius: 50%;
}
.advantage_point div{
	padding-left: 10px;
	width: calc(100% - 90px);
}

.reference{
	margin:auto;
	width:calc(100% - 20px);
	padding:20px 10px;
	max-width:600px;
	font-style: italic;
	align-items: center;
	opacity: 0;
	display: none;
}
.reference img{
	width: 80px;
	height: 80px;
	border-radius: 50%;
	cursor: pointer;
}
.reference div{
	padding-left: 20px;
	width: calc(100% - 100px);
}
.reference div div{
	text-align:right;
	width:calc(100% - 30px);
	font-weight: bold;
	padding-top: 5px;
	padding-right: 10px;
}

.footer {
    background: var(--footer_color);
    color: rgb(255,255,255);
    width: calc(100% - 10px);
    min-height: calc(var(--footer_width) - 15px);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 16px;
    padding: 5px 5px 10px 5px;
    margin: 0;
}

.footer a{
    margin: 0;
    padding: 5px 5px 0px 5px;
    max-width: fit-content;
}

.footer a:hover{
	color: rgb(255,255,255);
}

.footer div{
    margin: 0;
    padding: 5px 5px 0px 5px;
    max-width: fit-content;
}


@media (hover:hover){
::-webkit-scrollbar {
	background-color: rgba(0,0,0,0);
	width: 5px;
}
::-webkit-scrollbar-thumb {
	background: var(--hover_color);
}
::-webkit-scrollbar-thumb:hover {
	background: rgba(0,0,0,0.12);
}
}

a{
    color: inherit;
    text-decoration: inherit;
}



.tile .icon{
    cursor: pointer;
    width: 70px;
    height: 70px;
    margin: 0px;
    border-radius: 35px;
    object-fit:cover;
    box-shadow: var(--shadow_standard);
    float: left;
}

img{
    box-shadow: var(--shadow_standard);
	border-radius: 10px;
}

.tile .title{
	overflow-x:scroll;
	scrollbar-width: none;
	min-height: 24.5px;
    margin:0;
    font-size:18px;
    font-weight:bold;
	text-wrap: nowrap;
	width: fit-content;
}
.title::-webkit-scrollbar{
	display: none;
}

.tile .textcontainer .body{
    text-align: left;
	text-wrap: nowrap;
	min-height: 18.5px;
}

.tile .body{
    margin:0;
    font-size: 15px;
    /*font-style:italic;*/
    color:grey;
    text-align: justify;
}

.tile .textcontainer .body a{
	font-style: normal;
}

.tile .body a{
    display: contents;
    width: fit-content;
    font-style:italic;
    
}
.description a{
    display: contents;
    max-width: fit-content;
    font-style:italic;
}

.time_convert{
	padding-left: 3px;
}

.timestamp{
    width: auto;
    margin-bottom:4px;
    font-size:12px;
    color:grey;
	display: flex;
}

.centered.icon{
    max-height: 300px;
    margin: 0;
    width: 100%;
    z-index: 0;
    /*z-index: -1;*/
    padding: 0;
}
.centered.icon .icon{
    max-height: 300px;
    min-height: 100%;
    width: 100%;
    border-radius: 0%;
    padding: 0;
    object-fit:cover;
    z-index: -2;
    box-shadow: var(--shadow_standard);
}

.centered .description{
    padding:0;
    width:100%;
    text-align:justify;
}


.tile.centered{
    margin: 10px 0px 0px 0px;
    padding: 10px 15px 10px 15px;
    z-index:1;
	//overflow: unset;
	border-radius: clamp(0px, var(--center-width) - 640px, 10px);
	overflow: hidden;
}

.tile.user{
	display: flex;
	align-items: center;
    margin: 0;
    padding: 10px 10px 10px 10px;
    width: calc(100% - 20px);
    user-select: none;
}
.tile.user::-webkit-scrollbar{
	display:none;
}

.time_convert{
	padding-left: 3px;
}

.tile.centered .title{
    font-size:20px;
    margin-bottom:8px;
    border-color:grey;
	text-wrap: initial;
	width: 100%;
}

.tile.centered .body{
    /*font-style: normal;*/
    color: black;
}

.tile .textcontainer{
    width: calc(100% - 80px);
    margin-top: 0px;
    margin-left: 10px;
    float:left;
}

.poll.tile.centered{
	max-width: 630px;
	padding: 10px 0 0 0;
	width: 100%;
	margin-top: 10px;
	border-radius: 10px;
	background: var(--hover_color);
}

.tile .timestamp{
	scrollbar-width: none;
	overflow-x: scroll;
}
.tile .timestamp::-webkit-scrollbar{
	display: none;
}

.tile .textcontainer a{
	scrollbar-width: none;
	overflow: scroll;
}

.tile .textcontainer{
	scrollbar-width: none;
	overflow: scroll;
}

.tile .tags{
    display:flex;
    flex-wrap: wrap;
}

.tile .tags .tag{
    width: auto;
    margin: 0 10px 0px 0;
    font-size:12px;
    font-style:normal;
    color:grey;
}
.tile .timestamp{
	scrollbar-width: none;
	overflow-x: scroll;
}
.tile .timestamp::-webkit-scrollbar{
	display: none;
}

.tile .textcontainer a{
	scrollbar-width: none;
	overflow: scroll;
}

.tile .textcontainer{
	scrollbar-width: none;
	overflow: scroll;
}
.textcontainer::-webkit-scrollbar{
	display:none;
}

.tile .tags{
    display:flex;
    flex-wrap: wrap;
}

.tile .tags .tag{
    width: auto;
    margin: 0 10px 0px 0;
    font-size:12px;
    font-style:normal;
    color:grey;
}

.tile{
	text-align: left;
}

.choices_list{
	font-size: 16px;
}

.hover{
	overflow:scroll;
	scrollbar-width: none;
}
.hover::-webkit-scrollbar{
	display:none;
}
a:hover{
	color: rgb(0,0,0);
}
.hover:hover{
    background: var(--hover_color);
	color: rgb(0,0,0);
}
.hover .hover:hover img.symbol_icon{
	opacity: 1;
}

#users{
	background: var(--hover_color);
	border-radius: 10px;
	overflow: hidden;
}

.icon_button{
    float: right;
    //margin-right: 5px;
	width: 40px;
	min-width: 40px;
	height: 40px;
	border-radius: 5px;
	//border-radius: 50%;
	text-align: center;
    cursor: pointer;
	background-size: 60%;
	background-repeat: no-repeat;
	background-position: center center;
}

.icon_button .comment{
	background-image: url('icons/symbols/comment.png');
	background-position-x:4px;
	background-position-y:4px;
	background-size:33px;
	text-align:center;
	padding-top:11px;
	color:black;
	font-weight:bold
	
}

.icon_button .share{
	background-image: url('icons/share_small.png');
	background-position-x:7px;
}
.icon_button .reply{
	background-image: url('icons/symbols/reply.png');
	background-position-x:7px;
}








