@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");

:root {
    --color0: #FCECB9;
    --color1: #CA742B;
    --color2: #363531;

    --color3: #0D0D0D;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {

    font-family: Arial, Helvetica, sans-serif;
    height: 100%;

    background-color: var(--color0);
    padding: 15px;
    position: relative;

    & .material-symbols-outlined {
            font-variation-settings:
                'FILL' 0,
                'wght' 400,
                'GRAD' 0,
                'opsz' 24
        }
}

[data-modals="wrapper"] {
    width: 100%;
    height: 100%;
}

[data-modal="buttons"] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

[data-modal]:not([data-modal="buttons"]) {

    position: fixed;
    background-color: #36353198;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;

    & [data-modal-content] {

        width: 100%;
        max-width: 500px;

        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;

        padding: 15px;
        background-color: var(--color1);
        box-shadow: .25rem .25rem #36353166;

        & h1 { color: var(--color3); }
        & p { color: var(--color0); }
    }
}

[data-open-modal] {

    background-color: var(--color2);

    padding: 20px;
    outline: none; border: none;
    box-shadow: .25rem .25rem var(--color1);
    color: var(--color0);
    font-size: 1.2rem;
    font-weight: bold;

    transition: transform 200ms, box-shadow 200ms;
}

[data-open-modal]:hover {
    cursor: pointer;
}

[data-open-modal]:active {

   transform: translate(.25rem, .25rem);
   box-shadow: .15rem .15rem var(--color1);

}

[data-close-modal] {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    height: fit-content;
}

[data-close-modal]:hover {
    cursor: pointer;
    background-color: var(--color0);
}

footer {
    position: fixed;
    bottom: 0;
    width: max-content;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
    background-color: var(--color2);
    box-shadow: .2rem .2rem var(--color1);
    margin: 15px;

    & * {
        color: var(--color1);
        text-decoration: none;
        font-style: normal;
        transition: color 100ms;
    }

    & a:hover {
        color: var(--color0);
    }
}