<style>
/*
2c2a5f is purple
47c0ae is the green
2cc0a8
a2e0d4 is the pale green
*/


.option-group {
  width: 90%;
  max-width: 700px;
  height: 100px;
  position: relative;
  overflow: hidden;
  font-size: 48px;
  margin: 14px auto;
}

.option-container {
  justify-content: center;
  display: flex; 
  width:700px;
  margin: 0 -10%;
}

.option {
  overflow: hidden;
  display: block;
  padding: 0.5em;
  background: #FFF;
  text-align:center;
  font-size: 48px;
  position: relative;
  margin: 0.2em;
  &:last-child { margin-right: 0; }
  cursor: pointer;
  opacity: 1;
  background:#2c2a5f;
  width:75px;
  height:40px;
}

.option__indicator {
  display: block;
  position: absolute;
  background:#123456;
 top: 0.5em;
  right: 0.5em;
  left: 0.5em;
  
  &:before,
  &:after {
    content: '';
    display: block;
    width: 0.25em;
    height: 0.25em;
    position: absolute;
    top: 0;
    right: 0;
  }
  
  &:after {
    background: #64D6EE;
  }
}

.option-input {
  position: absolute;
  top: 0;
  z-index: -1;
  visibility: hidden;
}

.option__label {
  display: block;
  width: 100%;
  text-transform: uppercase;
  font-size: 0.5em;
  font-weight: normal;
  color:#fff;


  sub { 
    margin-left: 0.25em;
    font-size: 0.4em;
    display: inline-block; 
    vertical-align: 0.3em;
  }
  
  &:after {
    content: '';
    display: block;
    border: solid 2px #64D6EE;
    width: 100%;
  }
}

.option-input:nth-child(1):checked ~ .option:nth-of-type(1),
.option-input:nth-child(2):checked ~ .option:nth-of-type(2),
.option-input:nth-child(3):checked ~ .option:nth-of-type(3),
.option-input:nth-child(4):checked ~ .option:nth-of-type(4) {
  opacity: 1;
  background-color: #47c0ae;
  .option__indicator { transform: translateX(0); &::after { transform: scale(1); } }
  .option__label,
  .option__label::after { transform: scale(1); }
}


.button {
  background-color: #2c2a5f;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  float:left;
  font-size:16px;
  font-weight:600;
  padding-top:6px;
  width:220px;
  height: 30px;
  border-radius: 25px;
  }
}

@media (max-width:1100px){	

.option-group {
  width: 90%;
  max-width: 700px;
  height: 100px;
  position: relative;
  overflow: hidden;
  font-size: 48px;
  margin: 14px auto;
}

.option-container {
  justify-content: center;
  display: flex; 
  width:700px;
  margin: 0 -10%;
}

.option {
  overflow: hidden;
  display: block;
  padding: 0.5em;
  background: #FFF;
  text-align:center;
  font-size: 48px;
  position: relative;
  margin: 0.2em;
  &:last-child { margin-right: 0; }
  cursor: pointer;
  opacity: 1;
  background:#2c2a5f;
  width:35px;
  height:20px;
}

.option__indicator {
  display: block;
  position: absolute;
  background:#123456;
 top: 0.5em;
  right: 0.5em;
  left: 0.5em;
  
  &:before,
  &:after {
    content: '';
    display: block;
    width: 0.25em;
    height: 0.25em;
    position: absolute;
    top: 0;
    right: 0;
  }
  
  &:after {
    background: #64D6EE;
  }
}

.option-input {
  position: absolute;
  top: 0;
  z-index: -1;
  visibility: hidden;
}

.option__label {
  display: block;
  width: 100%;
  text-transform: uppercase;
  font-size: 0.5em;
  font-weight: normal;
  color:#fff;


  sub { 
    margin-left: 0.25em;
    font-size: 0.4em;
    display: inline-block; 
    vertical-align: 0.3em;
  }
  
  &:after {
    content: '';
    display: block;
    border: solid 2px #64D6EE;
    width: 100%;
  }
}

.option-input:nth-child(1):checked ~ .option:nth-of-type(1),
.option-input:nth-child(2):checked ~ .option:nth-of-type(2),
.option-input:nth-child(3):checked ~ .option:nth-of-type(3),
.option-input:nth-child(4):checked ~ .option:nth-of-type(4) {
  opacity: 1;
  background-color: #47c0ae;
  .option__indicator { transform: translateX(0); &::after { transform: scale(1); } }
  .option__label,
  .option__label::after { transform: scale(1); }
}


.button {
  background-color: #2c2a5f;
  border: none;
  color: white;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  float:left;
  font-size:10px;
  font-weight:600;
  padding-top:6px;
  width:140px;
  height: 30px;
  border-radius: 25px;}
}


}



</style>