@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

body {
    margin: 0;
    font-weight: 400;
    font-family: 'Ubuntu', 'Verdana', sans-serif;
}

h2 {
    font-size: 23px;
    text-transform: uppercase;
}

h3 {
    font-size: 19px;
    text-transform: uppercase;
}

a {
    letter-spacing: 0.05em;
    text-decoration: none;
    font-size: .8em;
    font-weight: 700;
    color: #000;
}

a:hover {
    text-decoration: underline;
    color: rgba(202,91,71,0.5);
}

.labels {
    display: grid;
    gap: .5em;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 500px) {
    .labels {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 700px) {
    .labels {
        grid-template-columns: repeat(4, 1fr);
    }
}

label {
    padding: .5rem;
    padding-bottom: calc(.5rem - 3px);
    border-bottom: 3px solid rgba(222,111,91,0.3);
    cursor: pointer;
    background-color: rgba(222,111,91,0.05);
}

label:hover {
    color: #666;
}

input {
    display: none;
}

label:has(:checked), label.selected {
    background-color: rgba(222,111,91,0.3);
    border-bottom: none;
    padding-bottom: .5rem;
}
