.meme-sound {
    margin: 0 auto;
}
.container{
    max-width: 1330px;
    margin: 0 auto;
}
.main-01{
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
    padding-bottom: 0;
}
.main-top{
	display: block;
    max-width: 1000px;
    margin: 0 auto;
	padding:50px;
}
.main-top form.meme-sound-search{
    display: grid;
    gap: 0.25rem;
    grid-template-columns: 1fr auto;
}
.main-top input{
	width:100%;
	border-color: gray !important;
}
.main-02{
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 50px;
}
.main-03{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 50px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.div-01{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
}
.div-01 h1{ 
    font-size: 30px;
    font-weight: 600;
    line-height: 60px;
    text-align: center;
}
.div-02 h2{
    font-size: 30px;
    font-weight: 600;
}
.search-container {
    position: relative;
    width: 700px;
    margin: 0 auto;
}

.search-box {
    width: 100%;
    padding: 10px 40px 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #000;
    cursor: pointer;
}
.inner-main{
    padding: 30px 0;
}
.inner-trending,
.inner-latest{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
	gap:30px;
    border-bottom: 0.5px solid #e5e5e5;
    padding: 20px 0;
}
.btn-center{
    width: 125px;
    height: 167px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 30px;
}
.btn-center a{
    text-decoration: none;
}
.btn-center img{
    width: 88px;
    height: 81px;
}
.btn-center h3{
    font-size: 14px;
    font-weight: 400;
    color: #000;
    padding-top: 5px;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 10px;

    /* padding-bottom: 40px; */
}
.btn-center h3 {
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* Maximum 2 lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

.btn-option{
    display: flex;
    gap: 10px;
}
.main-03 p{
    font-size: 17px;
    line-height: 26px;
}
.main-03 ul li{
    font-size: 17px;
    line-height: 26px;
}
.main-03 a{
    text-decoration: none;
    color: #1b78e2;
}
.main-03 a:hover{
    text-decoration: underline;
    color: black;
}
.load-btn{
    text-align: center;
}
.load-btn button{
    width: 200px;
    height: 44.5px;
    text-align: center;
    margin: 20px auto;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    background-color: blue;
}
.load-btn button:hover{
    color: blue;
    border-color: blue;
    background-color: white;
}
.load-btn button:focus{
    color: white;
    border-color: blue;
    background-color: blue;
}

.share-popup{
    background: white;
    width: 512px;
    height: 145px;
    position: fixed;
    top: 40%;
    left: 35%;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
}
.close{
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}
.share-content a{
    margin: 0 40px;
}
.share-content h3{
    font-weight: 600;
    font-size: 32px;
    line-height: 1.2em;
    color: #212121;
    margin-bottom: 30px;
}

.play-sound{
    width: 80px;
    height: 80px;
    background-image: url("https://www.myinstants.com/media/images/transparent_button_small_sprite.png");
    background-size: cover;
    background-position: left;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: red;
    margin: 0 auto;
    margin-bottom: 10px;
    
}
.play-sound:hover{
  background-color: red;
}
.play-sound:active{
  background-position: 96%;
}
.play-sound:focus{
    background-color: red;
}
.play-sound.is-playing {
    background-position: 96%; /* Pressed state */
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
    animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 0, 0.9); }
    100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
}

.heart{
    background-color: red;
    padding: 7px;
    border-radius: 50%;
}
.link{
    background-color: #25b7d3;
    padding: 7px;
    border-radius: 50%;
}
.share{
    background-color: #25b7d3;
    padding: 7px;
    border-radius: 50%;
}
.main-button{
    position: relative;
}
.button-loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid rgb(158, 158, 158);
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: -10px;
    right: -10px;
    display: none;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg);}
}
#loader {
	width:60px;
	display: none;
	transform: translate(-50%, -50%);
	margin:30px 395px -45px auto;
	z-index: 1000;
}

#loader img {
    width: 60px;
}

@media screen and (max-width:500px){
	.main-top{
		padding:20px;
	}
	.main-top input{
		width:75%;
	}
	.main-02{
		padding:20px;
	}
	.div-02 h2{
		font-size:22px;
		margin-bottom:0;
	}
	.inner-trending, .inner-latest{
		gap: 5px;
		justify-content:space-between;
	}
	.btn-center{
		width:90px;
		padding:0px;
	}
	.btn-center h3 {
		min-height: 40px;
	}
	.btn-option {
    	gap: 5px;
	}
	.heart{
		font-size:12px;
		padding:5px;
	}
	.share{
		font-size:12px;
		padding:5px;
	}
	.link{
		font-size:12px;
		padding:5px;
	}
	.share-popup{
		width:95%;
		left:3%;
	}
	.share-content a{
		margin: 0 20px;
	}
	#loader{
		margin-left:48%;
	}
}