* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin-top: 30px !important;
    background-color: #191820;
    color: white;
}

.container {
    max-width: 1480px !important;
    margin: 0 auto !important;
}

.hero {
	padding-right:2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 4rem 0;
}

.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    display: inline-block;
    padding: 0.5rem;
    /* aspect-ratio: 1; */
    width: 29rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: moveLocation 6s linear infinite;
}

@keyframes moveLocation {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }

}

img.bee {
    position: absolute;
    right: -20px;
    top: 90px;
    animation: beeLocation 3.5s linear infinite 0.5s;
}

@keyframes beeLocation {
    0% {
        right: -20px;
    }
    50% {
        right: 0px;
    }
    100% {
        right: -20px;
    }

}

.Ghost_custom02 {
	position: absolute;
    right: -20px;
    top: 90px;
	animation: upDown 3s ease-in-out infinite;
}

img.snail {
    position: absolute;
    bottom: -30px;
    left: -45px;
    animation: snailLocation 4s linear infinite;
}


@keyframes snailLocation {
    0% {
        left: -45px;
    }
    50% {
        left: -25px;
    }
    100% {
        left: -45px;
    }

}

img.Ghost_custom{
	position: absolute;
    bottom: -30px;
    left: -45px;
	animation: upDown 3s ease-in-out infinite;
}

@keyframes upDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.hero-content p {
    color: #9ca3af;
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.4em;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.button-primary {
    background-color: #5e37e9;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition-duration: 0.2s;
    border: 2px solid #5e37e9;
}

.section {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 24px;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}


.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    cursor: pointer;
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.creator-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition-duration: 0.3s;
    cursor: pointer;
}

.creator-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.creator_profile {
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
    overflow: hidden;
}

.creator-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-info h3 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    transition-duration: 0.3s;
}

.creator-info span {
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    align-items: center;
}

span.subscriber_count {
    margin-bottom: -0.1rem;
    margin-left: 0.4rem;
}

.creator_profile_wrap {
    position: relative;
    display: inline-block;
}

.creator-info {
    display: inline-block;
    margin-left: 0.5rem;
}

button.subscribe-button {
    position: absolute;
    top: 35%;
    right: 0;
    font-size: 1.2rem;
    line-height: 1em;
}
.subscribe-button:hover {
    color: #ECDEFF;
}

.creator-card:hover {
    border: 1px solid #8137E9;
    transition-duration: 0.3s;
}

.creator-card:hover .creator-info h3{
    color: #ECDEFF;
    transition-duration: 0.3s;
}

.creator-content {
    aspect-ratio: 1;
    width: 1.5rem;
    position: absolute;
    text-align: center;
    line-height: 1.5rem;
}

.verified-badge_wrap {
    position: absolute;
    top: 0;
    right: 15px;
}

.verified-badge {
    width: 1.8rem;
    aspect-ratio: 1 / 1;
    position: absolute;
    top: 0;
    right: 0;
}

.template-card {
    border-radius: 12px;
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    height: 18rem;
}

.verified-badge_wrap svg {
    position: absolute;
    scale: 1.15;
    width: 1.5rem;
    height: 1.5rem;
}

.template-card:hover .overlay {
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.template-image img {
    transition-duration: 0.3s;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-card:hover .template-image img {
    scale: 1.1;
}

.template-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-image {
    width: 100%;
    height: 100%;
}

.content_wrap {
    display: flex;
    position: absolute;
    bottom: 0;
    z-index: 2;
    color: white;
    padding: 0.5rem 1.1rem;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    height: 5.2rem;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
    height: 6rem;
    top: 67%;
    transition-duration: 0.3s;
}

span.icon {
    margin-left: 0.7rem;
}

span.icon_wrap span {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
}

span.icon_wrap {
    display: flex;
    align-items: flex-end;
}

.template-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.1);
    flex-grow: 1;
}

.template-details {
    height: 100%;
}

.template-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.1em;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.template-writer {
    font-size: 0.8rem;
    color: #e9e9e9;
}

.template-creator {
    font-size: 12px;
    color: #d9d9d9;
}

.template-actions {
    display: flex;
    gap: 8px;
}

.action-button {
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bookmark-icon {
    color: #ffffff;
}

.like-icon {
    color: #ff4d4d;
}

.title_wrap {
    margin-top: 7rem;
    position: relative;
}

.title_wrap span {
    position: sticky;
    z-index: 1;
}

.title_wrap img {
    position: absolute;
    right: 11.5rem;
    top: -8.5rem;
}

button.button-primary:hover {
    border: 2px solid #5e37e9;
    color: #fff;
    background: linear-gradient(45deg, #161840, #272A65);
    box-sizing: border-box;
    transition-duration: 0.2s;
}