*,
html,
body {
        margin: 0;
        padding: 0;
        scroll-behavior: smooth;
        scroll-padding: var(--scroll-padding, 50px);
        font-family: 'Roboto', sans-serif;
        box-sizing: border-box;
}

ul li {
        list-style-type: none;
        margin: 7px auto;
}

a {
        text-decoration: none;
}

:root {
        --animate-duration: 1s;
        --animate-delay: 1s;
        --animate-repeat: infinite;

        --pallete1: #5271ff;
        --pallete2: #38b6ff;
        --pallete3: #5e17eb;
        --pallete4: #004aad;
        --pallete5: #F5F7F8;
        --pallete6: #F6F5F5;
        --pallete7: #d9d9d9;
        --pallete8: #a6a6a6;
        --pallete9: #737373;
        --pallete10: #100C08;
        --pallete11: #3049A5;
        --pallete12: #F5F5F5;
        --pallete13: #60A3D9;
        --pallete14: #FD49A0;
        --pallete15: #070F2B;
        --pallete16: #222831;
        --pallete17: #31363F;
        --pallete18: #ff3131;
        --pallete19: #B4B4B8;
        --pallete20: #C7C8CC;
        --pallete21: #EF7C8E;
        --pallete22: rgb(245, 245, 245, 0.9);
        --pallete23: rgb(16, 12, 8, 0.8);
        --pallete24: #d8eefe;
        --pallete25: #e3f6f5;
        --pallete26: #ff5470;
        --pallete27: #094067;
        --pallete28: #232946;
        --pallete29: #25d366;
        --pallete30: #f25c05;
        --pallete31: rgb(255, 180, 0);
        --pallete32: rgb(9, 64, 103, 0.9);
        --pallete33: rgb(255, 244, 0);
        --pallete34: rgb(244, 205, 42);
        --pallete35: rgb(253, 246, 140);
        --pallete36: #ffffff;

        --pallete1op: rgba(82, 113, 255, 0.2);
        --pallete2op: rgba(56, 182, 255, 0.2);
        --pallete11op: rgba(48, 73, 165, 0.5);
        --pallete13op: rgba(96, 163, 217, 0.3);
        --pallete24op: rgba(216, 238, 254, 0.2);
        --pallete25op: rgba(227, 246, 245, 0.3);
        --pallete27op: rgba(9, 64, 103, 0.5);
}


dialog {
        --border-color: #6300ff;
        --backdrop-color: #6300ff33;
        /* Could also use relative color syntax here :) */
}

::backdrop {
        /* background-color: var(--backdrop-color); */
        background-color: var(--pallete27op);
        /* This works as of Chrome 122 */
}


@layer components {
        @layer dialog {
                dialog {
                        --timing: 0.25s;
                        border: 0.16em solid var(--pallete27op);
                        transition: all var(--timing) ease,
                                display var(--timing) ease allow-discrete;
                        opacity: 0;
                        max-width: 80ch;
                        width: 90%;
                        border-radius: 0.50em;

                        &[open] {
                                opacity: 1;

                                @starting-style {
                                        opacity: 0;
                                }
                        }
                }
        }

}