/*Fonte do google - montserrat*/


@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Montserrat:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Google Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
        "GRAD" 0;

}

html,
body {
    display: grid;
    height: 100%;
    place-items: center;
    background: #383838;
}

#option-1,
#option-2 {
    display: none;
}

.wrapper {
    height: 100px;
    width: 400px;
    border-radius: 5px;
    background: #fff;
    display: flex;
    padding: 20px 25px;
    align-items: center;
    justify-content: space-evenly;
    border: 5px solid #383838;
}

.wrapper .option {

    background-color: #fff;
    height: 100%;
    width: 100%;
    border: 2px solid lightgray;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: 1px solid #383838;
    transition: all 0.3s ease;


}



#option-1:checked~.option-1,
#option-2:checked~.option-2 {


    border-color: #0069d9;
    background-color: #0069d9;

}

.wrapper .option .dot {


    height: 20px;
    width: 20px;
    background: #d9d9d9;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;

}


.wrapper .option .dot::before {

    position: absolute;
    transition: all 0.3s ease;
    content: "";
    left: 4px;
    top: 4px;
    height: 12px;
    width: 12px;
    background: #0069d9;
    border-radius: 50%;
    opacity: 0;
}

#option-1:checked~.option-1 .dot::before,
#option-2:checked~.option-2 .dot::before {

    opacity: 1;

}

.wrapper .option span {

    color: blue;
    font-size: 20px;


}

#option-1:checked~.option-1 span,
#option-2:checked~.option-2 span {

    color: #fff;

}