body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    /*overflow-x: hidden;*/
    background-image: linear-gradient(to right, #141e30, #243b55);
}


.container{
    padding: 20px;
    display: flex;
    /*flex-direction: column;*/
    align-items: center;
    justify-content: center;
    /*background-color: #78bc61ff;*/
}

.main_box{
    height: 100%;
    padding: 0 20px 20px;
    margin: 0;
    align-items: center;
    justify-content: center;
    border: #04886d 3px solid;
    background: linear-gradient(110deg, #fdcd3b 60%, #ffed4b 60%);
}

.request_btn_container{
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.input_fields_container{
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.permissions_container{
    margin: 0 10px;
}

.request_btn {
    --border-color: linear-gradient(-45deg, #ffae00, #7e03aa, #00fffb);
    --border-width: .125em;
    --curve-size: .5em;
    --blur: 30px;
    --bg: #080312;
    --color: #afffff;
    color: var(--color);
    /* use position: relative; so that BG is only for .btn */
    position: relative;
    isolation: isolate;
    display: inline-grid;
    place-content: center;
    padding: .5em 1.5em;
    font-size: 17px;
    border: 0;
    text-transform: uppercase;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, .6);
    clip-path: polygon(
        /* Top-left */
            0% var(--curve-size),

            var(--curve-size) 0,
                /* top-right */
            100% 0,
            100% calc(100% - var(--curve-size)),

                /* bottom-right 1 */
            calc(100% - var(--curve-size)) 100%,
                /* bottom-right 2 */
            0 100%);
    transition: color 250ms;
}

.request_btn::after,
.request_btn::before {
    content: '';
    position: absolute;
    inset: 0;
}

.request_btn::before {
    background: var(--border-color);
    background-size: 300% 300%;
    animation: move-bg7234 5s ease infinite;
    z-index: -2;
}

@keyframes move-bg7234 {
    0% {
        background-position: 31% 0
    }

    50% {
        background-position: 70% 100%
    }

    100% {
        background-position: 31% 0
    }
}

.request_btn::after {
    background: var(--bg);
    z-index: -1;
    clip-path: polygon(
        /* Top-left */
            var(--border-width)
            calc(var(--curve-size) + var(--border-width) * .5),

            calc(var(--curve-size) + var(--border-width) * .5) var(--border-width),

                /* top-right */
            calc(100% - var(--border-width))
            var(--border-width),

            calc(100% - var(--border-width))
            calc(100% - calc(var(--curve-size) + var(--border-width) * .5)),

                /* bottom-right 1 */
            calc(100% - calc(var(--curve-size) + var(--border-width) * .5)) calc(100% - var(--border-width)),
                /* bottom-right 2 */
            var(--border-width) calc(100% - var(--border-width)));
    transition: clip-path 500ms;
}

.request_btn:where(:hover, :focus)::after {
    clip-path: polygon(
        /* Top-left */
            calc(100% - var(--border-width))

            calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),

            calc(100% - var(--border-width))

            var(--border-width),

                /* top-right */
            calc(100% - var(--border-width))

            var(--border-width),

            calc(100% - var(--border-width))

            calc(100% - calc(var(--curve-size) + var(--border-width) * .5)),

                /* bottom-right 1 */
            calc(100% - calc(var(--curve-size) + var(--border-width) * .5))
            calc(100% - var(--border-width)),

                /* bottom-right 2 */
            calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
            calc(100% - var(--border-width)));
    transition: 200ms;
}

.request_btn:where(:hover, :focus) {
    color: #fff;
}

.generate_links_btn {
    margin: 15px 0 0 0;
    --bezier: cubic-bezier(0.22, 0.61, 0.36, 1);
    --edge-light: hsla(0, 0%, 50%, 0.8);
    --text-light: rgba(255, 255, 255, 0.4);
    --back-color: 240, 40%;

    cursor: pointer;
    padding: 0.7em 1em;
    border-radius: 0.5em;
    min-height: 2.4em;
    min-width: 3em;
    display: flex;
    align-items: center;
    gap: 0.5em;

    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1;
    font-weight: bold;

    background: linear-gradient(
            140deg,
            hsla(var(--back-color), 50%, 1) min(2em, 20%),
            hsla(var(--back-color), 50%, 0.6) min(8em, 100%)
    );
    color: hsla(0, 0%, 90%);
    border: 0;
    box-shadow: inset 0.4px 1px 4px var(--edge-light);

    transition: all 0.1s var(--bezier);
}

.generate_links_btn:hover {
    --edge-light: hsla(0, 0%, 50%, 1);
    text-shadow: 0 0 10px var(--text-light);
    box-shadow: inset 0.4px 1px 4px var(--edge-light),
    2px 4px 8px hsla(0, 0%, 0%, 0.295);
    transform: scale(1.1);
}

.generate_links_btn:active {
    --text-light: rgba(255, 255, 255, 1);

    background: linear-gradient(
            140deg,
            hsla(var(--back-color), 50%, 1) min(2em, 20%),
            hsla(var(--back-color), 50%, 0.6) min(8em, 100%)
    );
    box-shadow: inset 0.4px 1px 8px var(--edge-light),
    0 0 8px hsla(var(--back-color), 50%, 0.6);
    text-shadow: 0 0 20 var(--text-light);
    color: hsla(0, 0%, 100%, 1);
    letter-spacing: 0.1em;
    transform: scale(1);
}

.input_fields{
    display: block;
    justify-content: space-between;
    margin: 20px 0;
}



