* {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
}

body {
  margin: 0;
  background-color: #f2f2f2;
  display: flex;
  font-family: "Arial";
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.bgImage {
  border: 1px solid #999;
  width: 80vw;
  height: 70vh;
  min-width: 300px;
  background: url(https://assets.codepen.io/32887/circle-bg-portrait.gif);
  background-position: center center;
  background-repeat: no-repeat;
  background-color: pink;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15vw;
  color: #fff;
  text-shadow: 2px 2px 20px #333;
  font-weight: 600;
}

.controls {
  width: 80vw;
  min-width: 300px;
  background-color: #ffffff;
  padding: 0.8rem;
}

legend {
  font-weight: bold;
  text-align: center;
}

fieldset {
  border: none;
  display: flex;
  justify-content: space-evenly;
}

.radio-wrapper {
  margin: 0.5rem 0;
}

input[type="radio"] {
  opacity: 0;
}
input[type="radio"] + label {
  cursor: pointer;
  position: relative;
}
input[type="radio"] + label::before {
  border: 1px solid #6e6e6e;
  border-radius: 50%;
  content: "";
  height: 18px;
  left: -24px;
  position: absolute;
  top: 0;
  width: 18px;
}
input[type="radio"] + label::after {
  border-radius: 50%;
  content: "";
  height: 12px;
  left: -20px;
  position: absolute;
  top: 4px;
  width: 12px;
}
input[type="radio"]:focus + label::before {
  box-shadow: 0 0 0 2px rgba(25, 156, 228, 0.7);
}
input[type="radio"]:checked + label::after {
  background: #1849ab;
}

.dimensions {
  text-align: center;
}
