

.radio-container2 {
    display: grid;
    /*place-items: center;*/
    /*margin: 5% 25%;*/
}

.radio-container2 h2 {
    text-align: center;
}

.btn-container2 {
    --btn-container2-bg: rgba(183, 183, 185, 0.24);
    --btn-container2-border: #fcfcfc;
}

.active,
input[type="radio"]:checked + label {
    --active-btn-bg: #fffdfa;
    --active-btn-box-shadow: rgba(204, 203, 199, 0.6);
    --active-btn-text: #100c00;
}

.inactive,
label {
    --inactive-btn-text: #000000;
    font-weight: bold;
}

/*Needed for both*/

.btn-container2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 5px;
    background-color: var(--btn-container2-bg);
    border: var(--btn-container2-border) 1px solid;
    width: 20%;
    height: 48px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/*To be used with links on individual pages*/

.btn-container2> .active, .inactive {
    width: 45.5%;
    height: 60%;
    padding: 10px 20px;
    border: 0px;
    /*border-radius: 8px;*/
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.btn-container2> .active {
    background-color: var(--active-btn-bg);
    box-shadow: 0 0 10px 1px var(--active-btn-box-shadow);
    font-weight: bold;
    color: var(--active-btn-text);
}

.btn-container2> .inactive {
    background-color: transparent;
    color: var(--inactive-btn-text);
    text-decoration: none;
}

/*To be used as radio buttons*/

input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
    margin: 0;
}

.btn-container2 label {
    width: 100%;
    height: 100%;
    padding: 10px 20px;
    border: 0px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: var(--inactive-btn-text);
    margin-bottom: 0px !important;
}

input[type="radio"]:checked + label {
    background-color: var(--active-btn-bg);
    box-shadow: 0 0 10px 1px var(--active-btn-box-shadow);
    font-weight: bold;
    color: var(--active-btn-text);
}