@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');

html,
body {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    background: black;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow: hidden;
    font-family: 'Gloria Hallelujah', cursive;
    color: white;
    font-size: 1em;
}

a {
    color: inherit;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}
form input,
form select,
form textarea {
    box-sizing: border-box;
    width: 100%;
}

#mainwin {
    display: block;
    margin: 0 auto;
    background-image:
        radial-gradient(circle at top, transparent 30vw, black 80vw),
        url("images/main.webp");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100vw;
    height: 150vh;
}

#menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 0 auto;
    background-image:
        radial-gradient(circle closest-side, transparent 30%, black 100%),
        url("images/roots.webp");
    background-position: top center;
    background-repeat: no-repeat, repeat;
    background-size: 100vw, 50vw;
    min-height: 100vh;
    height: 100vh;
    overflow-y: auto;
    padding: 2rem;
    box-sizing: border-box;
}

.centered {
    position: relative;
    top: 50svh;
    left: 50svw;
    display: block;
    margin: 0 auto;
    transform: translate(-50%, -50%);
}

.btn {
    text-shadow:
        white 0 0 .1rem, red 0 0 .1rem, red 0 0 .2rem, red 0 0 .4rem, red 0 0 .8rem, red 0 0 1.6rem;
    color: black;
    font-weight: bold;
    font-size: 2rem;
    padding: 1rem 2rem 1rem 2rem;
}

.btn:hover {
    text-shadow:
        white 0 0 .1rem, lightcoral 0 0 .1rem, lightcoral 0 0 .2rem, lightcoral 0 0 .4rem, lightcoral 0 0 .8rem, lightcoral 0 0 1.6rem;
    cursor: pointer;
}

.nobtn {
    text-shadow:
        white 0 0 .1rem, red 0 0 .1rem, red 0 0 .2rem, red 0 0 .4rem, red 0 0 .8rem, red 0 0 1.6rem;
    color: black;
    font-weight: bold;
    font-size: 2rem;
    padding: 2rem;
}

.texte {
    overflow-y: auto;
    max-height: 80svh;
    text-align: left;
    padding: 0 1rem 0 1rem;
    background-position: top center;
    background-repeat: no-repeat, repeat;
    background-size: 100vw;
}

.texte p {
    display: list-item;
    list-style: ". ";
    margin: 0 0 0 1rem;
}

.titre {
    font-size: 2rem;
    text-shadow:
        red -0.2rem 0 0.1rem,
        red -0.1rem 0 0.1rem,
        red 0 0 0.1rem,
        red 0.1rem 0 0.1rem,
        red 0.2rem 0 0.1rem;
}

.titre,
.react {
    min-height: 10svh;
    max-height: 10svh;
    margin: 0;
    padding: 0;
}

.icon {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: .75rem;
    margin-right: 1rem;
    vertical-align: top;
    border-radius: 2svh;
}

.btni:hover {
    box-shadow: white 0 0 .1rem, lightcoral 0 0 .1rem, lightcoral 0 0 .2rem, lightcoral 0 0 .4rem, lightcoral 0 0 .8rem, lightcoral 0 0 1.6rem;
    cursor: pointer;
}

.pointer:hover {
    cursor: pointer;
}

.icon img {
    height: 4svh;
    margin: 1svh;
    vertical-align: middle;
}

.tooltip {
    background:  rgb(128,0,0);
    box-shadow: inset 5px 5px 5px 0 rgba(255,255,255,.2), inset -5px -5px 5px rgba(0,0,0,.8);
    position: absolute;
    font-size: .8rem;
    padding: .5rem;
    transform: translate(-50%, -2rem);
    border-radius: .25rem;
}

#up {
    position: absolute;
    top: 0;
    left: 100vw;
    transform: translate(-100%, 0);
    padding: 0 2rem 0 0;
}

#about {
    position: absolute;
    top: 100svh;
    left: 100vw;
    transform: translate(-100%, -100%);
    padding: 0 2rem 0 0;
}
