:root {
    /* Solid Colors */
    --pink: #FF20FB;
    --purple: #250369;
    --white: #FFFFFF;
    --black: #000000;
    --red: #E73434;
    --yellow: #D8F93E;
    --gold: #D9A766;
    --lightBlue: #9FC4CA;
    --darkPurple: #32045C;

    /* Gradients */
    --gradient-body: linear-gradient(180deg, #160040 0%, #6E0D96 100%);
    --gradient-pink: linear-gradient(90deg, #8E12FF 0%, #F812F9 100%);
    --gradient-purple: linear-gradient(0deg, #250369 0%, #8E12FF 100%);
    --gradient-red: linear-gradient(90deg, #E16227 0%, #E73434 100%);
}


/* ================= Inter Font ================= */
@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-Bold.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-ExtraBold.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-Black.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-ExtraLight.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-Medium.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-Light.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-SemiBold.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter 18pt';
    src: url('../fonts/Inter/Inter18pt-Regular.woff2') format('woff2'), url('../fonts/Inter/Inter18pt-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========== Bowlby One SC Font ============== */
@font-face {
    font-family: 'Bowlby One SC';
    src: url('../fonts/Bowlby-One-SC/BowlbyOneSC-Regular.woff2') format('woff2'), url('../fonts/Bowlby-One-SC/BowlbyOneSC-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =============== Rapier LET Plain Font ================= */
@font-face {
    font-family: 'Rapier';
    src: url('../fonts/Rapier-Let/RapierLetPlain.woff2') format('woff2'), url('../fonts/Rapier-Let/RapierLetPlain.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter 18pt';
    color: var(--white);
}

.ff-bowlby {
    font-family: 'Bowlby One SC';
}

.ff-rapier {
    font-family: 'Rapier';
}

.bg-star-img-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 408px;
    z-index: 0;
    background-image: url('../images/bg-star-img.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Button CSS */
.btn {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
    min-width: 155px;
    min-height: 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    transition: 0.3s all;
    text-decoration: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn span {
    text-shadow: 1px 1px 0px #0000001A;
}

.btn i {
    width: 14px;
    height: 14px;
}

.btn-black {
    background-color: var(--black);
    color: var(--white);
}
.btn-black:hover {
    background-image: linear-gradient(90deg, #8E12FF 0%, #F812F9 100%);
    color: var(--white);
}

main {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 15px;
}

/* For Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Common Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
}

/* Hide native checkbox */
.checkbox-wrapper input {
    display: none;
}

/* Custom box */
.custom-checkbox {
    width: 18px;
    height: 18px;
    background: var(--white);
    border-radius: 3px;
    position: relative;
    display: inline-block;
}

/* Checkmark created with CSS only */
.custom-checkbox::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Show checkmark when checked */
.checkbox-wrapper input:checked+.custom-checkbox::after {
    opacity: 1;
}
.checkbox-wrapper input:checked+.custom-checkbox{
    background-color: var(--pink);
}

/* Styled link */
.checkbox-wrapper a {
    color: #E16027;
    text-decoration: underline;
}

/* For Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Header  */
.header-main {
    position: relative;
}

.login-btn-wrap {
    position: absolute;
    top: 20px;
    right: 20px;
}

.header-btn {
    background-color: #250369;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    width: 211px;
    padding: 10px 10px 10px 48px;
    font-size: 13px;
    font-weight: 600;
}

.header-btn span {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #20025B;
}

/* Banner Meme Wrapper CSS */
.wrapper {
    max-width: 1030px;
    margin: 0 auto;
    padding: 0 15px;
}

.banner-meme-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.banner-meme-wrapper .banner-meme-item {
    max-width: 210px;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.banner-meme-wrapper .banner-meme-item .img-wrap {
    /*min-height: 424px;
    max-height: 424px;*/
    height: 100%;
}

.banner-meme-wrapper .banner-meme-item .img-wrap img {
    width: 100%;
    height: 100%;
    object-position: top center;
    object-fit: cover;
}

.banner-meme-wrapper .banner-meme-item .banner-meme-content {
    width: 100%;
    padding: 10px 15px;
}

.banner-meme-wrapper .banner-meme-item .banner-meme-content p {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0px;
}

/* Upload Meme Item CSS Start */
.upload-meme-item {
    max-width: 469px;
    width: 100%;
}

.upload-meme-img-content-wrap {
    padding: 10px;
    background-color: var(--white);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    max-width: 543px;
    margin: 0 auto;
}
.upload-meme-content{
    position: relative;
    height: 340px;
    width: 100%;
    background: #9f9f9f;
}
.upload-meme-img-content-wrap video, .upload-meme-img-content-wrap canvas{
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    /*background-color: #9f9f9f;*/
}
.upload-meme-img-content-wrap canvas{
    z-index: 2;
        width: 100% !important;
    height: 100% !important;
}
.upload-meme-img-content-wrap h2 {
    color: #B33B00;
    font-weight: 400;
    font-size: 32px;
    text-align: center;
}

.upload-meme-img-content-wrap p {
    font-size: 20px;
    color: var(--black);
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Upload Meme Item CSS End */

/* SVG Icon CSS */
.icon {
    display: block;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    transition: 0.2s all;
    mask-position: center;
    background-color: var(--white);
    width: 16px;
    height: 16px;
}

.icon-camera {
    mask-image: url("../images/icons/icon-camera.svg");
    -webkit-mask-image: url("../images/icons/icon-camera.svg");
}

.icon-upload {
    mask-image: url("../images/icons/icon-upload.svg");
    -webkit-mask-image: url("../images/icons/icon-upload.svg");
}

.icon-reload {
    mask-image: url("../images/icons/icon-reload.svg");
    -webkit-mask-image: url("../images/icons/icon-reload.svg");
}

.icon-email {
    mask-image: url("../images/icons/icon-email.svg");
    -webkit-mask-image: url("../images/icons/icon-email.svg");
}
.icon-glass-face {
    mask-image: url("../images/icons/icon-glass-face.svg");
    -webkit-mask-image: url("../images/icons/icon-glass-face.svg");
}
.icon-arrow-right{
    mask-image: url("../images/icons/icon-arrow-right.svg");
    -webkit-mask-image: url("../images/icons/icon-arrow-right.svg");
}
.icon-pagination-left{
    mask-image: url("../images/icons/icon-pagination-left.svg");
    -webkit-mask-image: url("../images/icons/icon-pagination-left.svg");
}
.icon-pagination-right{
    mask-image: url("../images/icons/icon-pagination-right.svg");
    -webkit-mask-image: url("../images/icons/icon-pagination-right.svg");
}
.upload-meme-info {
    margin-inline: auto;
    margin-top: 17px;
}

.upload-meme-info .upload-meme-text-wrap {
    margin-bottom: 14px;
}

.upload-meme-info .search-wrap {
    max-width: 331px;
    margin-inline: auto;
}

.upload-meme-info .upload-meme-text-wrap .social-media-link-wrap {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 18px 0px 30px 0px;
}

.upload-meme-info .upload-meme-text-wrap .social-media-link-wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 100px;
    transition: 0.2s all;
}

.upload-meme-info .upload-meme-text-wrap .social-media-link-wrap a:hover {
    opacity: 0.8;
}

.upload-meme-info .upload-meme-text-wrap .social-media-link-wrap a img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

.upload-meme-info .upload-meme-text-wrap .generate-new-meme-btn-wrap{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #FFFFFF26;
}

.upload-meme-info input {
    text-align: center;
    font-size: 15px;
    height: 54px;
    background-image: url("../images/icons/icon-search.svg");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: left 15px center;
}

.win-prizes {
    font-family: 'Rapier';
    text-align: center;
    background-color: #E73434;
    color: #D8F93E;
    font-size: 55px;
    padding: 41px 30px 23px 30px;
}

.win-prizes h2 {
    line-height: 24px;
}

.win-prizes-section {
    margin-top: 43px;
}

/* recently-made */
.recently-made-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 18px;
    column-gap: 7px;
}


.recently-made-item {
    background-color: #ffffff;
    /*padding: 7px;*/
    height: 100%;
}

.recently-made-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.recently-made-image{
    height: 100%;
}

.recently-made-title {
    color: #6a6a6a;
    font-size: 10px;
    padding: 5px 5px 7px 5px;
}

.recently-made-title h3 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recently-made-grid .recently-made-wrap {
    background-color: var(--white);
    height: 251px;
}

.recently-made-wrapper {
    background: #1600404F;
    padding: 25px 25px;
    border-radius: 10px;
    margin-top: 40px;
}

.recently-made-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.recently-made-wrapper h2 span {
    color: #FF20FB;
}

.main-footer {
    padding-top: 53px;
}

.main-footer img {
    width: 100%;
}

/* Popup CSS */
/* Overlay background */
.overlay{
    position: fixed;
    inset: 0;
    background: #121212B2;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(14.899999618530273px);
    padding: 0 20px;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 99;
}

/* Popup box */
.popup {
    background: var(--white);
    padding: 37px;
    border-radius: 10px;
    width: 100%;
    max-width: 570px;
    text-align: center;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup h2 {
    font-family: 'Inter 18pt';
    color: var(--black);
    font-weight: 600;
    font-size: 35px;
    line-height: 1.3;
    text-align: center;
    max-width: 350px;
    margin-inline: auto;
    margin-bottom: 50px;
}

.popup .popup-content {
    max-width: 400px;
    margin-inline: auto;
}

.popup .popup-content .form-group label {
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    color: var(--black);
}

.popup .popup-content .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popup .popup-content .form-group input {
    border-radius: 100px;
    padding: 16px;
    background-color: #F5F5F5;
    outline: none;
    border: 0px;
    font-size: 20px;
    font-weight: 600;
    color: #12121259;
}

.popup .popup-content .form-group .phone-input input{
    border-radius: 0px 100px 100px 0px;
}


.popup .popup-content .btn-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #0000001F;
}

.popup .popup-content .btn-wrap button {
    position: relative;
    font-size: 14px;
    font-weight: 500;
}

.popup .popup-content .btn-wrap button img {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.popup .popup-content .msg-para {
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: var(--black);
    margin-top: 0px;
}

.overlay.active .popup {
    transform: scale(1);
    opacity: 1;
}

.phone-input {
    position: relative;
    display: flex;
    align-items: center;
}

.country-code {
    min-height: 62px;
    background: #121212;
    color: var(--white);
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 12px 18px;
    font-size: 20px;
    font-weight: 600;
    appearance: none;
    cursor: pointer;
    outline: none;
    text-align: center;
}


.close-btn {
    background: #ff4757;
    border: none;
    color: var(--white);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 15px;
}

.banner-details-meme-wrapper{
    display: flex;
    gap: 64px;
    justify-content: space-between;
}

.meme-lists-wrap .meme-lists {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.meme-lists-wrap .meme-lists  li{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    padding-bottom: 22px;
    border-bottom: 1px solid #FFFFFF26;
}

.meme-lists-wrap .meme-lists li .meme-img-wrap {
    max-width: 130px;
    width: 100%;
    flex-shrink: 0;
    height: 100px;
    border: 3px solid var(--white);
    border-radius: 3px;
}

.meme-lists-wrap .meme-lists li .meme-img-wrap img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.meme-lists-wrap .meme-lists li  .meme-text-wrap h4{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.meme-lists-wrap .meme-lists li  .meme-text-wrap span{
    font-size: 12px;
    display: block;
}
.meme-lists-wrap .meme-lists li  .meme-text-wrap a{
    transition: 0.2s all;
    margin-top: 18px;
    font-size: 12px;
    display: inline-flex;
    gap: 3px;
    align-items: center;
}
.meme-lists-wrap .meme-lists li  .meme-text-wrap a i{
    width: 12px;
    height: 12px;
}

.meme-lists-wrap .meme-lists li  .meme-text-wrap a:hover{
    color: var(--red);
}
.meme-lists-wrap .meme-lists li  .meme-text-wrap a:hover i{
    background-color: var(--red);
}

.pagination-wrap .pagination{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    margin-top: 18px;
}
.pagination-wrap .pagination li{
    display: inline-flex;
}
.pagination-wrap .pagination li a{
    transition: 0.2s all;
    font-size: 12px;
    color: var(--white);
    opacity: 65%;
}
.pagination-wrap .pagination li a:hover{
    opacity: 100%;
}
.pagination-wrap .pagination li.active a{
    color: var(--pink);
    opacity: 100%;
}
.pagination-wrap .pagination li a.control-arrow{
    opacity: 100%;
}
.pagination-wrap .pagination li i{
    width: 10px;
    height: 10px;
}

.d-none {
    display: none !important;
}

.error-msg{
    font-size: 12px;
    color: var(--red);
    text-align: left !important;
}

#overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2;
    cursor: pointer;
}

#overlay .container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#overlay .countdown {
    display: block;
    width: 66vmin;
    height: 66vmin;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 25vmin;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: width, height, border-radius, font-size;
    transition-duration: 0.2s;
}
#overlay .countdown--ended {
    animation: buzz 0.5s;
}
#overlay .countdown:active {
    transform: scale(1.02);
}

.fl-wrapper{
    z-index: 999 !important;
}

.login-popup-modal .checkbox-wrapper {
    color: #000000;
    font-weight: 400;
    text-align: left;
    align-items: flex-start;
}

.login-popup-modal .custom-checkbox {
    min-width: 18px;
    min-height: 18px;
    margin-top: 5px;
    border: 1px solid var(--pink);
}

.login-popup-modal .custom-checkbox::after {
    left: 5px;
    top: 3px;
}
.login-popup-skip{
    margin-top: 10px;
    text-align: center;
}

.login-popup-skip button{
    width: 100px;
    min-width: 100px;
}

#video{
    /*background-color: #9f9f9f;*/
}

/* Terms and Services page CSS */
.terms-wrapper{
    background-color: #ffffff2e;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    margin-block: 30px;
}
.terms-wrapper h1{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}
.terms-wrapper h2{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}
.terms-wrapper h3{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}
.terms-wrapper p , .terms-wrapper ol li , .terms-wrapper ul li{
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 10px;
}
.terms-wrapper a{
    color: var(--red);
}
.terms-wrapper a:hover{
    text-decoration: underline;
}

.terms-wrapper ol{
    padding-left: 30px;
}
.terms-wrapper ol li{
    list-style: decimal;
}
.terms-wrapper ul{
    padding-left: 20px;
}
.terms-wrapper ul li{
    list-style: disc;
}

.popup .popup-content .msg-para a{
    color: var(--pink);
}
.popup .popup-content .msg-para a:hover{
    text-decoration: underline;
}


.popup .popup-content {
    max-height: calc(100dvh - 240px);
    overflow: auto;
}

.popup-content .upload-meme-item{
    max-width: 100%;
}

.popup-content .upload-meme-item .upload-meme-img-content-wrap{
    background-color: #e8e8e8;
}
.email-me-popup .popup-content {
    max-width: 100%;
}
.email-me-popup .popup h2{
    margin-bottom: 20px;
}
.email-me-popup .popup .popup-content .form-group{
    align-items: start;
}
.email-me-popup .popup .popup-content form{
    margin-top: 20px;
}
.email-me-popup .popup .popup-content .form-group input{
    width: 100%;
}

.email-me-popup .popup .popup-content .checkbox-wrapper .custom-checkbox{
    border: 1px solid #e0e0e0;
}
.email-me-popup .popup .popup-content .checkbox-wrapper .custom-checkbox::after{
    left: 6px;
    top: 3px;
}

.banner-meme-content {
    display: none;
}