@import url("https://rsms.me/inter/inter.css");

html, body {
    max-width: 100%;
    overflow-x: hidden;
}
/*TOKENS*/
:root{
    /*COLORS*/
    --primary-purple: #6f25f4;
    --Brand-Color-Black: #0B0E0D;
    --card-card-bgcolor: #FFF;

    --text-text-secondary: #747775;

    /*GAPS*/
    --spacing-24: 24px;
    --spacing-30: 30px;
    --spacing-40: 40px;
    --spacing-48: 48px;

    /*CORNER RADIIS*/
    --corner-radius-corner-radius: 4px;
}


.section-header{
    color: var(--Brand-Color-Black);
    text-align: center;
    font-family: 'Inter';
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

@media only screen and (max-width: 1100px){
    .section-header{
        font-size: 40px;
    }
}

/*TITLES*/
.xl-title-bold{
    color: var(--Dark-05, #0B0E0D);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

/*HEADER*/
.header-bold{
    color: var(--Brand-Color-Black);
/* Header/Bold */
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 22.4px */
}

.heading-20-reg{
    color: var(--Dark-05, #0B0E0D);
    /* New Heading/20-Regular */
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 28px */
}

/*LG-TITLE*/
.lg-title-bold {
    color: var(--New-Green-Primary, #04BA63);
    text-align: right;
    /* LG-Title/Bold */
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 28px */
}


/*BODY*/
.body-bold{
    color: var(--Brand-Color-Black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

.body-regular {
    color: var(--Dark-05, #0B0E0D);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.body-sm-regular{
    color: var(--text-text-secondary);
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.body-sm-medium {
    color: var(--text-text-secondary, #747775);
    /* Body/Sm-medium */
    font-family: Inter;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/*PARAGRAPHS*/
.paragraph-14{
    color: var(--Brand-Color-Black);
    font-family: 'Inter';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

/* HERO STYLES */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: normal;
    border-bottom-color: #0B0E0D;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.big-title{
    margin-top: 83px;
    position: relative;
    font-family: 'Inter';
    color: transparent;
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: var(--Brand-Color-Black);
    font-size: 240px;
    font-weight: 900;
}

.big-title:after {
    content: "DOUBLE";
    color: var(--Brand-Color-Black);
    -webkit-text-stroke-width: 0;
    font-family: 'Inter';
    position: absolute;
    top: 10px;
    left: 10px;
}

.subtitle{
    margin-top: -30px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.small-title{
    font-family: 'Inter';
    position: relative;
    color: transparent;
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: var(--Brand-Color-Black);
    font-size: 80px;
    font-weight: 900;
}

.small-title::after{
    content: attr(data-content);
    color: var(--Brand-Color-Black);
    -webkit-text-stroke-width: 0;
    font-family: 'Inter';
    position: absolute;
    top: 5px;
    left: 5px;
}

.hero-body {
    margin-top: 25px;
    margin-bottom: 25px;
    color: var(--Brand-Color-Black);
    font-size: 20px;
}

#deep-hero {
    width: 100vw;
    height: 500px;
}

#deep-hero img {
    display: none;
}

#wrapper {
    overflow: hidden;
    position: absolute;
    height: 500px;
    width: 100%;
    z-index: 10;
}

#wrapper div {
    position: absolute;
    background-position: center center;
    background-size: cover;

}

.prizes{
    width: 770px;
    height: 429px;
    z-index: 8;
    top: 14%;
    background-image: url(../images/prizes.png);
    left: 50%;
    transform: translate(-50%, 0);
}

.iphone-left {
    background-image: url(../images/iPhone\ \(1\).png);
    width: 387px;
    height: 661px;
    left: calc(50% - 20%);
    top: calc(5%);
}

.iphone-right {
    background-image: url(../images/iPhone.png);
    width: 416px;
    height: 750px;
    left: calc(50% - 5%);
    top: calc(5%);
    
}

.airpod-front {
    background-image: url(../images/Airpods-right.png);
    width: 339px;
    height: 339px;
    left: calc(50% + 10%);
    top: 50%;
    /* transform: translate(10%, 90%); */
}

.airpods-mid {
    background-image: url(../images/Airpods-left.png);
    width: 293px;
    height: 293px;
    left: calc(50% - 25%);
    top: 60%;
    /* transform: translate(-150%, 80%); */
}

.airpods-back {
    background-image: url(../images/airpods-back.png);
    width: 192px;
    height: 128px;
    left: 45%;
    top: 20%;
    /* transform: translate(-30%, 150%); */
}

.foreground-vouchers{
    left: 50%;
    transform: translate(-50%, 2%);
    top: 40%;
    width: 1045px;
    height: 269px;
    background-image: url(../images/foreground-vouchers.png);
}

.background-vouchers{
    left: 50%;
    transform: translate(-50%, 2%);
    background-image: url(../images/background-vouchers.png);
    width: 968px;
    height: 253px;
}

@media only screen and (max-width: 1100px){
    .big-title{
        margin-top: 24px;
        font-size: 82px;
        -webkit-text-stroke-width: 2px;
    }
    .big-title::after{
        top: 5px;
        left: 5px;
    }

    .subtitle{
        gap: 8px;
        margin-top: 1px;
    }

    .subtitle img {
        width: 24px;
        height: 32px;
    }

    .small-title{
        font-size: 26px;
        -webkit-text-stroke-width: 2px;
    }
    .small-title::after{
        top: 2px;
        left: 2px;
    }
    .hero-body{
        font-size: 14px;
    }
    
    #deep-hero {
        height: auto;
        display: flex;
        justify-content: center;
    }

    #deep-hero img {
        display: flex;
        width: 90%;
        height: auto;
    }

    #wrapper {
        display: none;
    }
}

/*SUCCESS STORY STYLES*/
#stories {
    display: flex;
    width: 100%;
    padding: 100px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-40);

    border-bottom-color: #0B0E0D;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.stories-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 44px;
    align-items: stretch;
    height: 339px;
}

.story-container{
    flex: 1 1 0;
}

.quoter-pic{
    z-index: 100;
    width: 61.519px;
    height: 63.942px;
    margin-left: 15px;
    flex-shrink: 0;
}

.box-stroke{
    z-index: 5;
    display: flex;
    width: 330.667px;
    padding: 48px 16px 24px 16px;
    margin-top: -30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;

    border-radius: var(--corner-radius-corner-radius);
    border: 1px solid var(--Brand-Color-Black);
    background: var(--card-card-bgcolor);

    /* shadow/MediumBottom */
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
}

.quoter{
    display: flex;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

@media only screen and (max-width: 1100px){
    #stories {
        padding: 24px;
        gap: 24px;
        display: flex;
        justify-content: flex-start;
    }
    .stories-container{
        padding-left: 16px;
        padding-right: 16px;
        width: 100vw;
        height: auto;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        overflow-x: scroll;
        overflow-y: hidden;
    }
}

/*PARTICIPATE STYLES*/
#participation {
    display: flex;
    padding: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: normal;
    gap: var(--spacing-30);
    border-bottom-color: rgb(1, 11, 21);
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.section-title {
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.rectangle {
    width: auto;
    margin-left: 20px;

    background-image: url(../images/participate-rect.svg);
}

#participation img {
    width: 450px;
    height: auto;
}

.participate-grp{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    align-self: stretch;
}

.participate-list{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    align-items: flex-start;
    gap: 30px;
    /* flex: 1 0 0; */
}

.number-participate{
    display: flex;
    align-items: center;
    gap: 24px;
}

.number{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFFF;
    font-size: 24px;
    font-weight: 700;
    background-image: url(../images/star.svg);
    background-size: cover;
    flex-shrink: 0;
    height: 54px;
    width: 54px;
}

@media only screen and (max-width: 1100px){
    #participation {
        padding: 24px 34px;
    }
    #participation .section-title {
        display: flex;
        flex-direction: column;
    }

    #participation img {
        order: 2;
    }
    .participate-grp{
        flex-direction: column;
    }
    .participate-list{
        order: 1;
    }
    .number-participate{
        flex-direction: column;
        align-items: flex-start;
    }
}

/*LEADERBOARD STYLES*/

#leaderboard{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
    gap: var(--spacing-40);

    border-bottom-color: #0B0E0D;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

#leaderboard .section-title{
    display: flex;
    flex-direction: column;
}

.leaderboard-grp{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--spacing-spacing-40, 40px);
}

a {
    text-decoration: none;
}

.leaderboard-selection{
    width: 100%;
    height: 170px;
    max-width: 516px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;

    border-radius: var(--corner-radius-corner-radius, 4px);
    background: var(--card-card-bgcolor, #FFF);
    /* shadow/MediumBottom */
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
}

.leaderboard-button{
    display: flex;
    padding: 16px;
    gap: 10px;
   
    border-radius: var(--corner-radius-corner-radius, 4px);
    background: var(--card-card-bgcolor, #FFF);
}

.leaderboard-button.selected {
    background-color: var(--primary-purple); /* Change background color when selected */
}

.leaderboard-button.selected .header-bold {
    background-color: var(--primary-purple);
    color: white;
}

.leaderboard-button.selected .arrow-right svg path{
    fill: #FFF;
}

.arrow-right{
    background-image: url(../images/arrow-right.svg);
    width: 16px;
    height: 16px;
    color: black;
    background-size: contain;
    margin-left: auto;
}

.leaderboard-table{
    width: 100%;
    max-width: 516px;
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;

    border-radius: var(--corner-radius-corner-radius, 4px) var(--corner-radius-corner-radius, 4px) 0px 0px;

    background: var(--card-card-bgcolor, #FFF);
    /* shadow/MediumBottom */
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
}

.index {
    width: 100%;
    display: flex;
    gap: 16px;
}

.index .rank {
    width: 100px;
    display: flex;
    justify-content: flex-start;
}


.name,
.return {
    flex-grow: 1; /* Allow these columns to grow and fill remaining space */
    flex-basis: 0; /* Reset initial width */
    overflow: hidden; /* Optional: Hide overflowing content */
}

.index .name {
    width: 100%;
}

.index .return{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.line {
    width: 100%;
    height: 1px;
    background: #eeeef1;
}

.table-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    height: 40px;
}

.table-row .rank {
    width: 40px;
    gap: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.not-top-3 {
    justify-content: center;
    align-items: center;
    height: 24px;

    border-radius: var(--corner-radius-corner-radius, 4px);
    border: 1px solid var(--Primary-Purple, #6F25F4);
    background: var(--Light-01, #FFF);

    color: var(--Primary-Purple, #6F25F4);
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
}

.table-row .avatar {
    width: 40px;
    height: 40px;
    background-size: contain;
}

.table-row .name {
    width: 100%;
}

.table-row .return {
    width: 100%;
}

@media only screen and (max-width: 1100px){
    #leaderboard {
        padding: 24px 16px;
        justify-content: center;
    }
    #leaderboard .section-title > div {
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Optional: Center align items */
    }

    .leaderboard-grp{
        flex-direction: column;
        
    }

    .leaderboard-table{
        width: 100%;
    }

    .leaderboard-selection{
        width: 100%;
        height: auto;
    }

    .leaderboard-button{
        width: 100%;
    }

    .table-row .name {
        font-size: 12px;
    }

    .table-row .return {
        font-size: 12px;
    }
}

/*REWARDS PAGE*/
#rewards{
    width: 100%;
    padding: 100px;
    gap: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#rewards .section-title {
    width: 100%;
}

#rewards .section-title .rectangle {
    width: auto;
    margin-left: 0;
    margin-right: 20px;
}

#rewards img {
    width: 516px;
    height: auto;
}

.rewards-grp{
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-spacing-40, 40px);
    align-items: center;
}

.rewards-table-container{
    max-width: 516px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    align-items: flex-start;
    gap: 10px;
    flex: 1 0 0;

    border-radius: var(--corner-radius-corner-radius, 4px) var(--corner-radius-corner-radius, 4px) 0px 0px;

    background: var(--card-card-bgcolor, #FFF);
    /* shadow/MediumBottom */
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
}

.rewards-table-main{
    width: 100%;
    max-width: 516px;

    display: flex;
    padding: var(--spacing-spacing-24, 24px) 16px;

    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    
    border-radius: var(--corner-radius-corner-radius, 4px);

    background: var(--bg-color, #F5F5F6);
}

.rewards-table-main .rank{
    width: 150px;
    display: flex;
    justify-content: flex-start;
}

.rewards-table-main .rewards {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

@media only screen and (max-width: 1100px){
    #rewards {
        padding: 24px 16px;
    }

    #rewards .section-title {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #rewards .section-title .rectangle {
        display: flex;
        width: 175px;
        margin-right: 0;
        
    }

    .rewards-grp{
        flex-direction: column;
    }
}