@import url("https://fonts.cdnfonts.com/css/minecraft-3");

body {
    font-family: "Minecraft", sans-serif;
    background-color: #1e1e1e;
    color: #f5f5f5;
    margin: 0;
    padding: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;

    background: linear-gradient(to top right, #000000, #646464);
}

@property --color1 {
    syntax: '<color>';
    initial-value: rgb(255, 255, 255);
    inherits: false;
}

@property --color2 {
    syntax: '<color>';
    initial-value: rgb(255, 255, 255);
    inherits: false;
}

/* @keyframes flight {
    0% {
        transform: translate(0, 0);
    }

    12.5% {
        transform: translate(0px, -2px);
    }

    25% {
        transform: translate(-1px, -1px);
    }

    37.5% {
        transform: translate(3px, -3px);
    }

    50% {
        transform: translate(2px, -4px);
    }

    62.5% {
        transform: translate(1px, -3px);
    }

    75% {
        transform: translate(2px, -1px);
    }

    87.5% {
        transform: translate(4px, -2px);
    }

    100% {
        transform: translate(0, 0);
    }
} */

@keyframes rainbow {

    100%,
    0% {
        color: rgb(255, 0, 0);
    }

    8% {
        color: rgb(255, 127, 0);
    }

    16% {
        color: rgb(255, 255, 0);
    }

    25% {
        color: rgb(127, 255, 0);
    }

    33% {
        color: rgb(0, 255, 0);
    }

    41% {
        color: rgb(0, 255, 127);
    }

    50% {
        color: rgb(0, 255, 255);
    }

    58% {
        color: rgb(0, 127, 255);
    }

    66% {
        color: rgb(0, 0, 255);
    }

    75% {
        color: rgb(127, 0, 255);
    }

    83% {
        color: rgb(255, 0, 255);
    }

    91% {
        color: rgb(255, 0, 127);
    }
}

#learn-more,
#find-us {
    width: 300px;
    margin: 0;
    margin-top: 10px;
    padding: 1px;
    border: none;
    color: #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    transition: --color1 0.3s, --color2 0.3s, color 0.3s, transform 0.25s;

    background: linear-gradient(to right, var(--color1), var(--color2));

    &:hover {
        --color1: #ff0000;
        --color2: #ff7300;
        transform: translateX(5px) !important;
    }

    .inner {
        background: #1e1e1e;
        padding: 10px 20px;
        box-sizing: border-box;
        font-size: 1.2rem;
        text-align: center;
        height: 100%;
        width: 100%;
        border-radius: 10px;
        font-family: "Minecraft", sans-serif;
    }
}

.screen {
    max-width: 1400px;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    overflow: show;
}


#screen1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-right: 100px;

    .sunbeam {
        height: 100%;
        width: 100%;
        aspect-ratio: 1;
        border-radius: 50%;
    }

    img {
        width: 850px;
        height: auto;
        object-fit: contain;
        background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 30%, transparent 45%);
        transition: all 0.3s;
        image-rendering: pixelated;

        /* animation: flight 1s infinite ease-in-out; */

        &:hover {
            transform: translateY(-5px) scale(1.05) rotate(-5deg);
        }
    }

    .left,
    .right {

        width: 45%;
    }

    .right {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .left {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        padding-left: 20px;

        .disclaimer {
            position: absolute;
            top: -70px;
            left: 20px;
            background: #ff0000;
            color: #f5f5f5;
            padding: 10px;
            text-align: center;
            font-size: 2rem;
            border-radius: 10px;
            transition: opacity 0.3s;
        }
    }

    h1 {
        font-size: 5rem;
        text-align: left;
        margin: 0;
        padding: 0;
    }

    h2 {
        font-size: 1.2rem;
        text-align: right;
        width: 100%;
        margin: 0;
        margin-top: 20px;
        margin-bottom: 50px;
        padding: 0;
    }


}

#screen2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;

    .pricing {
        width: 100%;
        height: calc(100% - 50px);
        display: grid;
        grid-template-columns: .7fr 1fr;
        grid-template-rows: repeat(2, 2fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        padding: 60px 30px;
        box-sizing: border-box;
    }

    .box {
        border-radius: 10px;
        padding: 20px;
        padding-top: 75px;
        position: relative;
        transition: all 0.3s;

        &:hover {
            transform: translateY(-5px) scale(1.02);
        }
    }

    #pricing1 {
        grid-area: 1 / 1 / 2 / 2;
        background-color: #1e1e1e;
    }

    #pricing2 {
        grid-area: 2 / 1 / 3 / 2;
        background-color: #1e1e1e;
    }

    #pricing3 {
        grid-area: 1 / 2 / 3 / 3;
        background-color: #1e1e1e;
        overflow: show;

        .simple {
            position: absolute;
            top: 0;
            right: 0;
            width: 400px;
            transform: translateY(-35%) translateX(30%);
            pointer-events: none;
        }

        .laura {
            transform: scaleX(-1) translateY(15%) translateX(10%);
            position: absolute;
            left: 0;
            bottom: 0;
            width: 500px;
            pointer-events: none;
        }
    }
}

.box .plan-image {
    width: 100%;
    height: 10px;

    position: absolute;
    top: -10px;
    left: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: show;

    img {
        height: 150px;
        image-rendering: pixelated;
    }

    .lto {
        position: absolute;
        top: -10px;
        left: 30px;

        margin: 0;

        text-align: center;
        background: #FFDE21;
        color: #000000;
        border-radius: 10px;
        padding: 10px;
        font-size: 1.3rem;
    }
}

.box .plan-text {
    h3 {
        font-size: 2rem;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .price {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        height: 50px;
    }

    p {
        font-size: 2.3rem;
        height: 40px;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    img {
        height: 30px;
        aspect-ratio: 1;
        object-fit: contain;
        image-rendering: pixelated;

        transition: all 0.3s;
        cursor: zoom-in;

        &:hover {
            transform: scale(1.2);
        }
    }

    ul {
        padding: 0;
        margin: 0;
        margin-top: 20px;
        font-size: 1.4rem;
        text-align: center;

        li {
            margin-bottom: 10px;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 10px;

            img {
                height: 35px;
                object-fit: contain;
                image-rendering: pixelated;
                transition: all 0.3s;
                cursor: zoom-in;

                &:hover {
                    transform: scale(1.5);
                }
            }

            &::before {
                content: ">";
                font-size: 1.1rem;
                font-weight: bold;
                margin-bottom: 3px;
            }

            .highlight {
                font-size: 2rem;
                height: 35px;
                background: linear-gradient(to right, #ff0000, #ff7300);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
                text-align: left;
                white-space: nowrap;
            }

            .rainbow {
                animation: rainbow 2.5s linear;
                animation-iteration-count: infinite;
                font-size: 2rem;
                height: 35px;
            }

            .mending {
                transform: scale(1.2);
            }
        }
    }
}

.sunbeam {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sunbeam {
    background-image: linear-gradient(to bottom right, rgba(255, 0, 0, 0.7), rgba(255, 115, 0, 0.7));
    background-blend-mode: screen;
    background-position: center;
    background-repeat: no-repeat;
}

.popup {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    bottom: 20px;
    right: -500px;
    background: #1e1e1e;
    border-radius: 10px;

    transition: all 0.3s;
}

.popup.show {
    right: 20px !important;
    /* Slide into view */
}

.popup .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;

    .button {
        background: linear-gradient(to right, #ff0000, #ff7300);
        color: #f5f5f5;
        padding: 10px 20px;
        border-radius: 10px;
        border: none;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 1.2rem;
        font-family: "Minecraft", sans-serif;

        &:hover {
            transform: scale(1.05) scale(1.02);
        }
    }

    #accept {
        background: linear-gradient(to right, #ff0000, #ff7300);
    }

    #decline {
        background: linear-gradient(to right, #1e1e1e, #646464);

    }
}

.popup {
    h2 {
        font-size: 1.5rem;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    p {
        font-size: 1rem;
        text-align: center;
        margin: 0;
        padding: 0;
    }
}

@media screen and (max-width: 1400px) {
    #screen1 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-right: 0;

        .left {
            width: 90%;
            padding: 0;
        }

        .right {
            display: none;
        }

        img {
            width: 100%;
            height: auto;
            max-width: 800px;
        }
    }

    #screen2 {
        flex-direction: column;
        align-items: center;
        height: fit-content;
        padding-top: 10px;

        .pricing {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 60px;
        }

        .simple,
        .laura {
            display: none;
        }
    }

    .box .plan-text {
        h3 {
            font-size: 2rem;
        }

        .price {
            height: 70px;
        }

        p {
            font-size: 1.7rem;
        }
    }

    .mending {
        transform: none !important;
    }

    .lto {
        width: 80px;
        left: -20px !important;
        top: -30px !important;
    }
}