@import url(https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css);
:root {
    --var-bright: antiquewhite;
    --var-lessbright: rgb(187, 164, 135);
}
.tab input {
display: none;
}

html {
    background-color: black;
}
h3, p {
    padding: 1rem;
}
.container {
    width: max-content;
    margin: 2rem auto 2rem auto;
    width: min-content;
    position: relative;
}

.tabmenu {
    display: flex;
}

li, .content {
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}
li {
    background-color: var(--var-lessbright);
    border-radius: 1rem 1rem 0 0;
}

li:has(input:checked), .content {
    background-color: var(--var-bright);
    border-bottom: none;
}
li label {
    display: block;
}

.content {
    display: none;
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    border-radius: 0 0 1rem 1rem;
    border-top: none;
}
input:checked ~ .content {
    display: block;
}
