@charset "UTF-8";

:root {
    --preto: #000000;
    --branco: #ffffff;
    --trans:#00000000;
    --bm: 0.5vw;
}
@media (orientation: portrait) {
    :root {
        --bm: 1vh;
    }
}

* {
    margin: 0;
    padding: 0;
    /* overflow: clip; */
}

body {
    width: 100%;
    height: auto;
    background-color: var(--preto);    
    color: var(--branco);
}

h1 {
    width: 100%;
    font-size: clamp(1rem,7vh,7vw);
    text-align: center;
    margin: 2svh 0;
    text-wrap: balance;
}

main {
    width: 100%;
    height: 85svh;
}

.button {
    position: absolute;
    aspect-ratio: 1;
    background-color: var(--preto);
    border-radius: 10%;
}

.icon {
    width: clamp(1rem, 7vw, 4vh);
    filter: invert(100%);
}

#back {
    left: var(--bm);
    top: var(--bm);
}

#info, #dark {
    top: var(--bm);
    right: var(--bm);
}

#fechar {
    top: 30%;
    right: 0%;
}

#warn {
    position: absolute;
    color: white;
    text-align: justify;

    width: fit-content;
    max-width: clamp(1rem, 70vw, 50vh);
    padding: 0.4rem;
    top: var(--bm);

    border: 0.2rem solid var(--branco);
    border-radius: 0.5rem;
    background-color: red;
}

input[type='text'] {
    margin: 0.3rem 0;
    width: 100%;
    text-wrap: wrap;
    height: min-content;
}

#close {
    display: block;
    position: static;
    float: right;
    margin: -5px -5px 0 10px;
}

#iclose { /* i = icone do close */
    width: 20px;
    background-color: var(--branco);
}

#maxi {
    bottom: var(--bm);
    right: var(--bm);
    opacity: 50%;
}

#menu {
    position: absolute;
    right: 20px;
    top: 60px;
    border: 2px 2px var(--branco);
}

footer {
    position: absolute;
    bottom: 2px;
    left: 2px;
}