@font-face {
    font-family: Roboto;
     src: url("/assets/roboto.woff2");
}

body{
  margin:0 auto;
   font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color:#f5f5f5;
   -webkit-touch-callout: none; /* Safari */
        -webkit-user-select: none; /* Chrome */     
           -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; 
				touch-action:none;
}


* {
    -webkit-tap-highlight-color: transparent;
	outline: none; 
}

::-webkit-scrollbar {
  display: none;
}

.spinner {
border: 2px solid #ffffff;
    border-top: 2px solid #d9d9d9;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.blur{
	 filter: blur(3px);
}

.fade-in-image {
    opacity: 0; /* Set initial opacity to 0 */
    transition: opacity 0.5s ease-in-out; /* Set the transition effect */
}

.flex-container {
  display: flex;
  flex-wrap: wrap;

  padding: 4px 2px 2px 2px;
}

.image-wrapper {
width: 50%;
    padding: 4px;
    box-sizing: border-box;
    position: relative;


}

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

        #refresh_meme svg {
            animation: rotate 2s linear infinite;
        }
		        #scrollpos svg {
            animation: rotate 2s linear infinite;
        }


.image-container {
width: 100%;
    height: 0;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
		border-radius: 10px;
  outline: 1px solid #e3e2e2;
    border: 1px solid #ffffff;
	    box-sizing: border-box;
}

.image-container img {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.placeholder {
display: flex;
    align-items: center;
    justify-content: right;
    background-color: #f0f0f0;
    font-size: 1.5rem;
    color: #999;
    position: absolute;
    width: 100%;
    height: 100%;
        }

  .suggest {
    
            display: none;
       position: absolute;
    background-color: white;
    min-height: 50px;
    top: 40px;
    left: 50px;
	color: #3e88b1;
    font-weight: bold;
	font-size:15px;
        }
        .suggest div {
            padding: 8px;
            cursor: pointer;
        }
        .suggest div:hover {
            background-color: #ddd;
        }

.comment_container{
	padding: 8px 5px 8px 15px;
	display: flex;
	align-items: flex-start;
margin-top: 12px;
word-break: break-all;
}

.heart{
position:relative;

}

.heart::before{
content: ' ';
    width: 100%;
    position: absolute;
    height: 52px;
  
    margin-top: -5px;
    margin-left: -8px;
    padding: 0px 9px 0px 5px;
}

.ico1{
position:relative;
}


.ico1:active{
 background-color: #3170a7;
    border-radius: 50%;
    padding: 11px 4px 8px 5px;
    margin-right: -5px;
    margin-left: -5px;

}
.active_like{
    background-color: #0000000d;
    border-radius: 50%;
 padding: 10px 5px 8px 5px;
    margin-right: -5px;
    margin-left: -5px;
	fill: #3f7db5;

}

		.userinfo_popup {
        display: none;
        position: fixed;
        bottom: 0;  /* top:0*/
        left: 0;
        width: 100%;
        height: 50%; /* height 100 */
        z-index: 9999; /* Ensure the popup is above other elements */
        overflow: auto; /* Enable scrolling if content overflows */
		margin: 0 auto;
    }

    .userinfo_content {
position: relative;
    background: #f5f5f5;
    margin: 0 auto;
    width: 100%;
    margin-top: -2px;
min-height: calc(100% - 54px);
    max-height: calc(100% - 53px);
	overflow-y: scroll;
		text-align:left;
		border-bottom-left-radius:10px;
		border-bottom-right-radius:10px;
}


.comment_username{
	font-weight: bold;
	font-size: 15px;
	color:#424242;
}

.comment_date{
	color: #696969;
	font-size: 13px;
	margin: 8px 12px 8px 3px;
	font-weight: 400;
}

.comment_text{
    font-size: 15px;
    margin: 6px 9px 6px -6px;
        word-break: normal;
			overflow-wrap: anywhere;
    padding: 8px;
    background-color: #eee;
    border-radius: 15px;
}
.comment_action{
display: flex;
    align-items: center;
	margin-top: 12px;
}
.comment_reply{
font-size: 15px;
    margin-right: 20px;
    align-self: flex-end;
    color: #424242;
    font-weight: bold;
position: relative;
}
.comment_reply::before{
content: ' ';

    width: 100%;
    position: absolute;
    height: 37px;
  
    margin-top: -10px;
    margin-left: -10px;
    padding: 0px 5px 0px 5px;
}

.comment_container_like{
	
display: flex;
align-items: baseline;
position:relative
}

.comment_container_like::before{
content: ' ';

    width: 100%;
    position: absolute;
    height: 37px;
   
    margin-top: -10px;
    margin-left: -10px;
    padding: 0px 10px 0px 5px;
}

.comment_like_text{
font-size: 15px;
 color: #424242;
    font-weight: bold;
margin-right:5px;	
}
.comment_like_number{
 color: #424242;
    font-weight: bold;
    font-size: 14px;

}

.content{
margin: 0px 5px 0 5px;


}

#meme_info{
display: flex;
    justify-content: center;

    width: 100%;
    padding: 10px 0px 10px 0;
	align-items:center;
    flex-direction: column;
    color: #272727;
    background-color: #fff;
    position: relative;
border-top: 3px solid #d5d5d5;
border-bottom: 1px solid #305c83;
}

.container {
display: flex;
    width: 85%;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #b9b9b9;
    height: 20px;
    margin: 0 auto;

textarea {
width: 100%;
    background: none;
    border: 0;
    outline: none;
    padding-right: 10px;
	resize:none;
	overflow: hidden;
}

button {
height: 30px;
    background-color: #fff;
    border-style: none;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    margin-top: -5px;
    margin-right: -5px;
}
button:active {
height: 30px;
    background-color: #fff;
    border-style: none;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    margin-top: -5px;
    margin-right: -5px;
	fill:#ac626e;
}

}

.reply_comment_outer{
    display: flex;
    align-items: flex-start;
    width: 85%;
    border-radius: 14px;
    margin: 8px 13px 6px auto;
    position: relative;
	
}

.reply_comment_arrow{
position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #e4eaf4;
    bottom: 30%;
    left: -14px;
	
}

.reply_comment_usericon{
margin: 3px 6px 0 0;
	
}

.reply_comment_username{
    font-weight: bold;
    font-size: 14px;
color:#424242;
	margin-left: 3px;
}

.reply_comment_userreply{
font-size: 14px;
    margin: 12px 0 12px -3px;
    color: #424242;
    background-color: #eee;
    border-radius: 15px;
    padding: 8px;
}

.reply_comment_actionbox{
display: flex;
    align-items: center;
}
.reply_comment_reply{
font-size: 14px;
    margin-right: 20px;
    align-self: flex-end;
   color:#424242;
    font-weight: bold;
	position:relative;
}

.reply_comment_reply::before{
content: ' ';

    width: 100%;
    position: absolute;
    height: 37px;
    
    margin-top: -10px;
    margin-left: -10px;
    padding: 0px 10px 0px 5px;
}


.reply_comment_like{
font-size: 14px;
    
    font-weight: bold;
    margin-right: 5px;
	color:#424242;
	position:relative;
}

.reply_comment_like::before{
content: ' ';

    width: 100%;
    position: absolute;
    height: 37px;
   
    margin-top: -10px;
    margin-left: -7px;
    padding: 0px 25px 0px 5px;
}



.reply_comment_likenumber{
font-weight: 500;
    font-size: 13px;
}

#tags {

display: flex;
flex-wrap: nowrap;
overflow-x: auto;
text-align: left;

align-items: center;
direction: ltr;

}

.tag {
padding: 8px 15px 8px 15px;
display: inline-block;
margin: 3px;
border-radius: 20px;
color: #4a1a27;
font-size: 16px;
white-space: nowrap;

font-family: system-ui;
	    font-weight: 500;
}

.tag:hover{
	background-color:#8d4251;
	 transition: background-color 1s;
	color:#fff;
  transform: scale(1.03);
  transition: transform 0.2s ease-in-out;

}

#tags {
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
     scrollbar-width: none;  /* Firefox */
}
#tags::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.tag a {
text-decoration:none;
color:#fff;
	
}

.usernamereply1 {
    color: red; /* Change this to your desired color */
    /* Add any other styles you want to apply */
}

.pulse-container {
  width: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pulse-bubble {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #000;
}

.pulse-bubble-1 {
    animation: pulse .4s ease 0s infinite alternate;
}
.pulse-bubble-2 {
    animation: pulse .4s ease .2s infinite alternate;
}
.pulse-bubble-3 {
    animation: pulse .4s ease .4s infinite alternate;
}

@keyframes pulse {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: .25;
    transform: scale(.75);
  }
}

.showCommentsBtn {
	   color: #424242;
    position: relative;

}

.liketextspan::before{
	
	content: ' ';
    width: 100%;
    position: absolute;
    height: 37px;

    margin-top: -6px;
    margin-left: -10px;
    padding: 0px 10px 0px 5px;
}


.openpopanimation{
animation: 0.5s ease 0s 1 normal forwards running slideIn;
}
.closepopanimation{
animation: 0.5s ease 0s 1 normal forwards running slideDown;

}



.slideDown{
	animation-name: slideDown;
	-webkit-animation-name: slideDown;	

	animation-duration: 0.5s;	
	-webkit-animation-duration: 0.5s;

	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;	

	visibility: visible !important;						
}


@keyframes slideIn {
    0% {
        transform: translateY(100%); /* Slide in from the bottom */
    }
    100% {
        transform: translateY(0);
    }
}


@keyframes slideOut {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100%); /* Slide out to the bottom */
    }
}