/* LANDING PAGE */

.cta {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    background-color: rgb(229, 71, 237);
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta:hover {
    text-decoration: none;
    background-color: rgba(229, 71, 237, 0.8)
}

/* TEXT BLOCK */
section.text {
    background-color: #0FFFFE;
    text-align: center;
    padding: 60px 20px;
    color: #1e0cff;
}

section.text .title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

section.text .content {
    font-size: 18px;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    section.text .title {
        font-size: 26px;
    }

    section.text .content {
        font-size: 1rem;
    }
}

/* TEXT WITH IMAGE BLOCK */

section.text-with-image {
    color: white;
}

section.text-with-image.pink {
    background-color: #ff00f0;
}

section.text-with-image.purple {
    background-color: #6f00ff;
}

section.text-with-image.layout-right .image {
    order: 2;
}

section.text-with-image .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

section.text-with-image .text {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.text-with-image .title-image {
    margin-bottom: 20px;
}

section.text-with-image .title-image img {
    max-width: 400px;
    height: 130px;
    object-fit: contain;
}

section.text-with-image .cta {
    margin-top: 20px;
}

section.text-with-image.pink .cta {
    background-color: rgb(31 0 255);
}

section.text-with-image.pink .cta:hover {
    background-color: rgba(31, 0, 255, 0.8);
}

@media (max-width: 991px) {
    section.text-with-image {
        text-align: center;
    }

    section.text-with-image .container {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    section.text-with-image .text {
        padding-top: 0;
    }

    section.text-with-image .title-image {
        text-align: center;
    }

    section.text-with-image.layout-right .image {
        order: unset;
    }

    section.text-with-image .title-image img {
        width: 100%;
    }
}

/* RESULT SHARE PAGE */

html body.page-template-tpl-fresh-arcade-share,
html body.page-template-tpl-fresh-arcade-game {
    margin-top: 0;
}

section.share-results {
    position: relative;
    width: 100%;
    height: 100vh;
}

body.admin-bar section.share-results {
    height: calc( 100vh - 32px );
}

section.share-results .background, .mobile-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.share-results .mobile-background {
    display: none;
}

section.share-results .content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.share-results .logo img {
    height: 250px;
    margin-bottom: 10px;
}

section.share-results .results-container {
    position: relative;
    margin-bottom: 80px;
}

section.share-results .results-img {
    height: 700px;
    margin: -103px 0 -101px;
}

section.share-results .results-container .content {
    position: absolute;
    top: 0;
    left: 96px;
    width: 495px;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.share-results .results-container .title {
    color: #BBF150;
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

section.share-results .results-container .result {
    color: white;
    font-size: 180px;
    line-height: 1;
    font-weight: 700;
}

section.share-results .results-container .cta {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #1a00d9;
    background-color: #76FBFC;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    transition: 300ms ease all;
    text-transform: uppercase;
}

section.share-results .results-container .cta:hover {
    text-decoration: none;
    background-color: rgba( 118, 251, 252, 0.8 );
}

@media (max-width: 991px) {
    section.share-results .background {
        display: none;
    }

    section.share-results .mobile-background {
        display: block;
    }

    section.share-results .results-img {
        aspect-ratio: 811 / 824;
        height: auto;
        margin: -15.5% 0 -14%;
    }

    section.share-results .results-container .content {
        aspect-ratio: 1;
        height: auto;
        left: 14%;
        width: 72%;
    }

    section.share-results .results-container .title {
        font-size: 4vw;
    }

    section.share-results .results-container .result {
        font-size: 22vw;
    }

    section.share-results .results-container .cta {
        font-size: 3vw;
        padding: 2vw 4vw;
    }
}

@media (max-width: 800px) {
    section.share-results .results-container .title {
        font-size: 5vw;
    }

    section.share-results .results-container .result {
        font-size: 36vw;
    }

    section.share-results .results-container .cta {
        font-size: 3vw;
        padding: 2vw 4vw;
    }
}

/* GAME PAGE */
.game-iframe {
    width: 100%;
    min-height: 100vh;
}