:root {
    --var-color1: rgba(0, 0, 0, 0.329);
    --var-color2:rgba(0, 0, 0, 0);
}
html {
    background-image: linear-gradient(to right, blue, red);
    
}
* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    list-style: none;
    transition: .5s;
    color: white;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-image: linear-gradient(to bottom, rgb(22, 0, 44) 70%, var(--var-color2));
}
p {
    padding: 1rem;
}

main {
    max-width: 1000px;
}

.aWrapper {
    background-image: linear-gradient(to top, rgb(85, 85, 85) , rgb(53, 53, 53));
    border-radius: 2rem;
    overflow: hidden;
    border: 5px solid rgb(25, 25, 25);
}

.tab {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.473);
    padding: 1rem 2rem 1rem 2rem;
    box-sizing: border-box;
    height: 100%;
}





.layers {
    display: flex;
    flex-direction: column;
    gap: .2rem
}


.lorem {
    overflow:hidden;
}



.expand {
    height: 100%;
    display: grid;
    grid-template-rows: 0fr;
}

.layer:has(#open:checked) .expand {
    grid-template-rows: 1fr;
}

#open:checked {
    display: none;
}



.arrow {
    height: 10px;
    aspect-ratio: 1;
    border-left: 3px solid white;
    border-top: 3px solid white;
    rotate: -135deg;
    border-top-left-radius: 25%;
}
#open:checked ~ .arrow {
    rotate: 45deg;
}


.radio {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    top: 0;
    left: 0;
}