.radio_container {
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fbfbfb;
    width: 280px;
    height: 50px;
    border-radius: 9999px;
    box-shadow: inset 0.5px 0.5px 2px 0 rgba(0, 0, 0, 0.15);
    
}

.radio_container_large {
    width: 580px;    
}

input[type="radio"] {
    appearance: none;
    display: none;
}

label {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: inherit;
    width: 80px;
    height: 40px;
    text-align: center;
    border-radius: 9999px;
    overflow: hidden;
    transition: linear 0.3s;
    color: #6e6e6edd;
    cursor: pointer;
}

.radio_container_large label {
    width: 140px;
}

input[type="radio"]:checked + label {
    background-color: #83c5a3;
    color: #f1f3f5;
    font-weight: 900;
    transition: 0.3s;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .radio_container {
        display: flex;
        flex-direction: column;
        width: 150px;
        height: 100px;
        border-radius: 10px;
    }

    .radio_container_large {
        width: 150px;
        height: 300px;
        border-radius: 10px; 
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {...}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {...}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}