:root {
  --primary-color: orange;
}

* {
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background-color: #4d4d4f;
 
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
 
}

.radio-tile-group {
  display: flex;
 
  justify-content: center;
}

.input-container {
  position: relative;
  height: 10rem;
  width: 10rem;
  margin: 1.5rem;
  cursor:pointer;
}

.input-container input {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
}

.input-container .radio-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
  justify-content: center;
  height: 100%;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  transition: all 300ms ease;
}

.input-container ion-icon {
  color: var(--primary-color);
  font-size: 3rem;
}

.input-container label {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

input:checked+.radio-tile {
  background-color: var(--primary-color);
  box-shadow: 0 0 12px var(--primary-color);
  transform: scale(1.1);
}

input:hover+.radio-tile {
  box-shadow: 0 0 12px var(--primary-color);
}

input:checked+.radio-tile ion-icon,
input:checked+.radio-tile label {
  color: white;
}