* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Lato;
  background-color: rgb(255, 255, 255);
}

img {
  width: 100%;
}

h1 {
  font-size: 8rem;
}

p {
  font-size: 2rem;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height:100vh; /* use 100% of the height of the viewport */
}

.spinner {
  margin-top: 2rem;
  height: 300px;
  width: 300px;
  display: grid;
  place-content: center;
}

.rainbowSpinner{
  position: relative;
  background-color: purple;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(#3dffc9,#f7c723, #eb0ea5,#3dffc9);
  animation: spin 3.4s linear infinite;
  box-shadow: 0px 0px 150px -75px black;
  border: 2px solid white;
}

.rainbowSpinner::before{
  content: "";
  background-color: white;
  position: absolute;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,	-50%);
  box-shadow: inset 0px	0px	150px -70;
  border: 0px solid white;
}

@keyframes spin {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

.rainbowSpinner.large {
    width: 300px;
    height: 300px;
    border: 4px solid white;
}

.rainbowSpinner.large::before {
  border: 4px solid white;
}

.rainbowSpinner.medium {
  width: 200px;
  height: 200px;
  border: 2px solid white;
  box-shadow: 0px 0px 100px -45px black;
}

.rainbowSpinner.medium::before {
border: 2px solid white;
}

.rainbowSpinner.small {
  width: 100px;
  height: 100px;
  border: 1px solid white;
  box-shadow: 0px 0px 50px -25px black;
}

.rainbowSpinner.small::before {
border: 1px solid white;
width: 78%;
height: 78%;
}

.rainbowSpinner.tiny {
  width: 50px;
  height: 50px;
  border: none;
  box-shadow: 0px 0px 10px -2px black;
}

.rainbowSpinner.tiny::before {
  border: none;
  width: 72%;
  height: 72%;
}

.controls {
  display: flex;
  background: #fff;
  height: 100px;
  width: max-content;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 5px;
  padding: 20px 15px;
  box-shadow: 5px 5px 30px rgba(0,0,0,0.2);
}

.option {
  background: #fff;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin: 0 10px;
  border-radius: 5px;
  cursor: pointer;
  padding: 0 10px;
  border: 2px solid lightgrey;
  transition: all 0.3s ease;
}

.controls .option .dot{
  height: 20px;
  width: 20px;
  background: #d9d9d9;
  border-radius: 50%;
  position: relative;
}

.controls .option .dot::before{
  position: absolute;
  content: "";
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: #0069d9;
  border-radius: 50%;
  opacity: 0;
  transform: scale(1.5);
  transition: all 0.3s ease;
}

input[type="radio"]{
  display: none;
}

.optionLabel{
  font-size: 20px;
  color: #808080;
}

.checked{
  border: 2px solid #3396ff;
  background: #0069d9;
  color: rgb(135, 0, 0);
}

.checked span{
  color: white;
}

#largeSpinner{
  display: block;
}

#mediumSpinner{
  display: none;
}

#smallSpinner{
  display: none;
}

#tinySpinner{
  display: none;
}
